/* MaticGuard Portal — dark L2 theme — v2 */
:root {
  --bg:        #0a0b0f;
  --bg2:       #12141a;
  --bg3:       #1a1d26;
  --border:    #2a2e3d;
  --gold:      #c8952a;
  --gold-lt:   #e8b84b;
  --text:      #d4cfc8;
  --text-dim:  #7a7570;
  --green:     #3dba6e;
  --red:       #d94f4f;
  --yellow:    #d9a63a;
  --radius:    8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--gold-lt); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Navbar ── */
.navbar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
}
.nav-links { display: flex; align-items: center; gap: 1.2rem; }
.nav-links a { color: var(--text-dim); font-size: .9rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, #a06a18 100%);
  color: #fff;
  padding: .55rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: opacity .15s;
}
.btn-primary:hover { opacity: .85; text-decoration: none; }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: .45rem 1.1rem;
  border-radius: var(--radius);
  font-size: .85rem;
  cursor: pointer;
  background: transparent;
  transition: border-color .15s, color .15s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }

.btn-full { width: 100%; text-align: center; padding: .7rem; }

.btn-sm {
  padding: .25rem .7rem;
  font-size: .8rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
.btn-green { background: var(--green); color: #fff; }
.btn-red   { background: var(--red);   color: #fff; }
.btn-green:hover { opacity: .85; }
.btn-red:hover   { opacity: .85; }

/* ── Alerts ── */
.alert {
  padding: .7rem 1.2rem;
  margin: 1rem auto;
  max-width: 900px;
  border-radius: var(--radius);
  border-left: 4px solid;
}
.alert-success { background: #1a2e1e; border-color: var(--green); color: #8de8ac; }
.alert-error   { background: #2e1a1a; border-color: var(--red);   color: #f09090; }
.alert-warning { background: #2e251a; border-color: var(--yellow); color: #f0c870; }

/* ── Main / Footer ── */
main { flex: 1; }
footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 2rem;
  text-align: center;
  color: var(--text-dim);
  font-size: .8rem;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, #0e1018 0%, #151820 60%, #0a0c12 100%);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
  text-align: center;
}
.hero-inner { max-width: 680px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: #1e1a10;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: .8rem;
}
.hero-sub { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Features ── */
.features {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
}
.features h2 { font-size: 1.7rem; margin-bottom: 2.5rem; color: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: left;
  transition: border-color .2s;
}
.feature-card:hover { border-color: var(--gold); }
.feat-icon { font-size: 1.8rem; margin-bottom: .8rem; }
.feature-card h3 { color: #fff; margin-bottom: .4rem; font-size: 1rem; }
.feature-card p { color: var(--text-dim); font-size: .88rem; }

/* ── Pricing ── */
.pricing {
  max-width: 500px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
}
.pricing h2 { font-size: 1.7rem; margin-bottom: 2rem; color: #fff; }
.price-grid { display: flex; justify-content: center; }
.price-card {
  background: var(--bg2);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 400px;
}
.price-badge {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
}
.price-amount span { font-size: 1rem; color: var(--text-dim); }
.price-card ul { list-style: none; margin-bottom: 2rem; text-align: left; }
.price-card li { padding: .35rem 0; color: var(--text-dim); font-size: .9rem; }
.pricing-note { color: var(--text-dim); font-size: .8rem; margin-top: 1rem; }

/* ── CTA ── */
.cta {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem;
  text-align: center;
}
.cta h2 { font-size: 1.8rem; color: #fff; margin-bottom: .8rem; }
.cta p { color: var(--text-dim); margin-bottom: 1.8rem; }

/* ── Auth ── */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  min-height: 70vh;
}
.auth-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.8rem 2.4rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
}
.auth-logo { font-size: 2.5rem; margin-bottom: .5rem; }
.auth-card h1 { font-size: 1.5rem; color: #fff; margin-bottom: .3rem; }
.auth-sub { color: var(--text-dim); font-size: .9rem; margin-bottom: 2rem; }
.auth-form { text-align: left; }

/* ── Forms ── */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .85rem; color: var(--text-dim); margin-bottom: .35rem; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"] {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .6rem .9rem;
  color: var(--text);
  font-size: .95rem;
  outline: none;
  transition: border-color .15s;
}
.form-group input:focus { border-color: var(--gold); }
.form-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .2rem; }
.form-row .form-group { flex: 1; min-width: 160px; }
.checkbox-label { display: flex; align-items: center; gap: .5rem; color: var(--text-dim); cursor: pointer; }

/* ── Dashboard ── */
.dash-container { max-width: 900px; margin: 2.5rem auto; padding: 0 2rem; }
.dash-header { margin-bottom: 2rem; }
.dash-header h1 { font-size: 1.6rem; color: #fff; }
.dash-sub { color: var(--text-dim); font-size: .9rem; }

.lic-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-bottom: 2rem;
}
.lic-active  { border-color: var(--green); }
.lic-revoked { border-color: var(--red); }
.lic-expired { border-color: var(--yellow); }

.lic-status { margin-bottom: 1rem; }
.lic-card h2 { font-size: 1.3rem; color: #fff; margin-bottom: 1.2rem; }
.lic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.lic-item { display: flex; flex-direction: column; gap: .2rem; }
.lic-label { font-size: .75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
.lic-value { font-size: .95rem; color: var(--text); }
.lic-value.mono { font-family: monospace; }

.days-bar-wrap { margin-top: .8rem; }
.days-label { font-size: .78rem; color: var(--text-dim); margin-bottom: .35rem; }
.days-bar { height: 6px; background: var(--bg3); border-radius: 3px; overflow: hidden; }
.days-fill { height: 100%; background: linear-gradient(90deg, var(--gold) 0%, var(--green) 100%); border-radius: 3px; }

.days-badge {
  display: inline-block;
  background: #1a2e1e;
  color: var(--green);
  font-size: .75rem;
  padding: .1rem .5rem;
  border-radius: 10px;
  margin-left: .5rem;
  font-weight: 600;
}

.dash-section { margin-bottom: 2.5rem; }
.dash-section h3 { font-size: 1.1rem; color: #fff; margin-bottom: 1rem; border-bottom: 1px solid var(--border); padding-bottom: .5rem; }

.download-grid { display: flex; flex-direction: column; gap: .8rem; }
.download-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  transition: border-color .15s;
}
.download-card:hover { border-color: var(--gold); text-decoration: none; }
.dl-icon { font-size: 1.6rem; }
.download-card strong { color: #fff; display: block; }
.download-card p { color: var(--text-dim); font-size: .85rem; margin: .2rem 0 0; }
.dl-btn {
  margin-left: auto;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: .3rem .8rem;
  border-radius: 5px;
  font-size: .82rem;
  white-space: nowrap;
}
.dl-note { color: var(--text-dim); font-size: .82rem; margin-top: .7rem; }
.dl-note code { background: var(--bg3); padding: .1rem .4rem; border-radius: 3px; font-size: .85em; }

/* ── Admin ── */
.admin-container { max-width: 1200px; margin: 2rem auto; padding: 0 2rem; }
.admin-section {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-bottom: 2rem;
}
.admin-section h2 { font-size: 1.1rem; color: #fff; margin-bottom: 1.4rem; }
.admin-form { display: flex; flex-direction: column; gap: .2rem; }
.admin-form .btn-primary { align-self: flex-start; margin-top: .5rem; }

.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-table th {
  text-align: left;
  padding: .55rem .8rem;
  color: var(--text-dim);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--border);
}
.admin-table td { padding: .6rem .8rem; border-bottom: 1px solid #1e2130; vertical-align: middle; }
.admin-table .mono { font-family: monospace; font-size: .85rem; }
.row-revoked td { opacity: .5; }
.row-expired td { opacity: .65; }
.action-cell { display: flex; gap: .4rem; align-items: center; }
.action-cell input[type="number"] {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  padding: .22rem .4rem;
}
.empty-note { color: var(--text-dim); font-size: .9rem; }

/* ── Badges ── */
.badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .18rem .6rem;
  border-radius: 10px;
  text-transform: uppercase;
}
.badge-green  { background: #1a3022; color: var(--green); }
.badge-red    { background: #2e1a1a; color: var(--red); }
.badge-yellow { background: #2e2210; color: var(--yellow); }

.days-pill {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  padding: .15rem .55rem;
  border-radius: 10px;
}
.pill-green  { background: #1a3022; color: var(--green); }
.pill-yellow { background: #2e2210; color: var(--yellow); }
.pill-red    { background: #2e1a1a; color: var(--red); }

/* ── Navbar logo ── */
.nav-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; color: var(--gold-lt); }
.nav-logo { height: 32px; width: auto; object-fit: contain; }

/* ── Hero logo ── */
.hero-logo {
  width: 130px;
  height: auto;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 0 18px rgba(80,140,220,.35));
}

/* ── btn-large ── */
.btn-large { padding: .75rem 2rem; font-size: 1rem; }

/* ── How it works ── */
.how-it-works {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
}
.how-it-works h2 { font-size: 1.7rem; color: #fff; margin-bottom: 2.5rem; }
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.step {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
}
.step-num {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), #8a5010);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: #fff;
  margin: 0 auto 1rem;
}
.step h3 { color: #fff; font-size: .95rem; margin-bottom: .5rem; }
.step p  { color: var(--text-dim); font-size: .85rem; }
.step-arrow {
  font-size: 1.8rem;
  color: var(--border);
  align-self: center;
  padding: 0 .5rem;
  flex: 0;
}

/* ── Price split ── */
.price-split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.2rem 0 .6rem;
}
.price-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
}
.price-label { font-size: .72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; }
.price-val   { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.price-note  { font-size: .75rem; color: var(--text-dim); }
.price-divider { font-size: 1.5rem; color: var(--gold); font-weight: 700; padding-top: .8rem; }
.price-first {
  font-size: .88rem;
  color: var(--text-dim);
  margin-bottom: 1.4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: .5rem 0;
}
.price-first strong { color: var(--gold-lt); }

/* ── Buy page ── */
.buy-card { max-width: 480px; }
.buy-logo {
  width: 100px;
  height: auto;
  margin: 0 auto .8rem;
  display: block;
  filter: drop-shadow(0 0 12px rgba(80,140,220,.3));
}
.buy-summary {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}
.buy-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .3rem 0;
  color: var(--text-dim);
  font-size: .9rem;
}
.buy-line strong { color: var(--text); }
.buy-line small  { font-size: .78rem; margin-left: .3rem; }
.buy-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: .5rem;
  margin-top: .3rem;
  border-top: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-dim);
}
.buy-total-amount { font-size: 1.2rem; font-weight: 700; color: var(--gold-lt); }
.buy-note {
  font-size: .82rem;
  color: var(--text-dim);
  margin: .8rem 0 1rem;
  line-height: 1.5;
}
.buy-contact {
  margin-top: 1.2rem;
  font-size: .82rem;
  color: var(--text-dim);
  text-align: center;
}

/* ── Password form ── */
.pw-form .form-row { align-items: flex-end; }
.pw-form .btn-outline { margin-top: .4rem; }

/* ── Lang toggle ── */
.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .25rem .6rem;
  border-radius: 5px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 5rem 2rem; }
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h2 { color: #fff; margin-bottom: .5rem; }
.empty-state p { color: var(--text-dim); }

/* ══════════════════════════════════════════════════════════════════
   LANDING v2 — Professional redesign
   ══════════════════════════════════════════════════════════════════ */

/* ── Section scaffolding ── */
.section-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: .7rem;
}
.section-sub {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* ── Hero v2 ── */
.hero {
  position: relative;
  overflow: hidden;
  background: #060810;
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem 4rem;
  text-align: center;
}

/* Radial glow behind content */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 10%, rgba(30,80,160,.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 0%, rgba(80,150,255,.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Animated floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particles span {
  position: absolute;
  display: block;
  width: 2px;
  height: 2px;
  background: rgba(200,149,42,.5);
  border-radius: 50%;
  animation: float-up linear infinite;
}
.hero-particles span:nth-child(1)  { left:10%;  animation-duration:12s; animation-delay:0s;   width:1px; height:1px; }
.hero-particles span:nth-child(2)  { left:20%;  animation-duration:18s; animation-delay:2s; }
.hero-particles span:nth-child(3)  { left:35%;  animation-duration:14s; animation-delay:4s;   background:rgba(80,150,255,.4); }
.hero-particles span:nth-child(4)  { left:50%;  animation-duration:16s; animation-delay:1s;   width:3px; height:3px; }
.hero-particles span:nth-child(5)  { left:62%;  animation-duration:20s; animation-delay:3s;   width:1px; height:1px; }
.hero-particles span:nth-child(6)  { left:72%;  animation-duration:13s; animation-delay:5s; }
.hero-particles span:nth-child(7)  { left:82%;  animation-duration:17s; animation-delay:2.5s; background:rgba(80,150,255,.3); }
.hero-particles span:nth-child(8)  { left:90%;  animation-duration:15s; animation-delay:0.5s; width:1px; height:1px; }
.hero-particles span:nth-child(9)  { left:42%;  animation-duration:22s; animation-delay:7s;   width:3px; height:3px; background:rgba(80,150,255,.4); }
.hero-particles span:nth-child(10) { left:58%;  animation-duration:11s; animation-delay:9s; }

@keyframes float-up {
  0%   { transform: translateY(100vh) scale(1);   opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: .6; }
  100% { transform: translateY(-20px) scale(1.2); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(200,149,42,.08);
  border: 1px solid rgba(200,149,42,.25);
  color: var(--gold-lt);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.8rem;
}
.hero-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--green); }
  50%       { opacity: .6; box-shadow: 0 0 12px var(--green); }
}

/* Brand row: logo + name inline */
.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.4rem;
}
.hero-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: .04em;
}
.hero-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(80,140,220,.45));
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-accent {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-lt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Main CTA button */
.btn-hero {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #d4a030 0%, #9a6018 100%);
  color: #fff;
  padding: .8rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(180,120,20,.35);
  transition: transform .15s, box-shadow .15s;
  gap: .15rem;
}
.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(180,120,20,.5);
  text-decoration: none;
  color: #fff;
}
.btn-hero-price {
  font-size: .72rem;
  font-weight: 400;
  opacity: .75;
  letter-spacing: .04em;
}

/* Ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: .8rem 1.6rem;
  border-radius: 10px;
  font-size: .95rem;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-lt);
  text-decoration: none;
}

/* Stats bar */
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}
.hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.4rem;
}
.hstat strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-lt);
  line-height: 1;
}
.hstat span {
  font-size: .7rem;
  color: var(--text-dim);
  margin-top: .2rem;
  white-space: nowrap;
}
.hstat-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ── Features v2 ── */
.features {
  max-width: 1100px;
  margin: 5rem auto;
  padding: 0 2rem;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 0;
}

.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem 1.4rem;
  text-align: left;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  position: relative;
}
.feature-card:hover {
  border-color: rgba(200,149,42,.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.fc-highlight {
  border-color: rgba(200,149,42,.3);
  background: linear-gradient(135deg, #15120a 0%, var(--bg2) 100%);
}
.fc-highlight::after {
  content: '★ PRINCIPAL';
  position: absolute;
  top: -1px; right: 1rem;
  background: var(--gold);
  color: #000;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: .15rem .55rem;
  border-radius: 0 0 6px 6px;
}

.fc-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(200,149,42,.1);
  border: 1px solid rgba(200,149,42,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-lt);
  margin-bottom: 1rem;
}
.feature-card h3 { color: #fff; font-size: .95rem; margin-bottom: .4rem; font-weight: 600; }
.feature-card p { color: var(--text-dim); font-size: .84rem; line-height: 1.6; }
.fc-tag {
  display: inline-block;
  margin-top: .8rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold);
  background: rgba(200,149,42,.08);
  border: 1px solid rgba(200,149,42,.15);
  padding: .1rem .5rem;
  border-radius: 4px;
}

/* ── How it works v2 — Timeline ── */
.how-it-works {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
  text-align: center;
}
.how-it-works .section-title,
.how-it-works .section-label { text-align: center; }

.timeline {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}
.tl-item {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
}
.tl-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold) 0%, #7a4a10 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: .8rem;
  color: #fff;
  letter-spacing: .02em;
  box-shadow: 0 0 0 4px rgba(200,149,42,.15);
}
.tl-body { padding-bottom: .2rem; }
.tl-body h3 { color: #fff; font-size: 1rem; margin-bottom: .3rem; }
.tl-body p { color: var(--text-dim); font-size: .88rem; line-height: 1.65; }
.tl-body code {
  background: var(--bg3);
  padding: .1rem .4rem;
  border-radius: 4px;
  font-size: .85em;
  color: var(--gold-lt);
}
.tl-line {
  width: 1px;
  height: 2rem;
  background: linear-gradient(to bottom, rgba(200,149,42,.4), rgba(200,149,42,.1));
  margin-left: 21px;
}

/* ── Pricing v2 ── */
.pricing {
  max-width: 900px;
  margin: 5rem auto;
  padding: 0 2rem;
  text-align: center;
}

.price-wrap { margin-top: .5rem; }

.price-card-pro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg2);
  border: 1px solid rgba(200,149,42,.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(200,149,42,.08);
}

.pc-left {
  padding: 2.4rem 2.4rem;
  border-right: 1px solid var(--border);
  text-align: left;
}
.pc-badge {
  display: inline-block;
  background: rgba(200,149,42,.12);
  border: 1px solid rgba(200,149,42,.3);
  color: var(--gold);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .14em;
  padding: .25rem .7rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.pc-left h3 { font-size: 1.4rem; color: #fff; margin-bottom: .5rem; font-weight: 700; }
.pc-left > p { color: var(--text-dim); font-size: .9rem; margin-bottom: 1.4rem; line-height: 1.6; }

.pc-list { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.pc-list li { display: flex; align-items: baseline; gap: .6rem; font-size: .88rem; color: var(--text-dim); }
.pc-check { color: var(--green); font-weight: 700; font-size: .9rem; flex-shrink: 0; }

.pc-right {
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  background: linear-gradient(135deg, #120e06 0%, var(--bg2) 100%);
}

.pc-price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  width: 100%;
}
.pc-setup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 2rem;
  width: 100%;
}
.pc-setup-label { font-size: .7rem; letter-spacing: .1em; color: var(--text-dim); text-transform: uppercase; }
.pc-setup-val   { font-size: 2.6rem; font-weight: 900; color: #fff; line-height: 1; }
.pc-setup-note  { font-size: .72rem; color: var(--text-dim); }

.pc-plus { font-size: 1.1rem; font-weight: 700; color: var(--border); }

.pc-monthly {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  background: linear-gradient(135deg, rgba(200,149,42,.1), rgba(200,149,42,.05));
  border: 1px solid rgba(200,149,42,.25);
  border-radius: 12px;
  padding: .8rem 2rem;
  width: 100%;
  justify-content: center;
}
.pc-monthly-val   { font-size: 2.2rem; font-weight: 900; color: var(--gold-lt); line-height: 1; }
.pc-monthly-label { font-size: 1rem; color: var(--text-dim); }

.pc-first-charge {
  font-size: .82rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: .8rem;
  width: 100%;
  text-align: center;
}
.pc-first-charge strong { color: var(--gold-lt); font-size: 1rem; }

.pc-renewal {
  font-size: .78rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.6;
}

.pricing-note {
  margin-top: 1.8rem;
  color: var(--text-dim);
  font-size: .88rem;
}
.pricing-note a { color: var(--gold-lt); }

/* ── CTA final ── */
.cta-final {
  background: linear-gradient(160deg, #0e1018 0%, #101520 100%);
  border-top: 1px solid var(--border);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(30,80,160,.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.cta-logo {
  width: 80px;
  height: auto;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 0 16px rgba(80,140,220,.4));
}
.cta-final h2 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: .7rem; letter-spacing: -.02em; }
.cta-final p { color: var(--text-dim); font-size: .98rem; line-height: 1.7; }

/* ── Responsive adjustments ── */
@media (max-width: 700px) {
  .price-card-pro { grid-template-columns: 1fr; }
  .pc-left { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stats { gap: 0; }
  .hstat { padding: .5rem .8rem; }
  .hstat-sep { display: none; }
  .section-title { font-size: 1.6rem; }
}
