@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

* {
  box-sizing: border-box;
}

:root {
  --bg:        #0d2d3e;
  --bg-card:   #f4f1eb;
  --text:      #f4f1eb;
  --text-dark: #1c1c1c;
  --muted:     #8ab4c8;
  --muted-dark:#5a6a70;
  --teal:      #157568;
  --teal-hover:#0f6052;
  --amber:     #d4861e;
  --border:    rgba(138, 180, 200, 0.22);
  --border-card: rgba(0, 0, 0, 0.1);
  --radius:    10px;
  --shadow:    0 2px 10px rgba(0, 0, 0, 0.35);
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* ── Wrapper ─────────────────────────────────────────────── */
.wrapper {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px 40px;
}

/* ── Header ──────────────────────────────────────────────── */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.brand {
  display: block;
  width: 100%;
  text-decoration: none;
}

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

/* ── Desktop nav ─────────────────────────────────────────── */
nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

nav a:hover,
nav a.active {
  color: var(--text);
}

/* ── Hamburger button (hidden on desktop) ────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  padding: 6px 8px;
  line-height: 1;
  flex-shrink: 0;
}

/* ── Mobile nav ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-row {
    position: relative;
    justify-content: flex-end;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0f3549;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 6px 0;
    box-shadow: var(--shadow);
    margin-top: 4px;
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 11px 18px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
  }

  nav a:last-child {
    border-bottom: none;
  }

  header {
    margin-bottom: 24px;
  }
}

/* ── Card ────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 20px;
}

/* ── Card text overrides (light surface on dark body) ───── */
.card,
.plan-card {
  border-color: var(--border-card);
  color: var(--text-dark);
}

.card h1, .card h2,
.plan-card .plan-name,
.plan-card .plan-price {
  color: var(--text-dark);
}

.card p,
.plan-card .plan-includes,
.plan-card .plan-billing {
  color: var(--muted-dark);
}


/* ── Typography ──────────────────────────────────────────── */
h1 {
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.25;
  color: var(--text);
}

h2 {
  margin-top: 0;
  color: var(--text);
}

p {
  margin-top: 0;
  color: var(--muted);
}

main a:not(.btn) {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

main a:not(.btn):hover {
  color: var(--text);
}

/* ── Buttons ─────────────────────────────────────────────── */
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  margin-bottom: 4px;
}

.btn {
  border: 1px solid var(--border-card);
  padding: 11px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.92rem;
  background: transparent;
  transition: opacity 0.15s;
  cursor: pointer;
  display: inline-block;
}

.btn:hover {
  background: rgba(0, 0, 0, 0.08);
}

.btn.primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn.primary:hover {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
  opacity: 1;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  margin-top: 36px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  padding-bottom: 8px;
}

/* ── Utilities ───────────────────────────────────────────── */
.small {
  font-size: 0.9rem;
}

.notice {
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-intro {
  margin-bottom: 24px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.plan-card--full {
  grid-column: span 2;
}

.plan-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.plan-card--featured {
  border-color: var(--amber);
}

.plan-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.plan-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.plan-billing {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}

.plan-includes {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
  line-height: 1.5;
  background: #e2ddd6;
  border-radius: var(--radius);
  padding: 10px 10px 10px 26px;
}

.plan-includes li {
  margin-bottom: 2px;
}


@media (max-width: 560px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .plan-card--full {
    grid-column: span 1;
  }
}
