:root {
  --bg: #050509;
  --card: #101019;
  --accent: #ff7a00;
  --accent-soft: rgba(255,122,0,0.12);
  --text: #f5f5f5;
  --muted: #9b9bb5;
  --error: #ff4b4b;
  --radius-xl: 22px;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #171727 0, #050509 45%);
  color: var(--text);
  min-height: 100vh;
  display:flex;
  flex-direction:column;
  padding:24px;
}

a { color: inherit; text-decoration: none; }

/* HEADER */

.header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:1120px;
  margin:0 auto 24px;
  gap:24px;
}

.logo {
  display:flex;
  align-items:center;
  gap:12px;
}

.logo-img {
  height:60px;
  width:auto;
  border-radius:12px;
  box-shadow:0 10px 22px rgba(0,0,0,0.6);
}

.logo-text-block {
  display:flex;
  flex-direction:column;
  gap:4px;
}

.logo-text-main {
  font-weight:900;
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-size:22px;
}

.logo-text-sub {
  font-size:13px;
  color:var(--muted);
}

.main-nav {
  display:flex;
  align-items:center;
  gap:16px;
  font-size:15px;
  color:var(--muted);
}

.nav-link { padding:4px 10px; border-radius:999px; }
.nav-active,
.nav-link:hover { color:#fff; }

/* RIGHT HEADER */

.header-right {
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}

.auth-buttons {
  display:flex;
  gap:10px;
}

/* QUICK LINKS SIDEBAR */

.quick-links {
  position:fixed;
  right:32px;
  top:120px;
  z-index:40;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:4px;
  padding:12px 14px 14px;
  border-radius:22px;
  background:radial-gradient(circle at top, rgba(255,122,0,0.25), rgba(5,5,20,0.98));
  border:1px solid rgba(255,122,0,0.55);
  font-size:13px;
  color:var(--muted);
  box-shadow:0 24px 60px rgba(0,0,0,0.9);
  min-width:190px;
}

.quick-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:6px;
}

.quick-title {
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:#f9fafb;
}

.quick-logo {
  height:20px;
  width:auto;
  opacity:0.95;
}

.quick-links a {
  padding:5px 9px;
  border-radius:12px;
}

.quick-premium-btn {
  margin-top:6px;
  background:linear-gradient(135deg, #ff7a00, #ffb347);
  color:#050509;
  font-weight:600;
  text-align:center;
  box-shadow:0 12px 32px rgba(255,122,0,0.55);
}

@media (max-width:1100px) {
  .quick-links {
    position:static;
    margin-top:8px;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:flex-end;
  }
  .quick-links a { flex:1 0 auto; text-align:center; }
}

/* BUTTONS & HOVER */

.btn-primary, .btn-secondary {
  padding:9px 16px;
  border-radius:999px;
  font-size:14px;
  border:1px solid transparent;
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
}

.btn-primary {
  background:linear-gradient(135deg, #ff7a00, #ffb347);
  color:#050509;
  font-weight:600;
  box-shadow:0 12px 35px rgba(255,122,0,0.35);
}

.btn-secondary {
  border-color:rgba(155,155,181,0.6);
  color:var(--muted);
  background:rgba(16,16,25,0.95);
}

.link-hover,
.btn-primary,
.btn-secondary,
.quick-premium-btn,
.price-button,
.main-nav a,
.footer-links a,
.quick-links a {
  transition:background 0.15s, transform 0.1s, box-shadow 0.15s, border-color 0.15s, color 0.15s;
}

.link-hover:hover,
.btn-primary:hover,
.btn-secondary:hover,
.quick-premium-btn:hover,
.price-button:hover,
.main-nav a:hover,
.footer-links a:hover,
.quick-links a:hover {
  transform:translateY(-1px);
  box-shadow:0 12px 30px rgba(255,122,0,0.25);
  color:var(--accent);
}

/* PAGE STRUCTURE */

main { flex:1; display:flex; justify-content:center; align-items:flex-start; }
.page-main { align-items:flex-start; }

.page-container {
  width:100%;
  max-width:960px;
  margin:0 auto;
}

.page-padding { margin-top:8px; }

.auth-wrapper {
  display:grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap:32px;
  max-width:960px;
  width:100%;
}

@media (max-width:900px) {
  body { padding:16px; }
  .header { flex-direction:column; align-items:flex-start; }
  .header-right { width:100%; align-items:flex-start; }
  .auth-wrapper { grid-template-columns:1fr; }
}

/* CARDS */

.card {
  background:linear-gradient(145deg, rgba(255,122,0,0.06), rgba(15,15,32,0.95));
  border-radius:var(--radius-xl);
  padding:28px 26px 24px;
  border:1px solid rgba(255,122,0,0.18);
  box-shadow:0 24px 60px rgba(0,0,0,0.65);
}

.badge {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(5,5,20,0.9);
  border:1px solid rgba(155,155,181,0.2);
  font-size:11px;
  color:var(--muted);
  margin-bottom:14px;
}

.badge span {
  width:8px;
  height:8px;
  border-radius:999px;
  background:radial-gradient(circle, #22c55e 0, #166534 55%, #020617 100%);
  box-shadow:0 0 14px rgba(34,197,94,0.7);
}

.hero-title { font-size:26px; margin-bottom:8px; }
.hero-sub { font-size:14px; color:var(--muted); margin-bottom:18px; }

.hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:14px;
}

.hero-note { font-size:11px; color:var(--muted); }

/* SECONDARY CARD */

.secondary-card {
  background:rgba(10,10,20,0.95);
  border-radius:var(--radius-xl);
  border:1px solid rgba(155,155,181,0.2);
  padding:24px 22px 20px;
}

.secondary-card h2 {
  font-size:18px;
  margin-bottom:10px;
}

.secondary-card ul {
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:14px 0 18px;
  font-size:13px;
  color:var(--muted);
}

.secondary-card li::before { content:"• "; color:var(--accent); }

.card-mini-brand {
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
  font-size:12px;
  color:var(--muted);
}

.mini-brand-logo {
  height:22px;
  width:auto;
}

/* SMALL ELEMENTS */

.tag {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  padding:5px 9px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent);
  margin-top:6px;
}

.small-text { font-size:12px; color:var(--muted); }

.steps-row {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 8px;
}

.step-pill {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(10,10,25,0.9);
  border:1px solid rgba(155,155,181,0.3);
  font-size:11px;
  color:var(--muted);
}

.step-index {
  width:16px;
  height:16px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
}

/* FORM */

form {
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:8px;
}

label {
  font-size:13px;
  color:var(--muted);
  margin-bottom:4px;
  display:block;
}

input, select, textarea {
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(155,155,181,0.35);
  background:rgba(5,5,15,0.85);
  color:var(--text);
  font-size:14px;
}

input:focus, select:focus, textarea:focus {
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 1px rgba(255,122,0,0.35);
}

textarea { min-height:100px; resize:vertical; }

.submit-btn { margin-top:10px; width:100%; justify-content:center; }

/* TABLES */

.table-wrapper { margin-top:12px; overflow-x:auto; }

table {
  width:100%;
  border-collapse:collapse;
  font-size:12px;
}

th, td {
  padding:8px 6px;
  border-bottom:1px solid rgba(155,155,181,0.35);
  text-align:left;
  white-space:nowrap;
}

th { color:var(--muted); font-weight:500; }

/* PRICING */

.pricing-block {
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:10px;
}

.price-button {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(5,5,20,0.95);
  border:1px solid rgba(155,155,181,0.35);
  font-size:13px;
}

.price-label { color:var(--muted); display:flex; flex-direction:column; gap:3px; }
.price-value { text-align:right; }

.badge-small {
  font-size:10px;
  padding:3px 7px;
  border-radius:999px;
  background:rgba(155,155,181,0.15);
  color:var(--muted);
}

.old-price {
  text-decoration:line-through;
  color:var(--muted);
  font-size:12px;
  margin-right:4px;
}

.new-price {
  color:var(--accent);
  font-weight:600;
}

.price-discount {
  display:block;
  font-size:11px;
  color:var(--accent);
}

/* Featured 3 mois */
.featured-plan {
  background:radial-gradient(circle at top left, rgba(255,122,0,0.22), rgba(5,5,20,0.98));
  border-color:rgba(255,122,0,0.7);
  box-shadow:0 18px 45px rgba(255,122,0,0.5);
}

/* COUPON */

.coupon-block { margin-top:18px; }

.coupon-row {
  display:flex;
  gap:8px;
  margin-top:4px;
  margin-bottom:4px;
}

.coupon-row input { flex:1; }

.coupon-ok { color:#22c55e; }
.coupon-error { color:var(--error); }

/* INFO GRID */

.info-grid {
  margin-top:32px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap:18px;
}

.info-card {
  background:rgba(10,10,25,0.95);
  border-radius:18px;
  border:1px solid rgba(155,155,181,0.25);
  padding:16px 18px;
  font-size:13px;
  color:var(--muted);
}

.info-card h3 {
  font-size:15px;
  margin-bottom:8px;
  color:var(--text);
}

.info-card ul { padding-left:18px; margin-bottom:6px; }

.link-inline {
  font-size:12px;
  color:var(--accent);
}

/* PAIEMENT */

.payment-logos {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:16px 0 6px;
}

.pay-logo {
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(155,155,181,0.4);
  background:rgba(5,5,15,0.9);
  font-size:11px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.payment-summary {
  margin-top:14px;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(5,5,15,0.9);
  border:1px solid rgba(155,155,181,0.35);
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:13px;
}

.summary-label { font-size:11px; color:var(--muted); }
.summary-value { font-weight:500; }
.summary-discount { font-size:11px; color:var(--accent); margin-top:4px; }

.highlight-box {
  margin-top:16px;
  padding:10px 12px;
  border-radius:14px;
  border:1px dashed rgba(155,155,181,0.5);
  background:rgba(5,5,18,0.9);
}

/* TRUST GRID */

.trust-grid {
  margin-top:20px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
  gap:14px;
}

.trust-card {
  background:rgba(5,5,18,0.95);
  border-radius:16px;
  border:1px solid rgba(155,155,181,0.35);
  padding:12px 14px;
  font-size:13px;
  color:var(--muted);
}

.trust-card h3 {
  font-size:14px;
  margin-bottom:6px;
}

/* LEGAL */

.legal-card {
  background:rgba(10,10,20,0.95);
  border-radius:var(--radius-xl);
  border:1px solid rgba(155,155,181,0.2);
  padding:24px 22px 22px;
  max-width:900px;
  margin:20px auto 0;
  font-size:13px;
  color:var(--muted);
}

.legal-card h1 {
  font-size:22px;
  margin-bottom:12px;
  color:var(--text);
}

.legal-card h2 {
  font-size:15px;
  margin-top:16px;
  margin-bottom:6px;
  color:var(--text);
}

.legal-card p { margin-bottom:6px; }
.legal-card ul { margin-left:18px; margin-bottom:6px; }

/* RESPONSIBLE BANNER */

.responsible-banner {
  max-width:1120px;
  margin:24px auto 0;
  padding:10px 14px;
  border-radius:14px;
  background:rgba(5,5,18,0.95);
  border:1px solid rgba(255,122,0,0.45);
  font-size:11px;
  color:var(--muted);
  display:flex;
  gap:8px;
  align-items:flex-start;
}

.resp-icon { font-size:14px; }

/* FOOTER */

footer {
  max-width:1120px;
  margin:16px auto 0;
  padding-top:12px;
  border-top:1px solid rgba(50,50,80,0.7);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-size:11px;
  color:var(--muted);
  flex-wrap:wrap;
}

.footer-links {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

@media (max-width:600px) {
  .price-button {
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
  }
  .payment-summary { flex-direction:column; }
}
