/* === Reset & base === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background-color: #f9fafb;
  line-height: 1.6;
}

/* === Variables === */
:root {
  --orange: #f7931e;
  --orange-soft: #fef3e6;
  --orange-deep: #d97706;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --bg-soft: #f3f4f6;
}

/* === Layout helpers === */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === Topbar === */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffffcc;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.nav a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--orange);
  transition: width 0.2s ease-out;
}

.nav a:hover::after {
  width: 100%;
}

/* === Hero === */
.hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(circle at top left, #ffedd5 0, #ffffff 50%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero side card */
.hero-card {
  display: flex;
  justify-content: flex-end;
}

.hero-card-inner {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid rgba(249, 115, 22, 0.18);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  max-width: 360px;
}

.hero-card-inner h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.hero-highlights {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.75rem;
}

.hero-highlights li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.92rem;
  padding: 0.4rem 0;
}

.hero-highlights span {
  font-size: 1.2rem;
}

.hero-card-footer {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, color 0.12s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0, #f97316 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(249, 115, 22, 0.5);
}

.btn-ghost {
  background: #ffffff;
  color: #4b5563;
  border-color: #e5e7eb;
}

.btn-ghost:hover {
  background: #f3f4f6;
}

/* === Section generic === */
.section {
  padding: 3.5rem 0;
}

.section-accent {
  background: var(--orange-soft);
}

.section-soft {
  background: #f3f4f6;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
}

.section-subtitle {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.section-header-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
}

/* === Feature grid === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  background: rgba(249, 115, 22, 0.08);
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

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

/* === Price table === */
.card {
  background: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid rgba(249, 115, 22, 0.22);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 1.5rem;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}

.price-table thead {
  background: #fee2c4;
}

.price-table th,
.price-table td {
  font-size: 0.9rem;
  padding: 0.6rem 0.8rem;
  text-align: left;
}

.price-table tbody tr:nth-child(even) {
  background: #fff7ed;
}

.price-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.price-table th {
  font-weight: 600;
}

.table-note {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === Badges & pill === */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(249, 115, 22, 0.4);
  font-size: 0.8rem;
  color: #92400e;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge-green {
  background: #dcfce7;
  color: #166534;
}

.badge-brown {
  background: #fef3c7;
  color: #92400e;
}

.badge-orange {
  background: #ffedd5;
  color: #c2410c;
}

/* === News === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.3rem 1.1rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.news-card h3 {
  margin-top: 0.6rem;
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
}

.news-card p {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.news-link {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--orange-deep);
}

.news-link:hover {
  text-decoration: underline;
}

.news-footer {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* === About === */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-list {
  padding-left: 1.1rem;
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.about-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.2rem 1.3rem 1.1rem;
  border: 1px solid var(--border-soft);
}

.about-card ul {
  margin: 0 0 0.9rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.about-card-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === CTA === */
.cta-card {
  background: linear-gradient(135deg, #f97316 0, #f59e0b 40%, #facc15 100%);
  border-radius: 1.4rem;
  padding: 1.8rem 1.6rem;
  color: #1f2933;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.5rem;
  box-shadow: 0 20px 45px rgba(249, 115, 22, 0.45);
}

.cta-text h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.cta-text p {
  margin: 0 0 1rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  color: #1f2937;
}

.cta-meta {
  font-size: 0.9rem;
  align-self: center;
}

.cta-meta p {
  margin: 0.1rem 0;
}

/* === Footer === */
.footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.8rem 0 2rem;
  background: #ffffff;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
}

.footer-secondary {
  font-size: 0.8rem;
}

/* === Responsive === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .hero-card {
    justify-content: flex-start;
  }

  .feature-grid,
  .news-grid,
  .about-grid,
  .cta-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-card {
    text-align: left;
  }

  .topbar-inner {
    gap: 1rem;
  }

  .nav {
    font-size: 0.85rem;
    gap: 0.9rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .section {
    padding: 2.7rem 0;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .card {
    padding: 1.2rem;
  }

  .hero-card-inner {
    max-width: 100%;
  }
}
