:root {
  --grad: linear-gradient(90deg, #2dd4bf, #3b82f6, #8b5cf6);
  --text: #0f172a;
  --muted: #64748b;
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, sans-serif;
  margin: 0;
  color: var(--text);
  background: #f8fafc;
}

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

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: 0;
}

.hero__content {
  min-width: 0;
}

.hero__image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.hero img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}

h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0;
  line-height: 1.2;
}

h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin: 0 0 24px;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.5;
  margin: 0;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--grad);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  border: 2px solid #e2e8f0;
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover {
  border-color: #cbd5f5;
  background: #f8fafc;
}

.badge {
  font-size: clamp(12px, 1.5vw, 13px);
  color: #94a3b8;
  margin-top: 16px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: white;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card p {
  margin-top: 8px;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.plan {
  position: relative;
  background: white;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.plan.pro {
  border: 0;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  border: 2px solid transparent;
}

.plan.pro::before {
  content: "BEST";
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grad);
  color: white;
  font-weight: 600;
}

.price {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin: 12px 0 20px;
  color: var(--text);
}

.plan p {
  margin-bottom: 0;
}

.plan-btn {
  margin-top: 20px;
  padding: 12px 20px;
  width: 100%;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: #f1f5f9;
  transition: all 0.25s ease;
}

.plan-btn:hover {
  background: var(--grad);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 8px 0;
  font-size: 14px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 10px;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-sep {
  color: #94a3b8;
  margin: 0 4px;
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 24px 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero__image-wrap {
    order: -1;
  }

  .hero img {
    max-width: 260px;
    margin: 0 auto;
  }

  .buttons {
    justify-content: center;
  }

  .btn {
    flex: 1;
    min-width: 140px;
  }

  .features {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .pricing {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .plan {
    max-width: 400px;
    margin: 0 auto;
  }

  .footer {
    margin-top: 60px;
    padding-top: 32px;
  }

  .footer a {
    display: inline-block;
    margin: 4px;
  }
}

@media (max-width: 480px) {
  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-width: unset;
  }
}
