:root {
  --bg: #0f1226;
  --bg-2: #121739;
  --card: #1a1f47;
  --primary: #675cf6;
  --primary-2: #8a7cff;
  --accent: #28c9b7;
  --text: #e9ecff;
  --muted: #b6b8d6;
  --danger: #ff6b6b;
  --warning: #ffd166;
  --success: #2ed573;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 16px;
  --gap: 22px;
  --trans: .25s ease;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--text);
  background: radial-gradient(1200px 800px at 20% -10%, rgba(103,92,246,.25), transparent 50%),
              radial-gradient(900px 600px at 110% 10%, rgba(40,201,183,.18), transparent 50%),
              linear-gradient(180deg,#0f1226 0%, #0e132c 100%);
  line-height: 1.55;
}

a { color: var(--primary-2); text-decoration: none; transition: color var(--trans), opacity var(--trans); }
a:hover { color: var(--accent); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.header {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(15,18,38,.65);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.navbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px; color: var(--text);
  font-weight: 700; letter-spacing: .2px;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; margin-top: -2px; }

.nav-links { display: flex; align-items: center; gap: 14px; }
.nav-links a {
  padding: 10px 14px; border-radius: 10px; color: var(--text);
}
.nav-links a.active, .nav-links a:hover {
  background: linear-gradient(180deg, rgba(103,92,246,.18), rgba(103,92,246,.06));
  color: #fff;
}

.cta-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0b0e20; font-weight: 700; padding: 10px 16px; border-radius: 12px;
  box-shadow: 0 8px 20px rgba(103,92,246,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
.cta-btn:hover { opacity: .9; }

.hero {
  padding: 64px 0 30px;
}
.hero-wrap {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center;
}
.hero h1 {
  font-size: 42px; line-height: 1.1; margin: 0 0 14px;
  background: linear-gradient(180deg,#fff 0%, #bfc3ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); margin: 0 0 20px; font-size: 18px; }
.hero .actions { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(26,31,71,.6); color: var(--text); font-weight: 600;
}
.btn:hover { border-color: rgba(255,255,255,.3); transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; border-color: transparent; }

.hero-media {
  background: radial-gradient(300px 220px at 70% 20%, rgba(103,92,246,.25), transparent 60%), var(--card);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.section {
  padding: 36px 0;
}
.section h2 {
  font-size: 28px; margin: 0 0 18px;
}
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-2px); }
.card img { width: 100%; height: 190px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.card h3 { margin: 10px 0 8px; font-size: 20px; }
.card p { color: var(--muted); margin: 0 0 10px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #0b0e20;
  background: linear-gradient(135deg, var(--warning), #ffe79a);
  padding: 6px 10px; border-radius: 999px; font-weight: 700;
}

.sidebar {
  background: rgba(26,31,71,.5); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
}
.sidebar h4 { margin: 0 0 10px; }
.sidebar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sidebar li a { display: block; padding: 10px 12px; background: rgba(255,255,255,.03); border-radius: 10px; }
.sidebar li a:hover { background: rgba(255,255,255,.06); }

.footer {
  margin-top: 40px; background: rgba(9,12,28,.65); border-top: 1px solid rgba(255,255,255,.06);
}
.footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--gap); padding: 28px 0; }
.footer h5 { margin: 0 0 10px; font-size: 14px; color: #dfe3ff; letter-spacing: .6px; text-transform: uppercase; }
.footer p, .footer a { color: var(--muted); font-size: 14px; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.08); padding: 12px 0 20px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer .legal a { margin-right: 10px; }

.socials { display: flex; align-items: center; gap: 10px; }
.socials a {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 10px;
}
.socials a:hover { background: rgba(255,255,255,.12); }

.notice {
  display: grid; grid-template-columns: 1fr .7fr; gap: var(--gap);
}

.fact {
  display: grid; gap: 10px; padding: 16px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(40,201,183,.18), rgba(40,201,183,.06));
  border: 1px solid rgba(40,201,183,.3);
}

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2000;
  display: none; gap: 14px; align-items: center;
  background: rgba(13,16,35,.98); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 14px; box-shadow: var(--shadow);
}
.cookie-banner p { margin: 0; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.cookie-btn { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: var(--text); padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.cookie-btn.primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #0b0e20; border: none; }
.cookie-btn.danger { background: rgba(255,107,107,.15); border-color: rgba(255,107,107,.35); color: #ffdede; }

.cookie-settings {
  position: fixed; right: 16px; bottom: 86px; z-index: 2001; display: none;
  width: min(460px, calc(100% - 32px)); background: rgba(13,16,35,.98);
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px; box-shadow: var(--shadow);
}
.cookie-settings h4 { margin: 0 0 8px; }
.cookie-settings label { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--muted); }
.cookie-settings .row { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }

.form {
  display: grid; gap: 14px;
}
.input, .textarea, select {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 12px 14px; color: var(--text);
}
.textarea { min-height: 140px; resize: vertical; }

.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; z-index: 2500;
}
.modal .box {
  width: min(520px, 92%); background: var(--card); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 20px; text-align: center; box-shadow: var(--shadow);
}

.tablet { display: none; }

@media (max-width: 980px) {
  .hero-wrap, .grid, .notice { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .tablet { display: inline-flex; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .footer .wrap { grid-template-columns: 1fr; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}
