/* Milana Premium Landing */

:root {
  --bg: #06080f;
  --bg-elevated: #0c1019;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --gold: #f7d043;
  --gold-light: #ffe566;
  --gold-dark: #c9a020;
  --bot: #fff9b0;
  --user: #f7d043;
  --accent: #6366f1;
  --success: #34d399;
  --danger: #f87171;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --container: 1180px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 80px rgba(247, 208, 67, 0.15);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Ambient background */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: float 18s ease-in-out infinite;
}

.orb--1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(247, 208, 67, 0.35), transparent 70%);
  top: -120px;
  right: -80px;
}

.orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
  bottom: 20%;
  left: -100px;
  animation-delay: -6s;
}

.orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.12), transparent 70%);
  top: 45%;
  right: 15%;
  animation-delay: -12s;
}

.aurora {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(ellipse 50% 40% at 20% 10%, rgba(247, 208, 67, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 50% at 85% 30%, rgba(99, 102, 241, 0.14), transparent 50%),
    radial-gradient(ellipse 45% 35% at 50% 90%, rgba(52, 211, 153, 0.08), transparent 55%);
  animation: auroraShift 22s ease-in-out infinite alternate;
  opacity: 0.9;
}

@keyframes auroraShift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 2%, 0) scale(1.05); }
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

main, .header, .footer { position: relative; z-index: 1; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease-out), box-shadow 0.35s, backdrop-filter 0.35s;
}

.header.is-scrolled {
  background: rgba(6, 8, 15, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a {
  position: relative;
  transition: color 0.2s;
}

.nav a:hover { color: var(--text); }

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}

.nav a:hover::after { width: 100%; }

.header__actions {
  display: flex;
  gap: 10px;
}

.burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  transition: transform 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn--sm { padding: 10px 18px; font-size: 0.88rem; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0f172a;
  box-shadow: 0 4px 24px rgba(247, 208, 67, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 8px 32px rgba(247, 208, 67, 0.45);
}

.btn--shine {
  position: relative;
  overflow: hidden;
}

.btn--shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-strong);
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 48px) 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.pill-row { margin-bottom: 24px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(247, 208, 67, 0.08);
  border: 1px solid rgba(247, 208, 67, 0.2);
  color: var(--gold-light);
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 em { font-style: normal; }

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero__metrics {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.metric span {
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* Hero visual — devices */
.hero__visual {
  position: relative;
  min-height: 480px;
}

.device {
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: rgba(12, 16, 25, 0.85);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.device--store {
  width: 72%;
  transform: perspective(800px) rotateY(-8deg) rotateX(4deg);
  animation: deviceFloatStore 6s ease-in-out infinite;
}

.device--chat {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  min-width: 280px;
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
  animation: deviceFloatChat 6s ease-in-out infinite reverse;
  animation-delay: -3s;
}

@keyframes deviceFloatStore {
  0%, 100% { transform: perspective(800px) rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: perspective(800px) rotateY(-8deg) rotateX(4deg) translateY(-12px); }
}

@keyframes deviceFloatChat {
  0%, 100% { transform: perspective(800px) rotateY(-4deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(800px) rotateY(-4deg) rotateX(2deg) translateY(-10px); }
}

.device__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border);
}

.device__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.device__bar span:first-child { background: #ff5f57; }
.device__bar span:nth-child(2) { background: #febc2e; }
.device__bar span:nth-child(3) { background: #28c840; }

.device__url {
  flex: 1;
  margin-left: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

.device__body { padding: 16px; }

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.store-card {
  height: 72px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
}

.store-card--active {
  border-color: rgba(247, 208, 67, 0.4);
  box-shadow: inset 0 0 20px rgba(247, 208, 67, 0.08);
}

/* Chat mock */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.chat-header__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0f172a;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
}

.chat-header strong {
  display: block;
  font-size: 0.95rem;
}

.chat-header__status {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-header__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.chat-thread {
  padding: 14px;
  min-height: 220px;
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  max-width: 92%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  animation: bubbleIn 0.45s var(--ease-out) forwards;
}

@keyframes bubbleIn {
  to { opacity: 1; transform: translateY(0); }
}

.chat-bubble--bot {
  align-self: flex-start;
  background: var(--bot);
  color: #0f172a;
  border-bottom-left-radius: 4px;
}

.chat-bubble--user {
  align-self: flex-end;
  background: var(--user);
  color: #0f172a;
  border-bottom-right-radius: 4px;
}

.chat-bubble--products {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-bubble--products a {
  color: #0f172a;
  font-weight: 600;
  text-decoration: underline;
  font-size: 0.78rem;
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 0 14px 8px;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1.2s ease infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-input-fake {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 12px 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted-2);
}

.chat-input-fake svg { opacity: 0.5; }

.flow-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(12, 16, 25, 0.9);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  animation: badgePulse 4s ease infinite;
}

.flow-badge--yml { top: 8%; left: -4%; }
.flow-badge--lead { bottom: 28%; left: 8%; color: var(--gold-light); }

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Marquee */
.marquee-section {
  padding: 20px 0;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 48px;
  animation: marquee 35s linear infinite;
  width: max-content;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted-2);
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 100px 0; }

.section-head { margin-bottom: 56px; max-width: 640px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center p { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.section-head h2 em {
  font-style: normal;
  color: var(--gold-light);
}

.section-head p { color: var(--muted); margin: 0; }

/* Bento */
.bento {
  display: grid;
  gap: 16px;
}

.bento--pain {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
}

.bento__item {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.bento__item:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow);
}

.bento__item--wide { grid-column: span 2; }

.bento__item--accent {
  background: linear-gradient(135deg, rgba(247, 208, 67, 0.12), rgba(247, 208, 67, 0.02));
  border-color: rgba(247, 208, 67, 0.25);
}

.bento__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
  color: var(--gold);
}

.bento__icon svg { width: 22px; height: 22px; }
.bento__icon--warn { color: var(--danger); }

.bento__item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.bento__item p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 64px;
  margin-top: 20px;
}

.mini-chart__bar {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(to top, rgba(99, 102, 241, 0.5), rgba(99, 102, 241, 0.15));
}

.mini-chart__bar--loss {
  background: linear-gradient(to top, rgba(248, 113, 113, 0.6), rgba(248, 113, 113, 0.15));
}

/* Feature tabs */
.feature-tabs__nav {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.feature-tabs__btn {
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.feature-tabs__btn.is-active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0f172a;
  box-shadow: 0 4px 16px rgba(247, 208, 67, 0.3);
}

.feature-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.glass-card {
  padding: 24px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease-out), border-color 0.3s;
}

.glass-card:hover {
  transform: scale(1.02);
  border-color: rgba(247, 208, 67, 0.2);
}

.glass-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.glass-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.glass-card--visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 140px;
  background: linear-gradient(145deg, rgba(247, 208, 67, 0.08), rgba(99, 102, 241, 0.06));
}

.param-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.param-tags span {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  color: var(--gold-light);
}

.glass-card__caption { font-size: 0.78rem !important; color: var(--muted-2) !important; }

.order-preview__line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.order-preview__line--total {
  border: none;
  color: var(--success);
  font-weight: 700;
}

/* Showcase */
.showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(247, 208, 67, 0.06), rgba(99, 102, 241, 0.04));
  border: 1px solid var(--border-strong);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.orbit-ring {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}

.orbit-center {
  position: absolute;
  inset: 50%;
  width: 80px;
  height: 80px;
  margin: -40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  box-shadow: 0 0 60px rgba(247, 208, 67, 0.4);
  z-index: 2;
}

.orbit-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(247, 208, 67, 0.25);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

.orbit-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold);
}

.orbit-dot--1 { top: 0; left: 50%; margin-left: -6px; animation: orbit 8s linear infinite; }
.orbit-dot--2 { bottom: 20%; right: 0; animation: orbit 8s linear infinite -2.6s; }
.orbit-dot--3 { bottom: 20%; left: 0; animation: orbit 8s linear infinite -5.3s; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  padding-bottom: 24px;
}

.timeline__step {
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  opacity: 0.55;
  transition: all 0.4s var(--ease-out);
  cursor: default;
}

.timeline__step.is-active {
  opacity: 1;
  border-color: rgba(247, 208, 67, 0.35);
  background: rgba(247, 208, 67, 0.06);
  transform: translateY(-4px);
}

.timeline__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.timeline__step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 12px 0 8px;
}

.timeline__step p { margin: 0; font-size: 0.85rem; color: var(--muted); }

.timeline__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.timeline__progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  transition: width 0.6s var(--ease-out);
}

/* Compare */
.compare-switch {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  width: fit-content;
  margin-inline: auto;
}

.compare-switch__btn {
  padding: 12px 24px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.compare-switch__btn.is-active {
  background: var(--surface-hover);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

.compare-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.compare-card {
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.3s var(--ease-out);
}

.compare-card:hover { transform: translateY(-3px); }

.compare-card.is-win {
  border-color: rgba(247, 208, 67, 0.35);
  background: rgba(247, 208, 67, 0.05);
}

.compare-card__label {
  font-size: 0.78rem;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.compare-card__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.compare-card__value.is-bad { color: var(--danger); }
.compare-card__value.is-good { color: var(--success); }

/* Value banner */
.value { padding-top: 0; }

.value-banner {
  padding: 48px 56px;
  border-radius: 28px;
  border: 1px solid rgba(247, 208, 67, 0.28);
  background:
    linear-gradient(135deg, rgba(247, 208, 67, 0.12), rgba(99, 102, 241, 0.06) 45%, rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.value-banner::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(247, 208, 67, 0.25), transparent 70%);
  pointer-events: none;
  animation: float 10s ease-in-out infinite;
}

.value-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}

.value-banner > p {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 70ch;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.value-banner strong { color: var(--gold-light); }

.value-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.value-point {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
}

.value-point span {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.value-point p { margin: 0; color: var(--text); font-weight: 500; }

/* Billing switch */
.billing-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 16px;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 40px rgba(247, 208, 67, 0.08);
}

.billing-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.billing-switch__btn.is-active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0f172a;
  box-shadow: 0 8px 28px rgba(247, 208, 67, 0.35);
}

.billing-switch__btn--hot.is-active {
  background: linear-gradient(135deg, #ffe566, #f7d043 40%, #34d399);
}

.billing-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(52, 211, 153, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.35);
  animation: badgePulse 2.4s ease-in-out infinite;
}

.billing-switch__btn.is-active .billing-badge {
  background: #0f172a;
  color: #ffe566;
  border-color: transparent;
}

.billing-badge--hot {
  background: rgba(248, 113, 113, 0.2);
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.4);
}

.billing-switch__btn.is-active .billing-badge--hot {
  background: #0f172a;
  color: #34d399;
}

.billing-hint {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 36px;
  min-height: 1.4em;
}

.pricing-note {
  text-align: center;
  margin: 28px auto 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.95rem;
}

.accent-save {
  color: var(--gold-light);
  font-size: 1.05em;
}

.price-card__old {
  margin: 0 0 6px;
  font-size: 0.88rem;
  color: var(--muted-2);
}

.price-card__old s {
  color: var(--danger);
  text-decoration-thickness: 2px;
}

.price-card__save {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(135deg, #6ee7b7, #34d399);
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.35);
  animation: saveGlow 2.8s ease-in-out infinite;
}

.price-card--discounted {
  border-color: rgba(52, 211, 153, 0.35);
}

.price-card--discounted.price-card--featured {
  border-color: rgba(247, 208, 67, 0.55);
}

@keyframes saveGlow {
  0%, 100% { box-shadow: 0 0 18px rgba(52, 211, 153, 0.3); transform: scale(1); }
  50% { box-shadow: 0 0 28px rgba(52, 211, 153, 0.5); transform: scale(1.02); }
}

/* Pricing */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.price-card--featured {
  border-color: rgba(247, 208, 67, 0.4);
  background: linear-gradient(180deg, rgba(247, 208, 67, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}

.price-card--featured:hover { transform: scale(1.03) translateY(-6px); }

.price-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--gold);
  color: #0f172a;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 16px;
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.price-card__amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-card__cur { color: var(--muted); font-size: 0.95rem; }

.price-card__trial {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 24px;
}

.price-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.price-card__list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

/* FAQ */
.faq__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] { border-color: rgba(247, 208, 67, 0.25); }

.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* CTA */
.cta-panel {
  position: relative;
  padding: 56px;
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background: rgba(12, 16, 25, 0.8);
  overflow: hidden;
  text-align: center;
}

.cta-panel__glow {
  position: absolute;
  top: -50%;
  left: 50%;
  width: 600px;
  height: 400px;
  margin-left: -300px;
  background: radial-gradient(circle, rgba(247, 208, 67, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-panel__content { position: relative; z-index: 1; max-width: 560px; margin-inline: auto; }

.cta-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 12px;
}

.cta-panel p { color: var(--muted); margin: 0 0 28px; }

.cta-form__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.cta-form input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cta-form input:focus {
  outline: none;
  border-color: rgba(247, 208, 67, 0.5);
  box-shadow: 0 0 0 3px rgba(247, 208, 67, 0.12);
}

.cta-form input::placeholder { color: var(--muted-2); }

.cta-form__status {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
}

.cta-form__status.is-ok {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
}

.cta-form__status.is-error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

.cta-panel__legal {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--muted-2);
}

/* Footer */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 28px;
  align-items: start;
}

.footer__brand strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.footer__brand p { margin: 4px 0 0; font-size: 0.88rem; color: var(--muted); }

.footer__legal {
  margin-top: 10px !important;
  color: var(--muted-2) !important;
  font-size: 0.82rem !important;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer__phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.footer__phone:hover { color: var(--gold-light); }

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s;
}

.social-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(247, 208, 67, 0.45);
  background: rgba(247, 208, 67, 0.1);
  color: var(--gold-light);
}

.social-btn__max {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: right;
}

.footer__links a:hover { color: var(--gold-light); }

.footer__copy {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted-2);
}

.cta-form input:invalid:not(:placeholder-shown) {
  border-color: rgba(248, 113, 113, 0.5);
}

/* Reveal animations — only hide when JS is active (avoids blank page if main.js fails) */
.reveal {
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(32px);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay { transition-delay: 0.15s; }

html.js .reveal--delay { transition-delay: 0.15s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid,
  .showcase__inner,
  .faq__layout { grid-template-columns: 1fr; }

  .hero__visual { min-height: 420px; margin-top: 24px; }

  .bento--pain { grid-template-columns: 1fr 1fr; }
  .bento__item--wide { grid-column: span 2; }

  .feature-panel__grid,
  .compare-cards,
  .pricing__grid,
  .timeline,
  .value-points { grid-template-columns: 1fr; }

  .price-card--featured { transform: none; }
  .value-banner { padding: 32px 24px; }
}

@media (max-width: 768px) {
  .nav, .header__actions { display: none; }
  .burger { display: block; margin-left: auto; }

  .nav.nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(6, 8, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }

  .hero__metrics { flex-direction: column; gap: 16px; }
  .bento--pain { grid-template-columns: 1fr; }
  .bento__item--wide { grid-column: span 1; }

  .device--store { width: 100%; transform: none; animation: none; }
  .device--chat { position: relative; width: 100%; margin-top: 16px; animation: none; }

  .flow-badge { display: none; }
  .showcase__inner { padding: 28px; }
  .cta-panel { padding: 32px 20px; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__links { justify-content: center; flex-wrap: wrap; text-align: center; flex-direction: row; }
  .footer__contacts { align-items: center; }
  .footer__social { justify-content: center; }
  .billing-switch { border-radius: 20px; }
  .billing-switch__btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
