:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --card: #ffffff;
  --accent: #00a2e8;
  --accent-soft: rgba(0, 162, 232, 0.08);
  --accent-strong: #0082ba;
  --accent-warm: #c3c3c3;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --danger: #dc2626;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 45px rgba(248, 250, 252, 0.08);
  --shadow-glow: 0 0 30px rgba(0, 162, 232, 0.2);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background: #ffffff;
  color: var(--text);
  color-scheme: light;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page {
  min-height: 100vh;
  background: linear-gradient(to bottom, rgba(0, 162, 232, 0.24), rgba(195, 195, 195, 0.16) 400px, #ffffff 800px);
  background-repeat: no-repeat;
  color: var(--text);
}

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

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background-image: url("/static/img/logo/favicon-64x64.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 16px rgba(0, 162, 232, 0.3);
}

.brand-text-main {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-text-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.16s ease, opacity 0.16s ease;
}

.nav-links a:hover {
  color: var(--accent);
  opacity: 1;
}

a.btn-primary {
  color: #ffffff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn {
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease,
    color 0.14s ease, border-color 0.14s ease;
}

.btn-primary {
  background: linear-gradient(to right, var(--accent-strong), #00a2e8);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(0, 162, 232, 0.3);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.4rem;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.75rem 0 1.1rem;
  font-size: 0.95rem;
}

.nav-mobile a {
  color: var(--muted);
}

.nav-mobile a:hover {
  color: var(--accent);
}

.nav-mobile .btn {
  width: 100%;
  justify-content: center;
}

/* HERO, SECTIONS, FOOTER, ETC. */
.hero { padding: 3.5rem 0 3.75rem; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.25rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.hero-title span {
  color: #00a2e8;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 540px;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-note-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.9);
}

.hero-visual { position: relative; }

.hero-card {
  position: relative;
  border-radius: 26px;
  padding: 1.4rem 1.4rem 1.2rem;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 162, 232, 0.06);
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid rgba(226, 232, 240, 0.35);
  margin-bottom: 0.8rem;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

.hero-chat {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.hero-bubble {
  max-width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 14px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.hero-bubble-user {
  align-self: flex-end;
  background: rgba(0, 162, 232, 0.15);
  border-radius: 14px 14px 4px 14px;
}

.hero-bubble-ai {
  align-self: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
}

.hero-glow-orb {
  position: absolute;
  inset: auto -80px -90px auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: transparent;
  opacity: 0;
  pointer-events: none;
}

section { padding: 5rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.4rem;
}

.section-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-card {
  padding: 1.25rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.3);
  background: #f8fafc;
  box-shadow: 0 10px 30px rgba(248, 250, 252, 0.5);
  font-size: 0.88rem;
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: var(--accent-soft);
  margin-bottom: 0.75rem;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
}

.feature-body {
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.demo-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.demo-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.3);
  background: rgba(248, 250, 252, 0.95);
  padding: 1.1rem 1rem;
  font-size: 0.85rem;
}

.demo-step-number {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.demo-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
}

.demo-body {
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.pricing-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.4rem;
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.35);
  box-shadow: var(--shadow-soft);
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.highlight {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  position: relative;
}

.pricing-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 162, 232, 0.18);
  color: var(--accent);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.pricing-name {
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.pricing-price {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0.35rem 0;
}

.pricing-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.pricing-list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.pricing-list li {
  display: flex;
  gap: 0.45rem;
}

.pricing-check {
  color: #4ade80;
  font-size: 0.9rem;
  margin-top: 0.07rem;
}

.pricing-footer { margin-top: auto; }

.integrations-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  font-size: 0.86rem;
}

.testimonial-card {
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  border: 1px solid rgba(226, 232, 240, 0.3);
  background: rgba(248, 250, 252, 0.96);
  color: var(--muted);
}

.testimonial-quote { margin-bottom: 0.7rem; }

.testimonial-author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--border);
  background: #f8fafc;
  padding: 2.2rem 0 2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.footer-small { font-size: 0.78rem; }
.footer-tagline { font-size: 0.78rem; color: var(--muted); }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 2.6rem; }
  .hero-visual { order: -1; }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .testimonials-grid,
  .demo-steps,
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: 1.2rem;
  }
}

@media (max-width: 720px) {
  .container { padding: 0 1.75rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { gap: 2.1rem; }
  section { padding: 2.6rem 0; }
}

.nav-mobile.open { display: flex; }
