/* ============================================================
   REN Platform - Home / Landing Page
   Interactive Editorial Experience
   ============================================================ */

   body.landing-page {
    background: var(--navy);
    color: var(--text-on-dark);
  }
  
  /* ================================================================
     NAVBAR
     ================================================================ */
  body.landing-page .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), backdrop-filter 0.5s;
  }
  
  body.landing-page .site-nav.scrolled {
    background: rgba(15, 23, 41, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(139, 168, 136, 0.1);
  }
  
  .site-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1.25rem;
    transition: padding 0.3s var(--ease-out);
  }
  
  body.landing-page .site-nav.scrolled .site-nav-inner {
    padding-block: 0.875rem;
  }
  
  .site-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--cream-light);
    transition: var(--transition-fast);
    position: relative;
    z-index: 1001;
  }
  
  .site-nav-logo .logo-mark {
    display: flex;
    color: var(--sage);
    transition: transform 0.6s var(--ease-spring);
  }
  
  .site-nav-logo:hover .logo-mark {
    transform: rotate(120deg);
  }
  
  .site-nav-logo:hover {
    color: var(--sage-light);
  }
  
  .site-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  
  .site-nav-link {
    font-size: var(--fs-sm);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    color: var(--text-on-dark-secondary);
    position: relative;
  }
  
  .site-nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--sage);
    border-radius: 2px;
    transition: width 0.3s var(--ease-out), left 0.3s var(--ease-out);
  }
  
  .site-nav-link:hover {
    color: var(--cream-light);
  }
  
  .site-nav-link:hover::after {
    width: 60%;
    left: 20%;
  }
  
  .site-nav-auth {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(139, 168, 136, 0.2);
  }
  
  .site-nav-greeting,
  .site-nav-greeting-btn {
    color: var(--cream-light);
  }

  .site-nav-greeting-btn:hover {
    color: var(--warm-white);
  }
  
  .site-nav-link-logout {
    color: var(--text-on-dark-secondary);
  }
  
  .site-nav-link-logout:hover {
    color: var(--text-on-dark);
  }
  
  .site-nav-link-login {
    color: var(--text-on-dark-secondary);
  }
  
  .site-nav-link-register {
    background: var(--sage);
    color: var(--navy) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
  }
  
  .site-nav-link-register::after {
    display: none;
  }
  
  .site-nav-link-register:hover {
    background: var(--sage-light);
    color: var(--navy) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(139, 168, 136, 0.4);
  }
  
  /* Mobile nav toggle */
  .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
  }
  
  .nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream-light);
    border-radius: 2px;
    transition: var(--transition-fast);
    transform-origin: center;
  }
  
  /* ================================================================
     HERO SECTION
     ================================================================ */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  
  .hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, var(--navy) 70%),
      linear-gradient(180deg, transparent 60%, var(--navy) 100%);
    pointer-events: none;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin-inline: auto;
    padding: 6rem 0 4rem;
  }
  
  /* Badge */
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.375rem 0.5rem 0.375rem 0.625rem;
    background: rgba(139, 168, 136, 0.1);
    border: 1px solid rgba(139, 168, 136, 0.2);
    border-radius: 100px;
    margin-bottom: 2.5rem;
  }
  
  .badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--sage);
    border-radius: 50%;
    position: relative;
  }
  
  .badge-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--sage);
    border-radius: 50%;
    animation: pingPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  }
  
  @keyframes pingPulse {
    0%   { transform: scale(1); opacity: 0.6; }
    75%, 100% { transform: scale(2.2); opacity: 0; }
  }
  
  .badge-text {
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--sage-light);
    letter-spacing: 0.02em;
  }
  
  .badge-live {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--navy);
    background: var(--sage);
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
  }
  
  /* Title */
  .hero-title {
    font-size: var(--fs-display);
    font-weight: 700;
    color: var(--cream-light);
    margin-bottom: 1.75rem;
    letter-spacing: -0.03em;
    line-height: 1.08;
  }
  
  .title-line {
    display: block;
  }
  
  .title-highlight {
    color: var(--sage);
    position: relative;
    display: inline-block;
  }
  
  .highlight-word {
    display: inline-block;
    position: relative;
  }
  
  .highlight-word::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: -0.05em;
    right: -0.05em;
    height: 0.15em;
    background: var(--amber);
    opacity: 0.5;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s var(--ease-out);
  }
  
  .highlight-word.active::after {
    transform: scaleX(1);
  }
  
  /* Subtitle */
  .hero-subtitle {
    font-size: var(--fs-lg);
    color: var(--text-on-dark-secondary);
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 3rem;
    line-height: 1.7;
  }
  
  /* Buttons */
  .hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: var(--fs-sm);
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
  }
  
  .btn-text {
    position: relative;
    z-index: 1;
  }
  
  .btn-icon {
    position: relative;
    z-index: 1;
    display: flex;
    transition: transform 0.3s var(--ease-out);
  }
  
  .btn:hover .btn-icon {
    transform: translateX(3px);
  }
  
  .btn-primary {
    background: var(--sage);
    color: var(--navy);
    box-shadow: 0 0 0 0 rgba(139, 168, 136, 0.4);
  }
  
  .btn-primary:hover {
    background: var(--sage-light);
    color: var(--navy);
    box-shadow: 0 8px 32px rgba(139, 168, 136, 0.3);
    transform: translateY(-2px);
  }
  
  .btn-ripple {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
  }
  
  .btn-primary:hover .btn-ripple {
    opacity: 1;
  }
  
  .btn-outline {
    background: transparent;
    color: var(--cream-light);
    border: 1px solid rgba(139, 168, 136, 0.3);
  }
  
  .btn-outline:hover {
    background: rgba(139, 168, 136, 0.1);
    border-color: var(--sage);
    color: var(--cream-light);
    transform: translateY(-2px);
  }
  
  /* Scroll hint – in flow below hero-actions, centered in same column as buttons */
  .scroll-hint {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
  }
  
  .scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(139, 168, 136, 0.4);
    border-radius: 14px;
    position: relative;
  }
  
  .scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--sage);
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
  }
  
  @keyframes scrollBounce {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50%      { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
  }
  
  .scroll-text {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-on-dark-secondary);
  }
  
  /* ================================================================
     SECTION SHARED STYLES
     ================================================================ */
  .section-header {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: clamp(3rem, 5vw, 5rem);
  }
  
  .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sage);
    padding: 0.375rem 1rem 0.375rem 0.75rem;
    background: var(--sage-muted);
    border-radius: 100px;
    margin-bottom: 1.5rem;
  }
  
  .section-tag--light {
    color: var(--sage-light);
    background: rgba(168, 196, 165, 0.12);
  }
  
  .tag-dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
  }
  
  .section-title {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
  }
  
  .section-title--light {
    color: var(--cream-light);
  }
  
  .section-title em {
    font-style: normal;
    color: var(--sage);
  }
  
  .title-gradient {
    background: linear-gradient(135deg, var(--sage), var(--amber-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .section-desc {
    font-size: var(--fs-base);
    color: var(--text-secondary);
    line-height: 1.7;
  }
  
  /* ================================================================
     IMPACT GALLERY - HORIZONTAL TIMELINE
     ================================================================ */
  .impact {
    padding: var(--section-padding) 0 calc(var(--section-padding) * 0.6);
    background: var(--warm-white);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
  }
  
  .timeline-wrapper {
    position: relative;
    padding-bottom: 2rem;
  }
  
  .timeline-line {
    position: absolute;
    top: 42px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--glass-border);
    z-index: 1;
  }
  
  .timeline-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--sage), var(--amber));
    border-radius: 2px;
    transition: width 0.3s;
  }
  
  .timeline-track {
    display: flex;
    gap: 2rem;
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    position: relative;
    z-index: 2;
    padding-bottom: 1rem;
  }
  
  .timeline-track::-webkit-scrollbar {
    display: none;
  }
  
  .timeline-track.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
  }
  
  .timeline-card {
    flex: 0 0 min(380px, 80vw);
    scroll-snap-align: center;
    padding-top: 70px;
    position: relative;
  }
  
  /* Marker */
  .timeline-marker {
    position: absolute;
    top: 0;
    left: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    z-index: 3;
  }
  
  .marker-year {
    font-family: 'Space Grotesk', sans-serif;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--sage);
    background: var(--warm-white);
    padding: 0.125rem 0.75rem;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
  }
  
  .marker-year--future {
    background: var(--amber);
    color: var(--navy);
    border-color: var(--amber);
  }
  
  .marker-dot {
    width: 12px;
    height: 12px;
    background: var(--sage);
    border-radius: 50%;
    border: 3px solid var(--warm-white);
    box-shadow: 0 0 0 2px var(--sage);
  }
  
  .marker-dot--pulse {
    background: var(--amber);
    box-shadow: 0 0 0 2px var(--amber);
    animation: dotPulse 2s ease-in-out infinite;
  }
  
  @keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 2px var(--amber), 0 0 0 4px rgba(212,160,53,0.3); }
    50%      { box-shadow: 0 0 0 2px var(--amber), 0 0 0 10px rgba(212,160,53,0); }
  }
  
  /* Card body */
  .timeline-card-body {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  }
  
  .timeline-card-body:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-xl);
  }
  
  .card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(139, 168, 136, 0.08) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.5s;
    opacity: 0;
  }
  
  .timeline-card-body:hover .card-glow {
    opacity: 1;
  }
  
  .card-glow--amber {
    background: radial-gradient(circle at 70% 30%, rgba(212, 160, 53, 0.1) 0%, transparent 50%);
  }
  
  .card-icon {
    color: var(--sage);
    margin-bottom: 1rem;
    transition: transform 0.5s var(--ease-spring);
  }
  
  .timeline-card-body:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
  }
  
  .card-title {
    font-size: var(--fs-lg);
    color: var(--navy);
    margin-bottom: 0.75rem;
  }
  
  .card-body {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
  }
  
  /* Card stat with ring */
  .card-stat {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
  }
  
  .stat-ring {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }
  
  .stat-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
  }
  
  .stat-ring-fill {
    transition: stroke-dashoffset 1.5s var(--ease-out);
  }
  
  .stat-value {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--navy);
  }
  
  .stat-unit {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--sage);
  }
  
  .stat-label {
    display: block;
    font-size: var(--fs-xs);
    color: var(--text-tertiary);
    margin-top: 0.125rem;
  }
  
  /* Future question card */
  .timeline-card--question {
    background: var(--navy);
    border-color: var(--navy-mid);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
  }
  
  .timeline-card--question:hover {
    border-color: rgba(212, 160, 53, 0.3);
  }
  
  .future-question {
    font-family: 'Space Grotesk', sans-serif;
    font-size: var(--fs-xl);
    color: var(--cream-light);
    line-height: 1.35;
    margin-bottom: 1.5rem;
  }
  
  .future-question strong {
    color: var(--amber);
  }
  
  .future-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--sage-light);
    transition: var(--transition-fast);
  }
  
  .future-link:hover {
    color: var(--amber-light);
    gap: 0.75rem;
  }
  
  /* Drag hint */
  .drag-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 1.5rem;
    color: var(--text-tertiary);
    font-size: var(--fs-xs);
    animation: float 3s ease-in-out infinite;
    transition: opacity 0.5s;
  }
  
  .drag-hint.hidden {
    opacity: 0;
    pointer-events: none;
  }
  
  /* ================================================================
     VISIBILITY GAP SECTION
     ================================================================ */
  .gap {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
  }
  
  .gap-bg {
    position: absolute;
    inset: 0;
    background: var(--navy);
    z-index: 0;
  }
  
  .gap-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
  }
  
  .gap .container {
    position: relative;
    z-index: 1;
  }
  
  .gap-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
  }
  
  .gap-body {
    font-size: var(--fs-base);
    color: var(--text-on-dark-secondary);
    line-height: 1.7;
    margin-top: 1.25rem;
  }
  
  .gap-body strong {
    color: var(--cream-light);
    font-weight: 600;
  }
  
  /* Gap Cards */
  .gap-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .gap-card {
    background: rgba(255, 253, 249, 0.04);
    border: 1px solid rgba(139, 168, 136, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }
  
  .gap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0%;
    background: var(--sage);
    transition: height 0.6s var(--ease-out);
    border-radius: 0 2px 2px 0;
  }
  
  .gap-card:hover {
    background: rgba(255, 253, 249, 0.08);
    border-color: rgba(139, 168, 136, 0.25);
    transform: translateX(8px);
  }
  
  .gap-card:hover::before {
    height: 100%;
  }
  
  .gap-card-number {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: rgba(139, 168, 136, 0.06);
    line-height: 1;
  }
  
  .gap-card-icon {
    color: var(--sage-light);
    margin-bottom: 0.75rem;
    transition: transform 0.4s var(--ease-spring);
  }
  
  .gap-card:hover .gap-card-icon {
    transform: scale(1.15);
  }
  
  .gap-card-title {
    font-size: var(--fs-base);
    color: var(--cream-light);
    margin-bottom: 0.5rem;
  }
  
  .gap-card-body {
    font-size: var(--fs-sm);
    color: var(--text-on-dark-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  /* Progress bar in gap cards */
  .gap-card-bar {
    height: 3px;
    background: rgba(139, 168, 136, 0.1);
    border-radius: 3px;
    overflow: hidden;
  }
  
  .gap-card-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--sage), var(--amber));
    border-radius: 3px;
    transition: width 1.5s var(--ease-out);
  }
  
  .gap-card.visible .gap-card-bar-fill {
    width: calc(var(--target-width, 0) * 1%);
  }
  
  /* ================================================================
     BARRIERS SECTION - FLIP CARDS
     ================================================================ */
  .barriers {
    padding: var(--section-padding) 0;
    background: var(--cream);
    color: var(--text-primary);
  }
  
  .barriers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .barrier-flip {
    perspective: 1000px;
    height: 420px;
  }
  
  .barrier-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s var(--ease-out);
    transform-style: preserve-3d;
    border-radius: var(--radius-lg);
    outline: none;
  }
  
  .barrier-flip-inner.flipped {
    transform: rotateY(180deg);
  }
  
  .barrier-front,
  .barrier-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  
  .barrier-front {
    background: var(--warm-white);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.4s var(--ease-out), border-color 0.4s;
  }
  
  .barrier-front:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--glass-border-hover);
  }
  
  .barrier-back {
    background: var(--navy);
    border: 1px solid var(--navy-mid);
    color: var(--cream-light);
    transform: rotateY(180deg);
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .barrier-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: rgba(15, 23, 41, 0.04);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    line-height: 1;
  }
  
  .barrier-icon {
    color: var(--sage);
    margin-bottom: 1.25rem;
    transition: transform 0.5s var(--ease-spring);
  }
  
  .barrier-front:hover .barrier-icon {
    transform: scale(1.1);
  }
  
  .barrier-title {
    font-size: var(--fs-xl);
    color: var(--navy);
    margin-bottom: 0.75rem;
  }
  
  .barrier-body {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
  }
  
  .barrier-hint {
    font-size: var(--fs-xs);
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    animation: float 3s ease-in-out infinite;
  }
  
  .barrier-back .barrier-hint {
    border-top-color: rgba(139, 168, 136, 0.15);
    color: var(--text-on-dark-secondary);
  }
  
  /* Signal back */
  .signal-icon {
    color: var(--sage);
    margin-bottom: 1.25rem;
  }
  
  .signal-badge {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--sage);
    padding: 0.25rem 0.875rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
  }
  
  .signal-text {
    font-size: var(--fs-base);
    color: var(--text-on-dark-secondary);
    line-height: 1.65;
    max-width: 280px;
  }
  
  /* ================================================================
     CTA SECTION
     ================================================================ */
  .cta {
    padding: var(--section-padding) 0;
    background: var(--warm-white);
    color: var(--text-primary);
    position: relative;
  }
  
  .cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, var(--sage-muted), transparent 70%);
    pointer-events: none;
  }
  
  .cta .container {
    position: relative;
    z-index: 1;
  }
  
  .cta-content {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
  }
  
  .cta-title {
    font-size: var(--fs-2xl);
    color: var(--navy);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
  }
  
  .cta-subtitle {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
  }
  
  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-width: 260px;
    text-decoration: none;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  }
  
  .cta-card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
  }
  
  .cta-card:hover .cta-card-glow {
    opacity: 1;
  }
  
  .cta-card--sage {
    background: var(--sage);
    color: var(--navy);
    box-shadow: 0 8px 32px rgba(139, 168, 136, 0.25);
  }
  
  .cta-card--sage .cta-card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.2) 0%, transparent 60%);
  }
  
  .cta-card--sage:hover {
    color: var(--navy);
    box-shadow: 0 16px 48px rgba(139, 168, 136, 0.4);
    transform: translateY(-4px);
  }
  
  .cta-card--amber {
    background: var(--amber);
    color: var(--navy);
    box-shadow: 0 8px 32px rgba(212, 160, 53, 0.25);
  }
  
  .cta-card--amber .cta-card-glow {
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.2) 0%, transparent 60%);
  }
  
  .cta-card--amber:hover {
    color: var(--navy);
    box-shadow: 0 16px 48px rgba(212, 160, 53, 0.4);
    transform: translateY(-4px);
  }
  
  .cta-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: var(--fs-base);
    font-weight: 700;
  }
  
  .cta-card-sub {
    font-size: var(--fs-xs);
    opacity: 0.7;
  }
  
  .cta-card-arrow {
    display: flex;
    margin-top: 0.5rem;
    transition: transform 0.3s var(--ease-out);
  }
  
  .cta-card:hover .cta-card-arrow {
    transform: translateX(4px);
  }
  
  /* ================================================================
     FOOTER STYLES
     ================================================================ */
  .site-footer {
    background: var(--navy);
    color: var(--text-on-dark);
    padding: clamp(3rem, 5vw, 5rem) 0 0;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(2.5rem, 4vw, 4rem);
    border-bottom: 1px solid rgba(226, 232, 240, 0.08);
  }
  
  .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--cream-light);
    transition: var(--transition-fast);
  }
  
  .footer-logo .logo-mark {
    display: flex;
    color: var(--sage);
  }
  
  .footer-logo:hover {
    color: var(--sage-light);
  }
  
  .footer-tagline {
    font-size: var(--fs-sm);
    color: var(--text-on-dark-secondary);
    line-height: 1.65;
    margin-top: 1rem;
    max-width: 320px;
  }
  
  .footer-heading {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sage-light);
    margin-bottom: 1rem;
  }
  
  .footer-links li {
    margin-bottom: 0.625rem;
  }
  
  .footer-links a {
    font-size: var(--fs-sm);
    color: var(--text-on-dark-secondary);
    transition: var(--transition-fast);
    position: relative;
  }
  
  .footer-links a:hover {
    color: var(--cream-light);
    padding-left: 6px;
  }
  
  .footer-text {
    font-size: var(--fs-sm);
    color: var(--text-on-dark-secondary);
    line-height: 1.65;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
  }
  
  .footer-bottom p {
    font-size: var(--fs-xs);
    color: var(--text-on-dark-secondary);
  }
  
  .footer-built {
    color: var(--sage) !important;
    font-style: italic;
  }
  
  /* ================================================================
     REVEAL ANIMATION SYSTEM
     ================================================================ */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  }
  
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* ================================================================
     3D TILT EFFECT
     ================================================================ */
  .tilt-card {
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
  }
  
  /* ================================================================
     RESPONSIVE
     ================================================================ */
  
  /* Tablet */
  @media (max-width: 1024px) {
    .gap-layout {
      grid-template-columns: 1fr;
      gap: 3rem;
    }
  
    .barriers-grid {
      grid-template-columns: 1fr 1fr;
    }
  
    .barriers-grid .barrier-flip:last-child {
      grid-column: span 2;
      max-width: 420px;
      margin-inline: auto;
    }
  
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }
  
    .footer-brand {
      grid-column: span 2;
    }
  }
  
  /* Mobile */
  @media (max-width: 768px) {
    .nav-toggle {
      display: flex;
    }
  
    .site-nav-actions {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(15, 23, 41, 0.97);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      z-index: 999;
    }
  
    .site-nav-actions.open {
      display: flex;
    }
  
    .site-nav-actions .site-nav-link {
      font-size: var(--fs-xl);
      padding: 0.75rem 1.5rem;
      color: var(--cream-light);
    }
  
    .site-nav-actions .site-nav-link::after {
      display: none;
    }
  
    .site-nav-auth {
      flex-direction: column;
      margin-left: 0;
      padding-left: 0;
      border-left: none;
      margin-top: 1.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(139, 168, 136, 0.15);
      width: 80%;
      align-items: center;
    }
  
    .nav-toggle.active .nav-toggle-bar:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }
  
    .nav-toggle.active .nav-toggle-bar:nth-child(2) {
      opacity: 0;
    }
  
    .nav-toggle.active .nav-toggle-bar:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }
  
    .hero {
      min-height: 100svh;
    }
  
    .hero-content {
      padding: 5rem 0 6rem;
    }
  
    .hero-title {
      font-size: var(--fs-2xl);
    }
  
    .scroll-hint {
      display: none;
    }
  
    .barriers-grid {
      grid-template-columns: 1fr;
    }
  
    .barriers-grid .barrier-flip:last-child {
      grid-column: span 1;
      max-width: none;
    }
  
    .barrier-flip {
      height: 380px;
    }
  
    .cta-buttons {
      flex-direction: column;
      align-items: stretch;
    }
  
    .cta-card {
      min-width: auto;
    }
  
    .footer-grid {
      grid-template-columns: 1fr;
    }
  
    .footer-brand {
      grid-column: span 1;
    }
  
    .footer-bottom {
      flex-direction: column;
      gap: 0.5rem;
      text-align: center;
    }
  }
  
  /* Small phones */
  @media (max-width: 480px) {
    .hero-actions {
      flex-direction: column;
      align-items: stretch;
    }
  
    .btn {
      justify-content: center;
    }
  }
  
  /* 4K */
  @media (min-width: 2560px) {
    :root {
      --max-width: 1600px;
    }
  }
  