/*
Theme Name: SAINO THEME DEMO
Theme URI:https://demo.optimise.co.jp/
Description:"SAINO DEMO" is a Professional site selling WordPress themes that enable the low-cost construction of various large-scale websites.
Author:OPTIMISE,Inc.
Author: Optimise,Inc
Author URI:https://optimise.co.jp/
Text Domain: saino-theme-demo
Version: 1.0
*/

/* ================================
   RESET
================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, "Noto Sans JP", sans-serif;
  background: #0f172a;
  color: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================================
   COMMON
================================ */

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================================
   HEADER
================================ */

.site-header {
  background: #ffffff;
  color: #0f172a;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 20px rgba(15, 23, 42, 0.08);
}

.site-header .container {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img,
.logo img {
  height: 48px;
  width: auto;
  max-width: 240px;
}

.site-navigation ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

.site-navigation a {
  color: #0f172a;
  font-weight: 800;
  transition: 0.3s;
}

.site-navigation a:hover {
  color: #2563eb;
}

.header-cta .hero-cta {
  padding: 14px 28px;
}

/* ================================
   HERO
================================ */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  padding: 120px 0;
}

.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -260px;
  right: -180px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.18);
  bottom: -170px;
  left: -120px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: #2563eb;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.hero h1 {
  font-size: 60px;
  line-height: 1.15;
  margin-bottom: 26px;
  letter-spacing: -1.5px;
}

.hero p {
  font-size: 20px;
  color: #dbeafe;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta,
.pricing-btn {
  display: inline-block;
  padding: 16px 34px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 12px;
  font-weight: 800;
  transition: 0.3s;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.hero-cta:hover,
.pricing-btn:hover {
  background: #1d4ed8;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
}

.hero-secondary {
  display: inline-block;
  padding: 16px 34px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  font-weight: 800;
  color: #ffffff;
  transition: 0.3s;
}

.hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* ================================
   STATS
================================ */

.stats {
  padding: 80px 0;
  background: #ffffff;
  color: #0f172a;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.stat-card {
  background: #f8fafc;
  padding: 40px;
  text-align: center;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}

.stat-card strong {
  display: block;
  font-size: 48px;
  color: #2563eb;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-card span {
  color: #64748b;
  font-weight: 800;
}

/* ================================
   FEATURES / FAQ
================================ */

.features {
  padding: 100px 0;
  background: #f8fafc;
  color: #0f172a;
}

.features h2,
.testimonials h2,
.pricing h2 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 55px;
  letter-spacing: -0.5px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.feature-card {
  background: #ffffff;
  padding: 36px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}

.feature-card h3 {
  color: #2563eb;
  margin-bottom: 14px;
  font-size: 22px;
}

.feature-card p {
  color: #475569;
}

/* ================================
   TESTIMONIAL
================================ */

.testimonials {
  padding: 100px 0;
  background: #ffffff;
  color: #0f172a;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial-card {
  background: #f8fafc;
  padding: 36px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}

.testimonial-card img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 18px;
  object-fit: cover;
  border: 4px solid #2563eb;
}

.testimonial-card p {
  font-size: 18px;
  margin-bottom: 10px;
}

.testimonial-card strong {
  color: #2563eb;
}

/* ================================
   PRICING
================================ */

.pricing {
  padding: 100px 0;
  background: #f8fafc;
  color: #0f172a;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.pricing-card {
  position: relative;
  background: #ffffff;
  padding: 44px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: 0.3s;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

.pricing-card.featured {
  border: 3px solid #2563eb;
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.22);
}

.pricing-card.featured:hover {
  transform: scale(1.06);
}

.popular {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.price {
  font-size: 42px;
  color: #2563eb;
  font-weight: 900;
  margin: 20px 0;
}

.pricing-card p {
  color: #475569;
}

.pricing-btn {
  margin-top: 22px;
  width: 100%;
  text-align: center;
}

/* ================================
   FINAL CTA
================================ */

.final-cta {
  padding: 110px 0;
  text-align: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

.final-cta h2 {
  font-size: 46px;
  margin-bottom: 18px;
}

.final-cta p {
  color: #dbeafe;
  margin-bottom: 34px;
  font-size: 20px;
}

/* ================================
   FOOTER
================================ */

.site-footer {
  background: #020617;
  color: #ffffff;
  text-align: center;
  padding: 48px 0;
}

.footer-logo {
  text-align: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 48px;
  width: auto;
  max-width: 220px;
  margin: 0 auto;
}

.footer-text {
  text-align: center;
  color: #cbd5e1;
  margin-bottom: 25px;
  font-size: 15px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 14px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #60a5fa;
}

.copyright {
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

/* ================================
   TABLET
================================ */

@media (max-width: 900px) {
  .site-navigation,
  .header-cta {
    display: none;
  }

  .hero-grid,
  .stats-grid,
  .feature-grid,
  .testimonial-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: center;
    padding: 90px 0;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 18px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured,
  .pricing-card.featured:hover {
    transform: none;
  }
}

/* ================================
   MOBILE FIX
================================ */

@media (max-width: 768px) {
  .container {
    width: 92%;
  }

  .site-header .container {
    height: 64px;
  }

  .site-logo img,
  .logo img {
    height: 36px;
    max-width: 180px;
  }

  .hero {
    padding: 70px 0;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-badge {
    font-size: 13px;
    padding: 8px 18px;
    margin-bottom: 22px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -0.5px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-cta,
  .hero-secondary,
  .pricing-btn {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  .hero-image {
    text-align: center;
  }

  .hero-image img {
    width: 90%;
    max-width: 420px;
    max-height: 280px;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 20px;
    animation: none;
  }

  .stats,
  .features,
  .testimonials,
  .pricing {
    padding: 65px 0;
  }

  .stats-grid,
  .feature-grid,
  .testimonial-grid,
  .pricing-grid {
    gap: 20px;
  }

  .stat-card,
  .feature-card,
  .testimonial-card,
  .pricing-card {
    padding: 28px;
  }

  .features h2,
  .testimonials h2,
  .pricing h2,
  .final-cta h2 {
    font-size: 30px;
    line-height: 1.3;
  }

  .final-cta {
    padding: 75px 0;
  }

  .final-cta p {
    font-size: 16px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-logo img {
    height: 40px;
  }

  .footer-text {
    font-size: 14px;
  }
}

/* ===================================
   Mobile
=================================== */

@media (max-width: 768px) {

  /* 既存コード */

}


/* ===================================
   Fixed Page Style
=================================== */

.page-content {
  padding: 100px 0;
  background: #f8fafc;
  color: #0f172a;
}

.page-title {
  font-size: 42px;
  margin-bottom: 40px;
  text-align: center;
}

.page-body {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
}

.page-body table {
  width: 100%;
  border-collapse: collapse;
}

.page-body td {
  border: 1px solid #e2e8f0;
  padding: 16px;
  vertical-align: top;
}

.page-body td:first-child {
  width: 260px;
  font-weight: bold;
  background: #f8fafc;
}

@media (max-width: 768px) {

  .page-content {
    padding: 60px 0;
  }

  .page-title {
    font-size: 30px;
  }

  .page-body {
    padding: 20px;
  }

  .page-body td {
    display: block;
    width: 100%;
  }

  .page-body td:first-child {
    width: 100%;
  }

}
/* ===================================
   Header Cart
=================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f1f5f9;
  color: #0f172a;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  transition: .3s;
}

.header-cart:hover {
  background: #2563eb;
  color: #ffffff;
}

.cart-icon {
  font-size: 16px;
}

.cart-count {
  background: #2563eb;
  color: #ffffff;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-cart:hover .cart-count {
  background: #ffffff;
  color: #2563eb;
}

.header-btn {
  padding: 14px 26px;
}

@media (max-width: 900px) {

  .site-navigation {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .cart-text {
    display: none;
  }

  .header-cart {
    padding: 11px 13px;
  }

  .header-btn {
    display: none;
  }

}
/* ===================================
   WooCommerce Block Cart Price Fix
=================================== */

.wc-block-cart,
.wc-block-components-main,
.wc-block-components-sidebar {
  color: #0f172a;
}

.wc-block-components-product-price,
.wc-block-components-product-price__value,
.wc-block-components-totals-item__value,
.wc-block-components-formatted-money-amount,
.wc-block-cart-item__total-price-and-sale-badge-wrapper,
.wc-block-cart-item__prices {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.4 !important;
}

.wc-block-cart-item__product {
  align-items: flex-start !important;
}

.wc-block-cart-item__image img {
  max-width: 160px !important;
  height: auto !important;
}

.wc-block-components-product-name {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.wc-block-components-button {
  background: #2563eb !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
}

@media (max-width: 768px) {
  .wc-block-cart-item__image img {
    max-width: 100px !important;
  }

  .wc-block-components-product-price,
  .wc-block-components-product-price__value,
  .wc-block-components-totals-item__value,
  .wc-block-components-formatted-money-amount {
    font-size: 16px !important;
  }
}

/* =====================================
   Mobile Hero Clean Fix
===================================== */

@media (max-width: 768px) {

  .site-header .container {
    height: 58px;
  }

  .site-logo img,
  .logo img {
    height: 32px;
    max-width: 150px;
  }

  .header-cart {
    padding: 8px 11px;
    border-radius: 12px;
  }

  .cart-count {
    min-width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .hero {
    padding: 42px 0 50px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 7px 16px;
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.35;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
  }

  .hero-buttons {
    gap: 12px;
  }

  .hero-cta,
  .hero-secondary {
    font-size: 15px;
    padding: 13px 18px;
    border-radius: 12px;
  }

  .hero-image img {
    width: 92%;
    max-height: 240px;
    object-fit: contain;
    border-radius: 16px;
  }

}

/* =====================================
   Mobile Logo Size Fix
===================================== */

@media (max-width:768px){

    /* Header Logo */
    .site-logo img,
    .logo img,
    .header-logo img{
        height:55px !important;
        width:auto !important;
        max-width:220px;
    }

    /* Header高さ */
    .site-header .container{
        min-height:80px;
        padding:12px 20px;
    }

    /* Footer Logo */
    .footer-logo img{
        height:60px !important;
        width:auto;
        max-width:260px;
    }

    .footer-logo{
        text-align:center;
        margin-bottom:20px;
    }

}

/* =====================================
   Mobile Cart Layout Fix
===================================== */

@media (max-width: 768px) {

  .woocommerce-cart .wc-block-cart-items__row,
  .wc-block-cart-item__product {
    display: grid !important;
    grid-template-columns: 95px 1fr !important;
    gap: 14px !important;
    align-items: start !important;
  }

  .woocommerce-cart .wc-block-cart-item__image {
    width: 95px !important;
    min-width: 95px !important;
  }

  .woocommerce-cart .wc-block-cart-item__image img {
    width: 95px !important;
    max-width: 95px !important;
    height: auto !important;
    border-radius: 8px !important;
  }

  .woocommerce-cart .wc-block-cart-item__wrap {
    display: block !important;
    width: 100% !important;
  }

  .woocommerce-cart .wc-block-components-product-name {
    display: block !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }

  .woocommerce-cart .wc-block-components-product-price,
  .woocommerce-cart .wc-block-components-formatted-money-amount,
  .woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    display: block !important;
    position: static !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
    margin: 6px 0 !important;
    text-align: left !important;
  }

  .woocommerce-cart .wc-block-cart-item__quantity {
    margin-top: 12px !important;
  }

}

/* =====================================
   Checkout Page Design Fix
===================================== */

.woocommerce-checkout .page-content,
.woocommerce-checkout .woocommerce-main {
  background: #f8fafc;
  padding: 80px 0;
}

.woocommerce-checkout h1,
.woocommerce-checkout .page-title {
  font-size: 42px;
  text-align: center;
  margin-bottom: 40px;
  color: #0f172a;
}

.woocommerce-checkout form.checkout {
  background: #ffffff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.woocommerce-checkout h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #0f172a;
}

.woocommerce-checkout .form-row label {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  background: #ffffff;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.woocommerce-checkout-review-order {
  background: #f8fafc;
  padding: 28px;
  border-radius: 20px;
  margin-top: 24px;
}

.woocommerce-checkout-review-order table {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
}

.woocommerce-checkout-review-order th,
.woocommerce-checkout-review-order td {
  padding: 16px !important;
  font-size: 15px;
}

.woocommerce-checkout #payment {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  margin-top: 24px;
}

.woocommerce-checkout #place_order {
  width: 100%;
  background: #2563eb !important;
  color: #ffffff !important;
  padding: 18px 24px !important;
  border-radius: 14px !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  margin-top: 20px !important;
}

.woocommerce-checkout #place_order:hover {
  background: #1d4ed8 !important;
}

@media (max-width: 768px) {
  .woocommerce-checkout .page-content,
  .woocommerce-checkout .woocommerce-main {
    padding: 50px 0;
  }

  .woocommerce-checkout h1,
  .woocommerce-checkout .page-title {
    font-size: 30px;
    margin-bottom: 28px;
  }

  .woocommerce-checkout form.checkout {
    padding: 22px;
    border-radius: 20px;
  }

  .woocommerce-checkout h3 {
    font-size: 21px;
  }

  .woocommerce-checkout-review-order {
    padding: 18px;
  }

  .woocommerce-checkout #place_order {
    font-size: 16px !important;
    padding: 16px !important;
  }
}

/* =====================================
   Order Received / Thank You Page
===================================== */

.woocommerce-order-received .page-content,
.woocommerce-order-received .woocommerce-main {
  background: #f8fafc;
  padding: 80px 0;
}

.woocommerce-order-received .woocommerce {
  background: #ffffff;
  padding: 42px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  text-align: center;
  margin-bottom: 28px;
}

.woocommerce-order-received .woocommerce-order-overview {
  background: #f8fafc;
  border-radius: 18px;
  padding: 24px;
  margin: 28px 0;
}

.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
  margin-top: 32px;
}

.woocommerce-order-received h2 {
  font-size: 24px;
  color: #0f172a;
  margin-bottom: 18px;
}

.woocommerce-order-received table {
  border-radius: 16px;
  overflow: hidden;
}

.woocommerce-order-received .button,
.woocommerce-order-received a.button {
  background: #2563eb !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  padding: 14px 24px !important;
  font-weight: 800 !important;
}

@media (max-width: 768px) {
  .woocommerce-order-received .page-content,
  .woocommerce-order-received .woocommerce-main {
    padding: 50px 0;
  }

  .woocommerce-order-received .woocommerce {
    padding: 24px;
    border-radius: 20px;
  }

  .woocommerce-order-received .woocommerce-thankyou-order-received {
    font-size: 22px;
  }

  .woocommerce-order-received .woocommerce-order-overview {
    padding: 18px;
  }
}

/* =====================================
   Demo Site Top Page
===================================== */

.demo-hero .hero-badge {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
}

.demo-card {
  position: relative;
  overflow: hidden;
}

.demo-label {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.demo-card h3 {
  font-size: 26px;
}

.demo-card .pricing-btn {
  margin-top: 18px;
  display: inline-block;
}

.demo-benefits {
  background: #f8fafc;
}

@media (max-width: 768px) {
  .demo-card h3 {
    font-size: 22px;
  }

  .demo-label {
    font-size: 12px;
  }
}

/* ==========================================
   Demo Hero Images
========================================== */

.hero-image img{

    width:100%;

    max-width:650px;

    border-radius:24px;

    box-shadow:0 25px 60px rgba(0,0,0,.18);

    transition:.4s;

}

.hero-image img:hover{

    transform:translateY(-8px);

}

/* =====================================
   STEP5 Demo Gallery
===================================== */

.section-lead {
  text-align: center;
  font-size: 18px;
  color: #64748b;
  margin: -10px 0 42px;
}

.demo-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.demo-gallery-card {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 34px;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.demo-thumb {
  min-height: 340px;
  background: #0f172a;
}

.demo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.demo-content {
  padding: 42px 42px 42px 0;
}

.demo-category {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.demo-content h3 {
  font-size: 34px;
  color: #0f172a;
  margin-bottom: 14px;
}

.demo-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 22px;
}

.demo-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.demo-content li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #0f172a;
}

.demo-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2563eb;
  font-weight: 900;
}

.demo-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.demo-link {
  font-weight: 900;
  color: #2563eb;
  text-decoration: none;
}

.demo-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .demo-gallery-card {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 22px;
  }

  .demo-thumb {
    min-height: 220px;
  }

  .demo-content {
    padding: 26px;
  }

  .demo-content h3 {
    font-size: 26px;
  }

  .demo-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .demo-link {
    text-align: center;
  }
}

/* =====================================
   Safe Premium Demo Cards
===================================== */

.demo-premium-card {
  position: relative;
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.demo-premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.16);
}

.demo-mini-badge {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.restaurant-badge {
  background: #f97316;
}

.demo-check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}

.demo-check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: #0f172a;
  font-weight: 700;
}

.demo-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 900;
}

.restaurant-demo-card .demo-check-list li::before {
  color: #f97316;
}

.restaurant-btn {
  background: #f97316 !important;
}

.restaurant-btn:hover {
  background: #ea580c !important;
}

@media (max-width: 768px) {
  .demo-premium-card {
    padding: 28px;
  }

  .demo-check-list li {
    font-size: 15px;
  }
}

/* =====================================
   Demo Proof Section
===================================== */

.demo-proof {
  background: #ffffff;
}

.demo-proof .stat-card {
  border: 1px solid #dbeafe;
}

/* =====================================
   STEP8-1 Demo Card Image Safe
===================================== */

.demo-card-image {
  width: 100%;
  height: 180px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 22px;
  background: #f1f5f9;
}

.demo-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .demo-card-image {
    height: 160px;
  }
}

.demo-rating {
  color: #f59e0b;
  font-weight: 800;
  margin-bottom: 10px;
}

.demo-rating span {
  color: #64748b;
  margin-left: 6px;
}

.demo-category {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 30px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 13px;
  font-weight: 800;
}

.demo-buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.demo-buy-btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 12px;
  background: #111827;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  transition: .3s;
}

.demo-buy-btn:hover {
  background: #000000;
}

@media (max-width: 768px) {
  .demo-buttons {
    flex-direction: column;
  }

  .demo-buy-btn {
    text-align: center;
  }
}
/* =====================================
   STEP10 Unified Demo Cards
===================================== */

.demo-premium-card {
  display: flex;
  flex-direction: column;
}

.demo-premium-card h3 {
  min-height: 34px;
}

.demo-premium-card p {
  min-height: 64px;
}

.demo-check-list {
  min-height: 132px;
}

.demo-buttons {
  margin-top: auto;
  display: flex;
  gap: 12px;
}

.demo-buttons .pricing-btn,
.demo-buttons .demo-buy-btn {
  flex: 1;
  text-align: center;
}

.demo-buy-btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 12px;
  background: #111827;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  transition: .3s;
}

.demo-buy-btn:hover {
  background: #000000;
}

.demo-rating {
  color: #f59e0b;
  font-weight: 800;
  margin-bottom: 10px;
}

.demo-rating span {
  color: #64748b;
  margin-left: 6px;
}

.demo-category {
  display: inline-block;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 30px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 13px;
  font-weight: 800;
}

.restaurant-category {
  background: #ffedd5;
  color: #ea580c;
}

.restaurant-buy-btn {
  background: #111827;
}

@media (max-width: 768px) {
  .demo-buttons {
    flex-direction: column;
  }

  .demo-premium-card p,
  .demo-check-list {
    min-height: auto;
  }
}

/* =====================================
   Version 2 - STEP11
   Premium Hover Animation
===================================== */

.demo-premium-card {
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.demo-premium-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 90px rgba(15, 23, 42, 0.18);
  border-color: rgba(37, 99, 235, 0.35);
}

.demo-card-image {
  position: relative;
  overflow: hidden;
}

.demo-card-image img {
  transition: transform .45s ease, filter .45s ease;
}

.demo-premium-card:hover .demo-card-image img {
  transform: scale(1.07);
  filter: brightness(1.05);
}

.demo-premium-card::after {
  content: "View Demo";
  position: absolute;
  top: 22px;
  right: 22px;
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 13px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(-8px);
  transition: .3s ease;
}

.demo-premium-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.demo-buttons a {
  transition: transform .25s ease, box-shadow .25s ease;
}

.demo-buttons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

/* =====================================
   Version 2 - STEP12
   Device Tags
===================================== */

.demo-device-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 14px;
}

.demo-device-tags span {
  font-size: 12px;
  font-weight: 900;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 6px 10px;
  border-radius: 999px;
}

.restaurant-device-tags span {
  color: #f97316;
  background: #fff7ed;
  border-color: #fed7aa;
}

/* =====================================
   Version 2 - STEP13
   Demo Button Layout
===================================== */

.demo-buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-top: 24px !important;
}

.demo-buttons .pricing-btn,
.demo-buttons .demo-buy-btn {
  width: 100% !important;
  text-align: center !important;
  justify-content: center !important;
}

.demo-buy-btn {
  background: #111827 !important;
  color: #ffffff !important;
  padding: 16px 24px !important;
  border-radius: 14px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.demo-buy-btn:hover {
  background: #000000 !important;
}

.restaurant-buy-btn {
  background: #111827 !important;
}

/* =====================================
   Version 2 - STEP14
   Best For Label
===================================== */

.demo-best-for {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 13px 15px;
  margin: 18px 0 18px;
}

.demo-best-for strong {
  display: block;
  font-size: 12px;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 5px;
}

.demo-best-for span {
  display: block;
  font-size: 14px;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.6;
}

.restaurant-best-for strong {
  color: #f97316;
}
/* =====================================
   Version 2 - STEP15
   Demo Buy Strip
===================================== */

.demo-buy-strip {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  padding: 70px 0;
}

.demo-buy-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  padding: 42px;
}

.demo-buy-label {
  display: inline-block;
  background: rgba(255,255,255,.14);
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.demo-buy-strip h2 {
  color: #ffffff;
  font-size: 34px;
  margin-bottom: 12px;
}

.demo-buy-strip p {
  color: #dbeafe;
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .demo-buy-strip-inner {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .demo-buy-strip h2 {
    font-size: 26px;
  }

  .demo-buy-strip .hero-cta {
    width: 100%;
  }
}
/* =====================================
   Version 2 - STEP16
   Sticky Purchase CTA
===================================== */

.demo-sticky-cta {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 12px 0;
}

.demo-sticky-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.demo-sticky-cta span {
  font-weight: 900;
  font-size: 14px;
}

.demo-sticky-cta a {
  background: #2563eb;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 768px) {
  .demo-sticky-cta .container {
    flex-direction: column;
    text-align: center;
  }

  .demo-sticky-cta a {
    width: 100%;
    text-align: center;
  }
}