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

:root {
  --gradient: linear-gradient(135deg, #5bc4ed 0%, #3fa9db 50%, #2589d6 100%);
  --gradient-hover: linear-gradient(135deg, #4ab3dc 0%, #2e98ca 50%, #1478c5 100%);
  --bg: #f0f8fc;
  --text: #333;
  --text-muted: #666;
  --accent: #ff6b35;
  --white: #fff;
  --border: #e0eef5;
  --radius: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.wordmark {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wordmark img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

header nav {
  display: flex;
  gap: 28px;
}

header nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s;
}

header nav a:hover {
  color: var(--text);
}

/* ── Hero ── */
.hero {
  background: var(--gradient);
  padding: 100px 0 110px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  max-width: 800px;
}

.tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--white);
  color: #2589d6;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.pricing-card .btn-primary {
  background: var(--gradient);
  color: var(--white);
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

.btn-secondary {
  display: inline-block;
  padding: 13px 32px;
  background: transparent;
  color: #2589d6;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid #c5e4f5;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

.btn-secondary:hover {
  border-color: #3fa9db;
  background: rgba(91, 196, 237, 0.06);
}

/* ── Features ── */
.features {
  padding: 80px 0;
}

.features h2,
.pricing h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 48px;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon {
  font-size: 2rem;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Pricing ── */
.pricing {
  padding: 80px 0;
  background: var(--white);
}

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

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-card.featured {
  border-color: #3fa9db;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(37, 137, 214, 0.12);
}

.pricing-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #2589d6;
  line-height: 1;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-card ul li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #3fa9db;
  font-weight: 700;
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── Footer ── */
footer {
  background: #1a1a2e;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-wordmark {
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}

.footer-nav a:hover {
  color: var(--white);
}

.copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  header nav {
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 64px 0 72px;
  }
}

@media (max-width: 480px) {
  header nav a:not(:last-child) {
    display: none;
  }
}
