:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --accent: #4f46e5;
  --accent-2: #7c3aed;
  --accent-soft: #eef2ff;
  --border: #e2e8f0;
  --good: #16a34a;
  --good-soft: #f0fdf4;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 800;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink-2); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: none; }
.lang-switch select {
  appearance: none; -webkit-appearance: none;
  background: transparent; color: var(--ink-2);
  border: 1px solid var(--hairline); border-radius: 8px;
  font-family: inherit; font-size: 0.9rem; font-weight: 500;
  padding: 6px 24px 6px 10px; cursor: pointer; transition: border-color .15s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
}
.lang-switch select:hover { border-color: var(--accent); }
.lang-switch select:focus { outline: none; border-color: var(--accent); }
.lang-switch select option { color: #1e293b; background: #fff; }

@media (max-width: 900px) {
  .lang-switch { margin-left: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 6px 18px rgba(79, 70, 229, 0.3); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(79, 70, 229, 0.4); }
.btn-ghost { border: 1px solid var(--border); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* Hero */
.hero { padding: 88px 0 64px; background: radial-gradient(1200px 500px at 20% -10%, var(--accent-soft), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.hero-sub { margin-top: 20px; font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 0.85rem; color: var(--ink-3); }

/* Mock visual */
.hero-visual { position: relative; }
.mock-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px;
}
.mock-card-main { min-height: 260px; }
.mock-bar { display: flex; gap: 6px; margin-bottom: 20px; }
.mock-bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.mock-bar span:first-child { background: var(--accent); }
.mock-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-soft); border: 2px solid var(--accent); flex-shrink: 0; }
.line { height: 10px; border-radius: 6px; background: var(--bg-alt); }
.w45 { width: 45%; } .w55 { width: 55%; } .w60 { width: 60%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; }
.mock-card-float { position: absolute; right: -12px; bottom: -18px; box-shadow: var(--shadow-lg); }
.mock-chip { display: inline-block; background: var(--good-soft); color: var(--good); font-weight: 700; font-size: 0.9rem; padding: 8px 14px; border-radius: 10px; }
.hero-shot {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); display: block;
}
.chip-good { background: var(--good-soft); color: var(--good); font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; }

/* Trust */
.trust { padding: 40px 24px; text-align: center; }
.trust-label { color: var(--ink-3); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 20px; }
.trust-logos span { color: var(--ink-3); font-weight: 700; font-size: 1.1rem; opacity: 0.7; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.section-sub { margin-top: 12px; color: var(--ink-2); font-size: 1.05rem; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon { font-size: 1.6rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--ink-2); font-size: 0.95rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 0.95rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; }
.split-copy > p { margin-top: 16px; color: var(--ink-2); }
.checklist { list-style: none; margin-top: 20px; }
.checklist li { padding: 8px 0 8px 28px; position: relative; color: var(--ink-2); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.split-visual .mock-card { min-height: 200px; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.testimonial p { font-size: 1rem; color: var(--ink); }
.testimonial footer { margin-top: 14px; color: var(--ink-3); font-size: 0.85rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.price-card-featured { border: 2px solid var(--accent); box-shadow: var(--shadow); position: relative; }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.price-card h3 { font-size: 1.15rem; font-weight: 700; }
.price { font-size: 2.2rem; font-weight: 800; margin: 12px 0 4px; }
.price span { font-size: 1rem; color: var(--ink-3); font-weight: 500; }
.price-desc { color: var(--ink-3); font-size: 0.9rem; margin-bottom: 18px; }
.price-card ul { list-style: none; margin-bottom: 24px; flex: 1; }
.price-card li { padding: 7px 0 7px 24px; position: relative; color: var(--ink-2); font-size: 0.95rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.price-per-user { max-width: 520px; margin: 0 auto; }
.price-per-user .price-card { text-align: center; }
.price-per-user .price-card ul { text-align: left; margin: 18px auto 20px; max-width: 300px; }
.price-note { color: var(--ink-3); font-size: 0.88rem; margin-bottom: 18px; }

/* FAQ */
.faq-container { max-width: 760px; }
.faq-list details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq-list summary { font-weight: 600; cursor: pointer; }
.faq-list p { margin-top: 10px; color: var(--ink-2); }

/* CTA */
.cta { padding: 40px 0 80px; }
.cta-box { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-radius: 24px; padding: 64px 32px; text-align: center; color: #fff; }
.cta-box h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.cta-box p { margin: 16px auto 28px; max-width: 34em; opacity: 0.92; }
.cta-box .btn-primary { background: #fff; color: var(--accent); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }

/* Footer */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; }
.footer-tag { margin-top: 12px; color: #94a3b8; font-size: 0.9rem; }
.site-footer h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #334155; margin-top: 40px; padding-top: 20px; color: #94a3b8; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  .nav-links { display: none; }
  .nav-cta { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-copy h2 { font-size: 2rem; line-height: 1.2; }
.contact-copy p { margin-top: 12px; color: var(--ink-2); }
.contact-copy .checklist { margin-top: 20px; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font: inherit; font-size: 0.95rem; color: var(--ink); background: #fff; transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; }
.hidden-field { display: none; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Comparison ("Why Vermittra") */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
.compare-col {
  border: 1px solid #e6e3f0;
  border-radius: 1rem;
  padding: 1.5rem;
  background: #fdfcff;
}
.compare-old h3 { color: #8b8a99; }
.compare-new h3 { color: #7c3aed; }
.compare-col ul { margin: 0; padding-left: 1.1rem; }
@media (max-width: 720px) { .compare-grid { grid-template-columns: 1fr; } }

/* Built with (tech stack) */
.built-with { padding: 20px 24px 40px; }
.built-card {
  max-width: 700px; margin: 0 auto; text-align: center;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fafbff); box-shadow: var(--shadow);
  padding: 22px 28px;
}
.built-label { color: var(--ink-3); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.built-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.built-tags span {
  font-size: 0.85rem; font-weight: 600; color: var(--accent-2);
  background: var(--accent-soft); border: 1px solid #e6e3f0;
  padding: 5px 12px; border-radius: 999px;
}

/* Demo video */
.demo-section { background: linear-gradient(180deg, var(--bg-alt), #f1f3fe 60%, var(--bg-alt)); }
.video-frame {
  max-width: 920px; margin: 0 auto; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  background: #0b1020; position: relative;
}
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; }

/* Card hover: lift + soft gradient ring */
.feature-card, .price-card { transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease; }
.feature-card:hover, .price-card:hover { transform: translateY(-4px); border-color: #c7d2fe; box-shadow: var(--shadow-lg); }

/* Section headings get a subtle eyebrow underline accent */
.section-head .eyebrow::after {
  content: ""; display: block; width: 34px; height: 3px; margin: 10px auto 0;
  border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

@media (max-width: 720px) {
  .video-frame video { aspect-ratio: 16 / 10; }
}

/* Comparison table (vs legacy suites) */
.switch-wrap { max-width: 900px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.switch-table { width: 100%; border-collapse: collapse; background: #fff; }
.switch-table th, .switch-table td { padding: 14px 18px; text-align: left; font-size: 0.95rem; }
.switch-table thead th { font-weight: 700; }
.switch-table thead .legacy { color: var(--ink-3); }
.switch-table thead .modern { color: var(--accent); }
.switch-table .muted { font-weight: 500; color: var(--ink-3); font-size: 0.82rem; }
.switch-table tbody tr { border-top: 1px solid var(--border); }
.switch-table tbody tr:hover { background: #fafbff; }
.switch-table td:first-child { font-weight: 600; color: var(--ink-2); }
.switch-table td.yes { color: var(--accent-2); font-weight: 500; }
.center-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
@media (max-width: 720px) {
  .switch-table th, .switch-table td { padding: 11px 12px; font-size: 0.85rem; }
}



/* ---------- Fancy UI pass ---------- */
.hero { position: relative; overflow: hidden; }

/* Animated aurora background */
.aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}
.blob.b1 { width: 480px; height: 480px; left: -120px; top: -80px;
  background: radial-gradient(circle at 30% 30%, #c7d2fe, #6366f1); }
.blob.b2 { width: 380px; height: 380px; right: 4%; top: 6%;
  background: radial-gradient(circle at 60% 40%, #fbcfe8, #d946ef); animation-delay: -6s; }
.blob.b3 { width: 420px; height: 420px; left: 32%; bottom: -160px;
  background: radial-gradient(circle at 50% 50%, #bfdbfe, #3b82f6); animation-delay: -12s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -24px) scale(1.08); }
  66% { transform: translate(-24px, 18px) scale(0.95); }
}
.hero-grid { position: relative; z-index: 1; }

/* Gradient headline accent */
.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2), #db2777);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Fancy primary button with glow + shine */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 130%; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .blob, .btn-primary::after, .reveal { animation: none; transition: none; opacity: 1; transform: none; } }

