/* KiloOctet Website — Minimal Design System */
/* Clean, typography-driven, confident simplicity */

/* ═══════════════════════════════════════════════════════════════
   FONTS
   ═══════════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Flegrei';
  src: url('../fonts/Flegrei.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Brand Colors */
  --ko-blue: #178BB2;
  --ko-yellow: #FDC300;

  /* App Colors */
  --doorli-slate: #3E5670;
  --doorli-bg: #F5F3F0;
  --wallit-amber: #F59E0B;
  --wallit-bg: #FDF8F3;

  /* Page Background */
  --bg-page: #F5F5F5;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #FAFAFA;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Text */
  --text-primary: #374151;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-2xl: 40px;

  /* Typography */
  --font-logo: 'Flegrei', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
}

/* Dark mode - system preference */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-page: #0a0a0a;
    --white: #161616;
    --off-white: #1a1a1a;
    --gray-50: #1F2937;
    --gray-100: #374151;
    --gray-200: #4B5563;
    --gray-300: #6B7280;
    --gray-400: #9CA3AF;
    --gray-500: #D1D5DB;
    --gray-600: #E5E7EB;
    --gray-700: #F3F4F6;
    --gray-800: #F9FAFB;
    --gray-900: #FFFFFF;

    --text-primary: #D1D5DB;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;

    --doorli-bg: #1a1d22;
    --wallit-bg: #1f1b16;
  }
}

/* Manual dark mode toggle for testing */
:root.dark-mode {
  --bg-page: #0a0a0a;
  --white: #161616;
  --off-white: #1a1a1a;
  --gray-50: #1F2937;
  --gray-100: #374151;
  --gray-200: #4B5563;
  --gray-300: #6B7280;
  --gray-400: #9CA3AF;
  --gray-500: #D1D5DB;
  --gray-600: #E5E7EB;
  --gray-700: #F3F4F6;
  --gray-800: #F9FAFB;
  --gray-900: #FFFFFF;

  --text-primary: #D1D5DB;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;

  --doorli-bg: #1a1d22;
  --wallit-bg: #1f1b16;
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ═══════════════════════════════════════════════════════════════
   FIXED HEADER
   ═══════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}

.header.visible {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  .header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom-color: #222;
  }
}

:root.dark-mode .header {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: #222;
}

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

.header-logo {
  position: relative;
  display: flex;
  align-items: center;
  font-family: var(--font-logo);
  font-size: 1.5rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header-logo .kilo {
  background: linear-gradient(180deg, var(--ko-blue) 0%, #126a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  font-size: 1.1em;
  z-index: 2;
}

.header-logo .octet {
  background: linear-gradient(180deg, var(--ko-yellow) 0%, #e6b000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
  margin-left: -0.35em;
  transition: margin 0.3s var(--ease-out);
}

/* Short logo (KO) and full logo (KILOOCTET) swap on hover */
.header-logo .logo-short,
.header-logo .logo-full {
  display: inline-flex;
  align-items: center;
}

.header-logo .logo-full {
  position: absolute;
  left: 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.4s var(--ease-out);
}

.header-logo .logo-full .kilo {
  margin-left: 0;
  font-size: 1.1em;
}

.header-logo .logo-full .octet {
  margin-left: 0;
  font-size: 1em;
}

.header-logo .logo-short {
  transition: opacity 0.2s ease;
}

.header-logo:hover .logo-short {
  opacity: 0;
}

.header-logo:hover .logo-full {
  clip-path: inset(0 0 0 0);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
}

.header-nav a:hover {
  color: var(--text-primary);
  font-weight: 600;
}

/* App-specific hover colors */
.header-nav a[href*="doorli"]:hover {
  color: var(--doorli-slate);
}

.header-nav a[href*="wallit"]:hover {
  color: var(--wallit-amber);
}

.header-nav .nav-lang {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
}

/* ═══════════════════════════════════════════════════════════════
   FULLSCREEN SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg-page);
}

.section-intro {
  background: var(--bg-page);
}

.section-quote {
  background: var(--white);
}

.section-app {
  background: var(--bg-page);
}

.section-app:nth-child(even) {
  background: var(--white);
}

.section-last {
  padding-bottom: 100px; /* Extra space for fixed footer */
}

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

/* Quote section */
.quote-text {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* App showcase */
.app-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-4xl);
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.app-showcase-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

.app-showcase-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.app-showcase-tagline {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.app-showcase-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: var(--space-md);
  padding: var(--space-md) var(--space-xl);
  border: 1px solid var(--gray-300);
  border-radius: 100px;
  transition: all 0.2s ease;
}

.app-showcase-cta:hover {
  background: var(--white);
  border-color: var(--gray-400);
  gap: var(--space-md);
}

.app-showcase-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Animated Logo */
.logo-animated {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2xl);
  font-family: var(--font-logo);
  font-size: clamp(4rem, 12vw, 8rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.6s var(--ease-out), opacity 0.4s ease;
  position: relative;
}

.logo-letter {
  display: inline-block;
  transition: margin 0.5s var(--ease-out);
}

/* K is blue (like in the logo) */
.logo-letter.kilo {
  background: linear-gradient(180deg, var(--ko-blue) 0%, #126a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* O is yellow (like in the logo) */
.logo-letter.octet {
  background: linear-gradient(180deg, var(--ko-yellow) 0%, #e6b000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* K is in front and slightly larger */
.logo-letter[data-index="0"] {
  position: relative;
  z-index: 2;
  font-size: 1.1em;
}

/* O starts behind K, positioned to overlap like in the logo icon */
.logo-letter[data-index="4"] {
  position: relative;
  z-index: 1;
  margin-left: -0.5em;
  transform: translateX(-0.1em);
  transition: margin 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

/* Initial state: inner letters hidden (display none for typewriter) */
.logo-letter.inner {
  display: none;
}

/* ===== PHASE 1: K and O separate ===== */
.logo-phase-1 .logo-letter[data-index="4"] {
  margin-left: 0.04em;
  transform: translateX(0);
}

/* ===== PHASE 2+: Letters appear one by one (typewriter) ===== */
.logo-phase-2 .logo-letter[data-index="1"] { display: inline-block; }
.logo-phase-3 .logo-letter[data-index="2"] { display: inline-block; }
.logo-phase-4 .logo-letter[data-index="3"] { display: inline-block; }
.logo-phase-5 .logo-letter[data-index="5"] { display: inline-block; }
.logo-phase-6 .logo-letter[data-index="6"] { display: inline-block; }
.logo-phase-7 .logo-letter[data-index="7"] { display: inline-block; }
.logo-phase-8 .logo-letter[data-index="8"] { display: inline-block; }

/* Hero tagline */
.hero-tagline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}

.logo-expanded .hero-tagline {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll button */
.scroll-button {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: transparent;
  border: 1px solid var(--gray-300);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.6s ease 0.3s, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.scroll-button:hover {
  background: var(--white);
  border-color: var(--gray-400);
  color: var(--text-primary);
}

.scroll-button svg {
  animation: bounce 2s ease-in-out infinite;
}

.logo-expanded .scroll-button {
  opacity: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Section scroll button (appears at bottom of each section) */
.section-scroll-btn {
  position: absolute;
  bottom: 80px; /* Above fixed footer */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

.section-scroll-btn:hover {
  color: var(--text-secondary);
}

.section-scroll-btn svg {
  animation: bounce 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════════════ */
.main-content {
  padding: var(--space-3xl) 0;
}

/* Navigation bar with line */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: var(--space-xl);
}

.nav-spacer {
  width: 50px;
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-lang {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) ease;
}

.nav-lang:hover {
  background: var(--gray-100);
  color: var(--text-secondary);
}

/* Hero description */
.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
  line-height: 1.7;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   LOGO (Text-based with Flegrei font) - Legacy
   ═══════════════════════════════════════════════════════════════ */
.logo-text {
  font-family: var(--font-logo);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-3xl);
}

.logo-text .kilo {
  color: var(--ko-blue);
}

.logo-text .octet {
  color: var(--ko-yellow);
}

/* ═══════════════════════════════════════════════════════════════
   APP CARDS
   ═══════════════════════════════════════════════════════════════ */
.app-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-bottom: var(--space-4xl);
}

.app-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-3xl);
  padding: var(--space-3xl);
  border-radius: var(--radius-2xl);
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.app-card.doorli {
  background: var(--doorli-bg);
}

.app-card.wallit {
  background: var(--wallit-bg);
}

.app-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

.app-card-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.badge {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--gray-800);
  color: var(--white);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.app-card-tagline {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.app-card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: var(--space-sm);
  transition: gap var(--duration-normal) var(--ease-out);
}

.app-card-cta:hover {
  gap: var(--space-md);
}

.app-card-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-normal) var(--ease-out);
}

.app-card-cta:hover svg {
  transform: translateX(4px);
}

/* Device mockup */
.app-card-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: var(--space-xl);
}

.device-mockup {
  position: relative;
  width: 260px;
}

.device-frame {
  position: relative;
  background: var(--white);
  border: 3px solid #222;
  border-radius: 44px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.device-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #222;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.device-screen {
  width: 100%;
  aspect-ratio: 9/19.5;
  background: var(--white);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
}

/* Notification mockup for Doorli */
.notification-mockup {
  width: 85%;
  background: var(--doorli-slate);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  color: var(--white);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.notification-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
}

.notification-app {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 2px;
}

.notification-title {
  font-size: 0.6875rem;
  opacity: 0.8;
  margin-bottom: 4px;
}

.notification-code {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Wallet pass mockup for WallIt */
.wallet-pass-mockup {
  width: 85%;
  background: var(--wallit-amber);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: var(--white);
}

.wallet-pass-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.wallet-pass-type {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.wallet-pass-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 4px;
}

.wallet-pass-logo {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
}

.wallet-pass-field {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.wallet-pass-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
}

.wallet-pass-label {
  font-size: 0.6875rem;
  opacity: 0.8;
  margin-bottom: 2px;
}

.wallet-pass-value {
  font-size: 1rem;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   APP SCREENSHOT
   ═══════════════════════════════════════════════════════════════ */
.app-screenshot {
  max-width: 280px;
  margin: 0 auto;
}

.app-screenshot img {
  width: 100%;
  height: auto;
  border-radius: 40px;
  border: 4px solid #1a1a1a;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2),
              0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-showcase:hover .app-screenshot img {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.25),
              0 15px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .app-screenshot {
    max-width: 220px;
  }

  .app-screenshot img {
    border-radius: 32px;
  }
}

@media (max-width: 480px) {
  .app-screenshot {
    max-width: 180px;
  }

  .app-screenshot img {
    border-radius: 28px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

/* Fixed floating footer that appears after first section */
.footer-fixed {
  position: fixed;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 999;
  padding: var(--space-sm) var(--space-xl);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}

.footer-fixed.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.footer-fixed .footer-inner {
  gap: var(--space-xl);
}

.footer-fixed .footer-left {
  font-size: 0.8125rem;
}

.footer-fixed .footer-links {
  gap: var(--space-lg);
}

.footer-fixed .footer-links a {
  font-size: 0.8125rem;
}

@media (prefers-color-scheme: dark) {
  .footer-fixed {
    background: rgba(22, 22, 22, 0.95);
    border-color: #333;
  }
}

:root.dark-mode .footer-fixed {
  background: rgba(22, 22, 22, 0.95);
  border-color: #333;
}

@media (max-width: 600px) {
  /* Make footer static (at end of page) on mobile instead of fixed */
  .footer-fixed {
    position: static;
    transform: none;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--gray-200);
    box-shadow: none;
    background: var(--bg-page);
    padding: var(--space-lg) var(--space-md);
    margin-top: auto;
  }

  .footer-fixed.visible {
    transform: none;
    opacity: 1;
  }

  .footer-fixed .footer-inner {
    gap: var(--space-md);
  }

  .footer-fixed .footer-links {
    gap: var(--space-md);
  }

  /* Hide section scroll buttons on mobile (keep only landing screen button) */
  .section-scroll-btn {
    display: none;
  }

  /* Reset section padding - no fixed footer overlap */
  .section-app {
    padding-bottom: 0;
  }

  .section-last {
    padding-bottom: 0;
  }
}

/* Footer inside last section (for pages without fixed footer) */
.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--gray-200);
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-flag {
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════
   APP SUBPAGE — FULLSCREEN SECTIONS
   ═══════════════════════════════════════════════════════════════ */

/* App Hero Section */
.section-app-hero {
  padding-top: 80px;
}

.section-app-hero.doorli {
  background: linear-gradient(135deg, var(--doorli-bg) 0%, var(--white) 100%);
}

.section-app-hero.wallit {
  background: linear-gradient(135deg, var(--wallit-bg) 0%, var(--white) 100%);
}

.app-icon-large {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.app-icon-large.doorli {
  background: linear-gradient(135deg, var(--doorli-slate) 0%, #2d4255 100%);
}

.app-icon-large.wallit {
  background: linear-gradient(135deg, var(--wallit-amber) 0%, #d97706 100%);
}

.app-hero-tagline {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.app-hero-description {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: var(--space-xl);
}

/* Features Section */
.section-features {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

/* Privacy Section */
.section-privacy {
  background: var(--bg-page);
}

.privacy-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

.privacy-highlight {
  text-align: center;
  padding: var(--space-xl);
}

.privacy-highlight .privacy-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--white);
}

.privacy-highlight .privacy-icon.doorli {
  background: linear-gradient(135deg, var(--doorli-slate) 0%, #2d4255 100%);
}

.privacy-highlight .privacy-icon.wallit {
  background: linear-gradient(135deg, var(--wallit-amber) 0%, #d97706 100%);
}

.privacy-highlight h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.privacy-highlight p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Pricing Section */
.section-pricing {
  background: var(--white);
}

.pricing-card-centered {
  display: flex;
  justify-content: center;
}

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-page);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  width: 100%;
  position: relative;
  border: 2px solid var(--gray-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.free {
  border-color: var(--gray-300);
}

.pricing-card.featured {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-card.doorli {
  border-color: var(--doorli-slate);
}

.pricing-card.wallit {
  border-color: var(--wallit-amber);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-800);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-card.doorli .pricing-badge {
  background: var(--doorli-slate);
}

.pricing-card.wallit .pricing-badge {
  background: var(--wallit-amber);
}

@media (max-width: 600px) {
  .pricing-tiers {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .pricing-card.featured {
    transform: none;
    order: -1;
  }

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

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-card .price-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.pricing-features {
  list-style: none;
  text-align: left;
}

.pricing-features li {
  padding: var(--space-sm) 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pricing-features li::before {
  content: '✓';
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-card.doorli .pricing-features li::before {
  color: var(--doorli-slate);
}

.pricing-card.wallit .pricing-features li::before {
  color: var(--wallit-amber);
}

.pricing-card.free .pricing-features li::before {
  color: var(--gray-400);
}

.pricing-footnote {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-200);
}

/* Responsive for privacy highlights */
@media (max-width: 768px) {
  .privacy-highlights {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .app-showcase {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-showcase-content {
    align-items: center;
  }

  .app-showcase-visual {
    order: -1;
  }

  .app-hero-description {
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   APP LANDING PAGE — HERO (Legacy)
   ═══════════════════════════════════════════════════════════════ */
.app-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: var(--space-5xl) 0;
  overflow: hidden;
}

.app-hero.doorli {
  background: linear-gradient(135deg, #2A3D4D 0%, #3E5670 100%);
}

.app-hero.wallit {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
}

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

.app-hero-text {
  color: var(--white);
}

.app-hero-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: var(--space-xl);
}

.app-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.app-hero .tagline {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: var(--space-lg);
}

.app-hero .description {
  font-size: 1.0625rem;
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 480px;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  padding: 14px 28px;
  background: var(--white);
  color: var(--gray-900);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--duration-normal) var(--ease-out);
}

.app-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.coming-soon-badge {
  display: inline-flex;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--white);
  border-radius: 100px;
  color: var(--slate-900, #0f172a);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════════ */
.features-section {
  padding: var(--space-5xl) 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-4xl);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.doorli .feature-icon,
.feature-icon.doorli {
  background: var(--doorli-slate);
}

.wallit .feature-icon,
.feature-icon.wallit {
  background: var(--wallit-amber);
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Premium pill for features */
.premium-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--gray-200);
  color: var(--gray-600);
}

.premium-pill.doorli {
  background: rgba(62, 86, 112, 0.15);
  color: var(--doorli-slate);
}

.premium-pill.wallit {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════════════════ */
.legal-page {
  padding: var(--space-4xl) 0;
}

.legal-header {
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--gray-200);
}

.legal-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: var(--space-sm);
}

.legal-header .last-updated {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.legal-content ul {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content li {
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.legal-content a {
  color: var(--ko-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */
.contact-section {
  padding: var(--space-5xl) 0;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.contact-card {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.contact-card h1 {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  background: var(--gray-900);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--duration-normal) var(--ease-out);
}

.contact-email:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   HEADER (for app pages)
   ═══════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
}

.header.dark {
  color: var(--white);
}

.header.dark.scrolled {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-weight: 600;
  font-size: 1.125rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity var(--duration-fast) ease;
}

.nav a:hover {
  opacity: 1;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: currentColor;
}

.menu-toggle span::before { top: -8px; }
.menu-toggle span::after { bottom: -8px; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .app-card {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    min-height: auto;
    padding: var(--space-2xl);
  }

  .app-card-visual {
    order: -1;
    padding-top: 0;
  }

  .device-mockup {
    width: 220px;
  }

  .app-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-hero .description {
    margin-left: auto;
    margin-right: auto;
  }

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

@media (max-width: 768px) {
  .nav-bar {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .nav-links {
    order: 1;
  }

  .hero-headline {
    margin-bottom: var(--space-2xl);
  }

  .app-card {
    padding: var(--space-xl);
  }

  .device-mockup {
    width: 200px;
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  /* More space for scroll button above stacked footer */
  .section-scroll-btn {
    bottom: 100px;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero {
    padding: var(--space-3xl) 0 var(--space-2xl);
  }

  .app-card {
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
  }

  .device-mockup {
    width: 180px;
  }

  .device-frame {
    border-radius: 36px;
    padding: 6px;
  }

  .device-screen {
    border-radius: 30px;
  }

  .device-notch {
    width: 70px;
    height: 20px;
    border-radius: 0 0 12px 12px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS & MOTION
   ═══════════════════════════════════════════════════════════════ */

/* Base keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(23, 139, 178, 0.3); }
  50% { box-shadow: 0 0 20px 4px rgba(23, 139, 178, 0.15); }
}

/* Scroll-triggered reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for reveal groups */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.4s; }

/* Basic animation classes */
.animate-in {
  animation: fadeInUp 0.6s var(--ease-out) forwards;
}

.animate-in.delay-1 { animation-delay: 0.1s; }
.animate-in.delay-2 { animation-delay: 0.2s; }
.animate-in.delay-3 { animation-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════════
   ENHANCED HOVER EFFECTS
   ═══════════════════════════════════════════════════════════════ */

/* CTA Button hover - magnetic effect */
.app-showcase-cta {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-showcase-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(253, 195, 0, 0.08), rgba(23, 139, 178, 0.08));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.app-showcase-cta:hover::before {
  opacity: 1;
}

.app-showcase-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.app-showcase-cta:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}


/* Nav links underline animation */
.header-nav a:not(.nav-lang) {
  position: relative;
}

.header-nav a:not(.nav-lang)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ko-yellow), var(--ko-blue));
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-nav a:not(.nav-lang):hover::after {
  width: 100%;
}

/* Language toggle hover */
.header-nav .nav-lang {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-nav .nav-lang:hover {
  background: var(--gray-200);
  transform: scale(1.05);
}

/* Footer links hover */
.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-secondary);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover::after {
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   DEVICE MOCKUP ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

.device-mockup {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-showcase:hover .device-mockup {
  transform: translateY(-8px) rotate(1deg);
}

.device-frame {
  transition: box-shadow 0.4s ease;
}

.app-showcase:hover .device-frame {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

/* Notification pulse animation */
.notification-mockup {
  animation: pulse-glow 3s ease-in-out infinite;
  animation-delay: 2s;
}

/* Wallet pass subtle float */
.wallet-pass-mockup {
  animation: float 4s ease-in-out infinite;
  animation-delay: 1s;
}

/* ═══════════════════════════════════════════════════════════════
   QUOTE SECTION SPECIAL EFFECTS
   ═══════════════════════════════════════════════════════════════ */

.quote-text {
  position: relative;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Gradient text animation on reveal - runs once */
.quote-text.revealed {
  background: linear-gradient(135deg, var(--ko-yellow) 0%, var(--ko-blue) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2s ease-out forwards;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION TRANSITIONS
   ═══════════════════════════════════════════════════════════════ */

/* Subtle parallax-like depth */
.section {
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

/* Badge animation */
.badge {
  position: relative;
  overflow: hidden;
}

.badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION - Accessibility
   ═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
