/* ================================================================
   NETZWERK24 – Stylesheet
   ================================================================ */

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

:root {
  /* Backgrounds */
  --c-bg:       #07101e;
  --c-surface:  #0b1629;
  --c-card:     #0e1d35;
  --c-card-h:   #132240;

  /* Borders */
  --c-border:   rgba(148, 163, 184, .07);
  --c-border-h: rgba(37, 99, 235, .35);

  /* Text */
  --c-text-1:   #eef2f7;
  --c-text-2:   #94a3b8;
  --c-text-3:   #5a7090;

  /* Brand */
  --c-blue:     #2563eb;
  --c-blue-l:   #3b82f6;
  --c-blue-xl:  #60a5fa;
  --c-orange:   #f97316;
  --c-orange-l: #fb923c;

  /* Shape */
  --r-sm:  .375rem;
  --r-md:  .75rem;
  --r-lg:  1.125rem;
  --r-xl:  1.5rem;
  --r-2xl: 2rem;

  /* Motion */
  --t:      .2s ease;
  --t-slow: .45s cubic-bezier(.16, 1, .3, 1);
}

html {
  scroll-behavior: smooth;
  background: var(--c-bg); /* Fallback wenn JS deaktiviert */
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  background: transparent; /* Canvas übernimmt den Hintergrund */
  color: var(--c-text-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Seiteninhalt über Canvas-Ebene heben */
body > header,
body > main,
body > footer {
  position: relative;
  z-index: 1;
}

img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; }
ul   { list-style: none; }

/* ── Typography Utilities ─────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(130deg, var(--c-blue-l) 0%, var(--c-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ───────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px)  { .container { padding: 0 2rem;   } }
@media (min-width: 1200px) { .container { padding: 0 2.5rem; } }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.25rem;
  border-radius: var(--r-lg);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--t);
  border: 1.5px solid transparent;
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
}
.btn-primary:hover {
  background: var(--c-blue-l);
  border-color: var(--c-blue-l);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, .45);
}

.btn-outline {
  background: transparent;
  color: var(--c-text-2);
  border-color: var(--c-border);
}
.btn-outline:hover {
  border-color: rgba(37, 99, 235, .4);
  color: var(--c-text-1);
  background: rgba(37, 99, 235, .06);
}

.btn-lg {
  padding: .875rem 1.875rem;
  font-size: 1rem;
  border-radius: var(--r-xl);
}

/* ── Glow helper ──────────────────────────────────────────────── */
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}

/* ================================================================
   HEADER
   ================================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 16, 30, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--c-border);
}

.nav {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 2rem;
}

.logo { flex-shrink: 0; }

/* Desktop nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: .125rem;
  flex: 1;
  justify-content: center;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link {
  padding: .5rem .875rem;
  color: var(--c-text-2);
  font-size: .9rem;
  font-weight: 500;
  border-radius: var(--r-md);
  transition: color var(--t), background var(--t);
}
.nav-link:hover,
.nav-link.active {
  color: var(--c-text-1);
  background: rgba(255, 255, 255, .05);
}

/* Language switcher */
.lang-switcher {
  display: none;
  align-items: center;
  gap: .125rem;
}
@media (min-width: 768px) { .lang-switcher { display: flex; } }

.lang-btn {
  padding: .3rem .45rem;
  border-radius: var(--r-sm);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-text-3);
  transition: color var(--t), background var(--t);
  line-height: 1;
}
.lang-btn:hover        { color: var(--c-text-1); background: rgba(255,255,255,.06); }
.lang-btn--active      { color: var(--c-blue-xl) !important; }

.lang-switcher--drawer {
  display: flex;
  margin: .5rem 0;
  padding: .5rem 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

/* Desktop CTA */
.nav-cta {
  margin-left: auto;
  display: none;
}
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }

/* Hamburger */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text-2);
  cursor: pointer;
  margin-left: auto;
  transition: border-color var(--t), color var(--t);
  flex-shrink: 0;
}
.nav-toggle:hover { border-color: var(--c-blue-l); color: var(--c-text-1); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 768px) { .nav-toggle { display: none; } }

/* Mobile drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  gap: .25rem;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 1rem 1.5rem 1.25rem;
}
.nav-drawer.open { display: flex; }
.nav-drawer .nav-link { padding: .625rem .875rem; }
.nav-drawer .btn { margin-top: .5rem; width: 100%; justify-content: center; }
@media (min-width: 768px) { .nav-drawer { display: none !important; } }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding: 5rem 0 6rem;
  overflow: hidden;
}

/* Background layers */
.hero-backdrop { position: absolute; inset: 0; z-index: 0; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 80%);
}

.glow-blue-hero {
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(37, 99, 235, .22) 0%, transparent 65%);
  top: -280px; left: -220px;
}
.glow-orange-hero {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(249, 115, 22, .14) 0%, transparent 65%);
  bottom: -160px; right: -100px;
}

/* Fade to next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--c-bg));
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .375rem 1rem;
  background: rgba(37, 99, 235, .1);
  border: 1px solid rgba(37, 99, 235, .25);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--c-blue-xl);
  margin-bottom: 1.875rem;
  letter-spacing: .01em;
}

.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-blue-l);
  flex-shrink: 0;
  animation: pulse 2.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, .6); }
  50%       { box-shadow: 0 0 0 6px rgba(59, 130, 246, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 7.5vw, 4.75rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.04em;
  margin-bottom: 1.625rem;
}

.hero-desc {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--c-text-2);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: 3rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.chip {
  padding: .3rem .875rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  font-size: .775rem;
  font-weight: 500;
  color: var(--c-text-3);
  letter-spacing: .01em;
}

.hero-b2b-note {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.125rem;
  font-size: .775rem;
  font-weight: 500;
  color: var(--c-text-3);
  letter-spacing: .01em;
  border-left: 2px solid rgba(249, 115, 22, .4);
  padding-left: .625rem;
}

/* ================================================================
   SECTION SHARED
   ================================================================ */
.section { padding: 6rem 0; }

.section--alt {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.75rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-blue-l);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--c-text-2);
  line-height: 1.75;
}

/* ================================================================
   SERVICE CARDS
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.125rem;
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: 1.875rem;
  transition: background var(--t-slow), border-color var(--t-slow),
              transform var(--t-slow), box-shadow var(--t-slow);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(37, 99, 235, .07), transparent 55%);
  opacity: 0;
  transition: opacity var(--t-slow);
  pointer-events: none;
}

.card:hover {
  background: var(--c-card-h);
  border-color: var(--c-border-h);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45), 0 0 0 1px rgba(37, 99, 235, .12);
}
.card:hover::after { opacity: 1; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border-radius: var(--r-lg);
  margin-bottom: 1.375rem;
}

.card-icon--blue {
  background: rgba(37, 99, 235, .12);
  border: 1px solid rgba(37, 99, 235, .2);
  color: var(--c-blue-l);
}
.card-icon--orange {
  background: rgba(249, 115, 22, .1);
  border: 1px solid rgba(249, 115, 22, .22);
  color: var(--c-orange);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .625rem;
}

.card-desc {
  font-size: .875rem;
  color: var(--c-text-2);
  line-height: 1.7;
  margin-bottom: 1.375rem;
}

.card-list { display: flex; flex-direction: column; gap: .4rem; }

.card-list li {
  font-size: .815rem;
  color: var(--c-text-3);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.card-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .52em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-blue-l);
}

/* ================================================================
   USPs
   ================================================================ */
.usps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .usps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .usps-grid { grid-template-columns: repeat(4, 1fr); } }

.usp {
  padding: 1.75rem;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--c-border);
  text-align: center;
  transition: border-color var(--t-slow), background var(--t-slow);
}
.usp:hover {
  border-color: rgba(37, 99, 235, .2);
  background: rgba(37, 99, 235, .04);
}

.usp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  background: rgba(37, 99, 235, .08);
  border: 1px solid rgba(37, 99, 235, .15);
  color: var(--c-blue-l);
  margin: 0 auto 1.25rem;
}

.usp h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}

.usp p {
  font-size: .85rem;
  color: var(--c-text-2);
  line-height: 1.7;
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section { padding: 3rem 0 7rem; }

.cta-card {
  position: relative;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: 5rem 2rem;
  text-align: center;
  overflow: hidden;
}

.glow-cta-blue {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, .2) 0%, transparent 65%);
  top: -260px; left: -160px;
  opacity: .75;
}
.glow-cta-orange {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, .14) 0%, transparent 65%);
  bottom: -220px; right: -120px;
  opacity: .75;
}

.cta-inner { position: relative; z-index: 1; }

.cta-title {
  font-size: clamp(1.875rem, 4.5vw, 2.875rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin: .875rem 0 1.125rem;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--c-text-2);
  max-width: 480px;
  margin: 0 auto 2.25rem;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 2.25rem 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.625rem;
}

.footer-nav a {
  font-size: .875rem;
  color: var(--c-text-3);
  font-weight: 500;
  transition: color var(--t);
}
.footer-nav a:hover { color: var(--c-text-1); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: .8rem;
  color: var(--c-text-3);
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a {
  font-size: .8rem;
  color: var(--c-text-3);
  transition: color var(--t);
}
.footer-legal a:hover { color: var(--c-text-2); }

/* ================================================================
   NEWSLETTER SECTION
   ================================================================ */
.nl-section { background: var(--c-surface); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }

.nl-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.nl-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-orange));
}
@media (min-width: 860px) {
  .nl-card { grid-template-columns: 1fr 1.2fr; gap: 4rem; padding: 3rem 3.5rem; }
}

.nl-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin: .75rem 0 .875rem;
}

.nl-desc {
  font-size: .9rem;
  color: var(--c-text-2);
  line-height: 1.75;
}

/* Input row */
.nl-input-row {
  display: flex;
  gap: .625rem;
  margin-bottom: .875rem;
}

.nl-input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,.04);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  color: var(--c-text-1);
  font-family: inherit;
  font-size: .9rem;
  padding: .75rem 1rem;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  outline: none;
}
.nl-input::placeholder { color: var(--c-text-3); }
.nl-input:focus {
  border-color: var(--c-blue-l);
  background: rgba(37,99,235,.05);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.nl-btn { flex-shrink: 0; }

.nl-check { font-size: .8rem; }

/* Feedback messages */
.nl-feedback {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-lg);
  font-size: .875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.nl-feedback svg { flex-shrink: 0; margin-top: .1rem; }
.nl-feedback--ok   { background: rgba(34,197,94,.08);   border: 1px solid rgba(34,197,94,.22);  color: #86efac; }
.nl-feedback--err  { background: rgba(239,68,68,.08);   border: 1px solid rgba(239,68,68,.2);   color: #fca5a5; }
.nl-feedback--info { background: rgba(59,130,246,.08);  border: 1px solid rgba(59,130,246,.2);  color: #93c5fd; }

/* Screen-reader only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ================================================================
   COOKIE CONSENT BANNER
   ================================================================ */
.cc-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  width: calc(100% - 2rem);
  max-width: 780px;
  background: #111e35;
  border: 1px solid rgba(37, 99, 235, .25);
  border-radius: var(--r-2xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255,255,255,.04);
  z-index: 9999;
  padding: 1.5rem;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), opacity .4s ease;
  opacity: 0;
}
.cc-banner--visible  { transform: translateX(-50%) translateY(0); opacity: 1; }
.cc-banner--hiding   { transform: translateX(-50%) translateY(calc(100% + 2rem)); opacity: 0; }

@media (min-width: 640px) { .cc-banner { padding: 1.75rem 2rem; } }

/* Main row */
.cc-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: rgba(37, 99, 235, .12);
  border: 1px solid rgba(37, 99, 235, .2);
  color: var(--c-blue-l);
}

.cc-text {
  font-size: .85rem;
  color: var(--c-text-2);
  line-height: 1.65;
}
.cc-text strong { color: var(--c-text-1); font-weight: 600; display: block; margin-bottom: .2rem; }
.cc-text a { color: var(--c-blue-xl); text-decoration: underline; text-underline-offset: 2px; }

/* Settings panel */
.cc-settings {
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.cc-category + .cc-category { margin-top: 1rem; }
.cc-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cc-category-name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-text-1);
  margin-bottom: .25rem;
}
.cc-category-desc {
  font-size: .78rem;
  color: var(--c-text-3);
  line-height: 1.55;
}
.cc-divider {
  height: 1px;
  background: var(--c-border);
  margin: 1rem 0;
}

/* Toggle switch */
.cc-toggle {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  cursor: pointer;
}
.cc-toggle-label {
  font-size: .75rem;
  font-weight: 600;
  color: #22c55e;
  white-space: nowrap;
}
.cc-toggle--locked { cursor: default; }
.cc-toggle-input { display: none; }
.cc-toggle-slider {
  position: relative;
  width: 40px; height: 22px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid var(--c-border);
  border-radius: 100px;
  transition: background var(--t), border-color var(--t);
  flex-shrink: 0;
}
.cc-toggle-slider::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-text-3);
  transition: transform var(--t), background var(--t);
}
.cc-toggle-input:checked + .cc-toggle-slider {
  background: rgba(37, 99, 235, .3);
  border-color: var(--c-blue-l);
}
.cc-toggle-input:checked + .cc-toggle-slider::after {
  background: var(--c-blue-l);
  transform: translateX(18px);
}

/* Action buttons */
.cc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.cc-actions-right { display: flex; gap: .75rem; flex-wrap: wrap; }

.cc-btn {
  padding: .6rem 1.125rem;
  border-radius: var(--r-lg);
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t);
  border: 1.5px solid transparent;
  white-space: nowrap;
  line-height: 1.4;
}
.cc-btn--ghost {
  background: transparent;
  color: var(--c-text-3);
  border-color: transparent;
  padding-left: 0;
}
.cc-btn--ghost:hover { color: var(--c-text-1); }

.cc-btn--outline {
  background: transparent;
  color: var(--c-text-2);
  border-color: var(--c-border);
}
.cc-btn--outline:hover {
  border-color: rgba(148,163,184,.25);
  color: var(--c-text-1);
}

.cc-btn--primary {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
}
.cc-btn--primary:hover {
  background: var(--c-blue-l);
  border-color: var(--c-blue-l);
  box-shadow: 0 4px 16px rgba(37,99,235,.4);
}

/* ================================================================
   CONTACT FORM
   ================================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr 1.6fr; gap: 4rem; }
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .75rem;
}

.contact-info-desc {
  font-size: .95rem;
  color: var(--c-text-2);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
}

.contact-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: rgba(37, 99, 235, .1);
  border: 1px solid rgba(37, 99, 235, .18);
  color: var(--c-blue-l);
}

.contact-detail-text { padding-top: .1rem; }
.contact-detail-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: .2rem;
}
.contact-detail-value {
  font-size: .9rem;
  color: var(--c-text-1);
  font-weight: 500;
}
.contact-detail-value a {
  color: inherit;
  transition: color var(--t);
}
.contact-detail-value a:hover { color: var(--c-blue-l); }

/* Form card */
.form-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: 2.25rem;
}
@media (min-width: 640px) { .form-card { padding: 2.5rem; } }

.form-fields { display: flex; flex-direction: column; gap: 1.125rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-text-2);
  letter-spacing: .02em;
}
.form-label .optional { font-weight: 400; color: var(--c-text-3); margin-left: .3rem; }

.form-input,
.form-select,
.form-textarea {
  background: rgba(255, 255, 255, .04);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text-1);
  font-family: inherit;
  font-size: .9rem;
  padding: .75rem 1rem;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  outline: none;
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--c-text-3); }
.form-input:hover, .form-select:hover, .form-textarea:hover {
  border-color: rgba(148, 163, 184, .18);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--c-blue-l);
  background: rgba(37, 99, 235, .05);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: rgba(255, 255, 255, .04);
  padding-right: 2.75rem;
}
.form-select option { background: #0e1d35; }

.form-textarea { resize: vertical; min-height: 130px; line-height: 1.65; }
.form-input.input-error,
.form-select.input-error,
.form-textarea.input-error { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,.15); }
.form-check.input-error .form-check-label { color: #f87171; }

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--c-border);
  border-radius: 4px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
  position: relative;
  margin-top: .15rem;
}
.form-check input[type="checkbox"]:checked {
  background: var(--c-blue);
  border-color: var(--c-blue);
}
.form-check input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  position: absolute;
  left: 4px; top: 1px;
  width: 6px; height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.form-check input[type="checkbox"]:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .2);
  outline: none;
}
.form-check-label {
  font-size: .825rem;
  color: var(--c-text-2);
  line-height: 1.65;
}
.form-check-label a {
  color: var(--c-blue-xl);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Honeypot */
.form-honeypot { display: none !important; visibility: hidden; }

/* Submit row */
.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: .25rem;
}
.form-submit-note { font-size: .775rem; color: var(--c-text-3); }

/* Feedback messages */
.form-feedback {
  display: none;
  align-items: flex-start;
  gap: .875rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-lg);
  font-size: .875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.form-feedback.show { display: flex; }
.form-feedback--success {
  background: rgba(34, 197, 94, .08);
  border: 1px solid rgba(34, 197, 94, .22);
  color: #86efac;
}
.form-feedback--error {
  background: rgba(239, 68, 68, .08);
  border: 1px solid rgba(239, 68, 68, .2);
  color: #fca5a5;
}
.form-feedback svg { flex-shrink: 0; margin-top: .1rem; }

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s cubic-bezier(.16, 1, .3, 1),
              transform .65s cubic-bezier(.16, 1, .3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for grid children */
.reveal-group > *:nth-child(1) { transition-delay: 0s; }
.reveal-group > *:nth-child(2) { transition-delay: .07s; }
.reveal-group > *:nth-child(3) { transition-delay: .14s; }
.reveal-group > *:nth-child(4) { transition-delay: .21s; }
.reveal-group > *:nth-child(5) { transition-delay: .28s; }
.reveal-group > *:nth-child(6) { transition-delay: .35s; }
.reveal-group > *:nth-child(7) { transition-delay: .42s; }

/* ================================================================
   NETWORK CANVAS ANIMATION
   ================================================================ */
#net-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
