/* Base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
  width: auto;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background-color: #f9fafb;
}

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(249, 250, 251, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  gap: 16px;
  font-size: 0.95rem;
}

.nav a {
  padding: 6px 10px;
  border-radius: 999px;
}

.nav a:hover {
  background-color: #e5e7eb;
}

/* Hero */
.hero {
  padding: 64px 0 48px;
  background: radial-gradient(circle at top left, #e0f2fe 0, transparent 55%),
              radial-gradient(circle at bottom right, #fef3c7 0, transparent 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 32px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 12px;
}

.hero-subtitle {
  margin: 0 0 20px;
  font-size: 1.02rem;
  color: #4b5563;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-footnote {
  font-size: 0.9rem;
  color: #6b7280;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  height: 220px;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #dbeafe);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f2933;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.btn-primary {
  background-color: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background-color: #1e40af;
}

.btn-secondary {
  background-color: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}

.btn-secondary:hover {
  background-color: #f3f4f6;
}

.btn-outline {
  background-color: transparent;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.btn-outline:hover {
  background-color: #eff6ff;
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.section-header p {
  margin: 0;
  color: #4b5563;
  max-width: 640px;
  margin-inline: auto;
}

/* Plans */
.plans {
  padding: 48px 0 40px;
  background-color: #ffffff;
}

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

.plan-card {
  position: relative;
  background-color: #f9fafb;
  border-radius: 18px;
  padding: 20px 18px 22px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.plan-tagline {
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
}

.plan-price {
  margin: 6px 0 0;
  font-weight: 600;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 10px 0 16px;
  font-size: 0.9rem;
  color: #4b5563;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-label {
  position: absolute;
  top: -12px;
  left: 16px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  background-color: #1d4ed8;
  color: #ffffff;
}

/* Flexible solutions */
.flexible {
  padding: 48px 0 56px;
  background-color: #f3f4f6;
}

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

.flex-item {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid #e5e7eb;
}

.flex-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.flex-item p {
  margin: 0;
  font-size: 0.92rem;
  color: #4b5563;
}

/* Contact CTA */
.contact-cta {
  padding: 40px 0 48px;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
}

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

.contact-inner h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.contact-inner p {
  margin: 0;
  color: #4b5563;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 16px 0;
  background-color: #f9fafb;
  font-size: 0.9rem;
  color: #6b7280;
}

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

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

  .hero-visual {
    order: -1;
  }

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

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

  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }

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

  .hero {
    padding-top: 40px;
  }
}
