*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #090312;
  --bg-soft: #13071f;
  --panel: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.12);
  --text: #f5f3ff;
  --muted: #d6ccff;
  --accent: #8b5cf6;
  --accent-strong: #6d28d9;
  --shadow: 0 20px 55px rgba(0,0,0,0.35);
  --radius: 24px;
  --header-height: 86px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(139,92,246,0.24), transparent 28%),
    radial-gradient(circle at bottom right, rgba(109,40,217,0.20), transparent 24%),
    linear-gradient(180deg, #08020f 0%, #0b0514 55%, #090312 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(9, 3, 18, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
}

.header-cta {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  padding: calc(var(--header-height) + 56px) 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 44px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  padding: 10px 16px;
  border: 1px solid rgba(167,139,250,0.32);
  border-radius: 999px;
  background: rgba(139,92,246,0.12);
  color: #ddd6fe;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: .02em;
}

h1, h2, h3 {
  line-height: 1.08;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.1rem);
  margin-top: 20px;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-lead {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  color: #f5f3ff;
  max-width: 700px;
  margin: 0 0 18px;
}

.hero-text,
.panel p,
.newsletter-text,
.form-note,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  font-size: 1.08rem;
  max-width: 720px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-tags span {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: #e9e2ff;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: .95rem;
  font-weight: 600;
}

.panel,
.newsletter-wrap {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.newsletter-wrap {
  padding: 34px;
  min-height: 100%;
}

.section {
  padding: 62px 0;
}

.section-heading {
  margin-bottom: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel {
  padding: 28px;
}

.panel-highlight {
  background:
    radial-gradient(circle at top right, rgba(139,92,246,0.24), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.05));
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  font-weight: 700;
  color: #efeaff;
  font-size: 1.15rem;
}

.field-group input {
  width: 100%;
  min-height: 62px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: white;
  padding: 0 18px;
  font-size: 1.08rem;
  outline: none;
}

.field-group input::placeholder {
  color: #c4b5fd;
}

.field-group input:focus {
  border-color: rgba(168,85,247,0.75);
  box-shadow: 0 0 0 4px rgba(139,92,246,0.16);
}

.newsletter-form button {
  grid-column: 1 / -1;
  min-height: 62px;
  font-size: 1.08rem;
  width: 100%;
}

.form-note {
  font-size: 0.98rem;
  margin-top: 16px;
}

.form-note a {
  color: #e9ddff;
}

.success-message {
  margin-top: 14px;
  color: #d8b4fe;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0 36px;
  margin-top: 26px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #a855f7, #6d28d9);
  color: white;
}

.btn-outline {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.14);
  color: white;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--header-height) - 4px);
    left: 20px;
    right: 20px;
    padding: 18px;
    background: rgba(9, 3, 18, 0.98);
    border: 1px solid var(--border);
    border-radius: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-left: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .newsletter-form button {
    grid-column: auto;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .logo {
    width: 190px;
  }

  .newsletter-wrap,
  .panel {
    padding: 22px;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}


/* ===== Cookie Banner Styling ===== */

.cookie-banner{
  position:fixed;
  left:20px;
  right:20px;
  bottom:20px;
  z-index:1200;
}

.cookie-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:20px 22px;
  background:rgba(9,3,18,0.96);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:22px;
  box-shadow:0 20px 55px rgba(0,0,0,0.35);
  backdrop-filter:blur(16px);
}

.cookie-inner p{
  margin:0;
  font-size:0.95rem;
}

.cookie-actions{
  display:flex;
  gap:12px;
  flex-shrink:0;
}

.cookie-actions .btn{
  min-height:46px;
  white-space:nowrap;
}

/* responsive */
@media (max-width:980px){
  .cookie-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .cookie-actions{
    width:100%;
    flex-wrap:wrap;
  }

  .cookie-actions .btn{
    flex:1 1 220px;
  }
}

@media (max-width:640px){
  .cookie-banner{
    left:12px;
    right:12px;
    bottom:12px;
  }

  .cookie-inner{
    padding:16px;
    border-radius:18px;
  }

  .cookie-actions .btn{
    flex:1 1 100%;
    width:100%;
  }
}


.cookie-banner.hidden{
  display:none;
}
