
:root{
  --bg:#120A1E;            /* dark purple */
  --panel:#1B0F2C;
  --panel2:#22113A;
  --text:#F3F4F6;          /* FIX: readable white */
  --muted:rgba(243,244,246,.78); /* FIX: readable muted */
  --gold:#D4AF37;
  --gold2:#B8922E;
  --light:#ffffff;         /* kept (not used for body bg anymore) */
  --dark:#231633;
  --shadow: 0 14px 40px rgba(51, 26, 56, 0.35);
  --radius: 18px;
  --max: 1100px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue";}

/* FIX: full dark background everywhere (no white seam) */
body{
  background:
    radial-gradient(1200px 700px at 50% 0%, rgba(212,175,55,.10), transparent 55%),
    linear-gradient(180deg, #4d2f74 0%, var(--bg) 45%, #492a7e 100%);
  color:var(--text);
}

a{color:inherit;text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 18px;}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(72, 62, 100, 0.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(212,175,55,.18);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:14px 0;}
.brand{display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.3px; color:var(--text);}
.brand img{width:34px;height:34px}
.navlinks{display:flex; gap:18px; align-items:center;}
.navlinks a{color:var(--text); font-weight:650; opacity:.88}
.navlinks a:hover{opacity:1}

.btn{
  display:inline-flex; align-items:center; gap:10px;
  border-radius:999px; padding:10px 14px;
  font-weight:750; border:1px solid transparent;
  cursor:pointer; user-select:none;
}
.btn-primary{
  background:linear-gradient(135deg, var(--gold), var(--gold2));
  color:#2c1c41;
  box-shadow: 0 10px 22px rgba(212,175,55,.25)
}
.btn-primary:hover{filter:brightness(1.03)}
.btn-ghost{
  background:transparent;
  border:1px solid rgba(255,255,255,.20);
  color:var(--text);
}
.btn-ghost:hover{border-color:rgba(255,255,255,.32)}

/* Mobile menu */
.hamburger{display:none; background:transparent; border:none; padding:10px; cursor:pointer}
.hamburger span{display:block; width:22px; height:2px; background:var(--text); margin:4px 0; border-radius:2px}
.mobile{display:none; padding:0 0 14px}
.mobile a{display:block; padding:10px 6px; color:var(--text); font-weight:650; opacity:.9}
.mobile a:hover{opacity:1}

/* Hero */
.hero{padding:64px 0 22px; color:var(--text)}
.hero-grid{display:grid; grid-template-columns: 1.25fr .75fr; gap:18px; align-items:stretch;}
.h1{font-size:44px; line-height:1.05; margin:0 0 14px}
.sub{font-size:16px; line-height:1.55; margin:0 0 22px; max-width: 62ch; opacity:.92}
.badges{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px}
.badge{
  display:inline-flex; gap:8px; align-items:center;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px; padding:7px 10px;
  font-weight:650; font-size:13px;
  color:var(--text);
}

.hero-card{
  background:linear-gradient(180deg, rgba(27,15,44,.92), rgba(34,17,58,.92));
  border:1px solid rgba(212,175,55,.28);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.20)
}
.hero-card h3{margin:0 0 8px; color:var(--text)}
.hero-card p{margin:0; color:var(--muted); line-height:1.55}

/* Section */
.section{padding:34px 0}
.section-title{font-size:22px; margin:0 0 10px; color:var(--text)}
.section-sub{color:var(--muted); margin:0 0 18px; line-height:1.55}

/* Cards */
.grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px;}
.card{
  background:linear-gradient(180deg, var(--panel), var(--panel2));
  border:1px solid rgba(212,175,55,.35);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow)
}
.card h3{margin:10px 0 8px; font-size:18px; color:var(--text)}
.card p{margin:0 0 14px; color:var(--muted); line-height:1.55}
.card .meta{display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:14px}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid rgba(212,175,55,.35);
  border-radius:999px; padding:6px 10px;
  font-weight:700; font-size:12px; color:var(--text); opacity:.95
}
.price{font-size:20px; font-weight:850; color:var(--text)}

.feature-list{margin:12px 0 0; padding:0; list-style:none}
.feature-list li{display:flex; gap:10px; align-items:flex-start; margin:10px 0; color:var(--muted); line-height:1.45}
.icon{width:18px; height:18px; flex:0 0 auto; margin-top:1px}

/* Comparison */
.table-wrap{overflow:auto; border-radius: var(--radius); border:1px solid rgba(212,175,55,.35); box-shadow: var(--shadow)}
table{width:100%; border-collapse:collapse; min-width: 820px; background:linear-gradient(180deg, var(--panel), var(--panel2));}
th,td{padding:14px 12px; border-bottom:1px solid rgba(255,255,255,.08); text-align:left}
th{color:var(--text); font-weight:850}
td{color:var(--muted)}
tr:last-child td{border-bottom:none}

/* FAQ */
.faq{display:grid; grid-template-columns: 1fr 1fr; gap:12px;}
.faq-item{
  background:linear-gradient(180deg, var(--panel), var(--panel2));
  border:1px solid rgba(212,175,55,.25);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow)
}
.faq-q{display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 16px; cursor:pointer}
.faq-q strong{font-size:14px; color:var(--text)}
.faq-a{display:none; padding:0 16px 14px; color:var(--muted); line-height:1.55}
.faq-item.open .faq-a{display:block}

/* Footer */
.footer{padding:26px 0 46px; color:var(--muted)}
.footer-grid{display:grid; grid-template-columns: 1.3fr .7fr .7fr; gap:14px; align-items:start}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--text)}
.small{font-size:12px; opacity:.9; line-height:1.5}

/* Page header */
.pagehead{padding:32px 0 0}
.pagehead h1{margin:0 0 10px; color:var(--text); font-size:34px}
.pagehead p{margin:0 0 22px; color:var(--muted); line-height:1.55; max-width: 75ch}

/* Utility */
.spacer{height:10px}
.hr{height:1px; background: rgba(255,255,255,.10); margin:20px 0}

/* === PATCH: image sizing + button spacing (NO color/theme changes) === */
.card img{
  width: 100%;
  height: auto;
  max-height: 190px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
/* Never affect the header brand logo sizing */
.brand img{
  width: 34px;
  height: 34px;
  max-height: none;
  object-fit: contain;
  border-radius: 0;
}

/* Space stacked buttons inside cards (vertical lists) */
.card .btn{ margin-top: 10px; }
.card .btn + .btn{ margin-top: 12px; }

@media (max-width: 980px){
  .card img{ max-height: 220px; }
}

/* Responsive */
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr;}
  .grid{grid-template-columns: 1fr;}
  .faq{grid-template-columns:1fr;}
}
@media (max-width: 760px){
  .navlinks{display:none}
  .hamburger{display:block}
  .mobile{display:none}
  .mobile.open{display:block}
  .h1{font-size:36px}
  .footer-grid{grid-template-columns:1fr;}
}