/* ═══════════════════════════════════════════════
   quadra28 GmbH — Main Stylesheet
   Brand: Deep Space Blue #041021 · Cyan #00F2FF
═══════════════════════════════════════════════ */

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

:root {
  --deep-blue:   #041021;
  --mid-blue:    #061828;
  --dark-bg:     #020c18;
  --cyan:        #00F2FF;
  --cyan-dim:    #00b8c8;
  --cyan-muted:  rgba(0,242,255,0.12);
  --teal:        #1A4B5A;
  --off-white:   #E0F7FA;
  --white:       #ffffff;
  --gray-text:   rgba(224,247,250,0.65);
  --gray-subtle: rgba(224,247,250,0.2);
  --nav-h:       72px;
  --section-pad: clamp(80px, 10vw, 140px);
  --content-max: 1160px;
  --radius:      12px;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background: var(--deep-blue);
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--deep-blue); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* TYPOGRAPHY */
h1, h2, h3, h4, .nav-logo, .label,
.card-title, .layer-title, .tech-card-title,
.feature-title, .footer-col-title,
.scale-item-label, .contact-info-label,
.product-badge { font-family: 'Syne', sans-serif; }

.display-xl {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}
.display-lg {
  font-size: clamp(1.9rem, 3.8vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}
.display-md {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}
.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
}
.body-lg {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  color: var(--gray-text);
  font-weight: 300;
}
.body-md {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-text);
}

/* LAYOUT */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}
.section { padding: var(--section-pad) 0; position: relative; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,4vw,64px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.mt-8  { margin-top: 8px;  }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

/* DECORATIVE */
.glow-dot {
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,242,255,0.08) 0%, transparent 70%);
  position: absolute; pointer-events: none;
}
.cyan-line {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  display: block;
}
.star-icon {
  display: inline-block; width: 16px; height: 16px;
  background: var(--cyan);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.h-line {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,242,255,0.15), transparent);
}

/* ═══ NAVIGATION ═══ */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(4,16,33,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(0,242,255,0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.nav-logo {
  font-size: 1.15rem; letter-spacing: -0.01em;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap; flex-shrink: 0; font-weight: 700;
}
.nav-logo .gmbh { color: var(--cyan-dim); font-weight: 400; font-size: 0.85em; }
.nav-links { display: flex; align-items: center; gap: clamp(16px,2.5vw,32px); list-style: none; }
.nav-links a {
  font-family: 'Syne', sans-serif; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.05em; color: var(--gray-text); text-decoration: none;
  transition: color var(--transition); padding: 4px 0; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--cyan);
  transform: scaleX(0); transform-origin: right; transition: transform var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

/* Language Switch */
.lang-switch {
  display: flex; border: 1px solid rgba(0,242,255,0.2);
  border-radius: 6px; overflow: hidden; font-family: 'Syne', sans-serif;
}
.lang-switch button {
  background: transparent; border: none; cursor: pointer;
  padding: 5px 10px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; color: var(--gray-text);
  transition: all 0.2s; font-family: 'Syne', sans-serif;
}
.lang-switch button.active { background: rgba(0,242,255,0.12); color: var(--cyan); }
.lang-switch button:hover:not(.active) { color: var(--white); background: rgba(255,255,255,0.04); }

/* Buttons */
.btn-nav {
  font-family: 'Syne', sans-serif; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; padding: 8px 18px; border-radius: 6px;
  background: rgba(0,242,255,0.1); border: 1px solid rgba(0,242,255,0.3);
  color: var(--cyan); cursor: pointer; transition: all 0.2s;
  text-decoration: none; white-space: nowrap;
}
.btn-nav:hover { background: rgba(0,242,255,0.18); border-color: var(--cyan); color: var(--white); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  background: var(--cyan); color: var(--deep-blue);
  font-family: 'Syne', sans-serif; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-decoration: none;
  border: none; cursor: pointer; transition: all 0.2s;
  box-shadow: 0 0 30px rgba(0,242,255,0.2);
}
.btn-primary:hover { background: var(--white); transform: translateY(-1px); box-shadow: 0 0 40px rgba(0,242,255,0.35); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  background: transparent; border: 1px solid rgba(0,242,255,0.3);
  color: var(--off-white); font-family: 'Syne', sans-serif;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em;
  text-decoration: none; cursor: pointer; transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,242,255,0.05); }
.btn-arrow { transition: transform 0.2s; }
.btn-primary:hover .btn-arrow, .btn-secondary:hover .btn-arrow { transform: translateX(3px); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--off-white); transition: all var(--transition); display: block; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(4,16,33,0.97); backdrop-filter: blur(20px);
  z-index: 999; flex-direction: column;
  padding: 40px clamp(20px,5vw,60px); gap: 8px; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 700;
  color: var(--gray-text); text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid rgba(0,242,255,0.08); transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--white); }
.mobile-lang { display: flex; gap: 12px; margin-top: 24px; }
.mobile-lang button {
  font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 600;
  background: none; border: 1px solid rgba(0,242,255,0.2);
  color: var(--gray-text); padding: 8px 16px; border-radius: 6px; cursor: pointer;
}
.mobile-lang button.active { color: var(--cyan); border-color: var(--cyan); background: rgba(0,242,255,0.08); }

/* ═══ HERO ═══ */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/bg_hero.jpg');
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(4,16,33,0.85) 0%, rgba(4,16,33,0.3) 60%, rgba(4,16,33,0.7) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 0.85fr;
  gap: clamp(32px,5vw,80px); align-items: center;
  padding: 80px 0 100px;
}
.hero-label { margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.hero-title { margin-bottom: 24px; }
.hero-title .accent { color: var(--cyan); }
.hero-sub { max-width: 520px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: flex-end; align-items: center; position: relative; }
.hero-cube-wrap { position: relative; width: 100%; max-width: 480px; }
.hero-cube-img {
  width: 100%; height: auto;
  filter: drop-shadow(0 0 60px rgba(0,242,255,0.25));
  animation: floatCube 6s ease-in-out infinite;
}
@keyframes floatCube { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.hero-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 105%; height: 105%; border-radius: 50%;
  border: 1px solid rgba(0,242,255,0.08); animation: spin 20s linear infinite;
}
.hero-ring-2 {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 125%; height: 125%; border-radius: 50%;
  border: 1px dashed rgba(0,242,255,0.05); animation: spin 35s linear infinite reverse;
}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0.4; z-index: 2;
}
.scroll-hint span { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cyan); font-family: 'Syne', sans-serif; }
.scroll-arrow { width: 1px; height: 40px; background: linear-gradient(180deg, var(--cyan), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ═══ PAGE HERO (sub-pages) ═══ */
.page-hero {
  min-height: 55vh; display: flex; align-items: center;
  padding-top: var(--nav-h); position: relative; overflow: hidden;
}
.page-hero .hero-bg { opacity: 0.5; }
.page-hero .hero-inner { position: relative; z-index: 2; padding: 80px 0; }

/* ═══ BACKGROUNDS ═══ */
.bg-dark    { background: var(--deep-blue); }
.bg-darker  { background: var(--dark-bg); }
.bg-mid     { background: var(--mid-blue); }
.bg-network {
  background-image: url('../images/bg_network.jpg');
  background-size: cover; background-position: center; position: relative;
}
.bg-network::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--deep-blue) 0%, rgba(4,16,33,0.6) 40%, rgba(4,16,33,0.6) 60%, var(--deep-blue) 100%);
}

/* ═══ CARDS ═══ */
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,242,255,0.08);
  border-radius: var(--radius); padding: clamp(24px,3vw,40px);
  transition: border-color var(--transition), background var(--transition);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,242,255,0.2), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.card:hover { border-color: rgba(0,242,255,0.2); background: rgba(0,242,255,0.03); }
.card:hover::before { opacity: 1; }
.card-number { font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800; color: rgba(0,242,255,0.1); line-height: 1; margin-bottom: 16px; }
.card-title  { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; letter-spacing: -0.01em; }
.card-text   { font-size: 0.9rem; color: var(--gray-text); line-height: 1.65; }

.layer-card {
  padding: clamp(24px,3vw,36px); border-radius: var(--radius);
  border-left: 2px solid var(--cyan); background: rgba(0,242,255,0.04); margin-bottom: 16px;
}
.layer-tag   { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.layer-title { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.arch-connector { width: 2px; height: 20px; background: linear-gradient(180deg, rgba(0,242,255,0.3), rgba(0,242,255,0.1)); margin-left: 20px; }

.feature-card {
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 28px; transition: all var(--transition);
}
.feature-card:hover { background: rgba(0,242,255,0.04); border-color: rgba(0,242,255,0.15); transform: translateY(-2px); }
.feature-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(0,242,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 16px; }
.feature-title { font-size: 0.92rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }

.tech-card {
  padding: 36px 28px; background: rgba(255,255,255,0.025);
  border: 1px solid rgba(0,242,255,0.07); border-radius: var(--radius);
  transition: all var(--transition); position: relative; overflow: hidden;
}
.tech-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.tech-card:hover { border-color: rgba(0,242,255,0.18); transform: translateY(-3px); }
.tech-card:hover::after { opacity: 1; }
.tech-card-num   { font-size: 0.7rem; color: var(--cyan); letter-spacing: 0.15em; margin-bottom: 20px; font-weight: 600; }
.tech-card-title { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }

/* ═══ SECTION HEADERS ═══ */
.section-header { max-width: 680px; }
.section-header.center { margin: 0 auto; text-align: center; }
.section-header .label { margin-bottom: 12px; }
.section-header h2 { margin-bottom: 16px; }

/* ═══ PROBLEM ═══ */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,100px); align-items: center; }
.problem-stat { display: flex; flex-direction: column; gap: 4px; padding: 24px 0; border-top: 1px solid rgba(0,242,255,0.1); }
.problem-stat-num   { font-family: 'Syne', sans-serif; font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 800; color: var(--cyan); line-height: 1; }
.problem-stat-label { font-size: 0.85rem; color: var(--gray-text); }

/* ═══ PRODUCT ═══ */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,5vw,80px); align-items: start; }
.product-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 20px;
  background: rgba(0,242,255,0.08); border: 1px solid rgba(0,242,255,0.2);
  font-size: 0.75rem; font-weight: 600; color: var(--cyan); letter-spacing: 0.08em; margin-bottom: 20px;
}
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }

/* ═══ SCALE STRIP ═══ */
.scale-strip { display: flex; border: 1px solid rgba(0,242,255,0.1); border-radius: var(--radius); overflow: hidden; }
.scale-item { flex: 1; padding: 28px 24px; border-right: 1px solid rgba(0,242,255,0.08); transition: background var(--transition); }
.scale-item:last-child { border-right: none; }
.scale-item:hover { background: rgba(0,242,255,0.03); }
.scale-item-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); font-weight: 600; margin-bottom: 6px; }
.scale-item-text  { font-size: 0.88rem; color: var(--gray-text); }

/* ═══ TECH GRID ═══ */
.tech-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 64px; }

/* ═══ COMPANY ═══ */
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,100px); align-items: start; }
.quote-block {
  padding: 32px; border-left: 2px solid var(--cyan);
  background: rgba(0,242,255,0.04); border-radius: 0 var(--radius) var(--radius) 0; margin-top: 32px;
}
.quote-text { font-size: clamp(1rem,1.5vw,1.2rem); font-weight: 600; line-height: 1.5; color: var(--white); font-style: italic; }
.locations { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.location-tag { padding: 6px 14px; border-radius: 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); font-size: 0.8rem; color: var(--gray-text); }

/* ═══ CTA STRIP ═══ */
.cta-strip { text-align: center; padding: var(--section-pad) 0; position: relative; }
.cta-strip h2 { margin-bottom: 16px; }
.cta-strip p  { margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-strip .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══ CONTACT ═══ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,80px); align-items: start; }
.form-group    { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-label    { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-text); }
.form-input, .form-textarea {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(0,242,255,0.1);
  border-radius: 8px; padding: 12px 16px; color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; outline: none;
  transition: border-color 0.2s; width: 100%;
}
.form-input:focus, .form-textarea:focus { border-color: rgba(0,242,255,0.4); background: rgba(0,242,255,0.03); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(224,247,250,0.25); }
.contact-info { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.contact-info-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); font-weight: 600; margin-bottom: 4px; }
.contact-info-value { font-size: 0.95rem; color: var(--off-white); }

/* ═══ FOOTER ═══ */
footer { border-top: 1px solid rgba(0,242,255,0.08); padding: 48px 0 32px; background: var(--dark-bg); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-logo  { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-logo span { color: var(--cyan-dim); font-weight: 400; }
.footer-tagline { font-size: 0.82rem; color: var(--gray-text); max-width: 260px; line-height: 1.6; }
.footer-col-title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: var(--gray-text); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.04); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom span { font-size: 0.78rem; color: rgba(224,247,250,0.3); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.75rem; color: rgba(224,247,250,0.35); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--gray-text); }

/* ═══ PAGE SECTIONS ═══ */
.page-section { display: none; }
.page-section.active { display: block; }
#home-section { display: block; }

/* ═══ ANIMATIONS ═══ */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }

/* ═══ RESPONSIVE — TABLET ═══ */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { justify-content: center; margin-top: 48px; }
  .hero-cube-wrap { max-width: 320px; }
  .problem-grid { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .scale-strip { flex-direction: column; }
  .scale-item { border-right: none; border-bottom: 1px solid rgba(0,242,255,0.08); }
  .scale-item:last-child { border-bottom: none; }
}

/* ═══ RESPONSIVE — MOBILE ═══ */
@media (max-width: 640px) {
  .nav-links, .btn-nav { display: none !important; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4, .tech-grid, .product-hero, .problem-grid,
  .company-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas a { text-align: center; justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-strip .btns { flex-direction: column; align-items: center; }
  .scale-strip { flex-direction: column; }
}

/* ═══ PAGE HERO INNER ═══ */
.page-hero-inner {
  position: relative; z-index: 2;
  padding: 80px 0;
}
.page-hero .hero-bg {
  opacity: 0.5;
}
