/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0F172A;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; }

/* ===== Tokens ===== */
:root {
  --tg: #2AABEE;
  --tg-dark: #0077B5;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --bg: #ffffff;
  --bg-alt: #F8FAFC;
  --border: #E2E8F0;
  --accent: #FFD43B;
  --success: #22C55E;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .12);
  --radius: 14px;
  --radius-lg: 20px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
  text-align: center;
}
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-lg { padding: 16px 26px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--tg); color: #fff; box-shadow: 0 6px 18px rgba(42, 171, 238, .35); }
.btn-primary:hover { background: var(--tg-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(42, 171, 238, .45); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-alt); border-color: #cbd5e1; }

.btn-white { background: #fff; color: var(--tg-dark); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  height: 64px;
}
.logo { display: inline-flex; align-items: center; }
.site-nav { display: none; gap: 24px; margin-left: auto; }
.site-nav a { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: var(--tg-dark); }

@media (min-width: 880px) {
  .site-nav { display: flex; }
}
.site-header .btn { margin-left: auto; }
@media (min-width: 880px) {
  .site-header .btn { margin-left: 0; }
}

/* ===== Hero ===== */
.hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(42, 171, 238, .12), transparent 60%),
    radial-gradient(800px 300px at -10% 100%, rgba(255, 212, 59, .15), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid; gap: 40px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .hero { padding: 96px 0 80px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: #ECFDF5; color: #047857;
  font-size: 13px; font-weight: 600;
  border: 1px solid #A7F3D0;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  margin-bottom: 18px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--tg) 0%, var(--tg-dark) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 560px;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px;
}
.hero-bullets {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  color: var(--ink-2); font-size: 14px; font-weight: 500;
}
.hero-bullets li { display: inline-flex; align-items: center; }

.hero-visual { display: flex; justify-content: center; }
.visual-card {
  width: 100%; max-width: 460px;
  padding: 24px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  box-shadow: var(--shadow-lg);
  border: 1px solid #BAE6FD;
}

/* ===== Sections ===== */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
@media (min-width: 960px) { .section { padding: 96px 0; } }

.section-title {
  font-size: clamp(26px, 3.6vw, 40px);
  text-align: center; margin: 0 0 12px;
}
.section-sub {
  text-align: center; color: var(--muted);
  margin: 0 auto 40px; max-width: 640px;
  font-size: 16px;
}

/* ===== Cards grid ===== */
.cards {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.cards-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #BAE6FD;
}
.card-icon { font-size: 32px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--ink-2); font-size: 15px; margin: 0; }

.card-accent { background: linear-gradient(180deg, #fff 0%, #F0F9FF 100%); }

/* ===== Steps ===== */
.steps {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
  counter-reset: step;
  margin-bottom: 36px;
}
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tg) 0%, var(--tg-dark) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px rgba(42, 171, 238, .35);
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--ink-2); margin: 0; }

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

/* ===== Pricing ===== */
.subsection { margin-bottom: 56px; }
.subsection:last-child { margin-bottom: 0; }
.subsection-title {
  font-size: clamp(22px, 2.6vw, 28px);
  text-align: center; margin: 0 0 8px;
}
.subsection-sub {
  text-align: center; color: var(--muted);
  margin: 0 auto 28px; max-width: 640px; font-size: 15px;
}

.oneoff-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  max-width: 820px; margin: 0 auto 20px;
}
@media (min-width: 720px) { .oneoff-grid { grid-template-columns: repeat(2, 1fr); } }

.pricing-grid {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
  margin-bottom: 24px;
}
@media (min-width: 720px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.plan-tag {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.tag-red { background: #FEE2E2; color: #B91C1C; }
.tag-green { background: #DCFCE7; color: #15803D; }

.plan h4 {
  font-size: 22px; font-weight: 800;
  margin: 0 0 6px; letter-spacing: -0.01em;
}
.plan-target {
  font-size: 13px; color: var(--muted);
  margin-bottom: 16px; min-height: 36px;
}
.plan-compact { padding: 28px; }

.note {
  background: #FFFBEB; border: 1px solid #FCD34D;
  color: #92400E; padding: 14px 18px;
  border-radius: 12px; font-size: 14px;
  margin: 8px auto 0; max-width: 820px;
}

.plan {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  position: relative;
}
.price {
  font-size: 16px; color: var(--muted);
  margin-bottom: 20px;
}
.price strong {
  font-size: 38px; color: var(--ink);
  font-weight: 800; letter-spacing: -0.02em;
}
.plan-features {
  display: grid; gap: 10px;
  margin-bottom: 24px;
  color: var(--ink-2);
}
.plan-features li {
  padding-left: 26px; position: relative;
  font-size: 15px;
}
.plan-features li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: #DCFCE7; color: #15803D;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  margin-top: 2px;
}
.plan .btn { margin-top: auto; }

.plan-featured {
  border: 2px solid var(--tg);
  background: linear-gradient(180deg, #fff 0%, #F0F9FF 100%);
  box-shadow: var(--shadow-md);
}
.plan-badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--accent);
  color: var(--ink);
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.02em;
}

.compare-table {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  margin-top: 12px;
}
.compare-table summary {
  cursor: pointer; font-weight: 600; color: var(--tg-dark);
  font-size: 15px; padding: 4px 0;
}
.table-wrap { overflow-x: auto; margin-top: 16px; }
.compare-table table { width: 100%; border-collapse: collapse; min-width: 480px; }
.compare-table th, .compare-table td {
  padding: 12px 14px; text-align: left;
  border-bottom: 1px solid var(--border); font-size: 15px;
}
.compare-table th { background: var(--bg-alt); font-weight: 700; }

/* ===== CTA Block ===== */
.cta-block {
  background: linear-gradient(135deg, var(--tg) 0%, var(--tg-dark) 100%);
  color: #fff; padding: 64px 0;
  text-align: center;
}
.cta-block h2 { font-size: clamp(24px, 3.4vw, 36px); margin-bottom: 12px; }
.cta-block p { font-size: 17px; opacity: .92; margin: 0 0 28px; }

/* ===== Footer ===== */
.site-footer {
  background: #0F172A; color: #CBD5E1;
  padding: 56px 0 24px;
  font-size: 15px;
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
  padding-bottom: 32px;
  border-bottom: 1px solid #1E293B;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer img { background: #fff; padding: 8px 12px; border-radius: 10px; }
.muted { color: #94A3B8; margin-top: 14px; max-width: 360px; }
.footer-list { display: grid; gap: 8px; }
.footer-list a:hover { color: var(--tg); }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 14px; color: #94A3B8;
}

/* ===== Floating Action Button ===== */
.fab {
  position: fixed; right: 18px; bottom: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--tg); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(42, 171, 238, .5);
  z-index: 60;
  transition: transform .2s ease;
}
.fab:hover { transform: scale(1.08); background: var(--tg-dark); }
@media (min-width: 960px) { .fab { display: none; } }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
