:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --primary: #0e7490;
  --primary-bright: #0891b2;
  --primary-soft: #cffafe;
  --secondary: #0d9488;
  --secondary-soft: #ccfbf1;
  --success: #10b981;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.12);
  --shadow-sm: 0 4px 12px rgba(8, 145, 178, 0.06);
  --shadow: 0 18px 50px -16px rgba(8, 145, 178, 0.12);
  --shadow-lg: 0 30px 80px -24px rgba(8, 145, 178, 0.18);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1200px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  font-size: 19px;
  color: var(--text-muted);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-bright));
  color: #fff;
  box-shadow: 0 14px 36px -10px rgba(8, 145, 178, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 18px 44px -10px rgba(8, 145, 178, 0.45);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 14px 36px -10px rgba(15, 23, 42, 0.18);
}

.btn-white:hover {
  box-shadow: 0 18px 44px -10px rgba(15, 23, 42, 0.25);
}

.btn-lg {
  padding: 18px 32px;
  font-size: 17px;
  border-radius: var(--radius-sm);
}

.btn-sm {
  padding: 12px 20px;
  font-size: 14px;
}

.btn-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* Page glow */
.page-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-bright), transparent 70%);
  top: -180px;
  right: -180px;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--secondary), transparent 70%);
  bottom: 10%;
  left: -150px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--border);
  box-shadow: 0 8px 30px -12px rgba(8, 145, 178, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 21px;
  color: var(--text);
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary-soft), var(--secondary-soft));
  color: var(--primary);
  border: 1px solid var(--border);
}

.logo-icon svg {
  width: 24px;
  height: 24px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: var(--surface-soft);
  border-radius: 12px;
  cursor: pointer;
  color: var(--text);
}

.burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  background: #ffffff;
  z-index: 1100;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 80px rgba(15, 23, 42, 0.22);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mobile-close {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--surface-soft);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-close svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mobile-link {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-link:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.mobile-cta {
  margin-top: 24px;
  width: 100%;
}
.mobile-overlay {
  position: fixed;
  background: rgba(15, 23, 42, 0.78);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Hero */
.hero {
  padding: calc(var(--header-height) + 96px) 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  width: fit-content;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.hero-title {
  font-size: clamp(40px, 5.8vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin: 0 0 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 360px;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  gap: 6px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}

.hero-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.hero-card-dot:first-child {
  background: #ef4444;
}

.hero-card-dot:nth-child(2) {
  background: #f59e0b;
}

.hero-card-dot:nth-child(3) {
  background: var(--success);
}

.hero-card-body {
  padding: 24px;
}

.hero-post {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-soft), var(--secondary-soft));
  flex-shrink: 0;
}

.hero-post-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.hero-post-line {
  height: 10px;
  border-radius: 5px;
  background: var(--surface-soft);
  width: 100%;
}

.hero-post-line.short {
  width: 60%;
}

.hero-post-image {
  height: 140px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-soft), var(--secondary-soft));
  margin-bottom: 16px;
  opacity: 0.7;
}

.hero-sync-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.hero-sync-line svg {
  width: 18px;
  height: 18px;
  animation: spin 2.5s linear infinite;
}

.hero-float {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.hero-float svg {
  width: 28px;
  height: 28px;
}

.hero-float-1 {
  top: 30px;
  right: 0;
  animation: float 5s ease-in-out infinite;
}

.hero-float-2 {
  bottom: 60px;
  left: 0;
  animation: float 5s ease-in-out infinite 1.5s;
}

.hero-float-3 {
  top: 50%;
  right: -20px;
  animation: float 5s ease-in-out infinite 0.7s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Trust */
.trust {
  padding: 40px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-text strong {
  font-size: 15px;
  font-weight: 700;
}

.trust-text span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Problem */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.problem-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.problem-icon svg {
  width: 26px;
  height: 26px;
}

.problem-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}

.problem-text {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

/* Features */
.features {
  background: linear-gradient(180deg, var(--bg) 0%, #f0fdfa 50%, var(--bg) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--x, 50%) var(--y, 50%), rgba(8, 145, 178, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
}

.feature-text {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

/* How it works */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.step-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 64px;
  font-weight: 800;
  color: var(--primary-soft);
  line-height: 1;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon svg {
  width: 26px;
  height: 26px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}

.step-text {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

.how-cta {
  text-align: center;
}

/* Use cases */
.use-cases {
  background: linear-gradient(180deg, var(--bg) 0%, #f0f9ff 50%, var(--bg) 100%);
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.use-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.use-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.use-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--secondary-soft);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.use-icon svg {
  width: 28px;
  height: 28px;
}

.use-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.use-text {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

/* Proof */
.proof-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.proof-number-item {
  text-align: center;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.proof-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.proof-number-label {
  font-size: 15px;
  color: var(--text-muted);
}


/* Final CTA */
.final-cta-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.final-cta-content {
  max-width: 560px;
}

.final-cta-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 14px;
}

.final-cta-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin: 0;
}

/* Footer */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-copy {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.footer-disclaimer {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* Reveal animations */
.reveal {
  opacity: 1;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* No-JS fallback */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-float,
  .hero-sync-line svg {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
  }

  .features-grid,
  .problem-grid,
  .how-grid,
  .use-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .final-cta-card {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .section {
    padding: 80px 0;
  }

  .nav-desktop {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn-primary {
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 12px;
    white-space: nowrap;
  }

  .logo {
    font-size: 18px;
    gap: 8px;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
  }

  .logo-icon svg {
    width: 22px;
    height: 22px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid,
  .problem-grid,
  .how-grid,
  .use-grid,
  .proof-numbers {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-item {
    align-items: center;
  }

  .final-cta-card {
    padding: 40px 24px;
  }

  .final-cta-card .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: clamp(32px, 10vw, 44px);
  }

  .section-title {
    font-size: clamp(26px, 8vw, 36px);
  }

  .trust-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .hero-float {
    display: none;
  }
}
