/* ==========================================================================
       DESIGN SYSTEM — ASSEMBLE: Agentic AI (Premium Tech)
       ========================================================================== */

    :root {
      /* Backgrounds */
      --bg: #F9F6FF;
      --bg-dark: #1A1A2E;
      --bg-darker: #13132A;
      --surface: #FFFFFF;

      /* Foreground */
      --fg: #1A1A2E;
      --fg-inverse: #F9F6FF;
      --muted: #6B6B7B;
      --muted-light: #A0A0B0;

      /* Brand */
      --primary: #7B2FF2;
      --primary-light: #9F5AFF;
      --accent: #FF7A00;
      --accent-light: #FF9A40;

      /* Utility */
      --border: #E8E4F0;
      --border-dark: #2D2D4E;
      --shadow: rgba(123, 47, 242, 0.08);

      /* Gradient */
      --gradient: linear-gradient(135deg, #7B2FF2 0%, #FF7A00 100%);

      /* Typography */
      --font-display: 'Be Vietnam Pro', -apple-system, system-ui, sans-serif;
      --font-body: 'Inter', -apple-system, system-ui, sans-serif;

      /* Spacing */
      --space-xs: 0.5rem;
      --space-sm: 1rem;
      --space-md: 1.5rem;
      --space-lg: 2.5rem;
      --space-xl: 4rem;
      --space-2xl: 6rem;

      /* Radii */
      --radius-sm: 8px;
      --radius-md: 16px;
      --radius-lg: 24px;
      --radius-full: 9999px;
    }

    /* ==========================================================================
       BASE
       ========================================================================== */

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

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--fg);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    /* Typography */
    h1, h2, h3, h4 {
      font-family: var(--font-display);
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.02em;
    }

    h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
    h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
    h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

    p {
      font-size: 1.125rem;
      color: var(--muted);
      line-height: 1.7;
    }

    a {
      color: var(--primary);
      text-decoration: none;
      transition: color 0.2s;
    }
    a:hover { color: var(--primary-light); }

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

    /* ==========================================================================
       LAYOUT
       ========================================================================== */

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 var(--space-md);
    }

    .section { padding: var(--space-2xl) 0; }
    .section-tight { padding: var(--space-xl) 0; }

    /* ==========================================================================
       COMPONENTS
       ========================================================================== */

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 1rem 2rem;
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 600;
      border-radius: var(--radius-sm);
      border: none;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .btn-text-desktop {
      display: inline;
    }
    .btn-text-mobile {
      display: none;
    }

    .btn-primary,
    .btn-primary:link,
    .btn-primary:visited {
      background: var(--accent);
      color: #ffffff !important;
      box-shadow: 0 4px 20px rgba(255, 122, 0, 0.3);
    }
    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
      background: #E06A00;
      transform: translateY(-2px) scale(1.02);
      box-shadow: 0 10px 25px rgba(255, 122, 0, 0.45);
      color: #ffffff !important;
    }

    .btn-secondary {
      background: var(--primary);
      color: white;
      box-shadow: 0 4px 20px rgba(123, 47, 242, 0.25);
    }
    .btn-secondary:hover {
      background: #6922D9;
      transform: translateY(-2px) scale(1.02);
      box-shadow: 0 10px 25px rgba(123, 47, 242, 0.45);
      color: white;
    }

    .btn-outline {
      background: transparent;
      color: var(--primary);
      border: 2px solid var(--primary);
    }
    .btn-outline:hover {
      background: var(--primary);
      color: white;
    }

    .btn-lg {
      padding: 1.125rem 2.5rem;
      font-size: 1.0625rem;
    }

    /* Badge */
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 0.375rem;
      padding: 0.5rem 1rem;
      font-family: var(--font-display);
      font-size: 0.8125rem;
      font-weight: 600;
      border-radius: var(--radius-full);
      letter-spacing: 0.02em;
    }

    .badge-primary {
      background: rgba(123, 47, 242, 0.1);
      color: var(--primary);
    }

    .badge-accent {
      background: rgba(255, 122, 0, 0.1);
      color: var(--accent);
    }

    .badge-dark {
      background: var(--bg-darker);
      color: var(--fg-inverse);
      border: 1px solid var(--border-dark);
    }

    /* Card */
    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: var(--space-lg);
      transition: all 0.3s ease;
    }
    .card:hover {
      box-shadow: 0 12px 40px var(--shadow);
      transform: translateY(-4px);
    }

    /* Section headers */
    .section-header {
      text-align: center;
      max-width: 720px;
      margin: 0 auto var(--space-xl);
    }
    .section-header h2 {
      margin-bottom: var(--space-sm);
    }
    .section-header p {
      font-size: 1.125rem;
    }

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

    .header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(249, 246, 255, 0.9);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      padding: 1rem 0;
    }

    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-family: var(--font-display);
      font-size: 1.375rem;
      font-weight: 800;
      letter-spacing: -0.02em;
    }
    .logo-main {
      background: var(--gradient);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .logo-sub {
      font-weight: 400;
      color: var(--muted);
      -webkit-text-fill-color: var(--muted);
    }

    /* ==========================================================================
       HERO — Dark Premium
       ========================================================================== */

    .hero {
      background: var(--bg-dark);
      color: var(--fg-inverse);
      padding: var(--space-2xl) 0;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 80%;
      height: 150%;
      background: radial-gradient(ellipse at center, rgba(123, 47, 242, 0.15) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero::after {
      content: '';
      position: absolute;
      bottom: -30%;
      left: -10%;
      width: 60%;
      height: 100%;
      background: radial-gradient(ellipse at center, rgba(255, 122, 0, 0.08) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-xl);
      align-items: center;
      position: relative;
      z-index: 1;
    }

    .hero-content { max-width: 560px; }

    .hero-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: var(--space-md);
    }

    .hero h1 {
      color: white;
      margin-bottom: var(--space-md);
      font-size: clamp(2.25rem, 4.5vw, 3rem);
      line-height: 1.15;
    }

    .hero-desc {
      font-size: 1.125rem;
      color: var(--muted-light);
      margin-bottom: var(--space-lg);
      line-height: 1.7;
    }

    .hero-cta {
      display: flex;
      flex-direction: column;
      gap: var(--space-sm);
    }

    .hero-cta .btn { width: 100%; }

    /* Scarcity bar */
    .scarcity-bar {
      background: var(--bg-darker);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-sm);
      padding: var(--space-sm);
      margin-top: var(--space-md);
    }

    .scarcity-labels {
      display: flex;
      justify-content: space-between;
      font-size: 0.875rem;
      color: var(--muted-light);
      margin-bottom: 0.5rem;
    }

    .scarcity-labels strong { color: white; }

    .scarcity-track {
      height: 6px;
      background: var(--border-dark);
      border-radius: var(--radius-full);
      overflow: hidden;
    }

    .scarcity-fill {
      height: 100%;
      background: var(--gradient);
      border-radius: var(--radius-full);
      transition: width 0.5s ease;
    }

    /* Instructor mini */
    .instructor-mini {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      margin-top: var(--space-md);
      padding-top: var(--space-md);
      border-top: 1px solid var(--border-dark);
    }

    .instructor-mini img {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 2px solid var(--primary);
    }

    .instructor-mini-text {
      font-size: 0.875rem;
      color: var(--muted-light);
      line-height: 1.5;
    }

    /* Hero Demo Card */
    .hero-demo {
      background: var(--surface);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    }

    .demo-header {
      background: linear-gradient(180deg, #2D2D4E 0%, var(--bg-darker) 100%);
      padding: 0.875rem 1.25rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .demo-header-top {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .demo-dots {
      display: flex;
      gap: 6px;
    }
    .demo-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }
    .demo-dot--red { background: #FF5F57; }
    .demo-dot--yellow { background: #FFBD2E; }
    .demo-dot--green { background: #28CA42; }

    .demo-title {
      flex: 1;
      font-family: var(--font-display);
      font-size: 0.8125rem;
      font-weight: 600;
      color: white;
    }

    .demo-status {
      display: inline-flex;
      align-items: center;
      gap: 0.375rem;
      font-size: 0.75rem;
      color: #28CA42;
      font-weight: 600;
    }
    .pulse-dot {
      width: 8px;
      height: 8px;
      background-color: #28CA42;
      border-radius: 50%;
      display: inline-block;
      position: relative;
    }
    .pulse-dot::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      background-color: #28CA42;
      border-radius: 50%;
      top: 0;
      left: 0;
      animation: pulse 1.8s infinite ease-in-out;
    }
    @keyframes pulse {
      0% { transform: scale(1); opacity: 0.8; }
      100% { transform: scale(2.5); opacity: 0; }
    }

    /* Scroll Reveal Transition Styles */
    .scroll-reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .scroll-reveal.fade-up {
      opacity: 1;
      transform: translateY(0);
    }

    .demo-url {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--bg-darker);
      padding: 0.5rem 0.75rem;
      border-radius: var(--radius-sm);
      font-size: 0.75rem;
      color: var(--muted-light);
    }
    .demo-url .ti { font-size: 0.875rem; color: #28CA42; }

    .demo-body {
      padding: 1.25rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      background: var(--surface);
    }

    /* Chat messages */
    .msg { display: flex; gap: 0.75rem; }
    .msg--user { flex-direction: row-reverse; }

    .msg-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: 700;
      color: white;
      flex-shrink: 0;
    }

    .msg-content { flex: 1; max-width: 85%; }

    .msg-bubble {
      padding: 0.875rem 1rem;
      border-radius: var(--radius-md);
      font-size: 0.9375rem;
      line-height: 1.5;
    }

    .msg--user .msg-bubble {
      background: var(--primary);
      color: white;
      border-bottom-right-radius: 4px;
    }

    .msg--ai .msg-bubble {
      background: var(--bg);
      color: var(--fg);
      border-bottom-left-radius: 4px;
    }

    .msg-meta {
      font-size: 0.75rem;
      color: var(--muted);
      margin-top: 0.375rem;
      text-align: right;
    }
    .msg--ai .msg-meta { text-align: left; }

    /* Result table in AI response */
    .result-table {
      margin-top: 0.75rem;
      font-size: 0.8125rem;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      overflow: hidden;
    }

    .result-row {
      display: grid;
      grid-template-columns: 1.5fr 1.5fr 0.8fr;
      gap: 0.5rem;
      padding: 0.625rem 0.75rem;
      border-bottom: 1px solid var(--border);
    }
    .result-row:last-child { border-bottom: none; }

    .result-row--head {
      background: var(--bg);
      font-weight: 600;
      color: var(--fg);
    }

    .msg-meta--success {
      color: #28CA42;
      font-weight: 500;
    }

    .demo-footer {
      background: var(--bg);
      padding: 1rem 1.25rem;
      font-size: 0.8125rem;
      color: var(--muted);
      text-align: center;
      border-top: 1px solid var(--border);
    }

    /* ==========================================================================
       TRUST STRIP
       ========================================================================== */

    .trust {
      background: var(--surface);
      padding: var(--space-xl) 0;
      border-bottom: 1px solid var(--border);
    }

    .trust-header {
      text-align: center;
      margin-bottom: var(--space-lg);
    }

    .trust-header h3 {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--muted);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 0.5rem;
    }

    .trust-header p {
      font-size: 1rem;
      max-width: 600px;
      margin: 0 auto;
    }

    .trust-logos {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: var(--space-lg);
      align-items: center;
      opacity: 0.7;
    }

    .trust-logos img {
      height: 32px;
      width: auto;
      filter: grayscale(100%);
      transition: all 0.3s;
    }
    .trust-logos img:hover {
      filter: grayscale(0%);
      opacity: 1;
    }

    .trust-footer {
      text-align: center;
      margin-top: var(--space-md);
    }

    .trust-footer p {
      font-size: 0.875rem;
      color: var(--muted);
    }

    /* ==========================================================================
       STORY / PAIN SECTION
       ========================================================================== */

    .story {
      background: var(--bg);
    }

    .story-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .story h2 {
      text-align: center;
      margin-bottom: var(--space-lg);
    }

    .story-lead {
      font-size: 1.25rem;
      text-align: center;
      margin-bottom: var(--space-xl);
      color: var(--muted);
    }

    .story-block {
      margin-bottom: var(--space-xl);
    }

    .story-block p {
      margin-bottom: var(--space-sm);
    }

    .story-callout {
      background: var(--surface);
      border-left: 4px solid var(--primary);
      padding: var(--space-md);
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      margin: var(--space-lg) 0;
    }

    .story-callout strong {
      display: block;
      font-family: var(--font-display);
      font-size: 1.25rem;
      color: var(--primary);
      margin-bottom: 0.5rem;
    }

    .story-callout p {
      margin: 0;
      font-size: 1rem;
    }

    /* Before/After Grid */
    .ba-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-md);
      margin: var(--space-xl) 0 0 0;
    }

    .ba-card {
      padding: var(--space-lg);
      border-radius: var(--radius-md);
    }

    .ba-card--before {
      background: rgba(255, 95, 87, 0.05);
      border: 1px solid rgba(255, 95, 87, 0.2);
    }

    .ba-card--after {
      background: rgba(40, 202, 66, 0.05);
      border: 1px solid rgba(40, 202, 66, 0.2);
    }

    .ba-badge {
      display: inline-block;
      font-family: var(--font-display);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      padding: 0.375rem 0.75rem;
      border-radius: var(--radius-full);
      margin-bottom: var(--space-md);
    }

    .ba-card--before .ba-badge {
      background: rgba(255, 95, 87, 0.1);
      color: #FF5F57;
    }

    .ba-card--after .ba-badge {
      background: rgba(40, 202, 66, 0.1);
      color: #28CA42;
    }

    .ba-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.875rem;
    }

    .ba-list li {
      display: flex;
      gap: 0.75rem;
      font-size: 0.9375rem;
      line-height: 1.5;
    }

    .ba-list .ti {
      flex-shrink: 0;
      font-size: 1.125rem;
      margin-top: 2px;
    }

    .ba-card--before .ti { color: #FF5F57; }
    .ba-card--after .ti { color: #28CA42; }

    /* Stat Callout */
    .stat-callout {
      background: var(--bg-dark);
      color: white;
      padding: var(--space-lg);
      border-radius: var(--radius-md);
      text-align: center;
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
    }

    .stat-callout-label {
      font-size: 0.875rem;
      color: var(--muted-light);
      margin-bottom: 0.5rem;
    }

    .stat-callout-arrow {
      font-size: 1.5rem;
      color: var(--accent);
      margin: 0.5rem 0;
    }

    .stat-callout-value {
      font-family: var(--font-display);
      font-size: 3rem;
      font-weight: 800;
      color: var(--accent);
      line-height: 1;
    }

    .stat-callout-desc {
      font-size: 0.8125rem;
      color: var(--muted-light);
      margin-top: 0.75rem;
    }

    /* Quote */
    .story-quote {
      background: var(--surface);
      border-radius: var(--radius-md);
      padding: var(--space-lg);
      margin-top: var(--space-xl);
      border: 1px solid var(--border);
    }

    .story-quote blockquote {
      font-family: var(--font-display);
      font-size: 1.25rem;
      font-style: italic;
      color: var(--fg);
      margin-bottom: var(--space-sm);
      line-height: 1.5;
    }

    .story-quote cite {
      font-size: 0.875rem;
      color: var(--muted);
      font-style: normal;
    }

    /* ==========================================================================
       EPIPHANY QUOTE
       ========================================================================== */

    .epiphany {
      background: var(--bg-dark);
      padding: var(--space-xl) 0;
      text-align: center;
    }

    .epiphany-quote {
      font-family: var(--font-display);
      font-size: clamp(1.5rem, 3.5vw, 2.25rem);
      font-weight: 600;
      color: white;
      line-height: 1.4;
      max-width: 800px;
      margin: 0 auto;
    }

    /* ==========================================================================
       TESTIMONIALS
       ========================================================================== */

    .testimonials {
      background: var(--surface);
    }

    .testimonials-grid {
      display: grid;
      grid-template-columns: 3fr 2fr;
      gap: var(--space-lg);
      align-items: start;
    }

    .testimonials-list {
      display: flex;
      flex-direction: column;
      gap: var(--space-md);
    }

    .testimonial-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: var(--space-md);
    }

    .testimonial-rating {
      color: var(--accent);
      font-size: 1rem;
      margin-bottom: 0.75rem;
      letter-spacing: 2px;
    }

    .testimonial-text {
      font-size: 1rem;
      font-style: italic;
      color: var(--fg);
      margin-bottom: var(--space-sm);
      line-height: 1.6;
    }

    .testimonial-user {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .testimonial-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-display);
      font-size: 0.8125rem;
      font-weight: 700;
      color: white;
    }

    .testimonial-info strong {
      display: block;
      font-size: 0.9375rem;
      color: var(--primary);
    }

    .testimonial-info span {
      font-size: 0.8125rem;
      color: var(--muted);
    }

    /* Featured Case Study */
    .case-study {
      background: var(--bg-dark);
      color: white;
      border-radius: var(--radius-md);
      padding: var(--space-lg);
      border-left: 4px solid var(--accent);
    }

    .case-badge {
      display: inline-block;
      background: var(--accent);
      color: white;
      font-family: var(--font-display);
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      padding: 0.375rem 0.75rem;
      border-radius: var(--radius-full);
      margin-bottom: var(--space-md);
    }

    .case-study h3 {
      color: white;
      margin-bottom: var(--space-sm);
    }

    .case-study p {
      color: var(--muted-light);
      font-size: 1rem;
      margin-bottom: var(--space-lg);
    }

    .case-stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      padding-top: 1.5rem;
      margin-top: 1.5rem;
      border-top: 1px solid var(--border-dark);
      align-items: stretch;
    }

    .case-stat {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      gap: 0.5rem;
      padding: 1rem;
      background: rgba(255,255,255,0.05);
      border-radius: var(--radius-sm);
    }

    .case-stat-value {
      font-family: var(--font-display);
      font-size: 2.75rem;
      font-weight: 800;
      color: var(--accent);
      line-height: 1;
    }

    .case-stat-label {
      font-size: 0.8125rem;
      color: var(--muted-light);
      margin-top: 0.5rem;
      text-align: center;
    }

    /* ==========================================================================
       FRAMEWORK SECTION
       ========================================================================== */

    .framework {
      background: var(--bg);
    }

    .framework-intro {
      text-align: center;
      max-width: 700px;
      margin: 0 auto var(--space-xl);
      font-size: 1.125rem;
      color: var(--muted);
    }

    .framework-intro strong {
      color: var(--fg);
    }

    /* Comparison Table */
    .comparison-wrapper {
      background: var(--surface);
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border);
      margin-bottom: var(--space-xl);
    }

    .comparison-header {
      text-align: center;
      padding: var(--space-md);
      background: var(--bg);
      border-bottom: 1px solid var(--border);
    }

    .comparison-header h3 {
      margin: 0;
      font-size: 1.125rem;
    }

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

    .comparison-table th,
    .comparison-table td {
      padding: 1rem 1.25rem;
      text-align: left;
      border-bottom: 1px solid var(--border);
    }

    .comparison-table th {
      background: var(--bg);
      font-family: var(--font-display);
      font-size: 0.875rem;
      font-weight: 600;
    }

    .comparison-table th:last-child {
      background: linear-gradient(135deg, rgba(123, 47, 242, 0.08) 0%, rgba(255, 122, 0, 0.08) 100%);
      color: var(--primary);
    }

    .comparison-table td {
      font-size: 0.9375rem;
    }

    .comparison-table td:last-child {
      background: rgba(123, 47, 242, 0.03);
      font-weight: 500;
      color: var(--fg);
    }

    .comparison-table tr:last-child td {
      border-bottom: none;
    }

    /* Framework Layers */
    .framework-split {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: var(--space-xl);
      align-items: start;
    }

    .framework-diagram {
      position: sticky;
      top: 120px;
    }

    .framework-diagram svg {
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
      display: block;
    }

    .framework-layers {
      display: flex;
      flex-direction: column;
      gap: var(--space-md);
    }

    .layer-card {
      display: flex;
      gap: var(--space-md);
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: var(--space-md);
      transition: all 0.3s;
    }

    .layer-card:hover {
      box-shadow: 0 8px 30px var(--shadow);
      border-color: var(--primary);
    }

    .layer-num {
      flex-shrink: 0;
      width: 48px;
      height: 48px;
      background: var(--gradient);
      border-radius: var(--radius-sm);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: white;
      font-family: var(--font-display);
      font-weight: 700;
      line-height: 1;
    }

    .layer-num span {
      font-size: 0.5rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      opacity: 0.8;
    }

    .layer-num::after {
      content: attr(data-num);
      font-size: 1.25rem;
    }

    .layer-content h3 {
      font-size: 1.0625rem;
      margin-bottom: 0.5rem;
    }

    .layer-content p {
      font-size: 0.9375rem;
      margin: 0;
      line-height: 1.6;
    }

    /* Mechanism Banner */
    .mechanism-banner {
      background: var(--bg-dark);
      color: white;
      padding: var(--space-lg);
      border-radius: var(--radius-md);
      margin-top: var(--space-xl);
    }

    .mechanism-banner h3 {
      color: white;
      font-size: 1.125rem;
      margin-bottom: var(--space-sm);
    }

    .mechanism-banner p {
      color: var(--muted-light);
      font-size: 0.9375rem;
      margin-bottom: 0;
    }

    .mechanism-banner p:last-child {
      margin-top: var(--space-sm);
      color: var(--accent);
      font-weight: 600;
    }

    /* ==========================================================================
       OUTPUT SECTION
       ========================================================================== */

    .output {
      background: var(--surface);
    }

    .output-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: var(--space-md);
    }

    .output-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: var(--space-md);
      position: relative;
      transition: all 0.3s;
    }

    .output-card:hover {
      border-color: var(--primary);
      box-shadow: 0 8px 30px var(--shadow);
    }

    .output-card:nth-child(1), .output-card:nth-child(3) {
      border: 2px solid rgba(123, 47, 242, 0.2);
    }

    @media (min-width: 1025px) {
      .output-grid {
        grid-template-columns: repeat(6, 1fr);
      }
      .output-card:nth-child(1), .output-card:nth-child(2), .output-card:nth-child(3) {
        grid-column: span 2;
      }
      .output-card:nth-child(4) {
        grid-column: 2 / span 2;
      }
      .output-card:nth-child(5) {
        grid-column: 4 / span 2;
      }
    }

    .output-num {
      position: absolute;
      top: var(--space-sm);
      right: var(--space-sm);
      font-family: var(--font-display);
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--primary);
      opacity: 0.5;
    }

    .output-icon {
      width: 48px;
      height: 48px;
      background: var(--gradient);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: var(--space-sm);
    }

    .output-icon .ti {
      font-size: 1.5rem;
      color: white;
    }

    .output-card strong {
      display: block;
      font-family: var(--font-display);
      font-size: 1rem;
      margin-bottom: 0.375rem;
    }

    .output-card p {
      font-size: 0.875rem;
      margin: 0;
    }

    /* ==========================================================================
       FUTURE PACING
       ========================================================================== */

    .future {
      background: var(--bg-dark);
      color: white;
    }

    .future h2 {
      color: white;
      text-align: center;
      margin-bottom: var(--space-xl);
    }

    .future-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-md);
    }

    .future-card {
      background: var(--bg-darker);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-md);
      padding: var(--space-lg);
    }

    .future-card-label {
      display: inline-block;
      font-family: var(--font-display);
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      padding: 0.375rem 0.75rem;
      border-radius: var(--radius-full);
      margin-bottom: var(--space-md);
    }

    .future-card--specialist .future-card-label {
      background: rgba(123, 47, 242, 0.2);
      color: var(--primary-light);
    }

    .future-card--ceo .future-card-label {
      background: rgba(255, 122, 0, 0.2);
      color: var(--accent-light);
    }

    .future-card p {
      color: var(--muted-light);
      font-size: 1rem;
      margin-bottom: var(--space-sm);
    }

    .future-card p:last-child {
      margin-bottom: 0;
    }

    .future-question {
      text-align: center;
      margin-top: var(--space-xl);
      font-family: var(--font-display);
      font-size: 1.125rem;
      font-style: italic;
      color: var(--muted-light);
      line-height: 1.6;
    }

    /* ==========================================================================
       CURRICULUM
       ========================================================================== */

    .curriculum {
      background: var(--bg);
    }

    .curriculum-tabs {
      display: flex;
      justify-content: center;
      gap: 0.5rem;
      margin-bottom: var(--space-lg);
    }

    .curriculum-tab {
      font-family: var(--font-display);
      font-size: 0.9375rem;
      font-weight: 600;
      padding: 0.875rem 1.5rem;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-full);
      cursor: pointer;
      transition: all 0.2s;
    }

    .curriculum-tab:hover {
      border-color: var(--primary);
    }

    .curriculum-tab.active {
      background: var(--primary);
      color: white;
      border-color: transparent;
    }

    .curriculum-content {
      display: none;
    }

    .curriculum-content.active {
      display: block;
    }

    .day-header {
      text-align: center;
      margin-bottom: var(--space-lg);
    }

    .day-title {
      font-family: var(--font-display);
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 0.25rem;
    }

    .day-subtitle {
      font-size: 0.875rem;
      color: var(--primary);
      font-weight: 600;
      letter-spacing: 0.05em;
    }

    .timeline-slots {
      display: flex;
      flex-direction: column;
      gap: var(--space-md);
    }

    .timeline-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: var(--space-md);
    }

    .slot-time {
      font-size: 0.8125rem;
      color: var(--muted);
      margin-bottom: 0.5rem;
    }

    .slot-title {
      font-family: var(--font-display);
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: var(--space-sm);
    }

    .slot-details {
      list-style: disc;
      padding-left: 1.25rem;
      margin-bottom: var(--space-sm);
    }

    .slot-details li {
      font-size: 0.9375rem;
      color: var(--muted);
      margin-bottom: 0.375rem;
      line-height: 1.5;
    }

    .slot-outcome {
      background: rgba(40, 202, 66, 0.08);
      border-left: 3px solid #28CA42;
      padding: 0.75rem 1rem;
      font-size: 0.9375rem;
      color: var(--fg);
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    }

    /* ==========================================================================
       INSTRUCTOR
       ========================================================================== */

    .instructor {
      background: var(--surface);
    }

    .instructor-profile {
      display: grid;
      grid-template-columns: 280px 1fr;
      gap: var(--space-xl);
      align-items: start;
    }

    .instructor-photo {
      width: 100%;
      border-radius: var(--radius-md);
      box-shadow: 0 20px 50px var(--shadow);
    }

    .instructor-bio h3 {
      margin-bottom: 0.25rem;
    }

    .instructor-title {
      font-size: 1rem;
      color: var(--primary);
      font-weight: 500;
      margin-bottom: var(--space-sm);
    }

    .instructor-badges {
      display: flex;
      gap: 0.5rem;
      margin-bottom: var(--space-md);
    }

    .instructor-badges .badge {
      font-size: 0.75rem;
      padding: 0.375rem 0.75rem;
    }

    .instructor-bio p {
      font-size: 1rem;
      margin-bottom: var(--space-sm);
    }

    /* Proof blocks */
    .instructor-logos-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      margin-top: var(--space-xl);
    }

    .proof-block-card {
      padding: 2rem;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
    }

    .proof-block-card h4 {
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--muted);
      letter-spacing: 0.05em;
      margin-bottom: var(--space-sm);
    }

    .proof-logo-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
      gap: 1.25rem;
      align-items: center;
      justify-items: center;
    }

    .proof-logo-item img {
      height: 28px;
      opacity: 0.55;
      filter: grayscale(100%);
      transition: all 0.3s;
    }

    .proof-logo-item img:hover {
      filter: grayscale(0%);
      opacity: 1;
    }

    /* ==========================================================================
       OFFER SECTION
       ========================================================================== */

    .offer {
      background: var(--bg);
    }

    .offer-wrapper {
      max-width: 900px;
      margin: 0 auto;
    }

    .offer-core {
      background: var(--surface);
      border: 2px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

    .offer-badge-header {
      background: var(--primary);
      color: white;
      text-align: center;
      padding: 0.75rem;
      font-family: var(--font-display);
      font-size: 0.8125rem;
      font-weight: 700;
      letter-spacing: 0.1em;
    }

    .offer-items {
      padding: var(--space-lg);
      display: flex;
      flex-direction: column;
      gap: var(--space-md);
    }

    .offer-item {
      border-bottom: 1px solid var(--border);
      padding-bottom: var(--space-md);
    }

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

    .offer-item-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: var(--space-sm);
      margin-bottom: 0.5rem;
    }

    .offer-item-title {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .offer-item-title .ti {
      color: var(--primary);
    }

    .offer-item-value {
      font-size: 0.8125rem;
      color: var(--muted);
      font-weight: 500;
      white-space: nowrap;
    }

    .offer-item-desc {
      font-size: 0.9375rem;
      color: var(--muted);
      line-height: 1.6;
    }

    /* Bonuses */
    .offer-bonuses {
      background: var(--bg);
      padding: var(--space-md);
      border-top: 1px solid var(--border);
    }

    .offer-bonuses h4 {
      font-family: var(--font-display);
      font-size: 0.8125rem;
      font-weight: 700;
      color: var(--accent);
      letter-spacing: 0.05em;
      margin-bottom: var(--space-sm);
    }

    .offer-bonuses ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .offer-bonuses li {
      color: var(--fg);
      font-size: 0.9375rem;
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      line-height: 1.6;
    }

    .bonus-label {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      flex-shrink: 0;
    }

    .offer-bonuses .ti {
      color: var(--accent);
      flex-shrink: 0;
    }

    /* Form reassurance bullets */
    .form-reassurance {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin-top: 2rem;
      align-items: center;
    }

    .form-reassurance-item {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      font-size: 0.9rem;
      color: var(--fg-inverse) !important;
      opacity: 1 !important;
      font-weight: 500;
    }

    .form-reassurance-item .ti {
      color: var(--accent);
      font-size: 1rem;
      flex-shrink: 0;
    }

    /* Countdown Timer */
    .countdown-wrapper {
      background: rgba(255, 122, 0, 0.08);
      border: 1px solid rgba(255, 122, 0, 0.2);
      border-radius: var(--radius-md);
      padding: 1.5rem;
      margin: var(--space-lg) 0;
      text-align: center;
    }
    .countdown-label {
      font-family: var(--font-display);
      font-size: 0.8125rem;
      font-weight: 700;
      color: var(--accent);
      letter-spacing: 0.05em;
      margin-bottom: 0.75rem;
    }
    .countdown-grid {
      display: flex;
      justify-content: center;
      gap: 1rem;
    }
    .countdown-grid div {
      display: flex;
      flex-direction: column;
      align-items: center;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      min-width: 64px;
      padding: 0.5rem;
    }
    .countdown-grid span {
      font-family: var(--font-display);
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--fg);
      line-height: 1.2;
    }
    .countdown-grid em {
      font-style: normal;
      font-size: 0.6875rem;
      color: var(--muted);
      text-transform: uppercase;
      margin-top: 0.25rem;
    }
    .countdown-ended {
      font-size: 1rem;
      font-weight: 700;
      color: var(--accent);
      line-height: 1.5;
    }

    /* Mini TOC Pill Navigation */
    .mini-toc {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      padding: 16px 0;
      margin-bottom: 2.5rem;
      border-bottom: 1px solid var(--border);
    }
    .mini-toc span {
      color: var(--muted);
      font-size: 0.85rem;
    }
    .mini-toc a {
      background: rgba(123, 47, 242, 0.06);
      color: var(--primary);
      border: 1px solid rgba(123, 47, 242, 0.15);
      padding: 4px 12px;
      border-radius: 20px;
      text-decoration: none;
      font-size: 0.8rem;
      font-weight: 600;
      transition: all 0.2s;
    }
    .mini-toc a:hover {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }
    /* Offset so headers are not covered by sticky header/CTA bar */
    [id] {
      scroll-margin-top: 80px;
    }

    /* Guarantee */
    .guarantee {
      background: var(--surface);
      border: 2px solid var(--primary);
      border-radius: var(--radius-md);
      padding: var(--space-lg);
      margin: var(--space-xl) 0;
    }

    .guarantee-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--primary);
      color: white;
      font-family: var(--font-display);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      padding: 0.5rem 1rem;
      border-radius: var(--radius-full);
      margin-bottom: var(--space-md);
    }

    .guarantee h3 {
      font-size: 1.25rem;
      margin-bottom: var(--space-sm);
    }

    .guarantee p {
      font-size: 0.9375rem;
      margin-bottom: var(--space-sm);
    }

    .guarantee-signature {
      font-size: 0.875rem;
      font-style: italic;
      color: var(--muted);
      margin-top: var(--space-md);
      padding-top: var(--space-sm);
      border-top: 1px solid var(--border);
    }

    /* Pricing Table */
    .pricing-table {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
    }

    .pricing-table h4 {
      text-align: center;
      padding: var(--space-sm);
      background: var(--bg);
      border-bottom: 1px solid var(--border);
      font-size: 1rem;
      margin: 0;
    }

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

    .pricing-table th,
    .pricing-table td {
      padding: 0.875rem 1rem;
      text-align: left;
      border-bottom: 1px solid var(--border);
      font-size: 0.9375rem;
    }

    .pricing-table th {
      background: var(--bg);
      font-weight: 600;
    }

    .pricing-table tr:last-child td {
      border-bottom: none;
    }

    .pricing-table .pricing-total-row td {
      color: var(--muted);
      font-size: 0.95rem;
      background: rgba(26, 26, 46, 0.015);
      border-top: 1.5px dashed var(--border);
    }

    .pricing-table .pricing-total-row td strong s {
      color: var(--muted);
      font-weight: 600;
    }

    .pricing-table .pricing-discount-row td {
      font-weight: 700;
      background: rgba(255, 122, 0, 0.05);
      border-top: none;
    }

    .pricing-table .pricing-discount-row td:first-child {
      color: var(--fg);
      font-family: var(--font-display);
    }

    .pricing-table .pricing-discount-row td.discount-price {
      color: var(--accent);
      font-size: 1.2rem;
      font-weight: 800;
      text-shadow: 0 0 10px rgba(255, 122, 0, 0.1);
    }

    /* Final Price */
    .final-price {
      background: var(--bg-dark);
      color: white;
      border-radius: var(--radius-md);
      padding: var(--space-lg);
      text-align: center;
      margin-top: var(--space-lg);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }

    .final-price-label {
      font-size: 0.875rem;
      color: var(--muted-light);
    }

    .final-price-value {
      font-family: var(--font-display);
      font-size: 3rem;
      font-weight: 800;
      color: var(--accent);
      line-height: 1;
    }

    .final-price-note {
      font-size: 0.875rem;
      color: var(--muted-light);
    }

    .final-price .btn {
      margin-top: 8px;
      width: 100%;
      max-width: 360px;
    }
    @media (min-width: 768px) {
      .final-price .btn {
        white-space: nowrap;
      }
    }

    /* Sticky CTA Bar */
    .sticky-bar {
      position: fixed;
      top: 60px;
      left: 0;
      right: 0;
      z-index: 200;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      padding: 10px 32px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transform: translateY(-200%);
      transition: transform 0.35s ease, top 0.2s ease;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }
    .sticky-bar.show {
      transform: translateY(0);
    }
    .sticky-bar .info-text {
      font-family: var(--font-display);
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--fg);
    }
    .sticky-bar-right {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
    }
    .sticky-bar-right small {
      font-size: 11px;
      color: var(--muted);
    }
    
    @media (max-width: 768px) {
      .sticky-bar {
        top: auto !important;
        bottom: 0;
        border-top: 1px solid var(--border);
        border-bottom: none;
        transform: translateY(200%);
        padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)) !important;
      }
      .sticky-bar .info-text {
        display: none;
      }
      .sticky-bar-right {
        width: 100%;
        gap: 0.375rem !important;
      }
      .sticky-bar-right .btn {
        width: 100%;
        font-size: 0.95rem !important;
        padding: 0.9rem 1rem !important;
      }
      .sticky-bar-right small {
        font-size: 0.75rem !important;
        line-height: 1.35 !important;
        text-align: center !important;
      }
      .btn-text-desktop {
        display: none;
      }
      .btn-text-mobile {
        display: inline;
      }
    }

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

    .faq {
      background: var(--surface);
    }

    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-md);
    }

    .faq-item {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: var(--space-md);
    }

    .faq-item h4 {
      font-family: var(--font-display);
      font-size: 1rem;
      margin-bottom: 0.5rem;
    }

    .faq-item p {
      font-size: 0.9375rem;
      margin: 0;
    }

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

    .final-cta {
      background: var(--bg-dark);
      color: white;
      text-align: center;
    }

    .final-cta h2 {
      color: white;
      margin-bottom: var(--space-sm);
    }

    .final-cta p {
      color: var(--muted-light);
      max-width: 600px;
      margin: 0 auto var(--space-lg);
    }

    .final-cta .btn {
      min-width: 320px;
    }

    .final-cta-note {
      font-size: 0.875rem;
      color: var(--muted-light);
      margin-top: var(--space-md);
    }

    /* Registration Form Styles */
    #reg-form {
      max-width: 500px;
      margin: 2.5rem auto 0;
      background: var(--bg-darker);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-md);
      padding: 2rem;
      text-align: left;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    .form-field {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin-bottom: 1.25rem;
    }
    .form-field label {
      font-family: var(--font-display);
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--fg-inverse);
    }
    .form-field input {
      padding: 0.75rem 1rem;
      background: var(--bg-dark);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-sm);
      color: white;
      font-family: var(--font-body);
      font-size: 1rem;
      outline: none;
      transition: border-color 0.2s;
    }
    .form-field input:focus {
      border-color: var(--primary);
    }
    #reg-form .btn {
      width: 100%;
      min-width: unset;
      margin-top: 0.5rem;
    }
    #reg-form small {
      display: block;
      text-align: center;
      margin-top: 0.75rem;
      font-size: 0.8rem;
      color: var(--muted-light);
    }
    .field-error {
      font-size: 0.75rem;
      color: #ef4444;
      margin-top: 0.25rem;
      display: none;
    }
    .input-invalid {
      border-color: #ef4444 !important;
    }

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

    .footer {
      background: var(--bg-darker);
      color: var(--muted-light);
      padding: var(--space-lg) 0;
      text-align: center;
    }

    .footer p {
      font-size: 0.875rem;
      color: var(--muted-light);
      margin: 0;
    }

    .footer a {
      color: var(--muted-light);
    }

    .footer a:hover {
      color: white;
    }

    /* ==========================================================================
       RESPONSIVE
       ========================================================================== */

    @media (max-width: 1024px) {
      .hero-grid,
      .testimonials-grid,
      .framework-split,
      .instructor-profile,
      .future-grid,
      .instructor-logos-grid,
      .faq-grid {
        grid-template-columns: 1fr;
      }

      .hero-demo {
        max-width: 500px;
        margin: var(--space-lg) auto 0;
      }

      .framework-diagram {
        position: static;
        order: -1;
      }
    }

    @media (max-width: 768px) {
      .instructor-logos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }

      .ba-grid {
        grid-template-columns: 1fr;
      }

      .output-grid {
        grid-template-columns: 1fr 1fr;
      }

      .curriculum-tabs {
        flex-wrap: wrap;
      }
    }

    @media (max-width: 480px) {
      .output-grid {
        grid-template-columns: 1fr;
      }

      .hero h1 {
        font-size: 1.875rem;
      }

      .final-price-value {
        font-size: 2.25rem;
      }
    }

    /* ==========================================================================
       HERO REVEAL & GLOW EFFECTS
       ========================================================================== */
    .hero-badges, .hero h1, .hero-desc, .hero-cta, .scarcity-bar, .instructor-mini {
      opacity: 0;
      transform: translateY(16px);
      animation: hero-reveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .hero-badges { animation-delay: 0.05s; }
    .hero h1 { animation-delay: 0.15s; }
    .hero-desc { animation-delay: 0.25s; }
    .hero-cta { animation-delay: 0.35s; }
    .scarcity-bar { animation-delay: 0.45s; }
    .instructor-mini { animation-delay: 0.55s; }
    @keyframes hero-reveal {
      to { opacity: 1; transform: translateY(0); }
    }

    /* Scarcity Bar overrides */
    .scarcity-fill {
      width: 0% !important;
      transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s !important;
    }
    .scarcity-fill.animated {
      width: 66.6% !important;
    }

    /* CTA glow pulse */
    @keyframes cta-glow {
      0%, 100% { box-shadow: 0 4px 20px rgba(255, 122, 0, 0.3); }
      50%     { box-shadow: 0 4px 40px rgba(255, 122, 0, 0.6), 0 0 0 4px rgba(255, 122, 0, 0.1); }
    }
    .hero-cta .btn-primary:hover {
      animation: cta-glow 1.5s ease-in-out infinite;
    }

    /* ==========================================================================
       MARQUEE TRUST STRIP
       ========================================================================== */
    .trust-marquee-wrap {
      overflow: hidden;
      mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
      -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
      padding: 10px 0;
    }
    .trust-marquee-track {
      display: flex;
      gap: 48px;
      width: max-content;
      align-items: center;
      animation: marquee 22s linear infinite;
    }
    .trust-marquee-wrap:hover .trust-marquee-track {
      animation-play-state: paused;
    }
    .trust-marquee-track img {
      height: 32px;
      width: auto;
      filter: grayscale(100%) opacity(0.55);
      transition: filter 0.3s ease, opacity 0.3s ease;
    }
    .trust-marquee-track img:hover {
      filter: grayscale(0%) opacity(1);
    }
    @keyframes marquee {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    /* ==========================================================================
       FAQ ACCORDION
       ========================================================================== */
    .faq-item {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 0 24px !important;
    }
    .faq-q {
      width: 100%;
      background: none;
      border: none;
      text-align: left;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 0;
      font-size: 1rem;
      font-weight: 600;
      font-family: var(--font-display);
      color: var(--fg);
      border-bottom: 1px solid var(--border);
    }
    .faq-icon {
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      font-size: 1.25rem;
      color: var(--primary);
    }
    .faq-item.open .faq-icon {
      transform: rotate(45deg);
    }
    .faq-a {
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    }
    .faq-item.open .faq-a {
      max-height: 400px;
      opacity: 1;
      padding: 12px 0;
    }

    /* ==========================================================================
       PRICING GLOW, FORM INPUT FOCUS & COUNTDOWN TRANSITION
       ========================================================================== */
    .final-price {
      transition: box-shadow 0.8s ease, border-color 0.8s ease;
    }
    .final-price.in-view {
      box-shadow: 0 0 0 1px rgba(255,122,0,0.3), 0 8px 48px rgba(255,122,0,0.15);
      border-color: rgba(255,122,0,0.3);
    }

    #reg-form input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(123,47,242,0.15);
      transition: all 0.2s ease;
    }

    .countdown-grid span {
      display: inline-block;
      transition: transform 0.15s ease;
    }
    .countdown-grid span.flip {
      transform: translateY(-4px) scale(1.1);
    }

    /* Framework Layer hover zoom & Stagger delays */
    .layer-card:nth-child(1) { transition-delay: 0s; }
    .layer-card:nth-child(2) { transition-delay: 0.1s; }
    .layer-card:nth-child(3) { transition-delay: 0.2s; }
    .layer-card:nth-child(4) { transition-delay: 0.3s; }
    .layer-card:hover .layer-num {
      transform: scale(1.1);
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    /* Early Bird Badge pulse animation */
    .early-bird-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255, 122, 0, 0.12);
      border: 1px solid rgba(255, 122, 0, 0.3);
      color: var(--accent);
      padding: 5px 14px;
      border-radius: 20px;
      font-size: 0.8125rem;
      font-weight: 600;
      margin-top: 8px;
    }
    .early-bird-badge:hover {
      animation: badge-pulse 1.5s ease-in-out infinite;
    }
    @keyframes badge-pulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(255,122,0,0.3); }
      50%  { box-shadow: 0 0 0 6px rgba(255,122,0,0); }
    }
    .final-price-regular {
      font-size: 0.9rem;
      color: var(--muted-light);
      margin-bottom: 4px;
    }
    .final-price-regular s {
      text-decoration: line-through;
    }
    
    /* Layout & Connector Fixes */
    .ba-connector {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 24px;
      margin: 4px 0;
    }
    .stat-callout-sub {
      font-size: 0.75rem;
      color: var(--muted-light);
      margin-top: 6px;
      opacity: 0.8;
    }
    .final-cta-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: var(--space-lg);
      margin-top: 2.5rem;
      text-align: left;
    }
    @media (min-width: 1024px) {
      .final-cta-grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
        gap: var(--space-xl);
      }
      .form-reassurance {
        margin-top: 0;
        align-items: flex-start;
      }
    }
/* ==========================================================================
   SUNEXT TRUST & QR PAYMENT GRID OVERHAUL (Spec v2.5)
   ========================================================================== */

/* Expanded Footer System */
.footer {
  background: var(--bg-darker);
  color: var(--muted-light);
  padding: var(--space-xl) 0 var(--space-lg) 0;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  text-align: left;
  margin-bottom: var(--space-lg);
}

.footer-left p {
  font-size: 0.9rem;
  color: var(--muted-light);
  max-width: 440px;
  line-height: 1.6;
}

.footer-right h4 {
  color: white;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-contact-list li {
  font-size: 0.9rem;
  color: var(--muted-light);
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  line-height: 1.4;
}

.footer-contact-list li .ti {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-list a {
  color: var(--muted-light);
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: var(--space-md);
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--muted-light);
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: white;
}

/* Payment Grid layout */
.payment-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  text-align: center;
}

.payment-card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.payment-card-right {
  text-align: left;
}

.payment-info-box {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  font-size: 0.9rem;
}

.payment-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.625rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 0.625rem;
}

.payment-info-row:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.payment-info-label {
  color: var(--muted-light);
}

.payment-info-value {
  font-weight: 600;
  color: white;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  .payment-card-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    text-align: left;
  }
}

/* ==========================================================================
   PAYMENT & STATE-DRIVEN MOTION SYSTEM (Spec v2.9)
   ========================================================================== */

/* HERO DEMO CHAT STAGGER REVEAL */
.hero-demo .msg {
  opacity: 0;
  transform: translateY(12px);
  animation: msgReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-demo .msg:nth-child(1) { animation-delay: 0.2s; }
.hero-demo .msg:nth-child(2) { animation-delay: 0.9s; }
.hero-demo .msg:nth-child(3) { animation-delay: 2.0s; }
.hero-demo .msg:nth-child(4) { animation-delay: 2.7s; }

.hero-demo .result-row {
  opacity: 0;
  transform: translateY(8px);
  animation: msgReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-demo .result-row:nth-child(1) { animation-delay: 1.2s; }
.hero-demo .result-row:nth-child(2) { animation-delay: 1.3s; }
.hero-demo .result-row:nth-child(3) { animation-delay: 1.4s; }
.hero-demo .result-row:nth-child(4) { animation-delay: 1.5s; }

@keyframes msgReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* SOCIAL PROOF HOVER & STATS */
.testimonial-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px var(--shadow);
}
.proof-logo-item img {
  transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* FRAMEWORK SYNCHRONIZED GLOW */
.svg-node {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.svg-node--active {
  transform: scale(1.06) !important;
  filter: brightness(1.2) drop-shadow(0 0 16px var(--primary)) !important;
}
.layer-card {
  transition: border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.layer-card--active {
  border-color: var(--primary) !important;
  box-shadow: 0 10px 30px var(--shadow) !important;
  transform: translateY(-4px);
}

/* PRICING PULSE BADGE & CTA GLOW IN VIEW */
.early-bird-badge {
  animation: eb-pulse 2s infinite ease-in-out;
}
@keyframes eb-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,122,0,0.35); }
  50% { box-shadow: 0 0 0 8px rgba(255,122,0,0); }
}
.final-price.in-view .btn-primary {
  animation: pricing-cta-glow 2.5s ease-in-out infinite;
}
@keyframes pricing-cta-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(255, 122, 0, 0.3); }
  50% { box-shadow: 0 4px 40px rgba(255, 122, 0, 0.6), 0 0 0 5px rgba(255, 122, 0, 0.1); }
}

/* TRUST CARD */
.form-reassurance-card {
  background: var(--bg-darker);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  text-align: left;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}
.form-reassurance-card h4 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 0.75rem;
}
.form-reassurance-card .form-reassurance-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--fg-inverse) !important;
  font-weight: 500;
}
.form-reassurance-card .form-reassurance-item .ti {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.form-reassurance-contact {
  font-size: 0.85rem;
  color: var(--muted-light);
  border-top: 1px solid var(--border-dark);
  padding-top: 1rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}
.form-reassurance-contact a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}
.form-reassurance-contact a:hover {
  color: var(--accent-light);
}

/* Step Indicators */
.payment-step-indicator {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

/* QR Container Focus & Scanner */
.payment-qr-container {
  position: relative;
  background: white;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-dark);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 200px;
  margin: 0.5rem 0;
  box-shadow: 0 0 15px rgba(123, 47, 242, 0.1);
  animation: qr-glow 3s infinite ease-in-out;
  overflow: hidden;
}
@keyframes qr-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(123, 47, 242, 0.15), 0 0 0 1px rgba(123, 47, 242, 0.1); }
  50% { box-shadow: 0 0 25px rgba(255, 122, 0, 0.25), 0 0 0 2px rgba(255, 122, 0, 0.2); }
}
.qr-scanner-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  box-shadow: 0 0 8px var(--accent);
  opacity: 0.8;
  animation: qr-scan 2.5s infinite linear;
}
@keyframes qr-scan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

.timer-pulse-badge {
  margin: 0.5rem 0;
  animation: badge-pulse-shadow 2.5s infinite ease-in-out;
}
@keyframes badge-pulse-shadow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(255, 122, 0, 0); }
}

/* Progress Bar */
.payment-progress-bar-wrap {
  width: 100%;
  max-width: 200px;
  height: 4px;
  background: var(--border-dark);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 0.75rem;
}
.payment-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-full);
  transition: width 1s linear;
}

/* Timer unit flips */
.payment-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.95rem !important;
}
.payment-timer-countdown {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.payment-timer-unit {
  display: inline-block;
  font-weight: 700;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease;
}
.payment-timer-unit.flip {
  transform: scale(1.2) translateY(-2px);
  color: var(--accent-light);
}

/* Info box & indicators */
.highlight-price {
  color: var(--accent) !important;
  font-weight: 700 !important;
  font-size: 1.05rem;
}
.highlight-code {
  color: var(--primary-light) !important;
  font-family: monospace;
  font-size: 1.05rem;
}

/* Active press button and spinner */
.btn-paid-state {
  width: 100%;
  margin-top: 1.5rem;
  position: relative;
}
.btn-paid-state:active {
  transform: scale(0.97) translateY(1px);
}
.btn--loading {
  cursor: not-allowed;
  background: #E06A00 !important;
  box-shadow: none !important;
}
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s infinite linear;
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Help line */
.payment-help {
  font-size: 0.8rem;
  margin-top: 1.25rem;
  color: var(--muted-light);
  line-height: 1.5;
  text-align: left;
}
.payment-help a {
  color: var(--accent);
  text-decoration: underline;
}

/* State transition panels */
.payment-panel {
  display: none;
  background: var(--bg-darker);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  max-width: 680px;
  margin: 2rem auto 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  
  /* Entrance stagger properties */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.payment-panel.is-active {
  display: block;
}
.payment-panel.is-entering {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger entrance reveal for left and right cards */
.payment-panel .payment-card-left {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.08s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}
.payment-panel .payment-card-right {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.18s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}
.payment-panel.is-entering .payment-card-left,
.payment-panel.is-entering .payment-card-right {
  opacity: 1;
  transform: translateY(0);
}

/* Success Block */
.payment-success {
  display: none;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius-md);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 680px;
  margin: 2rem auto 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  
  /* Entrance transition */
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.payment-success.is-active {
  display: block;
}
.payment-success.is-entering {
  opacity: 1;
  transform: scale(1);
}
.success-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.payment-success h3 {
  color: #22c55e;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.payment-success p {
  font-size: 0.95rem;
  color: #a7f3d0;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.success-footer {
  font-size: 0.8rem;
  border-top: 1px solid rgba(34, 197, 94, 0.15);
  padding-top: 1.25rem;
  color: var(--muted-light);
}
.success-footer a {
  color: var(--accent);
  text-decoration: underline;
}

/* Slide fade out utility */
.slide-fade-out {
  opacity: 0 !important;
  transform: translateY(-20px) !important;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ==========================================================================
   UNIFIED PRICING OVERHAUL & MOBILE NOWRAP CTA (Spec v3.5)
   ========================================================================== */

.pricing-container-unified {
  max-width: 900px;
  margin: var(--space-xl) auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0; /* Default gap is 0 to merge borders cleanly */
}

.pricing-container-unified .countdown-wrapper {
  width: 100%;
  margin: 0;
  padding: 1.5rem 2.5rem;
  background: var(--bg-darker);
  border: 1px solid var(--border-dark);
  border-bottom: none; /* remove bottom border to merge with price card */
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.pricing-container-unified .countdown-label {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  position: relative;
  padding-right: 2rem;
}

.pricing-container-unified .countdown-label::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 24px;
  background: var(--border-dark);
}

.pricing-container-unified .final-price {
  width: 100%;
  margin: 0;
  padding: 2.25rem 2.5rem;
  background: var(--bg-darker);
  border: 1px solid var(--border-dark);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.pricing-container-unified .final-price-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Ensure no extra glow or borders are added to the pricing block */
.pricing-container-unified .final-price.in-view {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25) !important;
  border-color: var(--border-dark) !important;
}

.pricing-container-unified .countdown-grid div {
  background: var(--bg-dark);
  border-color: var(--border-dark);
}

.pricing-container-unified .countdown-grid span {
  color: white;
}

.pricing-container-unified .early-bird-badge {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.pricing-container-unified .final-price-regular {
  font-size: 0.95rem;
  color: var(--muted-light);
  margin-bottom: 0;
}

.pricing-container-unified .final-price-value {
  font-size: 3.25rem;
  color: var(--accent);
  line-height: 1;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(255, 122, 0, 0.15);
}

.pricing-container-unified .final-price-label {
  font-size: 0.85rem;
  color: var(--muted-light);
  margin-bottom: 0;
}

.pricing-container-unified .final-price .btn {
  margin-top: 0;
  width: 100%;
  max-width: 290px; /* Locked to 290px max-width */
  font-size: 0.95rem;
  padding: 0.875rem 1.5rem;
  flex-shrink: 0;
}

/* Responsive adjustment for Unified Pricing container */
@media (max-width: 768px) {
  .pricing-container-unified .countdown-wrapper {
    flex-direction: column;
    gap: var(--space-sm);
    padding: 1.5rem;
    text-align: center;
  }
  
  .pricing-container-unified .countdown-label {
    margin-bottom: 0.5rem;
    padding-right: 0;
  }

  .pricing-container-unified .countdown-label::after {
    display: none;
  }
  
  .pricing-container-unified .final-price {
    flex-direction: column;
    padding: 2rem var(--space-md);
    text-align: center;
    gap: var(--space-md);
  }
  
  .pricing-container-unified .final-price-details {
    align-items: center;
    text-align: center;
  }
  
  .pricing-container-unified .final-price .btn {
    margin-top: 0.5rem;
    max-width: 100%;
  }
}

/* Scoped Mobile nowrap constraint for Phase A scroll buttons */
@media (max-width: 768px) {
  .btn-scroll-nowrap {
    white-space: nowrap !important;
    padding: 0.875rem 1.125rem !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.02em !important;
  }
}

@media (max-width: 360px) {
  .btn-scroll-nowrap {
    font-size: 0.8rem !important;
    padding: 0.75rem 1rem !important;
  }
}

/* ==========================================================================
   TOOL-LED RECOGNITION & TESTIMONIAL MASONRY (Spec v4.0)
   ========================================================================== */

.tool-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xs);
  transition: all 0.25s ease;
}

.inline-badge {
  margin-left: 0.5rem;
  vertical-align: middle;
  font-size: 0.7rem;
  padding: 0.175rem 0.5rem;
  margin-bottom: 0;
}

/* OpenClaw Colors */
.output-card--openclaw .output-icon {
  background: rgba(255, 122, 0, 0.1) !important;
  border: 1px solid rgba(255, 122, 0, 0.25) !important;
  color: var(--accent) !important;
}
.tool-badge--openclaw {
  background: rgba(255, 122, 0, 0.1);
  border: 1px solid rgba(255, 122, 0, 0.2);
  color: var(--accent);
}

/* n8n Colors */
.output-card--n8n .output-icon {
  background: rgba(234, 75, 113, 0.1) !important;
  border: 1px solid rgba(234, 75, 113, 0.25) !important;
  color: #EA4B71 !important;
}
.tool-badge--n8n {
  background: rgba(234, 75, 113, 0.1);
  border: 1px solid rgba(234, 75, 113, 0.2);
  color: #EA4B71;
}

/* Vibe Coding Colors */
.output-card--vibe .output-icon {
  background: rgba(159, 90, 255, 0.1) !important;
  border: 1px solid rgba(159, 90, 255, 0.25) !important;
  color: var(--primary-light) !important;
}
.tool-badge--vibe {
  background: rgba(159, 90, 255, 0.1);
  border: 1px solid rgba(159, 90, 255, 0.2);
  color: var(--primary-light);
}

/* Clone Card Colors (Teal) */
.output-card--clone .output-icon {
  background: rgba(6, 182, 212, 0.1) !important;
  border: 1px solid rgba(6, 182, 212, 0.25) !important;
  color: #06B6D4 !important;
}
.tool-badge--clone {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: #06B6D4;
}

/* Handover Card Colors (Indigo/Blue) */
.output-card--handover .output-icon {
  background: rgba(59, 130, 246, 0.1) !important;
  border: 1px solid rgba(59, 130, 246, 0.25) !important;
  color: #3B82F6 !important;
}
.tool-badge--handover {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #3B82F6;
}

/* Output Card Layout Adjustments */
.output-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Testimonials Masonry & Case Study Spotlight */
.case-study-spotlight {
  background: var(--bg-darker);
  color: var(--fg-inverse);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  border-left: 4px solid var(--accent);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.case-study-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.case-study-left h3 {
  color: var(--fg-inverse);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.case-study-right {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.case-study-spotlight .case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.case-study-spotlight .case-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.case-study-spotlight .case-stat:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 122, 0, 0.2);
  transform: translateY(-2px);
}

.case-study-spotlight .case-stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.case-study-spotlight .case-stat-label {
  font-size: 0.875rem;
  color: var(--muted-light);
  margin-top: 0;
  text-align: center;
}.testimonials-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  width: 100%;
}

.testimonials-masonry {
  column-count: 5;
  column-gap: 1rem;
  width: 100%;
}

.testimonial-img-card {
  break-inside: avoid;
  margin-bottom: 1rem;
  background: var(--bg-darker);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.testimonial-img-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border-color: var(--primary-light);
}

.testimonial-img-card img {
  width: 100%;
  height: auto;
  display: block;
}

.testimonial-img-card.is-hidden {
  display: none !important;
}

.testimonial-img-card.fade-in {
  display: block !important;
  animation: cardFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.gallery-toggle-wrap .btn {
  padding: 0.75rem 2rem;
  font-size: 0.9375rem;
  min-width: 260px;
}

@media (max-width: 1200px) {
  .testimonials-masonry {
    column-count: 4;
    column-gap: 1rem;
  }
}

@media (max-width: 991px) {
  .testimonials-masonry {
    column-count: 3;
    column-gap: 1rem;
  }
  .case-study-spotlight {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-md);
  }
  .case-study-right {
    justify-content: center;
  }
  .case-study-spotlight .case-stats {
    border-top: 1px solid var(--border-dark);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-lg) 0 !important;
  }
  .section-tight {
    padding: var(--space-md) 0 !important;
  }
  .testimonials-masonry {
    column-count: 2;
    column-gap: 0.75rem;
  }
  .testimonial-img-card {
    margin-bottom: 0.75rem;
  }
  .gallery-toggle-wrap .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0.875rem 0;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: start;
  }

  .logo {
    font-size: 1.125rem;
    line-height: 1.1;
    min-width: 0;
  }

  .logo-main {
    white-space: nowrap;
    display: inline-block;
  }

  .logo-sub {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.95em;
    line-height: 1.15;
  }

  .header .btn {
    padding: 0.6rem 0.875rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .btn-text-desktop {
    display: none;
  }

  .btn-text-mobile {
    display: inline;
  }

  h2,
  .section-header h2,
  .curriculum h2,
  .testimonials .section-header h2 {
    font-size: 1.85rem !important;
    line-height: 1.2 !important;
    text-wrap: balance !important;
  }

  .curriculum-tabs {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
    margin-bottom: var(--space-md) !important;
  }

  .curriculum-tab {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0.875rem 0.5rem !important;
    font-size: 0.875rem !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    height: 48px !important;
    border-radius: var(--radius-full) !important;
  }

  .offer-bonuses li {
    display: grid !important;
    grid-template-columns: 92px 1fr !important;
    gap: 8px 12px !important;
    align-items: start !important;
    font-size: 0.875rem !important;
    line-height: 1.45 !important;
  }

  .offer-bonuses li strong {
    font-size: 0.8125rem !important;
  }

  .testimonials-masonry {
    column-count: 1;
  }

  .case-study-spotlight .case-stats {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding: 40px 20px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(19, 19, 42, 0.95);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 95%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 10000;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.lightbox-close:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 576px) {
  .lightbox-close {
    top: 15px;
    right: 15px;
  }
  .lightbox-content {
    max-height: 80vh;
  }
}

/* Spinner & Loading states for buttons */
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.spinner {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn--loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


