/* ============================================
   Cyber Taktik Kılavuzu — Neo-Noir Dashboard
   taktikrehber.com.tr
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #07070d;
  --bg-secondary: #0d0d18;
  --bg-panel: #111122;
  --bg-card: #13132a;
  --bg-card-hover: #1a1a3a;
  --border-base: #1e1e3a;
  --border-glow: #00e5ff;
  --neon-cyan: #00e5ff;
  --neon-magenta: #ff2d95;
  --neon-green: #00ff88;
  --neon-amber: #ffb300;
  --text-primary: #e0e0ec;
  --text-secondary: #9898b8;
  --text-muted: #6a6a8a;
  --text-heading: #f0f0ff;
  --link-color: #00e5ff;
  --link-hover: #ff2d95;
  --success: #00ff88;
  --error: #ff4455;
  --warning: #ffb300;
  --font-main: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Code", "Consolas", "Courier New", monospace;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-glow: 0 0 15px rgba(0, 229, 255, 0.15);
  --shadow-glow-strong: 0 0 25px rgba(0, 229, 255, 0.3);
  --transition-base: 0.3s ease;
  --max-width: 1200px;
  --header-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--link-hover);
}

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

ul, ol {
  padding-left: 1.5em;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  line-height: 1.3;
  margin-bottom: 0.75em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1em;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Neon Line Decorators --- */
.neon-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  border: none;
  margin: 2rem 0;
}

.neon-line--magenta {
  background: linear-gradient(90deg, transparent, var(--neon-magenta), transparent);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-base);
  height: var(--header-height);
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  border: 2px solid var(--neon-cyan);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.site-logo span {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
  padding: 0;
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.08);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border-base);
  border-radius: var(--radius);
  padding: 10px 9px;
  cursor: pointer;
  width: 40px;
  height: 36px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .nav-list {
    display: flex;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(7, 7, 13, 0.97);
    border-bottom: 1px solid var(--border-base);
    padding: 0 20px;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
  }
  .nav-list.open {
    max-height: 600px;
    opacity: 1;
    padding: 10px 20px;
  }
  .nav-list a {
    padding: 10px 14px;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  height: 100%;
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: var(--neon-cyan);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 0 20px var(--neon-cyan);
}

.hero-content {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5em;
  letter-spacing: 1px;
}

.hero h1 .accent {
  color: var(--neon-cyan);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero .cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  font-family: var(--font-main);
}

.btn-primary {
  background: var(--neon-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
  background: #33ebff;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
  color: var(--bg-primary);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: var(--shadow-glow);
  color: var(--neon-cyan);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-base);
}

.btn-secondary:hover {
  border-color: var(--neon-cyan);
  box-shadow: var(--shadow-glow);
}

/* ============================================
   DATA CARDS (section cards with glow)
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 2rem 0;
}

.data-card {
  background: var(--bg-card);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.data-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.data-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.data-card:hover::before {
  opacity: 1;
}

.data-card .card-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--neon-cyan);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.05);
}

.data-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}

.data-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.data-card .card-link {
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.data-card .card-link::after {
  content: "→";
  transition: transform var(--transition-base);
}

.data-card:hover .card-link::after {
  transform: translateX(4px);
}

/* ============================================
   BREADCRUMBS (Terminal path style)
   ============================================ */
.breadcrumbs {
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumbs-inner {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.breadcrumbs .prompt {
  color: var(--neon-green);
  margin-right: 8px;
  user-select: none;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--neon-cyan);
}

.breadcrumbs .separator {
  margin: 0 6px;
  color: var(--text-muted);
  user-select: none;
}

.breadcrumbs .current {
  color: var(--neon-cyan);
}

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-content {
  padding: 40px 0 60px;
}

.page-content h1 {
  margin-bottom: 0.3em;
}

.page-content .page-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  position: relative;
  padding-left: 16px;
  margin-bottom: 1rem;
}

.content-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--neon-cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.content-section h3 {
  color: var(--neon-cyan);
  margin-top: 1.5rem;
}

/* Content panels */
.content-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 1.5rem 0;
}

.content-panel--highlight {
  border-left: 3px solid var(--neon-cyan);
}

.content-panel--warning {
  border-left: 3px solid var(--neon-amber);
}

/* Lists inside content */
.content-section ul,
.content-section ol {
  margin-bottom: 1em;
}

.content-section li {
  margin-bottom: 0.4em;
  color: var(--text-secondary);
}

.content-section li strong {
  color: var(--text-primary);
}

/* ============================================
   CONTENT IMAGE
   ============================================ */
.content-image {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-base);
  margin: 1.5rem 0;
  overflow: hidden;
}

.content-image img {
  width: 100%;
  display: block;
}

/* ============================================
   FAQ — Folding Panels
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 1.5rem 0;
}

.faq-item {
  border: 1px solid var(--border-base);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item.open {
  border-color: rgba(0, 229, 255, 0.3);
}

.faq-question {
  width: 100%;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  padding: 18px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-main);
  transition: background var(--transition-base);
}

.faq-question:hover {
  background: var(--bg-card-hover);
}

.faq-question::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--neon-cyan);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============================================
   TERMS / GLOSSARY TABLE
   ============================================ */
.glossary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.glossary-table th,
.glossary-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-base);
}

.glossary-table th {
  background: var(--bg-card);
  color: var(--neon-cyan);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.glossary-table td {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.glossary-table tr:hover td {
  background: rgba(0, 229, 255, 0.03);
}

.glossary-table td:first-child {
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

/* ============================================
   RELATED LINKS (İlgili İçerikler)
   ============================================ */
.related-links {
  background: var(--bg-panel);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 3rem;
}

.related-links h3 {
  color: var(--text-heading);
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-links h3::before {
  content: "//";
  color: var(--neon-cyan);
  font-family: var(--font-mono);
}

.related-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-links li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition-base);
  font-size: 0.92rem;
}

.related-links li a::before {
  content: "›";
  color: var(--neon-cyan);
  font-weight: bold;
}

.related-links li a:hover {
  background: rgba(0, 229, 255, 0.06);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-base);
  padding: 50px 0 30px;
  position: relative;
  z-index: 1;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--text-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--neon-cyan);
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition-base);
}

.footer-col ul li a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border-base);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-info-item .info-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-base);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 1rem;
  flex-shrink: 0;
  background: rgba(0, 229, 255, 0.05);
}

.contact-info-item .info-text {
  font-size: 0.92rem;
}

.contact-info-item .info-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.contact-info-item .info-value {
  color: var(--text-primary);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group label .required {
  color: var(--neon-magenta);
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-base);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: var(--font-main);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--neon-cyan);
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  cursor: pointer;
}

.form-message {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-top: 16px;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: var(--success);
}

.form-message.error {
  display: block;
  background: rgba(255, 68, 85, 0.08);
  border: 1px solid rgba(255, 68, 85, 0.3);
  color: var(--error);
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-base);
  padding: 20px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cookie-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
}

.cookie-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

.cookie-text a {
  color: var(--neon-cyan);
}

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

.cookie-btn {
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-main);
}

.cookie-btn--accept {
  background: var(--neon-cyan);
  color: var(--bg-primary);
}

.cookie-btn--accept:hover {
  background: #33ebff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.cookie-btn--reject {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-base);
}

.cookie-btn--reject:hover {
  border-color: var(--neon-magenta);
}

.cookie-btn--settings {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-base);
}

.cookie-btn--settings:hover {
  border-color: var(--neon-cyan);
}

/* Cookie Settings Panel */
.cookie-settings {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-base);
}

.cookie-settings.visible {
  display: block;
}

.cookie-setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(30, 30, 58, 0.5);
}

.cookie-setting-item:last-child {
  border-bottom: none;
}

.cookie-setting-label {
  font-size: 0.88rem;
  color: var(--text-primary);
}

.cookie-setting-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Toggle switch */
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-base);
  border-radius: 24px;
  transition: var(--transition-base);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: var(--transition-base);
}

.toggle-switch input:checked + .toggle-slider {
  border-color: var(--neon-cyan);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
  background: var(--neon-cyan);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-save-btn {
  margin-top: 16px;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content h2 {
  margin-top: 2rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
}

.legal-content strong {
  color: var(--text-primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Neon pulse on hero */
@keyframes neon-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero::after {
  animation: neon-pulse 3s ease-in-out infinite;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .fade-in,
  .slide-in-left {
    opacity: 1;
    transform: none;
  }
  .cookie-banner,
  .nav-list,
  .nav-toggle-bar {
    transition: none;
  }
  .nav-list.open {
    max-height: 600px;
    opacity: 1;
    padding: 10px 20px;
  }
  .hero::after {
    animation: none;
    opacity: 1;
  }
  .data-card:hover {
    transform: none;
  }
  .btn-primary:hover,
  .btn-outline:hover {
    transform: none;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 1.8rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .page-content { padding: 24px 0 40px; }
  .content-panel { padding: 20px; }
  .contact-grid { gap: 24px; }
  .cookie-main { flex-direction: column; align-items: stretch; }
  .cookie-buttons { justify-content: stretch; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  body::before,
  .site-header,
  .site-footer,
  .cookie-banner,
  .hero::before,
  .hero::after {
    display: none !important;
  }
  body {
    background: #fff;
    color: #222;
  }
  a {
    color: #222;
    text-decoration: underline;
  }
}
