/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-red:        #e63946;
  --c-red-dark:   #c1121f;
  --c-red-glow:   rgba(230,57,70,.18);
  --c-bg:         #0d0f14;
  --c-surface:    #161a23;
  --c-surface-2:  #1e2330;
  --c-border:     rgba(255,255,255,.07);
  --c-text:       #f0f2f7;
  --c-muted:      #7c8496;
  --c-success:    #34d399;
  --c-success-bg: rgba(52,211,153,.12);
  --c-error:      #f87171;
  --c-error-bg:   rgba(248,113,113,.12);
  --shadow-sm:    0 1px 3px rgba(0,0,0,.3);
  --shadow-md:    0 4px 24px rgba(0,0,0,.4);
  --shadow-xl:    0 24px 64px rgba(0,0,0,.6);
  --radius:       14px;
  --radius-sm:    8px;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
}

a { color: var(--c-red); text-decoration: none; transition: color .15s; }
a:hover { color: #ff6b74; text-decoration: underline; }
address { font-style: normal; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Cookie Overlay ===== */
.cookie-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 900;
  backdrop-filter: blur(4px);
}
.cookie-overlay.is-visible { display: block; }

/* ===== Cookie Modal ===== */
.cookie-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.95);
  z-index: 1000;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  box-shadow: var(--shadow-xl);
  width: min(640px, calc(100vw - 2rem));
  max-height: 90vh;
  overflow-y: auto;
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
}
.cookie-modal.is-visible {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cookie-modal__header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
}
.cookie-modal__icon { font-size: 2rem; margin-bottom: .75rem; }
.cookie-modal__header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .5rem;
}
.cookie-modal__header p {
  font-size: .875rem;
  color: var(--c-muted);
  line-height: 1.6;
}

/* ===== Cookie Categories ===== */
.cookie-modal__categories { padding: 0 2rem; }

.cookie-category {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--c-border);
}
.cookie-category:last-child { border-bottom: none; }

.cookie-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .6rem;
}
.cookie-category__info {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.cookie-category__info strong {
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-text);
}

.cookie-badge {
  font-size: .68rem;
  font-weight: 600;
  padding: .15rem .55rem;
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.cookie-badge--required {
  background: rgba(52,211,153,.15);
  color: var(--c-success);
}

.cookie-category__desc {
  font-size: .825rem;
  color: var(--c-muted);
  line-height: 1.55;
  margin-bottom: .75rem;
}

/* Cookie Table */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .78rem;
  color: var(--c-muted);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.cookie-table th {
  text-align: left;
  padding: .4rem .75rem;
  background: rgba(255,255,255,.04);
  color: var(--c-text);
  font-weight: 600;
  border-bottom: 1px solid var(--c-border);
}
.cookie-table td {
  padding: .4rem .75rem;
  border-bottom: 1px solid var(--c-border);
}
.cookie-table tr:last-child td { border-bottom: none; }

/* Toggle Switch */
.toggle {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle__track {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  border-radius: 26px;
  transition: background .2s;
}
.toggle__track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.toggle input:checked + .toggle__track { background: var(--c-red); }
.toggle input:checked + .toggle__track::after { transform: translateX(20px); }
.toggle--disabled { cursor: not-allowed; opacity: .8; }
.toggle--disabled .toggle__track { background: rgba(52,211,153,.5) !important; }

/* Cookie Modal Footer */
.cookie-modal__footer {
  display: flex;
  gap: .75rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--c-border);
  flex-wrap: wrap;
}
.cookie-modal__footer .btn { flex: 1; min-width: 110px; }

.cookie-modal__legal {
  padding: 0 2rem 1.5rem;
  font-size: .775rem;
  color: var(--c-muted);
  text-align: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .1s, box-shadow .2s;
  font-family: var(--font);
  letter-spacing: .01em;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--c-red);
  color: #fff;
  border-color: var(--c-red);
  box-shadow: 0 0 0 0 var(--c-red-glow);
}
.btn--primary:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
  box-shadow: 0 0 16px var(--c-red-glow);
  text-decoration: none;
}

.btn--secondary {
  background: rgba(255,255,255,.06);
  color: var(--c-muted);
  border-color: var(--c-border);
}
.btn--secondary:hover {
  background: rgba(255,255,255,.1);
  color: var(--c-text);
  text-decoration: none;
}

.btn--outline {
  background: transparent;
  color: var(--c-red);
  border-color: rgba(230,57,70,.4);
}
.btn--outline:hover {
  background: var(--c-red-glow);
  border-color: var(--c-red);
  text-decoration: none;
}

.btn--submit {
  width: 100%;
  padding: .9rem;
  font-size: 1rem;
  margin-top: .25rem;
}

/* ===== Header ===== */
.site-header {
  background: rgba(13,15,20,.85);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.site-header__logo:hover { text-decoration: none; }

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 14px var(--c-red-glow);
}
.logo-img--sm {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-text);
  letter-spacing: -.01em;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-header__nav a {
  color: var(--c-muted);
  font-size: .875rem;
  font-weight: 500;
  transition: color .15s;
}
.site-header__nav a:hover { color: var(--c-text); text-decoration: none; }

.nav-cta {
  background: var(--c-red) !important;
  color: #fff !important;
  padding: .45rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--c-red-dark) !important; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #0d0f14 0%, #161020 50%, #0f1218 100%);
  border-bottom: 1px solid var(--c-border);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230,57,70,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}
.hero__label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-red);
  background: rgba(230,57,70,.12);
  border: 1px solid rgba(230,57,70,.25);
  padding: .25rem .75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--c-text);
  margin-bottom: .5rem;
}
.hero__sub {
  font-size: 1rem;
  color: var(--c-muted);
}

/* ===== Main ===== */
.main-content { padding: 2.5rem 0 5rem; }

/* ===== Cards ===== */
.card {
  background: var(--c-surface);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}
.card--accent {
  background: linear-gradient(135deg, var(--c-surface) 0%, #1a1525 100%);
  border-color: rgba(230,57,70,.2);
}

.card__title-row { margin-bottom: 2rem; }
.card__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -.02em;
  margin-bottom: .35rem;
}
.card__sub {
  font-size: .9rem;
  color: var(--c-muted);
  margin: 0;
}

/* ===== Info Grid ===== */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-tile {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  transition: border-color .2s;
}
.info-tile:hover { border-color: rgba(230,57,70,.3); }

.info-tile__icon { font-size: 1.5rem; margin-bottom: .75rem; }

.info-tile h3 {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-red);
  margin-bottom: .6rem;
}
.info-tile p,
.info-tile address {
  font-size: .875rem;
  color: var(--c-muted);
  line-height: 1.7;
}
.info-tile a { color: var(--c-text); font-weight: 500; }
.info-tile a:hover { color: var(--c-red); }

.info-tile__note {
  font-size: .8rem;
  color: var(--c-muted);
  margin-bottom: .75rem !important;
}

/* ===== Social List ===== */
.social-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.social-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem .6rem;
  border-radius: 6px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--c-border);
  transition: background .15s, border-color .15s;
}
.social-list li:hover {
  background: rgba(230,57,70,.06);
  border-color: rgba(230,57,70,.2);
}
.social-icon { font-size: 1rem; flex-shrink: 0; }
.social-platform {
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-text);
  min-width: 90px;
}
.social-handle {
  font-size: .8rem;
  color: var(--c-muted);
  font-family: monospace;
}

/* ===== Disclaimer Grid ===== */
.disclaimer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--c-border);
  padding-top: 2rem;
}

.disclaimer-block h3 {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--c-muted);
  margin-bottom: .6rem;
}
.disclaimer-block p {
  font-size: .8rem;
  color: var(--c-muted);
  line-height: 1.65;
}

/* ===== Alerts ===== */
.alert {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: .9rem;
  font-weight: 500;
}
.alert__icon { font-weight: 700; flex-shrink: 0; margin-top: .05rem; }

.alert--success {
  background: var(--c-success-bg);
  color: var(--c-success);
  border: 1px solid rgba(52,211,153,.25);
}
.alert--error {
  background: var(--c-error-bg);
  color: var(--c-error);
  border: 1px solid rgba(248,113,113,.25);
}

/* ===== Contact Form ===== */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: .45rem; }

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-text);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.form-group input,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: var(--font);
  background: var(--c-surface-2);
  color: var(--c-text);
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px var(--c-red-glow);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.2); }

.required { color: var(--c-red); }

/* Checkbox */
.form-group--checkbox { flex-direction: row; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  font-size: .875rem;
  color: var(--c-muted);
  line-height: 1.55;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: .15rem;
  accent-color: var(--c-red);
  cursor: pointer;
}

.form-note {
  font-size: .78rem;
  color: var(--c-muted);
  opacity: .7;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 1.75rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  font-size: .875rem;
  color: var(--c-muted);
}
.footer__copy {
  font-size: .8rem;
  color: var(--c-muted);
}
.footer__copy a { color: var(--c-muted); }
.footer__copy a:hover { color: var(--c-red); }

.footer-link-btn {
  background: none;
  border: 1px solid var(--c-border);
  padding: .35rem .9rem;
  border-radius: 20px;
  font: inherit;
  font-size: .775rem;
  color: var(--c-muted);
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.footer-link-btn:hover {
  color: var(--c-red);
  border-color: rgba(230,57,70,.4);
}

/* ===== Responsive ===== */
@media (max-width: 700px) {
  .card { padding: 1.5rem; }
  .info-grid { grid-template-columns: 1fr; }
  .disclaimer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .site-header__nav { gap: 1rem; }
  .hero { padding: 2.5rem 0 2rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }

  .cookie-modal__header,
  .cookie-modal__categories,
  .cookie-modal__footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  .cookie-modal__legal { padding-left: 1.25rem; padding-right: 1.25rem; }
  .cookie-modal__footer { flex-direction: column; }
  .cookie-modal__footer .btn { width: 100%; }
}
