@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --background: 0 0% 100%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --primary: 221 83% 53%;
  --primary-foreground: 0 0% 100%;
  --primary-glow: 217 91% 65%;
  --primary-soft: 214 100% 97%;
  --secondary: 210 40% 96%;
  --muted: 210 40% 96%;
  --muted-foreground: 215 16% 47%;
  --accent: 160 84% 39%;
  --accent-foreground: 0 0% 100%;
  --accent-soft: 152 81% 96%;
  --destructive: 0 84% 60%;
  --border: 214 32% 91%;
  --ring: 221 83% 53%;
  --radius: 1rem;
  --gradient-hero: linear-gradient(135deg, hsl(221deg 83% 53% / 49%) 0%, hsl(217 91% 65%) 100%);
  --gradient-soft: linear-gradient(180deg, hsl(214 100% 97% / 0.4) 0%, hsl(0 0% 100%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(160 84% 39%) 0%, hsl(160 84% 50%) 100%);
  --gradient-mesh: radial-gradient(at 20% 20%, hsl(221 83% 53% / 0.15) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, hsl(160 84% 39% / 0.1) 0px, transparent 50%),
                   radial-gradient(at 0% 80%, hsl(217 91% 65% / 0.1) 0px, transparent 50%);
  --shadow-sm: 0 2px 8px -2px hsl(221 83% 53% / 0.08);
  --shadow-md: 0 8px 24px -8px hsl(221 83% 53% / 0.15);
  --shadow-lg: 0 20px 50px -12px hsl(221 83% 53% / 0.25);
  --shadow-glow: 0 0 60px hsl(217 91% 65% / 0.4);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.875rem; border-radius: var(--radius);
  border: none; padding: 0.625rem 1.25rem; transition: all 0.2s;
  text-decoration: none; justify-content: center;
}
.btn-hero {
  background: var(--gradient-hero); color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-md);
}
.btn-hero:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}
.btn-outline:hover { background: hsl(var(--muted)); }
.btn-accent {
  background: var(--gradient-accent); color: hsl(var(--accent-foreground));
  box-shadow: var(--shadow-md);
}
.btn-accent:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: hsl(var(--muted-foreground));
  border: none; padding: 0.5rem;
}
.btn-ghost:hover { color: hsl(var(--foreground)); }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-xl { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }
.btn-full { width: 100%; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: hsl(var(--background) / 0.8); backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem;
}
.navbar-logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.125rem; }
.navbar-logo-icon {
  width: 2.25rem; height: 2.25rem; background: var(--gradient-hero);
  border-radius: 0.75rem; display: flex; align-items: center; justify-content: center;
  color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-md);
}
.navbar-links { display: flex; align-items: center; gap: 2rem; }
.navbar-links a { font-size: 0.875rem; font-weight: 500; color: hsl(var(--muted-foreground)); transition: color 0.2s; }
.navbar-links a:hover { color: hsl(var(--foreground)); }
.navbar-actions { display: flex; align-items: center; gap: 0.75rem; }
.navbar-mobile-toggle { display: none; background: none; border: none; }
.navbar-mobile-menu { display: none; border-top: 1px solid hsl(var(--border)); background: hsl(var(--background)); padding: 1rem 1.5rem; }
.navbar-mobile-menu.active { display: block; }
.navbar-mobile-menu a { display: block; padding: 0.5rem 0; font-size: 0.875rem; font-weight: 500; }

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-switcher-btn { background: none; border: none; padding: 0.5rem; color: hsl(var(--muted-foreground)); border-radius: 0.5rem; display: flex; align-items: center; }
.lang-switcher-btn:hover { color: hsl(var(--foreground)); background: hsl(var(--muted)); }
.lang-dropdown {
  display: none; position: absolute; top: 100%; right: 0; margin-top: 0.25rem;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 0.5rem;
  box-shadow: var(--shadow-lg); min-width: 140px; z-index: 100; overflow: hidden;
}
.lang-dropdown.active { display: block; }
.lang-dropdown button {
  display: block; width: 100%; text-align: left; padding: 0.5rem 0.75rem;
  font-size: 0.875rem; background: none; border: none; color: hsl(var(--foreground));
}
.lang-dropdown button:hover { background: hsl(var(--muted)); }
.lang-dropdown button.selected { font-weight: 600; color: hsl(var(--primary)); }

@media (max-width: 768px) {
  .navbar-links, .navbar-actions .desktop-only { display: none !important; }
  .navbar-mobile-toggle { display: block; }
}
@media (min-width: 769px) {
  .navbar-mobile-toggle { display: none; }
}

/* ── Sections ── */
.section-padding { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .section-padding { padding: 7rem 2rem; } }

.section-header { text-align: center; max-width: 42rem; margin: 0 auto 4rem; }
.eyebrow {
  display: inline-block; font-size: 0.875rem; font-weight: 600;
  padding: 0.25rem 0.75rem; border-radius: 9999px; margin-bottom: 1rem;
}
.eyebrow-primary { color: hsl(var(--primary)); background: hsl(var(--primary-soft)); }
.eyebrow-accent { color: hsl(var(--accent)); background: hsl(var(--accent-soft)); }
.section-title { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 1rem; }
@media (min-width: 768px) { .section-title { font-size: 3rem; } }
.section-subtitle { font-size: 1.125rem; color: hsl(var(--muted-foreground)); }

/* ── Hero ── */
.hero {
  position: relative; padding-top: 8rem; padding-bottom: 5rem; overflow: hidden;
  background: var(--gradient-mesh);
}
@media (min-width: 768px) { .hero { padding-top: 10rem; padding-bottom: 7rem; } }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.hero-content { text-align: center; }
@media (min-width: 1024px) { .hero-content { text-align: left; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 9999px; padding: 0.375rem 1rem; margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm); font-size: 0.75rem; font-weight: 600;
}
.hero-stars { display: flex; gap: -0.25rem; color: hsl(var(--accent)); }
.hero h1 { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.text-gradient-hero {
  background: var(--gradient-hero); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 1.125rem; color: hsl(var(--muted-foreground)); margin-bottom: 2rem; max-width: 36rem; line-height: 1.7; }
@media (min-width: 1024px) { .hero-subtitle { margin-left: 0; margin-right: 0; } }
@media (max-width: 1023px) { .hero-subtitle { margin-left: auto; margin-right: auto; } }
.hero-buttons { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }
@media (max-width: 1023px) { .hero-buttons { justify-content: center; } }
.hero-features { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
@media (max-width: 1023px) { .hero-features { justify-content: center; } }
.hero-feature { display: flex; align-items: center; gap: 0.5rem; }
.hero-feature svg { color: hsl(var(--accent)); }
.hero-mockup { display: flex; justify-content: center; }
@media (min-width: 1024px) { .hero-mockup { justify-content: flex-end; } }

/* ── Cards Grid ── */
.card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 1rem; padding: 1.5rem; transition: all 0.3s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-icon {
  width: 3rem; height: 3rem; background: var(--gradient-hero);
  border-radius: 0.75rem; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-md);
  transition: transform 0.3s;
}
.card:hover .card-icon { transform: scale(1.1); }
.card h3 { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }

.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-2.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-3.cols-2-lg { }
@media (min-width: 1024px) { .grid-3.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ── How It Works ── */
.steps-grid { display: grid; gap: 2rem; position: relative; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; position: relative; }
.step-icon-wrap { display: inline-flex; position: relative; margin-bottom: 1.5rem; }
.step-icon {
  width: 5rem; height: 5rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 1rem; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); color: hsl(var(--primary)); position: relative; z-index: 10;
}
.step-number {
  position: absolute; top: -0.5rem; right: -0.5rem; width: 2rem; height: 2rem;
  background: var(--gradient-accent); border-radius: 9999px; display: flex;
  align-items: center; justify-content: center; color: hsl(var(--accent-foreground));
  font-weight: 700; font-size: 0.875rem; z-index: 20; box-shadow: var(--shadow-md);
}
.step h3 { font-weight: 700; font-size: 1.25rem; margin-bottom: 0.75rem; }
.step p { color: hsl(var(--muted-foreground)); line-height: 1.6; max-width: 20rem; margin: 0 auto; }
.hiw-video-wrap { max-width: 56rem; margin: 0 auto 4rem; border-radius: 1rem; overflow: hidden; border: 1px solid #e2e8f0; box-shadow: 0 8px 24px -8px rgba(37,99,235,0.15); }
.hiw-video-wrap video { width: 100%; display: block; }


/* ── Features Grid (compact) ── */
.feature-card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 1rem; padding: 1.25rem; transition: all 0.3s;
}
.feature-card:hover { border-color: hsl(var(--primary) / 0.4); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 2.5rem; height: 2.5rem; background: hsl(var(--primary-soft));
  border-radius: 0.5rem; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: hsl(var(--primary)); transition: all 0.3s;
}
.feature-card:hover .feature-icon { background: var(--gradient-hero); color: hsl(var(--primary-foreground)); }
.feature-card h3 { font-weight: 700; margin-bottom: 0.25rem; }
.feature-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.grid-4 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ── Use Cases ── */
.usecase-card {
  position: relative; background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 1rem; padding: 1.5rem; overflow: hidden; transition: all 0.3s;
}
.usecase-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.usecase-blob {
  position: absolute; top: -3rem; right: -3rem; width: 8rem; height: 8rem;
  border-radius: 9999px; opacity: 0.1; transition: opacity 0.3s;
}
.usecase-card:hover .usecase-blob { opacity: 0.2; }
.usecase-icon {
  position: relative; width: 3rem; height: 3rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  color: white; box-shadow: var(--shadow-md);
}
.usecase-card h3 { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.5rem; position: relative; }
.usecase-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; position: relative; }
.grid-uc { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .grid-uc { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-uc { grid-template-columns: repeat(3, 1fr); } }

/* ── Testimonials ── */
.testimonial-card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 1rem; padding: 1.5rem; transition: all 0.3s;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); }
.testimonial-stars { display: flex; gap: 0.125rem; margin-bottom: 1rem; color: hsl(var(--accent)); }
.testimonial-text { color: hsl(var(--foreground) / 0.9); line-height: 1.6; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.875rem;
}
.testimonial-name { font-weight: 700; font-size: 0.875rem; }
.testimonial-role { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* ── Pricing ── */
.pricing-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
.pricing-features { list-style: none; margin: 0 0 2rem; padding: 0; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.pricing-check {
  width: 1.25rem; height: 1.25rem; border-radius: 9999px;
  background: hsl(var(--accent-soft)); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-top: 0.125rem; color: hsl(var(--accent));
}
.pricing-card {
  position: relative; background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow-lg);
}
.pricing-card-glow {
  position: absolute; inset: -1rem; background: var(--gradient-hero);
  opacity: 0.2; filter: blur(3rem); border-radius: 1.5rem; z-index: -1;
}
.pricing-badge {
  display: inline-block; background: var(--gradient-accent);
  color: hsl(var(--accent-foreground)); font-size: 0.75rem;
  font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 9999px; margin-bottom: 1rem;
}
.pricing-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.pricing-card .desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }
.pricing-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 1.5rem; }
.pricing-price .amount { font-size: 3rem; font-weight: 800; }
.pricing-price .period { color: hsl(var(--muted-foreground)); }
.pricing-card-features { margin-bottom: 1.5rem; }
.pricing-card-features .feat { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; margin-bottom: 0.75rem; }
.pricing-card-features .feat svg { color: hsl(var(--accent)); }
.pricing-trial { font-size: 0.75rem; text-align: center; color: hsl(var(--muted-foreground)); margin-top: 0.75rem; }

/* ── FAQ ── */
.faq-item {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 1rem; padding: 0 1.5rem; margin-bottom: 0.75rem;
  overflow: hidden; transition: all 0.3s;
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: hsl(var(--primary) / 0.3); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: none; padding: 1.25rem 0; font-weight: 600;
  font-size: 1rem; text-align: left; color: hsl(var(--foreground)); cursor: pointer;
}
.faq-q svg { transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s;
  color: hsl(var(--muted-foreground)); line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 1.25rem; }

/* ── Final CTA ── */
.final-cta {
  position: relative; background: var(--gradient-hero); border-radius: 1.5rem;
  padding: 2.5rem; overflow: hidden; box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .final-cta { padding: 4rem; } }
.final-cta-blob1 {
  position: absolute; top: -5rem; right: -5rem; width: 18rem; height: 18rem;
  background: hsl(0 0% 100% / 0.1); border-radius: 9999px; filter: blur(3rem);
}
.final-cta-blob2 {
  position: absolute; bottom: -6rem; left: -4rem; width: 20rem; height: 20rem;
  background: hsl(var(--accent) / 0.3); border-radius: 9999px; filter: blur(3rem);
}
.final-cta-inner { position: relative; text-align: center; max-width: 42rem; margin: 0 auto; }
.final-cta h2 { font-size: 1.875rem; font-weight: 800; color: hsl(var(--primary-foreground)); letter-spacing: -0.025em; margin-bottom: 1.25rem; line-height: 1.2; }
@media (min-width: 768px) { .final-cta h2 { font-size: 3rem; } }
.final-cta .sub { font-size: 1.125rem; color: hsl(var(--primary-foreground) / 0.9); margin-bottom: 2rem; }
.final-cta .info { color: hsl(var(--primary-foreground) / 0.8); font-size: 0.875rem; margin-top: 1.5rem; }

/* ── Footer ── */
.footer { background: hsl(var(--foreground)); color: hsl(var(--background)); padding-top: 4rem; padding-bottom: 2rem; }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { color: hsl(var(--background) / 0.7); font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 24rem; }
.footer-email { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: hsl(var(--background) / 0.7); }
.footer-email a { transition: color 0.2s; }
.footer-email a:hover { color: hsl(var(--background)); }
.footer-col h4 { font-weight: 700; font-size: 0.875rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.625rem; }
.footer-col a { font-size: 0.875rem; color: hsl(var(--background) / 0.7); transition: color 0.2s; }
.footer-col a:hover { color: hsl(var(--background)); }
.footer-bottom {
  border-top: 1px solid hsl(var(--background) / 0.1); padding-top: 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { font-size: 0.875rem; color: hsl(var(--background) / 0.6); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.875rem; color: hsl(var(--background) / 0.6); transition: color 0.2s; }
.footer-legal a:hover { color: hsl(var(--background)); }

/* ── Auth pages ── */
.auth-page {
  min-height: 100vh; background: var(--gradient-mesh);
  display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem;
}
.auth-box { width: 100%; max-width: 28rem; }
.auth-logo { display: flex; align-items: center; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.auth-logo-icon {
  width: 2.5rem; height: 2.5rem; background: var(--gradient-hero);
  border-radius: 0.75rem; display: flex; align-items: center; justify-content: center;
  color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-md);
}
.auth-logo span { font-weight: 700; font-size: 1.25rem; }
.auth-card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 1rem; box-shadow: var(--shadow-lg); padding: 2rem;
}
.auth-header { text-align: center; margin-bottom: 1.5rem; }
.auth-header h1 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 0.5rem; }
.auth-header p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.form-input-wrap { position: relative; }
.form-input-icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: hsl(var(--muted-foreground)); }
.form-input {
  width: 100%; padding: 0.625rem 0.75rem 0.625rem 2.25rem;
  border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) - 4px);
  font-size: 0.875rem; background: hsl(var(--background)); color: hsl(var(--foreground));
  outline: none; transition: border-color 0.2s;
}
.form-input:focus { border-color: hsl(var(--ring)); box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2); }
.form-input:disabled { opacity: 0.5; cursor: not-allowed; }
.form-error { font-size: 0.75rem; color: hsl(var(--destructive)); margin-top: 0.25rem; }
.form-hint { font-size: 0.75rem; color: hsl(var(--muted-foreground)); text-align: center; margin-top: 0.5rem; }
.form-hint a { color: hsl(var(--primary)); font-weight: 500; }
.form-hint a:hover { text-decoration: underline; }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.auth-footer a { color: hsl(var(--primary)); font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }
.form-row { display: flex; align-items: center; justify-content: space-between; }
.toggle-pwd {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: hsl(var(--muted-foreground)); padding: 0;
}
.toggle-pwd:hover { color: hsl(var(--foreground)); }

/* ── Simple/Legal pages ── */
.simple-page { min-height: 100vh; display: flex; flex-direction: column; background: hsl(var(--background)); }
.simple-hero { padding-top: 8rem; padding-bottom: 4rem; background: var(--gradient-soft); }
.simple-hero .container { max-width: 56rem; }
.simple-content { padding: 4rem 0; flex: 1; }
.simple-content .container { max-width: 56rem; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin: 1.5rem 0 0.75rem; }
.prose p { margin-bottom: 1rem; color: hsl(var(--muted-foreground)); line-height: 1.8; }
.prose ul { margin: 0.5rem 0 1rem 1.5rem; color: hsl(var(--muted-foreground)); }
.prose li { margin-bottom: 0.5rem; line-height: 1.7; }
.prose a { color: hsl(var(--primary)); }
.prose a:hover { text-decoration: underline; }
.prose code { background: hsl(var(--muted)); padding: 0.125rem 0.375rem; border-radius: 0.25rem; font-size: 0.875rem; }
.prose strong { color: hsl(var(--foreground)); }

/* ── Status page ── */
.status-item {
  display: flex; align-items: center; justify-content: space-between;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 0.75rem; padding: 1rem 1.25rem; margin-bottom: 0.5rem;
}
.status-badge { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: hsl(var(--accent)); }
.status-dot { width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: hsl(var(--accent)); }

/* ── Pricing Page (3 cols) ── */
.pricing-page-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .pricing-page-grid { grid-template-columns: repeat(3, 1fr); } }
.tier-card {
  border-radius: 1rem; padding: 1.5rem; border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}
.tier-card.featured { border-color: hsl(var(--primary)); box-shadow: var(--shadow-lg); }
.tier-card h3 { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.25rem; }
.tier-price { margin-bottom: 1rem; }
.tier-price span { font-size: 1.875rem; font-weight: 700; }
.tier-price small { color: hsl(var(--muted-foreground)); }
.tier-features { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tier-features li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; margin-bottom: 0.5rem; }
.tier-features li svg { color: hsl(var(--accent)); flex-shrink: 0; margin-top: 0.125rem; }

/* ── About page extras ── */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2.5rem 0; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 1rem; padding: 1.25rem; text-align: center; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: hsl(var(--primary)); }
@media (min-width: 768px) { .stat-value { font-size: 1.875rem; } }
.stat-label { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-top: 0.25rem; }
@media (min-width: 768px) { .stat-label { font-size: 0.875rem; } }
.values-grid { display: grid; gap: 1.25rem; margin: 1.5rem 0; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
.timeline-item {
  display: flex; gap: 1.25rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 1rem; padding: 1.25rem; margin-bottom: 1rem;
}
.timeline-year { flex-shrink: 0; width: 6rem; font-size: 0.875rem; font-weight: 700; color: hsl(var(--primary)); }
.timeline-title { font-weight: 600; margin-bottom: 0.25rem; }
.timeline-desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }

/* ── Contact page ── */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 2fr; } }
.contact-form {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 1rem; padding: 1.5rem;
}
.contact-form .form-row-2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .contact-form .form-row-2 { grid-template-columns: 1fr 1fr; } }
.contact-form textarea {
  width: 100%; padding: 0.625rem 0.75rem; border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 4px); font-size: 0.875rem;
  background: hsl(var(--background)); color: hsl(var(--foreground));
  outline: none; resize: vertical; min-height: 8rem;
}
.contact-form textarea:focus { border-color: hsl(var(--ring)); box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2); }
.contact-form .form-input { padding-left: 0.75rem; }

/* ── Careers ── */
.role-card {
  display: flex; align-items: center; justify-content: space-between;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 0.75rem; padding: 1.25rem; margin-bottom: 0.75rem;
  transition: box-shadow 0.3s;
}
.role-card:hover { box-shadow: var(--shadow-md); }
.role-card h3 { font-weight: 600; }
.role-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* ── Animations ── */
@keyframes fade-in-up { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse-glow { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.animate-fade-in-up { animation: fade-in-up 0.6s cubic-bezier(0.4,0,0.2,1) both; }
.animate-fade-in { animation: fade-in 0.6s ease-out both; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }

/* ── Phone Mockup ── */
.phone-mockup { position: relative; width: 280px; margin: 0 auto; }
@media (min-width: 640px) { .phone-mockup { width: 320px; } }
.phone-glow {
  position: absolute; inset: -2rem; background: var(--gradient-hero);
  opacity: 0.2; filter: blur(3rem); border-radius: 9999px;
}
.phone-frame { position: relative; background: hsl(var(--foreground)); border-radius: 3rem; padding: 0.75rem; box-shadow: var(--shadow-lg); }
.phone-screen { background: hsl(var(--background)); border-radius: 2.4rem; overflow: hidden; aspect-ratio: 9/19; }
.phone-notch { position: relative; height: 1.75rem; display: flex; justify-content: center; }
.phone-notch-bar { position: absolute; top: 0.5rem; width: 8rem; height: 1.5rem; background: hsl(var(--foreground)); border-radius: 9999px; }
.phone-statusbar { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 1.5rem; font-size: 10px; font-weight: 600; }
.phone-content { padding: 1rem; padding-bottom: 1.5rem; }
.phone-content h3 { font-size: 0.875rem; font-weight: 700; }
.phone-sms { background: hsl(var(--primary-soft)); border-radius: 1rem; padding: 0.75rem; margin-top: 0.75rem; }
.phone-call { background: var(--gradient-accent); border-radius: 1rem; padding: 1rem; color: hsl(var(--accent-foreground)); box-shadow: var(--shadow-md); margin-top: 0.75rem; }
.phone-call-buttons { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.phone-call-btn { flex: 1; border-radius: 9999px; padding: 0.375rem; font-size: 10px; text-align: center; font-weight: 500; }
.phone-badge {
  position: absolute; background: hsl(var(--card)); box-shadow: var(--shadow-lg);
  border-radius: 1rem; padding: 0.5rem 0.75rem; display: flex; align-items: center; gap: 0.5rem;
}
.phone-badge-left { left: -1.5rem; top: 25%; }
.phone-badge-right { right: -1rem; top: 66%; }
.phone-badge-icon { width: 2rem; height: 2rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; }
.phone-badge p { font-size: 10px; }
.phone-badge .badge-title { font-weight: 700; }
.phone-badge .badge-sub { color: hsl(var(--muted-foreground)); font-size: 9px; }

/* ── Not Found ── */
.not-found { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: hsl(var(--muted)); text-align: center; }
.not-found h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.not-found p { font-size: 1.25rem; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.not-found a { color: hsl(var(--primary)); text-decoration: underline; }

/* ── Toast ── */
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1000; max-width: 24rem; }
.toast {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 0.75rem; padding: 1rem 1.25rem; box-shadow: var(--shadow-lg);
  margin-top: 0.5rem; animation: fade-in-up 0.3s ease-out;
}
.toast-title { font-weight: 600; font-size: 0.875rem; margin-bottom: 0.25rem; }
.toast-desc { font-size: 0.8125rem; color: hsl(var(--muted-foreground)); }
.toast-error { border-color: hsl(var(--destructive) / 0.3); }
.toast-error .toast-title { color: hsl(var(--destructive)); }

/* ── Verify notice ── */
.verify-notice {
  display: flex; align-items: flex-start; gap: 0.5rem;
  background: hsl(var(--primary-soft) / 0.6); border: 1px solid hsl(var(--primary) / 0.1);
  border-radius: 0.5rem; padding: 0.75rem; margin-bottom: 1rem;
}
.verify-notice svg { color: hsl(var(--primary)); margin-top: 0.125rem; flex-shrink: 0; }
.verify-notice p { font-size: 0.75rem; color: hsl(var(--muted-foreground)); line-height: 1.5; }

/* ── Dialog/Modal ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-overlay.active { display: flex; }
.modal {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 1rem; box-shadow: var(--shadow-lg); width: 100%; max-width: 32rem;
  max-height: 85vh; overflow: auto; padding: 1.5rem;
}
.modal-header { margin-bottom: 1rem; }
.modal-title { font-weight: 700; font-size: 1.125rem; }
.modal-desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-top: 0.25rem; }
.modal-footer { display: flex; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid hsl(var(--border)); }
.modal-footer .btn { flex: 1; }
