@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #f59e0b;
  --ink: #111827;
  --muted: #64748b;
  --soft: #f6f8fb;
  --card: #ffffff;
  --line: rgba(15, 23, 42, 0.1);
  --success: #16a34a;
  --warning: #d97706;
  --gradient-brand: linear-gradient(135deg, #6366f1 0%, #06b6d4 58%, #10b981 100%);
  --radius: 8px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(245, 158, 11, 0.1), transparent 30%),
    var(--soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 12px auto 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 10px 8px 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 12px;
  backdrop-filter: blur(18px);
  position: sticky;
  top: 12px;
  z-index: 20;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
}
.brand-icon svg { width: 20px; height: 20px; }
.brand-icon img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.nav-links a:hover { color: var(--primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav,
.btn-hero-primary,
.btn-hero-secondary,
.btn-hero-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.btn-nav { padding: 9px 16px; font-size: 0.86rem; }
.btn-nav-outline,
.btn-hero-secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}
.btn-nav-outline:hover,
.btn-hero-secondary:hover { border-color: rgba(15, 118, 110, 0.35); }

.btn-nav-login,
.btn-hero-login {
  color: #fff;
  background: var(--gradient-brand);
  border: 1px solid transparent;
  box-shadow: 0 12px 26px rgba(99, 102, 241, 0.3);
}
.btn-nav-login:hover,
.btn-hero-login:hover {
  filter: brightness(1.04);
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.4);
}
.btn-nav-login:focus-visible,
.btn-hero-login:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.28);
  outline-offset: 3px;
}

.btn-nav-primary,
.btn-hero-primary {
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.22);
}
.btn-nav-primary:hover,
.btn-hero-primary:hover { background: var(--primary-dark); }

.hero {
  width: min(1160px, calc(100% - 32px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.82fr);
  gap: 18px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.features-section,
.pricing-strip,
footer {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

.hero-copy {
  min-height: 430px;
  padding: clamp(26px, 4vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
}
.hero-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
}

.hero p {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn-hero-primary,
.btn-hero-secondary,
.btn-hero-login {
  min-height: 48px;
  padding: 12px 22px;
  font-size: 0.96rem;
}
.btn-hero-primary svg { width: 18px; height: 18px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.hero-badges span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-visual {
  padding: 16px;
  min-height: 430px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.13), transparent 42%),
    linear-gradient(330deg, rgba(245, 158, 11, 0.18), transparent 40%),
    #ffffff;
}

.product-frame {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #101827;
  color: #fff;
  border: 1px solid rgba(15, 23, 42, 0.18);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.22);
}

.product-topbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.product-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
}
.product-topbar span:nth-child(2) { background: #f59e0b; }
.product-topbar span:nth-child(3) { background: #22c55e; }
.product-topbar strong {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.product-tile {
  min-height: 100px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.product-tile small {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
  margin-bottom: 10px;
}
.product-tile strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 8px;
}
.product-tile span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.8rem;
}
.tile-primary { background: rgba(20, 184, 166, 0.2); }
.tile-warning { background: rgba(245, 158, 11, 0.18); }

.sync-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 14px 14px;
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.sync-row strong,
.sync-row span { display: block; }
.sync-row strong { font-size: 0.9rem; }
.sync-row span { color: var(--muted); font-size: 0.78rem; }
.sync-row button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  font-weight: 900;
}

.features-section {
  width: min(1160px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 14px;
}

.section-eyebrow {
  display: block;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 6px;
}

.section-head h2,
.pricing-strip h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.feature-card {
  min-height: 190px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 9px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary);
}
.feature-icon svg { width: 21px; height: 21px; }
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.58;
}

.pricing-strip {
  width: min(1160px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(240px, 0.74fr) minmax(360px, 1fr) minmax(150px, auto);
  align-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.pricing-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(15, 118, 110, 0.08), transparent 34%);
  pointer-events: none;
}

.pricing-copy,
.plans-mini,
.pricing-action {
  position: relative;
}

.pricing-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.plans-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.plan-mini {
  min-height: 158px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.92), #fff 48%),
    #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.plan-mini::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: rgba(15, 118, 110, 0.18);
}
.plan-mini.featured {
  border-color: rgba(15, 118, 110, 0.34);
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.12), transparent 44%),
    linear-gradient(180deg, #fff, rgba(240, 253, 250, 0.72));
  box-shadow: 0 18px 44px rgba(15, 118, 110, 0.14);
}

.plan-mini.featured::after {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.plan-mini-head {
  padding-right: 76px;
}

.plan-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-mini strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.2;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.04);
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 900;
  color: var(--ink);
}
.plan-mini.featured .plan-price {
  background: rgba(15, 118, 110, 0.1);
}
.plan-price span,
.plan-price small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.plan-limits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.plan-limits span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.24);
}

.pricing-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
}
.pricing-action .btn-hero-primary {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
}
.pricing-action span {
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.pricing-page {
  width: min(1160px, calc(100% - 32px));
  margin: 28px auto 0;
}

.pricing-hero {
  padding: 44px 34px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.1), transparent 38%),
    linear-gradient(315deg, rgba(245, 158, 11, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

.pricing-hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.pricing-hero p {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1rem;
}

.pricing-page .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.pricing-page .pricing-card {
  position: relative;
  min-height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.pricing-page .pricing-card.popular {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 22px 58px rgba(15, 118, 110, 0.16);
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.08), #fff 42%);
}

.plan-popular {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card-head h2 {
  margin: 0;
  padding-right: 96px;
  font-size: 1.22rem;
}

.pricing-card-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.pricing-page .pricing-price {
  margin: 24px 0 18px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-page .pricing-price span,
.pricing-page .pricing-price small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.pricing-page .pricing-price strong {
  color: var(--ink);
  font-size: 2.7rem;
  line-height: 1;
  font-weight: 900;
}

.pricing-page .pricing-features {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.pricing-page .pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.45;
}

.pricing-page .pricing-features li.muted {
  color: #9ca3af;
}

.pricing-page .pricing-features svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--success);
}

.pricing-page .pricing-features li.muted svg {
  color: #cbd5e1;
}

.pricing-page .pricing-card > a {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  margin-top: 18px;
  padding: 18px 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
}

.pricing-note strong {
  color: var(--ink);
}

footer {
  width: min(1160px, calc(100% - 32px));
  margin: 16px auto 18px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 18px;
  box-shadow: none;
}
.footer-brand { font-weight: 900; }
.footer-copy { color: var(--muted); font-size: 0.86rem; }
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}
.footer-contact a {
  color: var(--primary-dark);
  text-decoration: none;
}
.footer-contact a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy,
  .hero-visual { min-height: auto; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-strip { grid-template-columns: 1fr; align-items: stretch; }
  .pricing-page .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav {
    width: calc(100% - 20px);
    margin-top: 10px;
    top: 8px;
    gap: 10px;
  }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .btn-nav { padding: 8px 11px; }
  .btn-nav-outline { display: none; }

  .hero,
  .features-section,
  .pricing-strip,
  footer {
    width: calc(100% - 20px);
  }
  .hero { margin-top: 18px; }
  .hero-copy { padding: 22px 18px; }
  .hero h1 { font-size: clamp(2.05rem, 12vw, 3.15rem); }
  .hero p { font-size: 0.96rem; }
  .hero-actions a { width: 100%; }
  .hero-visual { padding: 14px; }
  .product-grid { grid-template-columns: 1fr; }
  .sync-row { align-items: flex-start; flex-direction: column; }

  .features-section { padding: 18px; }
  .section-head { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .plans-mini { grid-template-columns: 1fr; }
  .pricing-strip { padding: 18px; }
  .pricing-page {
    width: calc(100% - 20px);
    margin-top: 18px;
  }
  .pricing-hero {
    padding: 30px 20px;
    text-align: left;
  }
  .pricing-hero h1 { font-size: clamp(2rem, 11vw, 2.8rem); }
  .pricing-page .pricing-card { padding: 20px; }
  .pricing-note {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-contact { justify-content: flex-start; text-align: left; }
}
