/* ═══════════════════════════════════════════
   NORVAS — Design System
   Palette: near-black, off-white, electric indigo, warm amber
   Type: Syne (display) + Inter (body)
═══════════════════════════════════════════ */

:root {
  --ink:       #0d0d12;
  --ink-soft:  #1e1e2a;
  --surface:   #f7f7fb;
  --white:     #ffffff;
  --border:    #e4e4ed;
  --muted:     #6b6b80;

  --indigo:    #4f46e5;
  --indigo-h:  #3730a3;
  --indigo-10: rgba(79,70,229,0.10);
  --indigo-20: rgba(79,70,229,0.20);

  --amber:     #f59e0b;
  --amber-10:  rgba(245,158,11,0.12);

  --success:   #059669;
  --error:     #dc2626;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);

  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;

  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── UTILITIES ─── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  /*font-weight: 600;*/
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--sm   { padding: 8px 18px; font-size: 0.82rem; }
.btn--lg   { padding: 14px 28px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}
.btn--primary:hover {
  background: var(--indigo-h);
  border-color: var(--indigo-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79,70,229,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--indigo);
  border-color: var(--indigo);
}
.btn--outline:hover {
  background: var(--indigo-10);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--muted);
}

.btn--danger {
  background: var(--error);
  color: var(--white);
  border-color: var(--error);
}

/* ─── ALERTS ─── */
.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  /*font-weight: 500;*/
  margin-bottom: 20px;
}
.alert--success { background: #d1fae5; color: #065f46; border-left: 3px solid var(--success); }
.alert--error   { background: #fee2e2; color: #991b1b; border-left: 3px solid var(--error); }
.alert--info    { background: var(--indigo-10); color: var(--indigo-h); border-left: 3px solid var(--indigo); }
.alert--warning { background: var(--amber-10); color: #92400e; border-left: 3px solid var(--amber); }

/* ─── SECTION ─── */
.section { padding: 96px 0; }
.section--dark { background: var(--ink); }
.section--muted { background: var(--surface); }

.section__header {
  text-align: center;
  margin-bottom: 60px;
}
.section__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  /*font-weight: 700;*/
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 12px;
}
.section__eyebrow--light { color: var(--amber); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  /*font-weight: 800;*/
  color: var(--ink);
  line-height: 1.15;
}
.section__title--light { color: var(--white); }
.section__desc { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  height: 66px;
  gap: 40px;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  /*font-weight: 800;*/
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav__dot { color: var(--indigo); }
.nav__links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  flex: 1;
}
.nav__links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--ink); }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.nav__login {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}
.nav__login:hover { color: var(--ink); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,70,229,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,70,229,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(79,70,229,0.18) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero__orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  bottom: 0; left: 10%;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--indigo);
  background: var(--indigo-10);
  border: 1px solid var(--indigo-20);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.badge__dot {
  width: 7px; height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  /*font-weight: 800;*/
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.hero__accent { color: var(--indigo); }
.hero__sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero__proof {
  display: flex;
  align-items: center;
  gap: 20px;
}
.proof__item strong {
  display: block;
  font-size: 1.4rem;
  /*font-weight: 800;*/
  color: var(--ink);
  line-height: 1.1;
}
.proof__item span {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.proof__divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll__line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--border), transparent);
  margin: 0 auto;
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40% { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* ─── STEPS ─── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
}
.step__number {
  font-family: var(--font-display);
  font-size: 0.72rem;
  /*font-weight: 800;*/
  letter-spacing: 0.12em;
  color: var(--indigo);
  margin-bottom: 16px;
  opacity: 0.7;
}
.step__icon {
  width: 56px; height: 56px;
  background: var(--indigo-10);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--indigo);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  /*font-weight: 800;*/
  margin-bottom: 10px;
}
.step p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
.step__connector {
  flex: 0 0 1px;
  height: 2px;
  background: var(--border);
  align-self: center;
  margin-top: -60px;
  width: 40px;
}

/* ─── FEATURES ─── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature__card {
  background: rgba(255,255,255,0.04);
  padding: 36px 32px;
  transition: background var(--transition);
}
.feature__card:hover { background: rgba(255,255,255,0.08); }
.feature__card--accent { background: rgba(79,70,229,0.15); }
.feature__icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--amber);
  margin-bottom: 18px;
}
.feature__card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  /*font-weight: 800;*/
  color: var(--white);
  margin-bottom: 10px;
}
.feature__card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ─── PRICING ─── */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.pricing__card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.pricing__card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing__card--featured {
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px var(--indigo-10), var(--shadow);
}
.pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--indigo);
  color: var(--white);
  font-size: 0.72rem;
  /*font-weight: 700;*/
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing__name {
  font-family: var(--font-display);
  font-size: 1rem;
  /*font-weight: 800;*/
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.pricing__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 14px;
}
.price__symbol { font-size: 1.4rem; 
/*font-weight: 700;*/
color: var(--ink); }
.price__amount { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; }
.price__period { font-size: 0.85rem; color: var(--muted); }
.pricing__desc { font-size: 0.875rem; color: var(--muted); margin-bottom: 24px; }
.pricing__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pricing__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--ink);
}
.pricing__features .fa-check {
  color: var(--success);
  font-size: 0.8rem;
  flex-shrink: 0;
}
.pricing__note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ─── FAQ ─── */
.faq { max-width: 720px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}
.faq__q:hover { color: var(--indigo); }
.faq__icon { font-size: 0.8rem; color: var(--muted); transition: transform var(--transition); flex-shrink: 0; }
.faq__item.open .faq__icon { transform: rotate(45deg); color: var(--indigo); }
.faq__a {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq__item.open .faq__a {
  max-height: 200px;
  padding-bottom: 20px;
}

/* ─── CONTACT ─── */
.contact__wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact__info .section__eyebrow { display: block; margin-bottom: 12px; }
.contact__info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  /*font-weight: 800;*/
  margin-bottom: 14px;
  line-height: 1.2;
}
.contact__info p { color: var(--muted); margin-bottom: 28px; }
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact__details a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--indigo);
  text-decoration: none;
  transition: gap var(--transition);
}
.contact__details a:hover { gap: 14px; }

.contact__form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form__group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form__group:last-of-type { margin-bottom: 20px; }
.form__group label {
  font-size: 0.82rem;
  /*font-weight: 600;*/
  color: var(--ink);
}
.form__group input,
.form__group textarea,
.form__group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px var(--indigo-10);
}
.form__group textarea { resize: vertical; min-height: 100px; }

/* ─── FOOTER ─── */
.footer {
  background: var(--ink);
  padding: 64px 0 24px;
  color: rgba(255,255,255,0.5);
}
.footer__top {
  display: flex;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.footer__brand { max-width: 240px; }
.footer__brand .nav__logo { color: var(--white); }
.footer__brand p {
  margin-top: 12px;
  font-size: 0.85rem;
  line-height: 1.65;
}
.footer__links {
  display: flex;
  gap: 60px;
  flex: 1;
  justify-content: flex-end;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col h4 {
  font-size: 0.78rem;
  /*font-weight: 700;*/
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  font-size: 0.8rem;
  text-align: center;
}

/* ═══════════════════════════════════════════
   DASHBOARD LAYOUT
═══════════════════════════════════════════ */
.app {
  display: flex;
  min-height: 100vh;
}

/* ─── SIDEBAR ─── */
.sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--ink);
  position: fixed;
  top: 0; left: 0;
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform var(--transition);
}
.sidebar__logo {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sidebar__logo a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  /*font-weight: 800;*/
  color: var(--white);
  text-decoration: none;
}
.sidebar__logo .nav__dot { color: var(--amber); }

.sidebar__section {
  padding: 16px 16px 8px;
}
.sidebar__section-label {
  font-size: 0.68rem;
  /*font-weight: 700;*/
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 0 8px;
  margin-bottom: 6px;
}
.sidebar__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: all var(--transition);
}
.sidebar__nav a:hover {
  background: rgba(255,255,255,0.07);
  color: var(--white);
}
.sidebar__nav a.active {
  background: var(--indigo);
  color: var(--white);
}
.sidebar__nav a i {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}
.sidebar__nav a.active i { opacity: 1; }

.site__switcher {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: auto;
}
.site__switcher-label {
  font-size: 0.68rem;
  /*font-weight: 700;*/
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}
.site__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
  cursor: pointer;
  transition: background var(--transition);
}
.site__item:hover { background: rgba(255,255,255,0.06); }
.site__item.active { background: rgba(79,70,229,0.25); }
.site__item-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.site__type-badge {
  font-size: 0.64rem;
  /*font-weight: 700;*/
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
}
.site__type-badge--ecommerce { background: rgba(5,150,105,0.25); color: #6ee7b7; }
.site__type-badge--portfolio  { background: rgba(245,158,11,0.25); color: #fcd34d; }

/* ─── TOPBAR ─── */
.topbar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  /*font-weight: 800;*/
  color: var(--ink);
}
.topbar__actions { display: flex; align-items: center; gap: 12px; }
.topbar__user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar__avatar {
  width: 34px; height: 34px;
  background: var(--indigo-10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  /*font-weight: 700;*/
  color: var(--indigo);
}
.topbar__user-name {
  font-size: 0.875rem;
  /*font-weight: 600;*/
  color: var(--ink);
}

/* ─── MAIN CONTENT ─── */
.main {
  margin-left: 260px;
  flex: 1;
  min-height: 100vh;
  background: var(--surface);
}
.main__content { padding: 32px 32px; }

/* ─── STAT CARDS ─── */
.stat__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.stat__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.stat__card-body {}
.stat__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.stat__value {
  font-family: var(--font-display);
  font-size: 2rem;
  /*font-weight: 800;*/
  color: var(--ink);
  line-height: 1;
}
.stat__sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}
.stat__icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.stat__icon--indigo { background: var(--indigo-10); color: var(--indigo); }
.stat__icon--green  { background: #d1fae5; color: var(--success); }
.stat__icon--amber  { background: var(--amber-10); color: var(--amber); }
.stat__icon--red    { background: #fee2e2; color: var(--error); }

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.card__header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  /*font-weight: 800;*/
  color: var(--ink);
}
.card__body { padding: 24px; }
.card__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

/* ─── TABLES ─── */
.table__wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
thead th {
  padding: 11px 16px;
  text-align: left;
  font-size: 0.72rem;
  /*font-weight: 700;*/
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  white-space: nowrap;
}
tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--surface); }

/* ─── BADGES ─── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  /*font-weight: 700;*/
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--success  { background: #d1fae5; color: #065f46; }
.badge--pending  { background: #fef3c7; color: #92400e; }
.badge--warning  { background: #ffedd5; color: #9a3412; }
.badge--error    { background: #fee2e2; color: #991b1b; }
.badge--info     { background: var(--indigo-10); color: var(--indigo-h); }
.badge--muted    { background: #f1f5f9; color: #64748b; }

/* ─── PAYMENT METHODS ─── */
.payment__methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.payment__method {
  position: relative;
}
.payment__method input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.payment__method-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
}
.payment__method input:checked + .payment__method-label {
  border-color: var(--indigo);
  background: var(--indigo-10);
  box-shadow: 0 0 0 3px var(--indigo-10);
}
.payment__method-label:hover { border-color: var(--indigo); }
.payment__method-label img {
  height: 28px;
  object-fit: contain;
}
.payment__method-label span {
  font-size: 0.8rem;
  /*font-weight: 600;*/
  color: var(--ink);
}

/* ─── ORDER FORM ─── */
.order__wrap {
  max-width: 760px;
  margin: 0 auto;
}
.order__plan-summary {
  background: var(--indigo-10);
  border: 1px solid var(--indigo-20);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.order__plan-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  /*font-weight: 800;*/
  color: var(--ink);
}
.order__plan-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  /*font-weight: 800;*/
  color: var(--indigo);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
  .contact__wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { flex-direction: column; gap: 40px; }
  .footer__links { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 14px;
    box-shadow: var(--shadow);
  }
  .nav__actions.open {
    display: flex;
    flex-direction: column;
    padding: 0 24px 20px;
    position: fixed;
    top: auto;
    left: 0; right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .hero { padding: 100px 0 60px; }
  .hero__headline { letter-spacing: -1px; }
  .steps { flex-direction: column; }
  .step__connector { display: none; }
  .features__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__links { flex-direction: column; gap: 28px; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; }
  .topbar { padding: 0 18px; }
  .main__content { padding: 20px 18px; }
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb li + li::before {
  content: '/';
  color: var(--border);
  margin-right: 8px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--indigo); }
.breadcrumb li:last-child { color: var(--ink); font-weight: 600; }

/* ─── PAGE HEADER ─── */
.page__header {
  margin-bottom: 28px;
}
.page__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  /*font-weight: 800;*/
  color: var(--ink);
}
.page__sub { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }

/* ─── EMPTY STATE ─── */
.empty {
  text-align: center;
  padding: 60px 20px;
}
.empty__icon {
  width: 64px; height: 64px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--muted);
  margin: 0 auto 16px;
}
.empty h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  /*font-weight: 800;*/
  margin-bottom: 8px;
}
.empty p { font-size: 0.88rem; color: var(--muted); margin-bottom: 20px; }

/* ─── PLAN EXPIRY NOTICE ─── */
.plan__notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.plan__notice-text { font-size: 0.875rem; color: #9a3412; font-weight: 500; }

/* ─── TOGGLE / MOBILE SIDEBAR ─── */
.sidebar__toggle {
  display: none;
  position: fixed;
  top: 18px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  border: none;
  border-radius: var(--radius-sm);
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 1rem;
}
@media (max-width: 768px) {
  .sidebar__toggle { display: flex; }
  .topbar { padding-left: 64px; }
}