/* AI Virtuvė — design tokens + base styles */

:root {
  --bg: #0A1230;
  --bg-2: #0D1740;
  --bg-3: #141d4d;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --neon-yellow: #FFD23F;
  --neon-orange: #FF9D2C;
  --neon-cyan: #4FB3FF;
  --neon-cyan-soft: #7FC8FF;
  --cream: #F5EAD0;
  --apron: #D9C99A;

  --text: #F8F5E9;
  --text-muted: rgba(248, 245, 233, 0.62);
  --text-dim: rgba(248, 245, 233, 0.42);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-1: 0 1px 0 rgba(255,255,255,.04) inset, 0 12px 32px rgba(0,0,0,.25);
  --shadow-glow: 0 0 0 1px rgba(255, 210, 63, .35), 0 0 32px rgba(255, 210, 63, .25);

  --font-display: "Familjen Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-script: "Caveat", "Familjen Grotesk", cursive;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

/* Background ambient gradient — subtle warm glow behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 1200px 600px at 50% -10%, rgba(255, 157, 44, 0.10), transparent 60%),
    radial-gradient(ellipse 800px 600px at 90% 30%, rgba(79, 179, 255, 0.06), transparent 60%),
    radial-gradient(ellipse 900px 700px at 10% 70%, rgba(255, 210, 63, 0.05), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Containers */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 24px; }

/* Section rhythm */
section { position: relative; padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6.5vw, 88px); }
h2 { font-size: clamp(32px, 4.5vw, 56px); letter-spacing: -0.025em; }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
p { margin: 0; text-wrap: pretty; }

/* Script accent */
.script {
  font-family: var(--font-script);
  font-weight: 500;
  letter-spacing: 0;
  font-style: italic;
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-yellow);
  padding: 6px 12px;
  border: 1px solid rgba(255, 210, 63, 0.3);
  border-radius: 999px;
  background: rgba(255, 210, 63, 0.06);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon-yellow);
  box-shadow: 0 0 8px var(--neon-yellow);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--neon-yellow);
  color: #0A1230;
  box-shadow: 0 0 0 1px rgba(255,210,63,.5), 0 10px 30px rgba(255, 210, 63, .25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,210,63,.6), 0 16px 40px rgba(255, 210, 63, .4);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.25); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* Card */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: rgba(10, 18, 48, 0.6);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1440px;
  margin: 0 auto;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.nav-logo .script { color: var(--neon-yellow); font-size: 28px; line-height: 1; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--neon-yellow); background: var(--surface); }
.nav-links a.nav-cta:hover { background: var(--neon-yellow) !important; color: #0A1230 !important; }
@media (max-width: 880px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* Brand logo — matches apron print: brain glyph + AI virtuvė */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.brand-logo .brain-mark {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-logo .brain-mark svg { width: 100%; height: 100%; }
.brand-logo .brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}
.brand-logo .brand-ai {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand-logo .brand-virtuve {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 26px;
  color: var(--neon-yellow);
  line-height: 1;
}
.brand-logo.size-lg .brain-mark { width: 48px; height: 48px; }
.brand-logo.size-lg .brand-ai { font-size: 30px; }
.brand-logo.size-lg .brand-virtuve { font-size: 36px; }

/* Stronger primary button to never blend with bg */
.btn-primary {
  background: var(--neon-yellow) !important;
  color: #0A1230 !important;
  font-weight: 700;
}
.nav-cta {
  background: var(--neon-yellow);
  color: #0A1230 !important;
  font-weight: 700;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  box-shadow: 0 0 0 1px rgba(255,210,63,.5), 0 6px 18px rgba(255, 210, 63, .25);
}
.nav-cta:hover {
  background: var(--neon-yellow) !important;
  color: #0A1230 !important;
}

/* Live badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #E53E3E;
  color: white;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
}
.live-badge::before {
  content: "";
  width: 6px; height: 6px;
  background: white;
  border-radius: 50%;
  animation: pulse-dot 1.4s ease-in-out infinite;
}

/* Animated neon flicker */
@keyframes neon-flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 6px var(--neon-yellow)) drop-shadow(0 0 18px rgba(255,210,63,.6));
  }
  20%, 24%, 55% {
    opacity: 0.85;
    filter: drop-shadow(0 0 2px var(--neon-yellow));
  }
}
.neon-flicker { animation: neon-flicker 6s linear infinite; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-y { animation: float-y 5s ease-in-out infinite; }

/* Section divider — kitchen tile rhythm */
.divider-tiles {
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--line-2) 0 24px,
    transparent 24px 48px
  );
}

/* Pill list */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-muted);
}
.pill .ic { width: 16px; height: 16px; color: var(--neon-yellow); }

/* Mono-tag */
.tag-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

/* Utility */
.text-muted { color: var(--text-muted); }
.text-yellow { color: var(--neon-yellow); }
.text-cyan { color: var(--neon-cyan); }
.text-cream { color: var(--cream); }

/* ─────────── Mobile responsive polish ─────────── */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container, .container-wide { padding: 0 16px; }
  section { padding: 56px 0; }
  h1 { font-size: clamp(34px, 9vw, 56px) !important; }
  h2 { font-size: clamp(28px, 7vw, 38px) !important; }

  /* Bring sticky CTA into view on small screens */
  .mobile-sticky-cta { display: flex !important; }
  /* Add bottom padding to body so sticky CTA doesn't cover footer text */
  body { padding-bottom: 76px; }

  /* Nav tightening — hide secondary links, keep CTA + logo */
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-inner { padding: 12px 16px; }
  .brand-logo .brand-ai { font-size: 20px; }
  .brand-logo .brand-virtuve { font-size: 24px; }
}

@media (max-width: 520px) {
  .eyebrow { font-size: 11px; padding: 5px 10px; }
  .btn { padding: 14px 22px; font-size: 15px; }
}
