@import "tailwindcss";
@import "tw-animate-css";
@import "shadcn/tailwind.css";

@custom-variant dark (&:is(.dark *));

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
  --font-heading: var(--font-geist-sans);
  --color-sidebar-ring: var(--sidebar-ring);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar: var(--sidebar);
  --color-chart-5: var(--chart-5);
  --color-chart-4: var(--chart-4);
  --color-chart-3: var(--chart-3);
  --color-chart-2: var(--chart-2);
  --color-chart-1: var(--chart-1);
  --color-ring: var(--ring);
  --color-input: var(--input);
  --color-border: var(--border);
  --color-destructive: var(--destructive);
  --color-accent-foreground: var(--accent-foreground);
  --color-accent: var(--accent);
  --color-muted-foreground: var(--muted-foreground);
  --color-muted: var(--muted);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-secondary: var(--secondary);
  --color-primary-foreground: var(--primary-foreground);
  --color-primary: var(--primary);
  --color-popover-foreground: var(--popover-foreground);
  --color-popover: var(--popover);
  --color-card-foreground: var(--card-foreground);
  --color-card: var(--card);
  --radius-sm: calc(var(--radius) * 0.6);
  --radius-md: calc(var(--radius) * 0.8);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) * 1.4);
  --radius-2xl: calc(var(--radius) * 1.8);
  --radius-3xl: calc(var(--radius) * 2.2);
  --radius-4xl: calc(var(--radius) * 2.6);
}

:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.97 0 0);
  --secondary-foreground: oklch(0.205 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --accent: oklch(0.97 0 0);
  --accent-foreground: oklch(0.205 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.922 0 0);
  --input: oklch(0.922 0 0);
  --ring: oklch(0.708 0 0);
  --chart-1: oklch(0.87 0 0);
  --chart-2: oklch(0.556 0 0);
  --chart-3: oklch(0.439 0 0);
  --chart-4: oklch(0.371 0 0);
  --chart-5: oklch(0.269 0 0);
  --radius: 0.625rem;
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: oklch(0.205 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.97 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);
}

.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.205 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.205 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.922 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.704 0.191 22.216);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(0.556 0 0);
  --chart-1: oklch(0.87 0 0);
  --chart-2: oklch(0.556 0 0);
  --chart-3: oklch(0.439 0 0);
  --chart-4: oklch(0.371 0 0);
  --chart-5: oklch(0.269 0 0);
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.269 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(0.556 0 0);
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }
  body {
    @apply bg-background text-foreground;
  }
  html {
    @apply font-sans;
  }
}

@layer utilities {
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 48px;
    display: flex; align-items: center; justify-content: space-between;
    transition: background 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
  }

  .nav.scrolled {
    background: rgba(12,12,12,0.92);
    backdrop-filter: blur(12px);
    border-color: rgba(240,237,232,0.08);
  }
  .nav-logo {
    font-family: var(--font-dm-serif), serif;
    font-size: 22px;
    color: #f0ede8;
    text-decoration: none;
    letter-spacing: -0.3px;
  }
  .nav-logo span { color: #c8b99a; }
  .nav-links { display: flex; align-items: center; gap: 32px; }
  .nav-link {
    font-size: 14px; font-weight: 400; color: rgba(240,237,232,0.55);
    text-decoration: none; transition: color 0.2s; letter-spacing: 0.01em;
  }
  .nav-link:hover { color: #f0ede8; }
  .nav-cta {
    font-size: 13px; font-weight: 500;
    background: #f0ede8; color: #0c0c0c;
    padding: 8px 20px; border-radius: 100px;
    text-decoration: none; transition: opacity 0.2s;
    letter-spacing: 0.01em;
  }
  .nav-cta:hover { opacity: 0.85; }

  /* HERO */
  .hero {
    padding: 180px 48px 120px;
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
  }
  .hero-left { display: flex; flex-direction: column; gap: 32px; }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: #c8b99a;
    border: 1px solid rgba(200,185,154,0.25);
    padding: 6px 14px; border-radius: 100px;
    width: fit-content;
  }
  .hero-eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #c8b99a; animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }
  .hero-heading {
    font-family: var(--font-dm-serif), serif;
    font-size: clamp(44px, 5vw, 64px);
    line-height: 1.05; letter-spacing: -1px;
    color: #f0ede8;
    animation: fadeUp 0.8s ease both;
  }
  .hero-heading em { font-style: italic; color: #c8b99a; }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-sub {
    font-size: 17px; line-height: 1.65; color: rgba(240,237,232,0.55);
    font-weight: 300; max-width: 440px;
    animation: fadeUp 0.8s 0.1s ease both;
  }
  .hero-actions {
    display: flex; gap: 12px; flex-wrap: wrap;
    animation: fadeUp 0.8s 0.2s ease both;
  }
  .btn-primary {
    font-size: 14px; font-weight: 500;
    background: #f0ede8; color: #0c0c0c;
    padding: 12px 28px; border-radius: 100px;
    text-decoration: none; transition: opacity 0.2s;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-primary:hover { opacity: 0.85; }
  .btn-secondary {
    font-size: 14px; font-weight: 400;
    color: rgba(240,237,232,0.65);
    padding: 12px 28px; border-radius: 100px;
    text-decoration: none; transition: color 0.2s;
    border: 1px solid rgba(240,237,232,0.12);
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-secondary:hover { color: #f0ede8; border-color: rgba(240,237,232,0.25); }
  .btn-merchant {
    font-size: 14px; font-weight: 400;
    color: #7ec898;
    padding: 12px 28px; border-radius: 100px;
    text-decoration: none; transition: color 0.2s, border-color 0.2s;
    border: 1px solid rgba(126,200,152,0.25);
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-merchant:hover { color: #a0ddb5; border-color: rgba(126,200,152,0.45); }

  /* HERO RIGHT — dual audience cards */
  .hero-right {
    display: flex; flex-direction: column; gap: 16px;
    padding-top: 32px;
    animation: fadeUp 0.8s 0.2s ease both;
  }
  .audience-card {
    border: 1px solid rgba(240,237,232,0.09);
    border-radius: 16px; padding: 28px 32px;
    background: rgba(240,237,232,0.03);
    transition: border-color 0.2s, background 0.2s;
    cursor: default;
  }
  .audience-card:hover {
    border-color: rgba(240,237,232,0.16);
    background: rgba(240,237,232,0.05);
  }
  .audience-tag {
    font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 14px;
    display: inline-block; padding: 4px 10px;
    border-radius: 100px;
  }
  .tag-user { background: rgba(200,185,154,0.12); color: #c8b99a; }
  .tag-merchant { background: rgba(120,180,140,0.12); color: #7ec898; }
  .audience-title {
    font-family: var(--font-dm-serif), serif;
    font-size: 22px; color: #f0ede8;
    line-height: 1.2; margin-bottom: 10px;
  }
  .audience-body {
    font-size: 14px; line-height: 1.6;
    color: rgba(240,237,232,0.5); font-weight: 300;
    margin-bottom: 18px;
  }
  .audience-link {
    font-size: 13px; font-weight: 500;
    color: rgba(240,237,232,0.55); text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 14px; transition: color 0.2s;
  }
  .audience-link:hover { color: #f0ede8; }

  /* SOCIAL PROOF */
  .social-proof {
    max-width: 1100px; margin: 0 auto;
    padding: 0 48px 60px;
    display: flex; align-items: center; justify-content: center;
    gap: 48px; flex-wrap: wrap;
    animation: fadeUp 0.8s 0.4s ease both;
  }
  .proof-label {
    font-size: 11px; font-weight: 400; letter-spacing: 0.08em;
    text-transform: uppercase; color: rgba(240,237,232,0.2);
  }
  .proof-badge {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: rgba(240,237,232,0.35);
    font-weight: 400;
  }
  .proof-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
  }

  /* VIDEO */
  .video-section {
    max-width: 1100px; margin: 0 auto;
    padding: 20px 48px 60px;
    animation: fadeUp 0.8s 0.5s ease both;
  }
  .video-frame {
    position: relative; width: 100%;
    border: 1px solid rgba(240,237,232,0.08);
    border-radius: 16px; overflow: hidden;
    background: rgba(240,237,232,0.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  }
  .video-caption {
    text-align: center; margin-top: 20px;
    font-size: 13px; color: rgba(240,237,232,0.35);
    font-weight: 300; letter-spacing: 0.02em;
  }

  /* DIVIDER */
  .section-divider {
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240,237,232,0.08) 30%, rgba(240,237,232,0.08) 70%, transparent);
    max-width: 1100px; margin: 0 auto;
  }

  /* HOW IT WORKS */
  .section {
    padding: 100px 48px;
    max-width: 1100px; margin: 0 auto;
  }
  .section-label {
    font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: rgba(240,237,232,0.3);
    margin-bottom: 48px;
  }
  .flow-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2px; border: 1px solid rgba(240,237,232,0.07);
    border-radius: 16px; overflow: hidden;
  }
  .flow-step {
    padding: 36px 28px;
    background: rgba(240,237,232,0.02);
    border-right: 1px solid rgba(240,237,232,0.07);
    transition: background 0.2s;
    position: relative;
  }
  .flow-step:last-child { border-right: none; }
  .flow-step:hover { background: rgba(240,237,232,0.04); }
  .flow-num {
    font-family: var(--font-dm-serif), serif;
    font-size: 42px; color: rgba(240,237,232,0.08);
    line-height: 1; margin-bottom: 16px;
  }
  .flow-title {
    font-size: 15px; font-weight: 500;
    color: #f0ede8; margin-bottom: 8px;
  }
  .flow-body {
    font-size: 13px; line-height: 1.6;
    color: rgba(240,237,232,0.4); font-weight: 300;
  }

  /* TRUST SECTION */
  .rails-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-top: 48px;
  }
  .rail-card {
    border: 1px solid rgba(240,237,232,0.08);
    border-radius: 16px; padding: 40px;
    background: rgba(240,237,232,0.02);
    transition: border-color 0.2s;
  }
  .rail-card:hover { border-color: rgba(240,237,232,0.14); }
  .rail-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; margin-bottom: 20px;
  }
  .rail-icon-fiat { background: rgba(200,185,154,0.1); }
  .rail-icon-crypto { background: rgba(120,180,140,0.1); }
  .rail-name {
    font-family: var(--font-dm-serif), serif;
    font-size: 26px; color: #f0ede8; margin-bottom: 10px;
  }
  .rail-desc {
    font-size: 14px; line-height: 1.6;
    color: rgba(240,237,232,0.45); font-weight: 300;
  }

  /* RAILS SECTION */
  .dual-rails {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-top: 48px;
  }
  .dual-rail-card {
    border: 1px solid rgba(240,237,232,0.08);
    border-radius: 16px; padding: 40px;
    background: rgba(240,237,232,0.02);
    transition: border-color 0.2s;
  }
  .dual-rail-card:hover { border-color: rgba(240,237,232,0.14); }
  .dual-rail-title {
    font-family: var(--font-dm-serif), serif;
    font-size: 24px; color: #f0ede8; margin-bottom: 10px;
  }
  .dual-rail-desc {
    font-size: 14px; line-height: 1.6;
    color: rgba(240,237,232,0.45); font-weight: 300;
    margin-bottom: 24px;
  }
  .dual-rail-props { display: flex; flex-direction: column; gap: 10px; }
  .dual-rail-prop {
    display: flex; align-items: center; gap: 12px;
    font-size: 13px; color: rgba(240,237,232,0.5);
  }
  .dual-rail-check { color: #c8b99a; font-size: 11px; }

  /* PRICING */
  .pricing-block {
    margin-top: 48px;
    border: 1px solid rgba(240,237,232,0.08);
    border-radius: 20px; padding: 60px;
    background: rgba(240,237,232,0.02);
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
  }
  .pricing-left {}
  .pricing-big {
    font-family: var(--font-dm-serif), serif;
    font-size: 96px; color: #f0ede8;
    line-height: 1; letter-spacing: -3px;
    margin-bottom: 8px;
  }
  .pricing-big span { color: #c8b99a; }
  .pricing-forever {
    font-size: 14px; color: rgba(240,237,232,0.4);
    font-weight: 300; margin-bottom: 32px;
  }
  .pricing-context {
    display: flex; flex-direction: column; gap: 14px; margin-top: 4px;
  }
  .pricing-context-line {
    font-size: 14px; line-height: 1.65;
    color: rgba(240,237,232,0.5); font-weight: 300;
  }
  .pricing-context-note {
    font-size: 12px; line-height: 1.6;
    color: rgba(240,237,232,0.25); font-weight: 300;
    padding-top: 8px;
    border-top: 1px solid rgba(240,237,232,0.07);
  }
  .pricing-right {
    display: flex; flex-direction: column; gap: 20px;
  }
  .pricing-feature {
    display: flex; gap: 16px; align-items: flex-start;
  }
  .pricing-feature-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(240,237,232,0.04);
    border: 1px solid rgba(240,237,232,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; flex-shrink: 0;
  }
  .pricing-feature-text {}
  .pricing-feature-title {
    font-size: 14px; font-weight: 500;
    color: #f0ede8; margin-bottom: 4px;
  }
  .pricing-feature-desc {
    font-size: 13px; color: rgba(240,237,232,0.4);
    font-weight: 300; line-height: 1.5;
  }

  /* CODE SNIPPET */
  .code-block {
    margin-top: 48px;
    background: #111;
    border: 1px solid rgba(240,237,232,0.08);
    border-radius: 16px; overflow: hidden;
  }
  .code-header {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(240,237,232,0.07);
    display: flex; align-items: center; gap: 10px;
  }
  .code-dot { width: 10px; height: 10px; border-radius: 50%; }
  .code-tab {
    font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
    text-transform: uppercase; color: rgba(240,237,232,0.25);
    margin-left: auto;
  }
  .code-body { padding: 28px 28px; font-family: var(--font-dm-mono), 'Fira Code', monospace; font-size: 13px; line-height: 1.9; }
  .c-dim { color: rgba(240,237,232,0.2); }
  .c-green { color: #7ec898; }
  .c-gold { color: #c8b99a; }
  .c-blue { color: #89b4e8; }
  .c-white { color: #f0ede8; }

  /* CTA BANNER */
  .cta-banner {
    margin-top: 48px;
    border: 1px solid rgba(200,185,154,0.15);
    border-radius: 20px; padding: 60px;
    background: linear-gradient(135deg, rgba(200,185,154,0.04) 0%, rgba(126,200,152,0.04) 100%);
    text-align: center;
  }
  .cta-banner-heading {
    font-family: var(--font-dm-serif), serif;
    font-size: 36px; color: #f0ede8;
    margin-bottom: 16px;
  }
  .cta-banner-sub {
    font-size: 16px; color: rgba(240,237,232,0.5);
    font-weight: 300; margin-bottom: 32px;
    max-width: 500px; margin-left: auto; margin-right: auto;
    line-height: 1.6;
  }
  .cta-banner-actions {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  }

  /* FOOTER */
  .footer {
    border-top: 1px solid rgba(240,237,232,0.07);
    padding: 48px;
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
  }
  .footer-logo {
    font-family: var(--font-dm-serif), serif;
    font-size: 18px; color: rgba(240,237,232,0.4);
  }
  .footer-logo span { color: rgba(200,185,154,0.5); }
  .footer-links { display: flex; gap: 28px; }
  .footer-link {
    font-size: 13px; color: rgba(240,237,232,0.3);
    text-decoration: none; transition: color 0.2s;
  }
  .footer-link:hover { color: rgba(240,237,232,0.6); }
  .footer-free {
    font-size: 12px; color: rgba(240,237,232,0.2);
    font-style: italic;
  }

  @media (max-width: 768px) {
    .nav { padding: 16px 24px; }
    .hero { grid-template-columns: 1fr; padding: 140px 24px 80px; gap: 48px; }
    .section { padding: 72px 24px; }
    .flow-grid { grid-template-columns: 1fr 1fr; }
    .rails-grid { grid-template-columns: 1fr; }
    .dual-rails { grid-template-columns: 1fr; }
    .pricing-block { grid-template-columns: 1fr; gap: 40px; padding: 40px 28px; }
    .pricing-big { font-size: 72px; }
    .social-proof { gap: 24px; padding: 0 24px 48px; }
    .video-section { padding: 12px 24px 40px; }
    .cta-banner { padding: 40px 28px; }
    .cta-banner-heading { font-size: 28px; }
    .footer { flex-direction: column; gap: 24px; align-items: flex-start; padding: 40px 24px; }
  }
}