/* ============================================================
   ReziGroup Website — Complete Stylesheet
   Design System: Dark glassmorphism, Manrope, brand blue
   ============================================================ */

/* ============================================================
   1. @font-face — Manrope self-hosted WOFF2
   ============================================================ */

@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   2. :root — Design Tokens
   ============================================================ */

:root {
  /* Colors */
  --color-bg:           #0a0a0a;
  --color-bg-section:   #1a1a2e;
  --color-text:         #ffffff;
  --color-muted:        #b0b0c0;
  --color-accent:       #2563EB;
  --color-accent-dark:  #1d4ed8;
  --color-glow:         #00d4ff;
  --color-success:      #10B981;
  --color-error:        #EF4444;

  /* Glass */
  --glass-bg:           rgba(255, 255, 255, 0.05);
  --glass-border:       rgba(255, 255, 255, 0.1);
  --glass-blur:         blur(20px);

  /* Spacing */
  --section-padding:    120px 0;
  --container-max:      1200px;
  --container-padding:  0 24px;

  /* Navigation */
  --nav-height:         72px;

  /* Border radii */
  --radius-sm:          8px;
  --radius-md:          12px;
  --radius-lg:          16px;
  --radius-xl:          20px;
  --radius-2xl:         24px;

  /* Transitions */
  --transition-fast:    0.2s ease;
  --transition-base:    0.3s ease;
  --transition-slow:    0.5s ease;

  /* Shadows / Glow */
  --glow-cyan-sm:       0 0 20px rgba(0, 212, 255, 0.3);
  --glow-cyan-md:       0 0 40px rgba(0, 212, 255, 0.4);
  --glow-blue-sm:       0 0 20px rgba(37, 99, 235, 0.3);
  --glow-blue-md:       0 0 30px rgba(37, 99, 235, 0.4);
  --glow-text-cyan:     0 0 20px rgba(0, 212, 255, 0.6);
  --glow-text-blue:     0 0 20px rgba(37, 99, 235, 0.6);

  /* Z-index layers */
  --z-base:             1;
  --z-nav:              1000;
  --z-drawer:           1100;
  --z-cookie:           1001;
  --z-preloader:        9999;
}

/* ============================================================
   3. Reset
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* ============================================================
   4. Base Typography
   ============================================================ */

h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted);
}

p + p {
  margin-top: 1rem;
}

/* Section label — small uppercase accent */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 16px;
}

/* ============================================================
   5. Layout
   ============================================================ */

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding: var(--container-padding);
  width: 100%;
}

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

/* ============================================================
   6. Glassmorphism
   ============================================================ */

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

/* ============================================================
   7. Glow Effects
   ============================================================ */

.glow-border {
  box-shadow: var(--glow-cyan-sm);
}

.glow-border--blue {
  box-shadow: var(--glow-blue-sm);
}

.glow-text {
  text-shadow: var(--glow-text-cyan);
}

.glow-text--blue {
  text-shadow: var(--glow-text-blue);
}

/* ============================================================
   8. Preloader
   ============================================================ */

#preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader .preloader__logo {
  width: 80px;
  height: auto;
  animation: pulse 1.5s ease-in-out infinite;
  filter: invert(1) brightness(2);
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ============================================================
   9. Navigation
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition-base),
              backdrop-filter var(--transition-base),
              border-bottom var(--transition-base);
}

.nav--scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
}

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

.nav__logo img {
  max-height: 40px;
  width: auto;
  filter: invert(1) brightness(2);
}

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

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.nav__links a:hover {
  color: var(--color-glow);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border: 1px solid var(--color-glow);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  background: transparent;
  transition: box-shadow var(--transition-fast),
              background var(--transition-fast);
  cursor: pointer;
}

.nav__cta:hover {
  box-shadow: var(--glow-cyan-sm);
  background: rgba(0, 212, 255, 0.05);
}

/* Hamburger — hidden on desktop */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

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

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

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

/* Mobile Drawer */
.nav__drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  z-index: var(--z-drawer);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-left: 1px solid var(--glass-border);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  display: flex;
  flex-direction: column;
  padding: 96px 32px 40px;
  gap: 28px;
}

.nav__drawer.open {
  transform: translateX(0);
}

.nav__drawer a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.nav__drawer a:hover {
  color: var(--color-glow);
}

.nav__overlay {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-drawer) - 1);
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.nav__overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   10. Hero
   ============================================================ */

#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.hero__title {
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: 0.3em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-text);
}

.hero__title span {
  display: inline-block;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-top: 24px;
  max-width: 600px;
  line-height: 1.6;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 16px 40px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--color-glow);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  box-shadow: var(--glow-cyan-sm);
  transition: box-shadow var(--transition-base),
              background var(--transition-base),
              transform var(--transition-fast);
  cursor: pointer;
}

.hero__cta:hover {
  box-shadow: var(--glow-cyan-md);
  background: rgba(0, 212, 255, 0.08);
  transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  opacity: 0.6;
}

.scroll-indicator__label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-muted);
}

.scroll-indicator__chevron {
  width: 20px;
  height: 20px;
  color: var(--color-muted);
  animation: chevronBounce 1.6s ease-in-out infinite;
}

/* ============================================================
   11. About
   ============================================================ */

#about {
  background: var(--color-bg-section);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about__text .section-label {
  display: block;
}

.about__text h2 {
  margin-bottom: 24px;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 32px;
  text-align: center;
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color 0.3s;
}

.stat-box:hover {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  background: linear-gradient(135deg, #ffffff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: 8px;
}

/* ============================================================
   12. Products
   ============================================================ */

#products {
  background: var(--color-bg);
}

.products__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 64px;
}

.product-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 48px;
  border-radius: var(--radius-xl);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,212,255,0.3), rgba(37,99,235,0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
}

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

.product-card:hover {
  box-shadow: 0 20px 60px rgba(0,212,255,0.15), 0 0 40px rgba(37,99,235,0.1);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-8px);
}

.product-card__logo {
  max-height: 48px;
  width: auto;
  margin-bottom: 24px;
  filter: invert(1) brightness(2);
}

.product-card h3 {
  margin-bottom: 12px;
}

.product-card p {
  font-size: 0.95rem;
}

.product-card__features {
  margin-top: 24px;
}

.product-card__features li {
  border-left: 2px solid var(--color-accent);
  padding-left: 16px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.product-card__cta {
  display: inline-block;
  margin-top: 24px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.95rem;
  transition: text-decoration var(--transition-fast);
}

.product-card__cta:hover {
  text-decoration: underline;
}

/* ============================================================
   13. Services
   ============================================================ */

#services {
  background: var(--color-bg-section);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}

.service-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.service-card:hover {
  box-shadow: 0 15px 40px rgba(0,212,255,0.12);
  border-color: rgba(0, 212, 255, 0.25);
  transform: translateY(-6px);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--color-glow);
  background: rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  transition: background 0.3s, transform 0.3s;
}

.service-card:hover .service-card__icon {
  background: rgba(0, 212, 255, 0.2);
  transform: scale(1.1);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
}

/* ============================================================
   14. Technology
   ============================================================ */

#tech {
  background: var(--color-bg);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
}

.tech-logo {
  width: 80px;
  height: 80px;
  opacity: 0.6;
  transition: all 0.4s ease;
  position: relative;
  filter: grayscale(0.5);
}

.tech-logo:hover {
  opacity: 1;
  transform: scale(1.3) translateY(-5px);
  filter: grayscale(0) drop-shadow(0 0 15px rgba(0, 212, 255, 0.4));
}

.tech-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tech-logo__tooltip {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--color-muted);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.tech-logo:hover .tech-logo__tooltip {
  opacity: 1;
}

/* ============================================================
   15. Contact
   ============================================================ */

#contact {
  background: var(--color-bg-section);
}

.contact__container {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 64px;
  border-radius: var(--radius-2xl);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.contact__form h2 {
  margin-bottom: 8px;
}

.contact__form > p {
  margin-bottom: 32px;
}

/* Form elements */
.contact__form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 6px;
}

.contact__form input,
.contact__form textarea,
.contact__form select {
  display: block;
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: rgba(176, 176, 192, 0.5);
}

.contact__form input:focus,
.contact__form textarea:focus,
.contact__form select:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

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

.btn-submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--color-accent);
  color: var(--color-text);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition-fast),
              box-shadow var(--transition-fast),
              transform var(--transition-fast);
}

.btn-submit:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

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

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-success {
  color: var(--color-success);
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-error {
  color: var(--color-error);
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 500;
}

.hidden {
  display: none !important;
}

/* Contact Info column */
.contact__info h3 {
  margin-bottom: 20px;
}

.contact__info p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.contact__info a {
  color: var(--color-muted);
  transition: color var(--transition-fast);
}

.contact__info a:hover {
  color: var(--color-accent);
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.contact__info-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   16. Footer
   ============================================================ */

#footer {
  padding: 80px 0 40px;
  background: var(--color-bg);
  position: relative;
}

.footer__separator {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-accent), var(--color-glow), var(--color-accent), transparent);
  margin-bottom: 60px;
}

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

.footer__content > span {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.footer__links {
  display: flex;
  gap: 32px;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--color-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.footer__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-glow);
  transition: width 0.3s;
}

.footer__links a:hover {
  color: var(--color-text);
}

.footer__links a:hover::after {
  width: 100%;
}

/* ============================================================
   16b. Ambient Glow Orbs
   ============================================================ */

/* Ambient glow orbs for visual depth */
#about::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
#about { position: relative; overflow: hidden; }
#about > .container { position: relative; z-index: 1; }

#services::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
#services { position: relative; overflow: hidden; }
#services > .container { position: relative; z-index: 1; }

#contact::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
#contact { position: relative; overflow: hidden; }
#contact > .container { position: relative; z-index: 1; }

#products::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
#products { position: relative; overflow: hidden; }
#products > .container { position: relative; z-index: 1; }

#tech::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
#tech { position: relative; overflow: hidden; }
#tech > .container { position: relative; z-index: 1; }

/* ============================================================
   16c. Section Heading Alignment & Spacing
   ============================================================ */

#products > .container > .section-label,
#services > .container > .section-label,
#tech > .container > .section-label,
#contact > .container > .section-label {
  display: block;
  text-align: center;
}

#products > .container > h2,
#services > .container > h2,
#tech > .container > h2,
#contact > .container > h2 {
  text-align: center;
  margin-bottom: 16px;
}

.section-subtext {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

/* ============================================================
   16d. Nav Right
   ============================================================ */

.nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__lang {
  display: flex;
  gap: 8px;
}

/* ============================================================
   17. Cookie Banner
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-cookie);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

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

.cookie-banner__text {
  font-size: 0.875rem;
  color: var(--color-muted);
  flex: 1;
  min-width: 200px;
}

.cookie-banner__text a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cookie-dismiss {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--transition-fast),
              background var(--transition-fast);
}

.cookie-dismiss:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.cookie-accept {
  background: var(--color-accent);
  border: none;
  color: var(--color-text);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cookie-accept:hover {
  background: var(--color-accent-dark);
}

/* ============================================================
   18. Responsive — max-width: 768px
   ============================================================ */

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  /* Navigation */
  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Hero */
  .hero__title {
    font-size: clamp(2.5rem, 10vw, 4rem);
    letter-spacing: 0.15em;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__cta {
    padding: 14px 28px;
    font-size: 1rem;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Stats — keep 2 columns on tablet */
  .about__stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Products */
  .products__grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: 32px;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact__container {
    padding: 40px 24px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Footer */
  .footer__content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   19. Responsive — max-width: 480px
   ============================================================ */

@media (max-width: 480px) {
  /* Hero */
  .hero__title {
    font-size: clamp(2rem, 11vw, 3rem);
    letter-spacing: 0.08em;
  }

  /* Stats — 1 column on mobile */
  .about__stats {
    grid-template-columns: 1fr;
  }

  /* Footer stacked */
  .footer__links {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Cookie */
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions {
    width: 100%;
  }
}

/* ============================================================
   20. @media prefers-reduced-motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .nav__drawer {
    transition: none !important;
  }

  .cookie-banner {
    transition: none !important;
  }

  #preloader {
    transition: none !important;
  }

  .hero__cta,
  .product-card,
  .service-card,
  .stat-box {
    transition: none !important;
  }
}

/* ============================================================
   21. @keyframes
   ============================================================ */

/* Pulse — preloader logo breathing */
@keyframes pulse {
  0%   { transform: scale(1);   opacity: 1;   }
  50%  { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(1);   opacity: 1;   }
}

/* Glitch — subtle transform jitter */
@keyframes glitch {
  0%   { transform: translate(0, 0);    }
  10%  { transform: translate(-2px, 1px); }
  20%  { transform: translate(2px, -1px); }
  30%  { transform: translate(-1px, 2px); }
  40%  { transform: translate(1px, -2px); }
  50%  { transform: translate(-2px, 0);  }
  60%  { transform: translate(2px, 1px); }
  70%  { transform: translate(-1px, -1px); }
  80%  { transform: translate(1px, 2px); }
  90%  { transform: translate(-2px, -1px); }
  100% { transform: translate(0, 0);    }
}

/* Float — gentle up/down levitation */
@keyframes float {
  0%   { transform: translateY(0);     }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(10px);  }
}

/* FadeInUp — element rises into view */
@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0);    }
}

/* FadeInLeft — element slides in from left */
@keyframes fadeInLeft {
  0%   { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 1; transform: translateX(0);     }
}

/* FadeInRight — element slides in from right */
@keyframes fadeInRight {
  0%   { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0);    }
}

/* ScaleIn — element scales up into view */
@keyframes scaleIn {
  0%   { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1);    }
}

/* ChevronBounce — repeating scroll indicator bounce */
@keyframes chevronBounce {
  0%   { transform: translateY(0);    }
  40%  { transform: translateY(12px); }
  60%  { transform: translateY(12px); }
  100% { transform: translateY(0);    }
}

/* ============================================================
   Utility: Animation helper classes
   ============================================================ */

.animate-fadeInUp    { animation: fadeInUp    0.6s ease forwards; }
.animate-fadeInLeft  { animation: fadeInLeft  0.6s ease forwards; }
.animate-fadeInRight { animation: fadeInRight 0.6s ease forwards; }
.animate-scaleIn     { animation: scaleIn     0.5s ease forwards; }
.animate-float       { animation: float       3s ease-in-out infinite alternate; }
.animate-glitch      { animation: glitch      0.4s steps(1) forwards; }

/* Delay utilities */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-800 { animation-delay: 0.8s; }

/* Opacity 0 default — set by JS intersection observer before animating in */
.will-animate {
  opacity: 0;
}
