@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   ROOT VARIABLES
   ============================================================ */

:root {
  /* Colors */
  --bg-base: #0A0A0F;
  --bg-card: #12121A;
  --bg-section: #1A1A25;
  --bg-elevated: #1F1F2E;

  --text-primary: #F0F0F5;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;

  --cyan: #00F0FF;
  --cyan-dim: rgba(0, 240, 255, 0.15);
  --cyan-glow: rgba(0, 240, 255, 0.4);
  --purple: #A855F7;
  --purple-dim: rgba(168, 85, 247, 0.12);
  --purple-glow: rgba(168, 85, 247, 0.3);

  --border: rgba(255, 255, 255, 0.06);
  --border-cyan: rgba(0, 240, 255, 0.2);
  --border-hover: rgba(0, 240, 255, 0.4);

  /* Fonts */
  --font-headline: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Spacing */
  --section-padding: 120px;
  --section-padding-sm: 80px;
  --container-max: 1280px;
}

/* ============================================================
   RESET + BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ============================================================
   CONTAINER
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 40px;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-inline: 60px;
  }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1,
.h1 {
  font-family: var(--font-headline);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h2,
.h2 {
  font-family: var(--font-headline);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

h3,
.h3 {
  font-family: var(--font-headline);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

h4,
.h4 {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

p {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
  color: var(--text-secondary);
}

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

.text-secondary {
  color: var(--text-secondary);
}

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

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

.text-gradient {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

.label-small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #00B8CC 100%);
  color: #0A0A0F;
  border: 1px solid transparent;
  box-shadow: 0 0 0 rgba(0, 240, 255, 0);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover {
  box-shadow: 0 0 30px var(--cyan-glow), 0 0 60px rgba(0, 240, 255, 0.2);
  transform: translateY(-1px);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-ghost:hover {
  background: var(--cyan-dim);
  border-color: var(--border-hover);
  box-shadow: 0 0 20px var(--cyan-dim);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 12px;
}

.btn-lg {
  padding: 18px 44px;
  font-size: 15px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition-base), backdrop-filter var(--transition-base), padding var(--transition-base), border-color var(--transition-base);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.nav__logo:hover {
  opacity: 0.85;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  letter-spacing: 0.02em;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
}

.nav__cta {
  flex-shrink: 0;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile .nav__link {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
}

.nav__mobile .nav__link:hover {
  color: var(--cyan);
}

@media (max-width: 767px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav__links {
    gap: 24px;
  }

  .nav__link {
    font-size: 13px;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 100px;
  isolation: isolate;
}

.section {
  position: relative;
  z-index: 1;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, var(--purple-dim) 0%, transparent 70%);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}

.hero__glow-cyan {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite reverse;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-cyan);
  background: var(--cyan-dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 32px;
}

.hero__label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: glowPulse 2s ease-in-out infinite;
}

.hero__headline {
  font-family: var(--font-headline);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero__subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2.5s ease-in-out infinite;
  cursor: pointer;
  z-index: 1;
}

.hero__scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  margin-top: -6px;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section--alt {
  background: var(--bg-card);
}

.section--dark {
  background: var(--bg-section);
}

.section__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.section__headline {
  margin-bottom: 24px;
}

.section__subtitle {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 640px;
}

.section__subtitle--center {
  margin-inline: auto;
  text-align: center;
}

.section-header {
  margin-bottom: 72px;
}

.section-header--center {
  text-align: center;
}

/* Vision / Statement Sections */
.vision-section {
  padding: var(--section-padding) 0;
  display: flex;
  align-items: center;
  min-height: 60vh;
}

.vision-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.vision-section__inner--reverse {
  direction: rtl;
}

.vision-section__inner--reverse > * {
  direction: ltr;
}

.vision-section__text {
  max-width: 520px;
}

.vision-section__statement {
  font-family: var(--font-headline);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.vision-section__body {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
  color: var(--text-secondary);
}

.vision-section__visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.vision-section__visual-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, var(--purple-dim) 0%, transparent 70%);
  pointer-events: none;
}

/* Centered big-text vision block */
.vision-center {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  padding: var(--section-padding) 0;
}

.vision-center__statement {
  font-family: var(--font-headline);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 32px;
}

@media (max-width: 767px) {
  .vision-section__inner,
  .vision-section__inner--reverse {
    grid-template-columns: 1fr;
    gap: 48px;
    direction: ltr;
  }
}

@media (max-width: 1023px) {
  .vision-section__inner {
    gap: 48px;
  }
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  border-color: var(--border-cyan);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.06);
}

.card--elevated {
  background: var(--bg-elevated);
}

.card--glow {
  border-color: var(--border-cyan);
  box-shadow: 0 0 0 1px var(--border-cyan), 0 0 40px var(--cyan-dim), inset 0 0 40px rgba(0, 240, 255, 0.02);
}

.card-grid {
  display: grid;
  gap: 24px;
}

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

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 767px) {
  .card-grid--2,
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--cyan);
}

.card__headline {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.card__body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  padding: var(--section-padding) 0;
}

.cta-section__card {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 8vw, 96px) clamp(32px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0, 240, 255, 0.08), 0 0 160px rgba(168, 85, 247, 0.04);
}

.cta-section__card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.cta-section__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 240, 255, 0.04) 0%, transparent 100%);
  pointer-events: none;
}

.cta-section__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.cta-section__headline {
  max-width: 640px;
  margin: 0 auto 20px;
}

.cta-section__subtitle {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 40px;
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

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

.footer__logo {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--text-secondary);
}

.footer__bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__made-by {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__made-by span {
  color: var(--cyan);
  font-weight: 600;
}

@media (max-width: 767px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

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

/* ============================================================
   FORMS
   ============================================================ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-field {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 400;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form-field::placeholder {
  color: var(--text-muted);
}

.form-field:focus {
  border-color: var(--border-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
  outline: none;
}

.form-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  resize: vertical;
  min-height: 140px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

.form-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 44px 14px 18px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 400;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-select:focus {
  border-color: var(--border-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
  outline: none;
}

.form-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: -4px;
}

.form-error {
  font-size: 12px;
  color: #F87171;
  margin-top: -4px;
}

.form-grid {
  display: grid;
  gap: 24px;
}

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

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

/* ============================================================
   DIVIDER
   ============================================================ */

.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.divider--glow {
  background: linear-gradient(90deg, transparent, var(--border-cyan), transparent);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -60%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -60%) scale(1.08);
  }
}

@keyframes glowPulseSimple {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes gridMove {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(60px);
  }
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateX(-50%) translateY(8px);
    opacity: 1;
  }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 0.1s;
}

.reveal--delay-2 {
  transition-delay: 0.2s;
}

.reveal--delay-3 {
  transition-delay: 0.3s;
}

.reveal--delay-4 {
  transition-delay: 0.4s;
}

.reveal--delay-5 {
  transition-delay: 0.5s;
}

/* ============================================================
   UTILITY
   ============================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-4 {
  gap: 16px;
}

.gap-8 {
  gap: 32px;
}

.mt-4 {
  margin-top: 16px;
}

.mt-8 {
  margin-top: 32px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-8 {
  margin-bottom: 32px;
}

.w-full {
  width: 100%;
}

/* ============================================================
   RESPONSIVE SECTION PADDING
   ============================================================ */

@media (max-width: 767px) {
  :root {
    --section-padding: 72px;
  }

  .hero {
    padding-top: 80px;
    min-height: 100svh;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    text-align: center;
  }

  .cta-section__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-section__actions .btn {
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --section-padding: 96px;
  }
}

/* ============================================================
   SITE-SPECIFIC COMPONENT STYLES
   (used by index.html and subpages)
   ============================================================ */

/* --- Navigation (site classes) --- */

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 768px) {
  .nav-inner {
    padding-inline: 40px;
  }
}

@media (min-width: 1280px) {
  .nav-inner {
    padding-inline: 60px;
  }
}

.nav-logo {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo-img {
  height: 44px;
  width: auto;
}

.hero-logo {
  width: min(100vh, 100vw);
  height: auto;
  margin: -80px auto 0;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 80px rgba(0, 240, 255, 0.3)) drop-shadow(0 0 160px rgba(168, 85, 247, 0.2));
}

@media (max-width: 768px) {
  .hero-logo {
    width: 240px;
    margin-bottom: 20px;
  }
  .nav-logo-img {
    height: 32px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  letter-spacing: 0.02em;
}

.nav-links a:not(.btn):hover {
  color: var(--text-primary);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

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

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

.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px;
}

.nav-links.open a:not(.btn) {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-links.open a:not(.btn):hover {
  color: var(--cyan);
}

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

  .nav-hamburger {
    display: flex;
  }

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

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-links {
    gap: 24px;
  }
}

/* --- Hero (site classes) --- */

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

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

.hero-title {
  font-family: var(--font-headline);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
}

.hero--small {
  min-height: 60vh;
}

/* --- Scroll indicator --- */

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2.5s ease-in-out infinite;
  cursor: pointer;
  z-index: 1;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  margin-top: -6px;
}

/* --- Vision block (centered statement style) --- */

.vision-block {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.vision-block h2 {
  margin-bottom: 24px;
}

.vision-block p {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.75;
}

/* --- CTA card --- */

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 8vw, 96px) clamp(32px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0, 240, 255, 0.08), 0 0 160px rgba(168, 85, 247, 0.04);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.cta-card h2 {
  margin-bottom: 32px;
}

.section--cta {
  background: var(--bg-base);
}

/* --- Footer (site classes) --- */

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

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-secondary);
}

@media (max-width: 767px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* --- Bewerben: Form card --- */

.form-card {
  max-width: 600px;
  margin-inline: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form .form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form .form-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form .form-field input,
.form .form-field textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 400;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

.form .form-field textarea {
  resize: vertical;
  line-height: 1.7;
}

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

.form-success p {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* --- Kontakt page --- */

.kontakt-block {
  text-align: center;
  max-width: 480px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.kontakt-block p {
  font-size: clamp(15px, 1.2vw, 18px);
}

.kontakt-email {
  font-family: var(--font-headline);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--cyan);
  transition: opacity var(--transition-fast);
  letter-spacing: 0.02em;
}

.kontakt-email:hover {
  opacity: 0.8;
}

.kontakt-divider {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  width: 100%;
}

/* --- Legal pages (Impressum, Datenschutz) --- */

.legal-block {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-section h2 {
  font-size: clamp(22px, 3vw, 32px);
}

.legal-section h3 {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
}

.legal-section a {
  color: var(--cyan);
  transition: opacity var(--transition-fast);
}

.legal-section a:hover {
  opacity: 0.8;
}

.legal-date {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- Hero Canvas (Three.js Partikel) --- */

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* --- Mouse Glow --- */

.mouse-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
