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

:root {
  --blue: #2563F5;
  --blue-dark: #173D8D;
  --blue-hover: #1d52d6;
  --ink: #15233D;
  --muted: #667085;
  --border: #E5E7EB;
  --bg: #F6F8FC;
  --green: #22C55E;
  --teal: #2ED8C3;
  --purple: #7B5CF6;
  --amber: #F5B623;
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; }

img { max-width: 100%; }

.db-reveal {
  opacity: 0;
  animation: floatUp 700ms cubic-bezier(0.16,1,0.3,1) forwards;
}

/* ---------- Nav ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 80px;
  background: transparent;
  backdrop-filter: blur(20px);
  box-shadow: none;
  transition: all 250ms ease-out;
}
.navbar.scrolled {
  padding: 16px 80px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 4px 24px rgba(21,35,61,0.06);
}

.navbar-brand { display: flex; align-items: center; gap: 10px; }
.navbar-logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.navbar-logo-mark {
  width: 14px; height: 18px; border-radius: 2px;
  border: 2px solid #fff; border-left-width: 5px;
}
.navbar-title { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.navbar-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease-out, transform 200ms ease-out, box-shadow 200ms ease-out;
}
.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,245,0.35);
}

.navbar-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.navbar-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 200ms ease-out, opacity 200ms ease-out;
}

/* ---------- Hero ---------- */
.hero {
  padding: 168px 80px 100px;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EEF2FF;
  color: var(--blue);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
}

.hero-title {
  font-size: 60px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero-title-accent { color: var(--blue); }

.hero-desc {
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 24px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}

.btn-hero-primary {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 17px 30px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37,99,245,0.28);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37,99,245,0.4);
}

.btn-hero-secondary {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--border);
  padding: 17px 30px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 200ms ease-out, transform 200ms ease-out;
}
.btn-hero-secondary:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}

.hero-mock {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-mock-frame {
  width: 460px;
  height: 620px;
  max-width: 100%;
  border-radius: 40px;
  background: var(--ink);
  padding: 16px;
  box-shadow: 0 50px 100px -20px rgba(21,35,61,0.35), 0 0 0 1px rgba(21,35,61,0.08);
  transform: rotate(-4deg);
  overflow: hidden;
}
.hero-mock-screen {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mock-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg);
}

/* ---------- Section heading ---------- */
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-heading h2 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-heading p {
  font-size: 18px;
  color: var(--muted);
  margin-top: 16px;
}

/* ---------- Features ---------- */
.features {
  padding: 100px 80px;
  max-width: 1440px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(21,35,61,0.05);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(21,35,61,0.1);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Showcase ---------- */
.showcase {
  padding: 100px 80px;
  background: #fff;
}
.showcase-inner {
  max-width: 1440px;
  margin: 0 auto;
}
.showcase-row {
  display: grid;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse { grid-template-columns: 1.18fr 0.82fr; }
.showcase-row:not(.reverse) { grid-template-columns: 0.82fr 1.18fr; }

.showcase-text-order-1 { order: 1; }
.showcase-text-order-2 { order: 2; }
.showcase-mock-order-1 { order: 1; }
.showcase-mock-order-2 { order: 2; }

.showcase-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.showcase-text h3 {
  font-size: 32px;
  font-weight: 700;
  margin-top: 12px;
  letter-spacing: -0.02em;
}
.showcase-text p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 16px;
}
.showcase-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.showcase-point {
  display: flex;
  align-items: center;
  gap: 10px;
}
.showcase-point span {
  font-size: 15px;
  color: var(--ink);
}

.showcase-mock-wrap {
  display: flex;
  justify-content: center;
  padding: 28px 10px;
}
.showcase-shot {
  width: 100%;
  max-width: 575px;
  border-radius: 30px;
  background: var(--ink);
  padding: 12px;
  box-shadow: 0 42px 90px -24px rgba(21,35,61,0.38);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.showcase-shot:hover {
  transform: rotate(0deg) translateY(-4px) !important;
  box-shadow: 0 52px 100px -22px rgba(21,35,61,0.42);
}
.showcase-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 19px;
  background: var(--bg);
}

/* ---------- Privacy ---------- */
.privacy {
  padding: 110px 80px;
  background: #fff;
}
.privacy-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}
.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F0FAF9;
  color: #168F80;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
}
.privacy-copy h2 {
  font-size: 44px;
  font-weight: 700;
  margin-top: 18px;
  letter-spacing: -0.02em;
}
.privacy-copy p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 18px;
}
.privacy-copy p + p {
  font-size: 16px;
}
.privacy-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.privacy-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}
.privacy-card h3 {
  font-size: 17px;
  font-weight: 700;
}
.privacy-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- AI+ ---------- */
.ai-section {
  padding: 110px 80px;
  background: linear-gradient(135deg, var(--purple) 0%, #6A4FE0 50%, var(--blue) 100%);
  color: #fff;
}
.ai-inner {
  max-width: 1440px;
  margin: 0 auto;
}
.ai-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.ai-heading h2 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ai-heading p {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  margin-top: 16px;
}
.ai-shot-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto 64px;
  padding: 24px 20px;
}
.ai-shot {
  width: 100%;
  max-width: 1040px;
  border-radius: 30px;
  background: rgba(21,35,61,0.72);
  padding: 12px;
  box-shadow: 0 42px 90px -24px rgba(12,22,50,0.55);
  transform: rotate(-2deg);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.ai-shot:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 52px 100px -22px rgba(12,22,50,0.62);
}
.ai-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 19px;
  background: #fff;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.ai-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 26px;
  backdrop-filter: blur(6px);
  transition: background 200ms ease-out, transform 200ms ease-out;
}
.ai-card:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-4px);
}
.ai-card-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.ai-card h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.ai-card p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}

/* ---------- Pricing ---------- */
.pricing {
  padding: 110px 80px;
  max-width: 1440px;
  margin: 0 auto;
}
.pricing .section-heading { margin-bottom: 20px; }

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 32px 0 56px;
}
.billing-toggle span { font-size: 15px; }
.billing-toggle .muted { color: var(--muted); font-weight: 400; }
.billing-toggle .active { color: var(--ink); font-weight: 700; }

.toggle-switch {
  width: 52px; height: 30px;
  border-radius: 100px;
  background: var(--border);
  border: none;
  position: relative;
  cursor: pointer;
  transition: background 200ms ease-out;
}
.toggle-switch.on { background: var(--blue); }
.toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: left 200ms ease-out;
}
.toggle-switch.on .toggle-knob { left: 25px; }

.save-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: #F0FDF4;
  padding: 4px 10px;
  border-radius: 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan-card {
  background: var(--bg);
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  position: relative;
}
.plan-card.highlight {
  background: var(--blue-dark);
  border: none;
  box-shadow: 0 30px 60px -20px rgba(23,61,141,0.4);
  color: #fff;
}
.plan-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
}
.plan-card h3 { font-size: 22px; font-weight: 700; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 20px 0 4px;
}
.plan-price .amount { font-size: 42px; font-weight: 700; }
.plan-price .period { font-size: 15px; color: var(--muted); }
.plan-card.highlight .plan-price .period { color: rgba(255,255,255,0.7); }
.plan-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.plan-card.highlight .plan-note { color: rgba(255,255,255,0.7); }
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.plan-feature {
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-feature span { font-size: 14px; }
.plan-cta {
  margin-top: 28px;
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--border);
  padding: 14px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 200ms ease-out;
}
.plan-cta:hover { transform: translateY(-2px); }
.plan-card.highlight .plan-cta {
  background: #fff;
  color: var(--blue-dark);
  border: none;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 100px 80px;
  background: #fff;
}
.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}
.faq-inner > h2 {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 4px 24px;
  background: var(--bg);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 0;
  cursor: pointer;
  text-align: left;
}
.faq-question span {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.faq-question svg {
  flex-shrink: 0;
  transition: transform 200ms ease-out;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 250ms ease-out, opacity 250ms ease-out;
}
.faq-item.open .faq-answer {
  max-height: 240px;
  opacity: 1;
}
.faq-answer p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  padding-bottom: 22px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 110px 80px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  text-align: center;
}
.final-cta h2 {
  font-size: 46px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin: 0 auto;
}
.final-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-top: 16px;
}
.btn-cta {
  margin-top: 32px;
  background: #fff;
  color: var(--blue);
  border: none;
  padding: 18px 34px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 80px 32px;
}
.footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-logo-mark {
  width: 12px; height: 15px; border-radius: 2px;
  border: 2px solid #fff; border-left-width: 4px;
}
.footer-brand span { font-size: 18px; font-weight: 700; color: #fff; }
.footer-col-main p { font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer-col-main .footer-domain { font-size: 13px; margin-top: 14px; }
.footer-col h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1440px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .navbar, .hero, .features, .showcase, .privacy, .ai-section, .pricing, .faq, .final-cta, .site-footer {
    padding-left: 40px;
    padding-right: 40px;
  }
  .navbar.scrolled { padding-left: 40px; padding-right: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .navbar-links { display: none; }
  .navbar-menu-toggle { display: block; }
  .navbar.menu-open .navbar-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #fff;
    padding: 16px 40px 24px;
    box-shadow: 0 12px 24px rgba(21,35,61,0.08);
  }
  .navbar.menu-open .navbar-links a { padding: 10px 0; width: 100%; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 140px;
    text-align: center;
  }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-mock { order: -1; }
  .hero-mock-frame { width: 100%; max-width: 380px; height: 500px; }
  .hero-title { font-size: 46px; }

  .showcase-row,
  .showcase-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
  }
  .showcase-text-order-1, .showcase-text-order-2,
  .showcase-mock-order-1, .showcase-mock-order-2 { order: initial; }

  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .navbar, .hero, .features, .showcase, .privacy, .ai-section, .pricing, .faq, .final-cta, .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .navbar.scrolled { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 120px; padding-bottom: 60px; }
  .hero-title { font-size: 36px; }
  .hero-desc { font-size: 17px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; }
  .section-heading h2 { font-size: 30px; }
  .features, .showcase, .privacy, .ai-section, .pricing, .faq, .final-cta { padding-top: 64px; padding-bottom: 64px; }
  .features-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .ai-heading h2, .privacy-copy h2 { font-size: 32px; }
  .final-cta h2 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .navbar-links { padding-left: 20px; padding-right: 20px; }
}
