:root {
  --bg: #07140F;
  --surface: rgba(13, 33, 24, 0.7);
  --surface-2: rgba(21, 51, 38, 0.75);
  --primary: #19D37E;
  --primary-hover: #13B96D;
  --secondary: #8EF0BE;
  --accent: #FFD54A;
  --text: #F4FFF9;
  --muted: #A8C7B7;
  --border: rgba(255, 255, 255, 0.10);
  --danger: #FF5F6D;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(circle at 80% 0, rgba(25, 211, 126, 0.15), transparent 40%), var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--secondary); text-decoration: none; transition: 0.2s ease; }
a:hover { color: var(--accent); text-shadow: 0 0 8px rgba(255, 213, 74, 0.5); }

button, input, textarea, select { font: inherit; transition: 0.3s ease; }

.container { width: min(100% - 32px, var(--max)); margin: auto; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 999; background: #fff; color: #000; padding: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 20, 15, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--text); letter-spacing: 0.2px; padding: 10px; }
.brand img { width: 70px; height: auto; }

.nav-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  color: var(--text);
  border-radius: 12px;
  padding: 9px 12px;
  cursor: pointer;
}

.nav {
  display: none;
  position: absolute;
  left: 16px;
  right: 16px;
  top: 72px;
  background: rgb(13 33 24 / 99%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.nav.open { display: grid; }
.nav a { padding: 10px 12px; color: var(--text); border-radius: 10px; }
.nav a:hover, .nav a[aria-current=page] { background: var(--surface-2); color: var(--secondary); text-shadow: 0 0 8px rgba(142, 240, 190, 0.4); }

.hero { padding: 64px 0 42px; }
.hero-grid { display: grid; gap: 34px; align-items: center; }

.eyebrow {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 7px 12px; border: 1px solid rgba(25, 211, 126, 0.35);
  border-radius: 999px; background: rgba(25, 211, 126, 0.08);
  color: var(--secondary); font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 0 15px rgba(25, 211, 126, 0.2);
}

.hero h1 { font-size: clamp(2.25rem, 8vw, 4.8rem); line-height: 1.02; margin: 18px 0; text-shadow: 0 0 20px rgba(255, 255, 255, 0.1); }
.hero p { font-size: 1.08rem; color: var(--muted); max-width: 720px; }

.hero-art {
  background: linear-gradient(145deg, rgba(13, 33, 24, 0.6), rgba(21, 51, 38, 0.4));
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 26px; padding: 22px;
  box-shadow: 0 0 30px rgba(25, 211, 126, 0.15);
  display: flex; justify-content: center;
}
.hero-art img { max-height: 440px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 12px; padding: 13px 18px; font-weight: 800; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--primary); color: #032217; box-shadow: 0 4px 15px rgba(25, 211, 126, 0.3); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; box-shadow: 0 6px 20px rgba(25, 211, 126, 0.5); }

.btn-secondary { background: rgba(255,255,255,0.05); backdrop-filter: blur(5px); border: 1px solid var(--border); color: var(--text); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }

.btn-small { padding: 9px 13px; font-size: 0.92rem; }

.trust-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.trust-item, .card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(25, 211, 126, 0.3); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.trust-item strong { display: block; font-size: 1.25rem; color: var(--secondary); text-shadow: 0 0 8px rgba(142, 240, 190, 0.3); }

section { padding: 48px 0; }
.section-head { max-width: 780px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(1.7rem, 5vw, 2.65rem); line-height: 1.15; margin: 0 0 10px; }
.section-head p, .muted { color: var(--muted); }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
.card h3 { margin-top: 0; }
.icon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(25, 211, 126, 0.12); font-size: 1.4rem; margin-bottom: 14px;
  border: 1px solid rgba(25, 211, 126, 0.2);
  color: var(--primary);
  box-shadow: inset 0 0 10px rgba(25, 211, 126, 0.1);
}

.ranking-wrap {
  overflow-x: auto; border-radius: 18px; border: 1px solid var(--border);
  background: var(--surface); backdrop-filter: blur(12px);
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
}
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 18px 15px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { background: rgba(21, 51, 38, 0.5); color: var(--secondary); font-weight: 700; }
tr:hover td { background: rgba(255,255,255,0.02); }
tr:last-child td { border-bottom: 0; }

.rank { font-weight: 900; color: var(--accent); font-size: 1.2rem; text-shadow: 0 0 8px rgba(255, 213, 74, 0.4); }
.tag {
  display: inline-block; background: rgba(142, 240, 190, 0.10); color: var(--secondary);
  border: 1px solid rgba(142, 240, 190, 0.25); padding: 4px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
}

.notice {
  padding: 18px 20px; border-left: 4px solid var(--accent); background: rgba(255, 213, 74, 0.08);
  border-radius: 12px; color: #fff5c5; margin-top: 20px; backdrop-filter: blur(5px);
}

.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  position: relative; padding: 24px 24px 24px 80px; background: var(--surface);
  backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 16px;
  transition: transform 0.2s ease;
}
.step:hover { transform: translateX(5px); border-color: rgba(25, 211, 126, 0.3); }
.step:before {
  counter-increment: step; content: counter(step); position: absolute; left: 24px; top: 24px;
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: var(--primary); color: #042017; font-weight: 900; box-shadow: 0 0 15px rgba(25, 211, 126, 0.4);
}
.step h3 { margin: 0 0 8px; }

/* FAQ Accordion */
.faq details {
  background: var(--surface); backdrop-filter: blur(12px); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; transition: border-color 0.3s;
}
.faq details[open] { border-color: rgba(25, 211, 126, 0.3); }
.faq summary {
  cursor: pointer; font-weight: 800; font-size: 1.1rem; list-style: none; position: relative; padding-right: 30px; outline: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--secondary); transition: transform 0.3s;
}
.faq details[open] summary::after { content: '−'; transform: translateY(-50%) rotate(180deg); }
.faq p { color: var(--muted); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.breadcrumb { padding: 24px 0 0; color: var(--muted); font-size: 0.92rem; }
.page-hero { padding: 42px 0 20px; }
.page-hero h1 { font-size: clamp(2rem, 7vw, 3.7rem); line-height: 1.08; margin: 12px 0; }

.content { max-width: 900px; }
.content h2 { margin-top: 38px; color: var(--text); }
.content h3 { margin-top: 26px; }
.content li { margin-bottom: 8px; }
.content p { font-size: 1.05rem; }

.callout {
  background: linear-gradient(135deg, rgba(25, 211, 126, 0.15), rgba(255, 213, 74, 0.05));
  backdrop-filter: blur(10px); border: 1px solid rgba(25, 211, 126, 0.3);
  border-radius: 20px; padding: 24px; margin: 24px 0;
}

.pros-cons { display: grid; gap: 18px; }
.pros-cons ul { margin: 0; padding-left: 20px; }

.mockshot { border: 1px solid var(--border); border-radius: 18px; background: rgba(0,0,0,0.3); padding: 12px; margin: 24px 0; }
.mockshot img { border-radius: 10px; }

/* Forms */
.form-grid { display: grid; gap: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--secondary); }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2); color: var(--text); border-radius: 12px; padding: 14px;
  backdrop-filter: blur(5px); transition: all 0.3s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--primary); background: rgba(25, 211, 126, 0.05);
  box-shadow: 0 0 15px rgba(25, 211, 126, 0.2);
}
.field textarea { min-height: 160px; resize: vertical; }
.form-grid label input[type="checkbox"] { margin-right: 8px; accent-color: var(--primary); width: 18px; height: 18px; vertical-align: bottom; }

.site-footer { margin-top: 60px; border-top: 1px solid var(--border); background: rgba(5, 16, 12, 0.9); }
.footer-grid { display: grid; gap: 24px; padding: 48px 0; }
.footer-links { display: grid; gap: 10px; }
.legal-strip { border-top: 1px solid var(--border); padding: 20px 0; color: var(--muted); font-size: 0.9rem; }
.legal-strip .container { text-align: center; }

.cookie-banner {
  position: fixed; z-index: 90; left: 14px; right: 14px; bottom: 14px;
  background: rgba(11, 29, 22, 0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(25, 211, 126, 0.3); border-radius: 18px; padding: 20px; box-shadow: 0 -10px 40px rgba(0,0,0,0.5); display: none;
}
.cookie-banner.show { display: block; animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(5px); z-index: 100; display: none; place-items: center; padding: 18px; }
.modal-backdrop.open { display: grid; }
.modal {
  width: min(100%, 620px); max-height: 90vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.cookie-row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); }

.switch { width: 50px; height: 28px; border-radius: 999px; background: rgba(255,255,255,0.1); position: relative; flex: none; cursor: pointer; border: 1px solid var(--border); transition: 0.3s; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; width: 22px; height: 22px; background: #fff; border-radius: 50%; left: 3px; top: 2px; transition: 0.3s; }
.switch input:checked + span { transform: translateX(20px); background: #000; }
.switch:has(input:checked) { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 10px rgba(25, 211, 126, 0.4); }

.policy-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.toc { background: var(--surface); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: 16px; padding: 22px; margin-bottom: 30px; }
.toc a { display: block; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.toc a:last-child { border-bottom: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (min-width: 760px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .trust-row { grid-template-columns: repeat(4, 1fr); }
  .pros-cons { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .form-grid.two { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; background: none; border: 0; padding: 0; box-shadow: none; backdrop-filter: none; }
  .nav a { padding: 8px 14px; font-size: 0.96rem; font-weight: 500; }
  .cookie-banner { left: auto; right: 24px; bottom: 24px; width: 420px; }
}

