/* ========== BUTTON BRAND STYLES ========== */
  /* Use the site-wide .btn-brand from common.css.
    Hero page keeps small overrides below for alignment and behavior. */
    .hero-ctas .btn-brand {
      cursor: pointer;
      border: none;
    }
    /* Make sure hero buttons get a visible focus ring for keyboard users */
    .hero-ctas .btn-brand:focus-visible {
      outline: none;
      box-shadow: 0 0 0 4px var(--color-accent-gold-ring);
      transform: translateY(-1px);
    }
  /* Global Styles */

  /* Ensure home page content-wrap has no padding on desktop */
  body:not(.account-page) .content-wrap {
    padding-top: 0 !important;
  }

 
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 !important; /* Remove padding */
  }
  
  /* Hero Section */
  .hero-section {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(4rem, 6vh, 6rem) 0 clamp(2.5rem, 5vh, 4rem);
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
    background:
      radial-gradient(circle at 15% 20%, rgba(232, 210, 132, 0.08), transparent 45%),
      radial-gradient(circle at 85% 15%, rgba(63, 169, 245, 0.08), transparent 40%),
      linear-gradient(180deg, var(--color-bg-hero), var(--color-bg-hero-end));
    border-bottom: 1px solid var(--color-border-hero);
  }

  .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(232, 210, 132, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(232, 210, 132, 0.05) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.35;
    pointer-events: none;
  }

  .hero-section::after {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -120px;
    top: -160px;
    background: radial-gradient(circle, rgba(232, 210, 132, 0.2), transparent 65%);
    filter: blur(40px);
    opacity: 0.7;
    pointer-events: none;
  }

  .hero-section .container {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
    z-index: 1;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 640px;
  }

  .hero-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .hero-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-secondary);
    background: rgba(232, 210, 132, 0.12);
    border: 1px solid var(--color-border-light);
  }

  .hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: "Fraunces", "Times New Roman", serif;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .hero-subline {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    max-width: 560px;
    margin: 0 0 0.75rem;
    line-height: 1.6;
  }

  .hero-ctas {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 0.35rem;
  }

  .hero-ctas .btn-brand {
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    border: none;
  }

  .hero-trust {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    opacity: 0.8;
    margin-bottom: 0;
  }

  .hero-typing {
    font-size: 1.05rem;
    color: var(--color-accent-gold);
    min-height: 1.2rem;
    font-style: italic;
  }

  .hero-panel {
    position: relative;
    padding: 2rem;
    border-radius: 24px;
    background: linear-gradient(155deg, var(--color-bg-secondary), var(--color-bg-tertiary));
    border: 1px solid var(--color-border-medium);
    box-shadow: 0 28px 60px rgba(27, 30, 39, 0.18);
    overflow: hidden;
  }

  .hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(232, 210, 132, 0.18), transparent 55%);
    opacity: 0.4;
    pointer-events: none;
  }

  .hero-panel::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    bottom: -110px;
    right: -80px;
    background: radial-gradient(circle, rgba(232, 210, 132, 0.35), transparent 65%);
    filter: blur(30px);
    opacity: 0.7;
    animation: heroPulse 10s ease-in-out infinite;
    pointer-events: none;
  }

  .hero-visual {
    position: relative;
    width: 100%;
    height: clamp(200px, 28vh, 260px);
    margin: 0 auto;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-glow {
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle at 50% 50%, var(--color-accent-gold-shadow), transparent 60%);
    filter: blur(40px);
    opacity: 0.9;
  }

  .hero-illustration {
    max-width: 100%;
    max-height: clamp(180px, 24vh, 240px);
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.4));
    position: relative;
    z-index: 1;
  }

  .hero-flyouts {
    display: grid;
    gap: 0.75rem;
    margin-top: clamp(0.75rem, 2vh, 1.5rem);
    position: relative;
    z-index: 2;
  }

  .hero-flyout {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.95rem;
    border-radius: 14px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-default);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    box-shadow: inset 0 0 0 1px rgba(214, 178, 90, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  }

  .hero-flyout--accent {
    border-color: rgba(232, 210, 132, 0.5);
    color: var(--color-text-primary);
    background: var(--color-bg-tertiary);
  }

  .hero-flyout__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(232, 210, 132, 0.15);
    color: var(--color-accent-gold);
    border: 1px solid rgba(232, 210, 132, 0.3);
    flex-shrink: 0;
  }

  .hero-flyout:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 210, 132, 0.5);
    background: var(--color-bg-quaternary);
    box-shadow: 0 12px 28px rgba(27, 30, 39, 0.18);
  }

  .hero-flyout:hover .hero-flyout__icon {
    background: rgba(232, 210, 132, 0.25);
    border-color: rgba(232, 210, 132, 0.5);
    color: var(--color-text-primary);
  }

  @keyframes heroPulse {
    0%, 100% {
      transform: translateY(0);
      opacity: 0.6;
    }
    50% {
      transform: translateY(-12px);
      opacity: 0.9;
    }
  }

  @media (max-width: 992px) {
    .hero-grid {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }

    .hero-copy {
      align-items: center;
      text-align: center;
    }

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

  @media (max-width: 768px) {
    .hero-section {
      height: auto;
      min-height: 0;
      padding: 5.5rem 0 3rem;
    }

    .hero-headline {
      font-size: 2.5rem;
    }
    .hero-subline {
      font-size: 1.05rem;
      padding: 0 1rem;
    }
    .hero-ctas {
      flex-direction: column;
      align-items: center;
      width: 100%;
    }
    .hero-ctas .btn-brand {
      width: 100%;
      max-width: 280px;
    }
    .hero-panel {
      padding: 1.5rem;
    }
    .hero-visual {
      height: 220px;
    }
    .hero-illustration {
      max-height: 210px;
    }
    .hero-flyouts {
      margin-top: 1rem;
    }

    .hero-chip-row {
      justify-content: center;
      width: 100%;
    }
  }

  @media (max-width: 480px) {
    .hero-section {
      padding-top: 5rem;
    }
    .hero-headline {
      font-size: 2rem;
    }
    .hero-subline {
      font-size: 0.98rem;
    }
    .hero-flyout {
      padding: 0.65rem 0.75rem;
      font-size: 0.85rem;
    }
    .hero-visual {
      height: 200px;
    }
    .hero-illustration {
      max-height: 190px;
    }
    .hero-chip-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.5rem;
    }

    .hero-chip {
      justify-content: center;
      text-align: center;
      width: 100%;
    }

    .hero-chip:nth-child(3) {
      grid-column: 1 / -1;
    }
  }

  .btn-hero-primary {
    background: linear-gradient(120deg, var(--color-accent-gold-gradient-start), var(--color-accent-gold-gradient-end));
    color: var(--color-text-on-accent);
    border: 1px solid var(--color-border-nav-active);
    box-shadow: 0 12px 30px var(--color-accent-gold-shadow);
  }

  .btn-hero-primary:hover {
    filter: brightness(1.03);
    transform: translateY(-2px);
  }

  .btn-hero-ghost {
    background: var(--color-bg-button-ghost);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border-light);
  }

  .btn-hero-ghost:hover {
    border-color: var(--color-border-nav-active);
    background: var(--color-bg-button-ghost-hover);
    transform: translateY(-2px);
  }
  
  #particles-js {
    display: none;
  }
  
  
  /* Carousel Styles for Hero Section */
  .carousel-item {
    height: auto;
    object-fit: contain;
  }
  
  .carousel-img {
    max-height: 30vh; /* Limit the height to fit within the section */
    width: auto;
    object-fit: contain; /* Ensure the entire image is visible within the specified area */
    transition: transform 0.3s ease;
  }
  
  .carousel-control-next-icon, .carousel-control-prev-icon {
    background-color: #e8d284;
  }

  #products {
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 70%);
    padding: 2rem 15px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.product-description-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto 1.5rem;
    padding: 15px;
    background-color: transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.product-description-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem auto;
    position: relative;
    z-index: 2;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-item-custom {
    flex: 1 1 0;
    min-width: 160px;
    display: flex;
}

  .nav-link-custom {
    background: var(--color-bg-nav-item) !important;
    color: var(--color-text-primary) !important;
    border: 2px solid transparent !important;
    border-radius: 30px;
    padding: 0.75rem 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    backdrop-filter: blur(5px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 80px;
    min-width: 0;
}

.nav-link-custom.active {
    background: var(--color-bg-nav-item-active) !important;
    border: 2px solid var(--brand-gold-500) !important;
    box-shadow: 0 4px 15px var(--color-accent-gold-shadow);
    transform: translateY(-2px);
}

.products .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
}

.tab-content {
    background: var(--color-bg-secondary);
    border-radius: 15px;
    padding: 2rem;
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
    overflow-y: auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; 
}

.custom-video {
    max-width: 800px;
    width: 100%;
    margin: 1.5rem auto;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(232, 210, 132, 0.3);
}

.carousel-video {
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: contain;
    border-radius: 12px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(232, 210, 132, 0.9);
    border-radius: 50%;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 992px) {
    #products {
        padding: 1rem 15px;
    }
    
    .nav-tabs {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-item-custom {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 0;
    }
    
    .product-description-logo {
        max-width: 150px;
        padding: 10px;
    }
    
    .nav-link-custom {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        min-height: 72px;
    }
    
    .tab-content {
        padding: 1.5rem;
        width: 95%;
    }
    
}

@media (max-width: 576px) {
    .nav-tabs {
        gap: 0.65rem;
    }

    .nav-item-custom {
        flex: 1 1 100%;
    }

    .nav-link-custom {
        min-height: 68px;
    }
}

/* FAQ Section */
  .faq-section {
    background: linear-gradient(145deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
  }

  .faq-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-gold-400) 0%, var(--brand-gold-500) 100%);
    opacity: 0.5;
  }

  .faq-section .card {
    border: none;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: var(--color-bg-input);
    border: 1px solid var(--color-border-default);
  }

  .faq-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px var(--color-accent-gold-shadow);
    border-color: var(--color-border-medium);
  }

  .faq-section .card-header {
    cursor: pointer;
    background: transparent;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: none;
  }

  .faq-section .card-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-gold-400) 0%, var(--brand-gold-500) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .faq-section .card-header:hover {
    background: var(--color-bg-nav-item-hover);
  }

  .faq-section .card-header:hover::after {
    opacity: 1;
  }

  .faq-section .card-header .icon {
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    color: var(--color-text-secondary);
    margin-left: 1rem;
  }

  .faq-section .collapse.show .icon {
    transform: rotate(180deg);
    color: var(--brand-gold-400);
  }

  .faq-section .card-body {
    padding: 1.5rem 2rem;
    background: var(--color-bg-input-enhanced);
    border-radius: 0 0 12px 12px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
  }

  .faq-section .faq-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
    position: relative;
    padding-left: 30px;
  }

  .faq-section .faq-title::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-gold-400);
    font-weight: 800;
    font-size: 1.2em;
  }

  .faq-section .faq-answer p {
    margin: 0;
    padding-left: 30px;
    position: relative;
  }

  .faq-section .faq-answer p::before {
    content: "A";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent-gold-dim);
    font-weight: 800;
    font-size: 1.2em;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .faq-section .card-header {
        padding: 1.25rem;
    }
    
    .faq-section .faq-title {
        font-size: 1.1rem;
        padding-left: 25px;
    }
    
    .faq-section .faq-title::before {
        font-size: 1em;
    }
  }

  /* #plans styles moved to .plans-section. remove legacy bg image so plans look clean */
  #plans {
    /* keep plain dark background but remove patterned GIF */
    background: var(--color-bg-primary);
    padding: 2.5rem 15px; /* keep compact padding to help fit 100vh */
    position: relative;
    overflow: hidden;
  }

  #plans::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, #ffd700 0%, #ffec8b 100%);
      opacity: 0.3;
  }

  .plans-section .container {
      position: relative;
      z-index: 2;
  }

  /* Plans Cards */
  .plans-section .card {
      background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
      border: none;
      border-radius: 15px;
      transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
      box-shadow: 0 8px 25px rgba(0,0,0,0.06);
      overflow: hidden;
      position: relative;
      margin: 10px;
  }

  .plans-section .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
  }

  .plans-section .card::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, #ffd700 0%, #ffec8b 100%);
      opacity: 0;
      transition: opacity 0.3s ease;
  }

  .plans-section .card:hover::after {
      opacity: 1;
  }

  /* Card Content Styling */
  .plans-section .card-header {
      background: transparent;
      border-bottom: none;
      padding: 2rem 1rem 1rem;
      position: relative;
  }

  .plans-section .card-title {
      font-size: 1.75rem;
      font-weight: 700;
      color: #2d3436;
      margin-bottom: 1rem;
      position: relative;
  }

  .plans-section .card-title::after {
      content: "";
      position: absolute;
      bottom: -8px;
      left: 50%;
      transform: translateX(-50%);
      width: 40px;
      height: 3px;
      background: #ffd700;
      border-radius: 2px;
  }

  .plans-section .price {
      font-size: 2.5rem;
      font-weight: 800;
      color: #ffd700;
      margin: 1.5rem 0;
      position: relative;
  }

  .plans-section .price small {
      font-size: 1rem;
      color: #636e72;
      font-weight: 500;
  }

  .plans-section .list-group-item {
      border: none;
      background: transparent;
      color: #636e72;
      padding: 0.75rem 1.5rem;
      font-size: 0.95rem;
  }

  .plans-section .btn-plan {
      background: linear-gradient(135deg, #ffd700 0%, #ffec8b 100%);
      border: none;
      border-radius: 30px;
      padding: 0.75rem 2rem;
      font-weight: 600;
      color: #2d3436;
      transition: all 0.3s ease;
      margin-top: 1.5rem;
  }

  .plans-section .btn-plan:hover {
      transform: scale(1.05);
      box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
  }
  
  
  
  /* Features Section */
  .features-section {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .features-section:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  }

  .features-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #e8d284 0%, #ffec8b 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .features-section:hover::before {
    opacity: 1;
  }

  .features-section h5 {
    color: #2d3436;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2rem;
  }

  .features-section h5::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #e8d284;
    border-radius: 50%;
  }

  .features-section h5::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #e8d284;
    border-radius: 2px;
  }

  .features-section p {
    color: #636e72;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
  }

  .features-section ul {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .features-section li {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 0;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 3px solid transparent;
  }

  .features-section li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(232, 210, 132, 0.15);
    border-left-color: #e8d284;
  }

  .features-section li::before {
    content: "✓";
    color: #e8d284;
    font-size: 1.2rem;
    font-weight: 700;
    left: 0;
    top: 1.2rem;
    background: rgba(232, 210, 132, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .features-section li:hover::before {
    background: #e8d284;
    color: white;
    transform: scale(1.1);
  }
  
  /* Contact Section */
  .contact {
    padding: 50px 0;
    background: linear-gradient(120deg, var(--color-bg-tertiary), var(--color-bg-primary));
    color: var(--color-text-primary);
  }
  
  .contact h2 {
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--color-text-primary);
  }
  
  .contact a {
    color: var(--color-accent-gold);
    transition: color 0.3s ease-in-out;
  }
  
  .contact a:hover {
    color: var(--color-text-primary);
    text-decoration: none;
  }
  
  .map-container {
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .map-container iframe {
    width: 100%;
    height: 100%;
  }
  
  /* Testimonial Section */
.testimonial-section {
  padding-top: 15px;
}
.testimonial-section .card {
  background: radial-gradient(circle at 20% 20%, rgba(214, 178, 90, 0.12), transparent 45%),
              radial-gradient(circle at 80% 0%, rgba(63, 169, 245, 0.08), transparent 40%),
              linear-gradient(160deg, var(--color-bg-secondary), var(--color-bg-tertiary));
  border: 1px solid var(--color-border-default);
  border-radius: 20px;
  height: auto;
  display: flex;
  align-items: center;
  transition: all 0.35s ease;
  transition-delay: 60ms;
  box-shadow: 0 16px 40px rgba(5, 7, 12, 0.35);
  position: relative;
  overflow: hidden;
  padding: 24px;
  color: var(--color-text-primary);
  min-height: 320px;
}

.testimonial-section .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 46px rgba(5, 7, 12, 0.45);
  border-color: rgba(232, 210, 132, 0.28);
  transition-delay: 0s;
}

.testimonial-section .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(232, 210, 132, 0.22), rgba(63, 169, 245, 0.12));
  opacity: 0.08;
  transition: opacity 0.3s ease;
}

.testimonial-section .card:hover::before {
  opacity: 0.18;
}

.testimonial-section .card-body {
  padding: 1.6rem 1.4rem;
  text-align: center;
}

.testimonial-section .card-body img {
  border: 3px solid rgba(255, 255, 255, 0.08);
  padding: 3px;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  transition-delay: 80ms;
}

.testimonial-section .card-body img:hover {
  transform: scale(1.05);
  transition-delay: 0s;
}

.testimonial-section .card-body .card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.testimonial-section .card-body .card-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: rgba(232, 210, 132, 0.8);
  border-radius: 2px;
}

.testimonial-section .card-body .card-text {
  font-size: 1.05rem;
  color: rgba(247, 241, 214, 0.78);
  line-height: 1.55;
  margin-top: 14px;
  position: relative;
  padding: 0 0.75rem;
}

.testimonial-section .card-body .card-text::before {
  content: "“";
  position: absolute;
  left: -10px;
  top: -20px;
  font-size: 4rem;
  color: rgba(232, 210, 132, 0.14);
  font-family: Arial, sans-serif;
}

.testimonial-section .card-body .testimonial-role {
  color: rgba(232, 210, 132, 0.85);
  letter-spacing: 0.04em;
}
  
  
  .bold-numbers {
    font-weight: bold;
    color: green;
  }
  
  .monthly-price {
    display: block;
    text-align: center;
    color: green;
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .review-link,
  .card.mb-4.login a {
    color: var(--color-text-primary);
    transition: color 0.3s ease-in-out;
  }
  
  .review-link:hover,
  .review-link:focus,
  .card.mb-4.login a:hover,
  .card.mb-4.login a:focus {
    color: var(--color-accent-gold);
    text-decoration: none;
  }
  

  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .hero-headline {
      font-size: 2.5rem;
    }
  
    .hero-subline {
      font-size: 1.05rem;
    }
  
    .tab-content p {
      font-size: 1rem;
    }
  
    .features-section h5 {
      font-size: 1.1rem;
    }
  
    .features-section p, .features-section li {
      font-size: 0.9rem;
    }
  
    .contact {
      text-align: center;
    }
  
    .contact .map-container {
      height: 200px;
    }
  }
  /* Remove default margin from the container and row classes within sections */
section .container {
  margin: 0 auto !important;

}

/* ========== SVG ANIMATION STYLES ========== */
.svg-animation {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--brand-radius-lg);
  box-shadow: var(--brand-shadow-md);
}

.product-svg-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  border-radius: var(--brand-radius-lg);
  background: transparent;
  border: none;
  transition: all 0.3s ease;
}

.product-svg-container:hover {
  transform: scale(1.02);
}

.product-svg-animation {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ========== PLANS SECTION ========== */
.plans-section {
  background: var(--color-bg-primary);
  padding: 2.5rem 0 1.5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.plans-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ========== PLAN CARD STYLES ========== */
.plan-card {
  background: var(--color-bg-secondary);
  border: 2px solid var(--color-border-medium);
  border-radius: 16px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Ensure cards don't push the page beyond the viewport — limit card height and allow inner scrolling of features */
  max-height: calc(100vh - 220px);
}

.plan-card:hover {
  border-color: var(--brand-gold-400);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(232, 210, 132, 0.2);
}

.plan-card.plan-featured {
  border-color: var(--brand-gold-400);
  box-shadow: 0 8px 32px rgba(232, 210, 132, 0.25);
  position: relative;
}

.plan-card.plan-featured::before {
  content: "POPULAR";
  position: absolute;
  top: 12px;
  right: -28px;
  background: var(--brand-gold-400);
  color: var(--color-text-on-accent);
  padding: 0.25rem 2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transform: rotate(45deg);
  z-index: 10;
}

.plan-card.plan-custom {
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
  border-color: var(--brand-sand-200);
}

.plan-card.plan-custom:hover {
  border-color: var(--brand-sand-100);
  box-shadow: 0 12px 40px rgba(245, 240, 183, 0.15);
}

/* Plan Header */
.plan-header {
  background: var(--color-bg-tertiary);
  /* compact header to save vertical space */
  padding: 0.6rem 0.5rem 0.45rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border-medium);
}

 .plan-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.4rem;
  background: linear-gradient(135deg, rgba(232, 210, 132, 0.95) 0%, rgba(207, 166, 72, 0.95) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--color-text-on-accent);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.32);
}

.plan-custom .plan-icon {
  background: linear-gradient(135deg, rgba(250, 243, 207, 0.95) 0%, rgba(233, 223, 182, 0.95) 100%);
  color: #604a0c;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.08);
}

 .plan-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.plan-badge {
  display: inline-block;
  font-size: 0.6rem;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  background: var(--brand-gold-400);
  color: var(--color-text-on-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.plan-custom .plan-badge {
  background: var(--brand-sand-200);
  color: var(--color-text-on-accent);
}

/* Plan Pricing */
 .plan-price {
  padding: 0.7rem 0.7rem;
  text-align: center;
  background: var(--color-bg-tertiary);
  border-bottom: 1px solid var(--color-border-default);
}

 .price-currency {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  vertical-align: top;
  margin-right: 0.15rem;
}

 .price-amount {
  font-size: 2.05rem;
  font-weight: 800;
  color: var(--brand-gold-400);
  line-height: 1;
}

 .price-period {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-left: 0.35rem;
}

 .price-suffix {
  font-size: 0.65rem;
  color: var(--color-text-secondary);
  margin-left: 0.35rem;
  opacity: 0.8;
  font-weight: 400;
}

.price-custom {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-sand-200);
}

/* Plan Features */
 .plan-features {
  padding: 0.55rem;
  flex-grow: 1;
  overflow-y: auto;
  max-height: calc(100vh - 340px);
}

/* small scrollbar styling for plan features area */
.plan-features::-webkit-scrollbar { height: 8px; width: 8px; }
.plan-features::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 6px; }

/* Reduce sizes further for short viewports so all cards fit in 100vh (useful for high zoom laptop screens) */
@media (max-height: 900px) {
  .plans-section { padding: 1.25rem 0 0.8rem; }
  .plan-card { max-height: calc(100vh - 160px); }
  .plan-name { font-size: 1.05rem; }
  .price-amount { font-size: 1.6rem; }
  .plan-features { max-height: calc(100vh - 300px); }
  .plan-icon { width: 36px; height: 36px; font-size: 1.05rem; }
}

 .custom-description {
  color: var(--color-text-secondary);
  font-size: 0.82rem;
  line-height: 1.3;
  margin-bottom: 0.45rem;
  padding: 0.35rem;
  background: var(--color-bg-input);
  border-radius: 6px;
  border-left: 3px solid var(--brand-sand-200);
}

 .feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border-default);
}

.feature-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

 .feature-icon {
  font-size: 0.95rem;
  color: var(--brand-gold-400);
  flex-shrink: 0;
}

 .feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
}

 .feature-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--brand-gold-400);
  line-height: 1;
}

 .feature-label {
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  line-height: 1.3;
}

/* Feature Check Items */
 .feature-check {
  align-items: center;
  padding-bottom: 0.35rem;
  margin-bottom: 0.35rem;
}

 .feature-icon-check {
  font-size: 0.9rem;
  flex-shrink: 0;
}

.feature-icon-check.feature-enabled {
  color: var(--color-status-success);
}

.feature-icon-check.feature-disabled {
  color: var(--color-text-tertiary);
  opacity: 0.4;
}

 .feature-check .feature-label {
  font-size: 0.72rem;
}

/* Adjustable Features for Custom Plan */
.feature-adjustable .feature-content {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.feature-adjustable-tag {
  font-size: 0.5rem;
  padding: 0.12rem 0.35rem;
  border-radius: 8px;
  background: var(--brand-sand-200);
  color: var(--color-text-on-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Plan CTA */
.plan-cta {
  padding: 0.35rem;
  background: var(--color-bg-tertiary);
  border-top: 1px solid var(--color-border-medium);
}

/* ========== BUTTON BRAND STYLES ========== */

/* ========== TEXT ACCENT STYLE ========== */
.text-accent {
  color: var(--brand-gold-400);
  transition: color 0.3s ease;
}

.text-accent:hover {
  color: var(--brand-amber-600);
}

/* ========== PRODUCT BULLETS AND TAGLINES ========== */
.product-tagline {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.product-bullets {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 1.5rem;
}

.product-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

.product-bullets li i {
  color: var(--color-accent-gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.product-outcome {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  text-align: center;
  margin-top: 1rem;
}

/* Tab buttons with subtitles */
.nav-link-custom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.nav-link-custom small {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 400;
}

/* ========== WHY RAVEN SECTION ========== */
.why-section {
  background: linear-gradient(145deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
  padding: 4rem 0;
  position: relative;
}

.why-section h2 {
  color: var(--color-text-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.why-power {
  overflow: hidden;
}

.why-network {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1.5rem 3.75rem;
}

.why-network-lines {
  position: absolute;
  inset: 1.5rem auto 1.5rem 0.5rem;
  width: 180px;
  height: calc(100% - 3rem);
  z-index: 0;
}

.why-line {
  fill: none;
  stroke: rgba(232, 210, 132, 0.28);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: whyLineFlow 5.5s ease-in-out infinite;
}

.why-line--core {
  stroke-width: 3.5;
  stroke: rgba(232, 210, 132, 0.55);
  animation-duration: 7s;
}

.why-bullets-container {
  position: relative;
  z-index: 1;
}

.why-bullet {
  position: relative;
}

.why-bullet::before {
  content: "";
  position: absolute;
  left: -2.75rem;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 210, 132, 0.95), rgba(232, 210, 132, 0.2));
  box-shadow: 0 0 0 6px rgba(232, 210, 132, 0.12);
}

@keyframes whyLineFlow {
  0% {
    stroke-dashoffset: 800;
    opacity: 0.2;
  }
  40% {
    opacity: 0.75;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.25;
  }
}

.why-bullets-container {
  display: flex;
  justify-content: center;
}

.why-bullets {
  list-style: none;
  padding: 0;
  max-width: 700px;
}

.why-bullet {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  margin-bottom: 0.75rem;
  background: var(--color-bg-input);
  border-radius: 12px;
  border-left: 3px solid var(--color-accent-gold);
  transition: all 0.3s ease;
}

.why-bullet:hover {
  background: var(--color-bg-nav-item-hover);
  transform: translateX(5px);
}

.why-bullet i {
  color: var(--color-icon-light);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.why-bullet span {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
}

/* Bullet underline animation on scroll */
.why-bullet.in-view span {
  position: relative;
}

.why-bullet.in-view span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-grow 0.6s ease-out forwards;
}

@keyframes underline-grow {
  to {
    transform: scaleX(1);
  }
}

/* ========== TESTIMONIAL SECTION UPDATES ========== */
.testimonial-section {
  background: var(--color-bg-primary);
  padding: 3rem 0;
}

.testimonial-section h2 {
  color: var(--color-text-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.testimonial-card {
  background: var(--color-bg-secondary);
  border: 2px solid var(--color-border-medium);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.testimonial-section .row {
  align-items: stretch;
}

.testimonial-section .col {
  display: flex;
}

.testimonial-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232, 210, 132, 0.08), transparent);
  transition: left 1.2s ease;
}

.testimonial-card:hover::before {
  left: 100%;
}

.testimonial-card:hover {
  border-color: var(--brand-gold-400);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(232, 210, 132, 0.2);
}

.testimonial-icon {
  font-size: 2.5rem;
  color: var(--brand-gold-400);
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--color-text-on-accent); /* use palette color for consistency */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ========== CONTACT CLOSER ========== */
.contact-closer {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  font-style: italic;
}

/* Map ping animation */
.map-ping {
  position: relative;
}

.map-ping::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--color-accent-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ping-pulse 2.5s ease-out infinite;
  pointer-events: none;
  z-index: 10;
}

@keyframes ping-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

/* ========== FEATURES SECTION STYLES ========== */
.features-section {
  background: var(--color-bg-secondary);
  border: 2px solid var(--color-border-medium);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  margin-top: 2rem;
}

.features-section h2 {
  color: var(--color-text-primary);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.features-section p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.features-list li {
  padding: 1.25rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border-default);
}

.features-list li:hover {
  background: var(--color-bg-quaternary);
  border-color: var(--brand-gold-400);
  transform: translateX(8px);
}

.features-list h5 {
  color: var(--brand-gold-400);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.features-list p {
  color: var(--color-text-secondary);
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ========== RESPONSIVE STYLES FOR NEW COMPONENTS ========== */
@media (max-width: 992px) {
  .plan-card .monthly-price {
    font-size: 1.25rem;
  }
  
  .product-svg-container {
    margin-top: 1.5rem;
  }

  .why-section h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  /* Plans Section Mobile Optimization */
  .plans-section {
    min-height: auto;
    padding: 2rem 0;
  }

  .plans-section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .row-cols-lg-4 > .col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .plan-card {
    margin-bottom: 1.5rem;
    max-height: none;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .plan-features {
    max-height: none;
    overflow-y: visible;
  }

  .plan-header {
    padding: 1rem;
  }

  .features-section ul {
    grid-template-columns: 1fr;
  }

  .plan-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .plan-name {
    font-size: 1.15rem;
  }

  .price-amount {
    font-size: 2rem;
  }

  /* Products Section Mobile */
  .product-tagline {
    font-size: 1.25rem;
  }

  .product-bullets {
    font-size: 0.95rem;
  }

  .nav-item-custom {
    flex: 1;
    min-width: 0;
  }

  .nav-link-custom {
    padding: 0.9rem 0.75rem;
    font-size: 0.9rem;
    border-radius: 20px;
    min-height: 70px;
    justify-content: center;
    gap: 0.35rem;
  }

  .nav-link-custom small {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .nav-link-custom.active {
    transform: translateY(-1px);
  }
  
  .svg-animation {
    max-width: 100%;
  }
  
  .features-section {
    padding: 1.5rem;
  }

  .why-bullet {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .why-network {
    padding: 1rem;
  }

  .why-network-lines {
    display: none;
  }

  .why-bullet::before {
    display: none;
  }

  /* Testimonials Mobile */
  .testimonial-section {
    padding: 2rem 0;
  }

  .testimonial-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .testimonial-icon {
    font-size: 2rem;
  }

  .testimonial-quote {
    font-size: 1rem;
  }

  .contact-closer {
    font-size: 1.2rem;
  }

  /* Container padding for mobile */
  .container {
    padding: 0 1rem !important;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.8rem;
  }

  .hero-subline {
    font-size: 1rem;
  }

  .plans-section-title {
    font-size: 1.5rem;
  }

  .plan-name {
    font-size: 1rem;
  }

  .price-amount {
    font-size: 1.75rem;
  }

  .feature-value {
    font-size: 0.95rem;
  }

  .feature-label {
    font-size: 0.72rem;
  }

  .testimonial-quote {
    font-size: 0.95rem;
  }

  .nav-link-custom {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 16px;
    min-height: 65px;
  }

  .nav-link-custom small {
    font-size: 0.68rem;
  }

  .container {
    padding: 0 0.75rem !important;
  }
}

/* ========== PADDLE-STYLE PRODUCTS SECTION WITH STICKY SCROLL ========== */
.products-flat {
  padding: 8rem 0 4rem 0;
  background: var(--color-bg-primary);
  position: relative;
}

.products-section__title {
  text-align: center;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.products-section__subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: 6rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.products-stack {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Product Card - Sticky overlapping scroll effect */
.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-medium);
  border-radius: 24px;
  padding: 3rem;
  overflow: visible;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px) scale(1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
  border-color: var(--color-accent-gold);
  z-index: 10;
}

.product-card--reverse {
  direction: rtl;
}

.product-card--reverse > * {
  direction: ltr;
}

/* Content Side */
.product-card__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-card__badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  background: var(--color-accent-gold);
  color: var(--color-text-on-accent);
  margin-bottom: 0.5rem;
}

.product-card__logo {
  max-width: 160px;
  max-height: 56px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.product-card__tagline {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.product-card__description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0.5rem 0 1rem 0;
}

.product-card__cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.product-card__cta .btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.product-card__cta .btn-brand i {
  font-size: 1.15rem;
}

.product-card__cta .btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-accent-gold-shadow);
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent-gold);
  text-decoration: none;
  transition: all 0.2s ease;
}

.product-card__link:hover {
  color: var(--color-text-primary);
  gap: 0.6rem;
}

.product-card__link i {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.product-card__link:hover i {
  transform: translateX(4px);
}

/* Visual Side - SVG Animation with Transparent Background */
.product-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border-radius: 16px;
  overflow: visible;
  background: transparent;
}

.product-card__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 50%, var(--color-accent-gold-shadow), transparent 60%);
  opacity: 0.4;
  filter: blur(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.product-card:hover .product-card__glow {
  opacity: 0.7;
  transform: scale(1.1);
}

.product-card__svg {
  position: relative;
  z-index: 1;
  max-width: 95%;
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.2));
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.product-card:hover .product-card__svg {
  transform: scale(1.08) translateY(-12px);
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.25));
}

/* Responsive Paddle Products */
@media (max-width: 992px) {
  .product-card {
    margin-bottom: 2rem;
  }
  
  .products-stack {
    gap: 2rem;
  }
  
  .product-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  
  .product-card--reverse {
    direction: ltr;
  }
  
  .product-card__visual {
    min-height: 240px;
    order: -1;
  }
  
  .products-section__title {
    font-size: 2.25rem;
  }
  
  .product-card__tagline {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .products-flat {
    padding: 4rem 0;
  }
  
  .products-section__title {
    font-size: 1.875rem;
    padding: 0 1rem;
  }
  
  .products-section__subtitle {
    font-size: 1rem;
    padding: 0 1rem;
    margin-bottom: 2.5rem;
  }
  
  .product-card {
    padding: 1.5rem;
    border-radius: 16px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  
  .product-card__logo {
    max-width: 120px;
  }
  
  .product-card__tagline {
    font-size: 1.35rem;
  }
  
  .product-card__visual {
    min-height: 200px;
  }
  
  .product-card__svg {
    max-height: 180px;
  }
  
  .product-card__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .product-card__cta .btn-brand {
    width: 100%;
    justify-content: center;
  }

  .products-stack {
    padding: 0;
  }
}

/* ========== DEMO MODAL ========== */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.demo-modal--active {
  opacity: 1;
  visibility: visible;
}

.demo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.demo-modal__container {
  position: relative;
  width: 90vw;
  max-width: 1400px;
  height: 85vh;
  max-height: 900px;
  background: var(--color-bg-primary);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-border-medium);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.demo-modal--active .demo-modal__container {
  transform: scale(1) translateY(0);
}

.demo-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-medium);
  color: var(--color-text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.demo-modal__close:hover {
  background: var(--color-accent-gold);
  color: var(--color-text-on-accent);
  border-color: var(--color-accent-gold);
  transform: scale(1.1);
}

.demo-modal__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-primary);
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.demo-modal__loader--visible {
  opacity: 1;
  visibility: visible;
}

.demo-modal__loader-icon {
  width: 80px;
  height: auto;
  animation: demoLoaderPulse 1.8s ease-in-out infinite;
}

@keyframes demoLoaderPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.demo-modal__iframe {
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.demo-modal__iframe--loaded {
  opacity: 1;
}

/* Demo Modal Responsive */
@media (max-width: 768px) {
  .demo-modal__container {
    width: 95vw;
    height: 90vh;
    border-radius: 12px;
  }
  
  .demo-modal__close {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    top: 0.75rem;
    right: 0.75rem;
  }
}
