/* ===== CSS Variables ===== */
:root {
  --red: #B30000;
  --red-dark: #8B0000;
  --black: #1A1A1A;
  --white: #FFFFFF;
  --gray-light: #F5F5F5;
  --gray-mid: #E8E8E8;
  --gray-text: #666666;
  --font: Arial, Helvetica, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Utility ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-text);
  max-width: 680px;
  line-height: 1.6;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--red);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo span {
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links .active {
  opacity: 1;
  border-bottom: 2px solid var(--white);
  padding-bottom: 2px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--red-dark);
  padding: 24px;
  z-index: 999;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* ===== Hero ===== */
.hero {
  margin-top: var(--header-height);
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 50%, #2A1A1A 100%);
  color: var(--white);
  padding: 100px 0 80px;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(179, 0, 0, 0.5);
  border: 1px solid rgba(179, 0, 0, 0.7);
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 720px;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.hero-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 32px;
  max-width: 640px;
}

.hero-detail-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.hero-detail-value {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.hero-detail-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

/* ===== Hub Services Grid ===== */
.services-section {
  padding: 100px 0;
  background: var(--white);
}

.services-section .section-subtitle {
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  padding: 40px 32px;
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  transition: box-shadow 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(179, 0, 0, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--black);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.service-card .btn {
  align-self: flex-start;
}

/* Status badges */
.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.badge-active {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.3);
}

.badge-coming-soon {
  background: rgba(179, 0, 0, 0.08);
  color: var(--red);
  border: 1px solid rgba(179, 0, 0, 0.2);
}

/* ===== Value Strip (hub page) ===== */
.value-strip {
  padding: 64px 0;
  background: var(--gray-light);
}

.value-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.value-strip-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--black);
}

.value-strip-item p {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.5;
}

.value-strip-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* ===== Placeholder Page Hero ===== */
.placeholder-hero {
  margin-top: var(--header-height);
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 50%, #2A1A1A 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.placeholder-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.placeholder-hero .hero-sub {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.placeholder-content {
  padding: 80px 0;
  background: var(--white);
}

.placeholder-content .container {
  max-width: 720px;
}

.placeholder-features {
  list-style: none;
  margin: 32px 0 40px;
}

.placeholder-features li {
  font-size: 1rem;
  color: var(--gray-text);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-mid);
  padding-left: 28px;
  position: relative;
}

.placeholder-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.placeholder-cta {
  padding: 80px 0;
  background: var(--gray-light);
  text-align: center;
}

.placeholder-cta h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.placeholder-cta p {
  font-size: 1rem;
  color: var(--gray-text);
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  margin-top: var(--header-height);
  padding: 16px 0;
  background: var(--gray-light);
  font-size: 0.8rem;
  color: var(--gray-text);
}

.breadcrumb a {
  color: var(--red);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

/* Hero after breadcrumb has no margin-top */
.breadcrumb + .hero,
.breadcrumb + .placeholder-hero {
  margin-top: 0;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  padding: 32px 24px;
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  transition: box-shadow 0.2s;
}

.step-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.step-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ===== Our Approach ===== */
.approach {
  padding: 100px 0;
  background: var(--gray-light);
}

.approach-intro {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 720px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.approach-blocks {
  display: grid;
  gap: 40px;
  margin-bottom: 56px;
}

.approach-block h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--black);
}

.approach-block p {
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 1.7;
  max-width: 800px;
}

.expert-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  border-left: 4px solid var(--red);
}

.expert-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.expert-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.expert-card p {
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 1.7;
}

/* ===== Why Security.eu ===== */
.why-us {
  padding: 100px 0;
  background: var(--white);
}

.why-us .section-subtitle {
  margin-bottom: 48px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 32px;
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  transition: box-shadow 0.2s;
}

.value-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--black);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ===== Comparison Table ===== */
.comparison {
  padding: 100px 0;
  background: var(--gray-light);
}

.comparison-table-wrap {
  margin-top: 48px;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-mid);
}

.comparison-table thead th {
  background: var(--black);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.comparison-table thead th:first-child {
  border-radius: 8px 0 0 0;
}

.comparison-table thead th:last-child {
  border-radius: 0 8px 0 0;
}

.comparison-table tbody tr:hover {
  background: rgba(0,0,0,0.02);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--black);
}

.comparison-table .check {
  color: var(--red);
  font-weight: 700;
}

.comparison-table .competitor {
  color: var(--gray-text);
}

/* ===== What We Cover ===== */
.coverage {
  padding: 100px 0;
  background: var(--white);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.coverage-card {
  padding: 28px;
  background: var(--gray-light);
  border-radius: 8px;
  border-left: 3px solid var(--red);
}

.coverage-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.coverage-card p {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.5;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 50%, #2A1A1A 100%);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-section .btn-primary {
  font-size: 1.05rem;
  padding: 16px 36px;
}

.cta-contact {
  margin-top: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.cta-contact a {
  color: rgba(255,255,255,0.65);
}

.cta-contact a:hover {
  color: var(--white);
}

/* ===== Contact Form ===== */
.contact-form-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 50%, #2A1A1A 100%);
  color: var(--white);
}

.contact-form-section h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  text-align: center;
}

.contact-form-section > .container > p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.85);
}

.form-group label .optional {
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: var(--white);
  transition: border-color 0.2s, background 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255,255,255,0.12);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='rgba(255,255,255,0.5)'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: var(--black);
  color: var(--white);
}

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

.contact-form .btn-primary {
  font-size: 1.05rem;
  padding: 16px 36px;
  width: 100%;
}

.form-success {
  text-align: center;
  padding: 48px 0;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form-success p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
}

.form-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

.form-note a {
  color: rgba(255,255,255,0.6);
}

.form-note a:hover {
  color: var(--white);
}

/* ===== Footer ===== */
.footer {
  background: var(--red);
  color: var(--white);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer span {
  opacity: 0.75;
}

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

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 60px 0;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-details {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .value-strip-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .expert-card {
    padding: 24px;
  }

  .placeholder-hero h1 {
    font-size: 1.75rem;
  }

  .how-it-works,
  .approach,
  .why-us,
  .comparison,
  .coverage,
  .cta-section,
  .services-section {
    padding: 64px 0;
  }

  .placeholder-hero,
  .placeholder-content,
  .placeholder-cta {
    padding: 48px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-section h2 {
    font-size: 1.75rem;
  }

  .contact-form-section {
    padding: 64px 0;
  }
}

/* ===== About Section ===== */
.about-section {
  background: var(--black);
  padding: 96px 0;
  color: var(--white);
  text-align: center;
}

.about-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.about-section h2 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  color: var(--white);
}

.about-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  max-width: 720px;
  margin: 0 auto 56px;
}

.about-intro strong {
  color: var(--white);
}

.about-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 1px;
  transition: color 0.2s;
}

.about-link:hover {
  color: var(--red);
}

.about-values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-value-card {
  background: rgba(255, 255, 255, 0.04);
  border-top: 3px solid var(--red);
  padding: 40px 32px 36px;
  border-radius: 0 0 8px 8px;
  text-align: center;
}

.about-value-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.about-value-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.about-value-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

@media (max-width: 768px) {
  .about-values-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--red);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 9999;
  font-size: 0.875rem;
}

.cookie-banner a {
  color: var(--white);
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner-buttons button {
  padding: 8px 20px;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  font-size: 0.875rem;
  cursor: pointer;
  font-family: var(--font);
}

.cookie-banner-buttons .cookie-accept {
  background: var(--white);
  color: var(--red);
}

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

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}
