/* ════════════════════════════════════════════
   E-MIKE TECH — Design System
   ════════════════════════════════════════════ */

/* ── Font self-hosted ── */
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inversionz';
  src: url('fonts/Inversionz.ttf') format('truetype');
  font-display: swap;
}

/* ── Variables ── */
:root {
  --max-w:        1320px;
  --topbar-h:     34px;
  --hdr-h:        68px;
  --bg:           #050D1A;
  --bg-alt:       #0D1B35;
  --bg-card:      linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.025) 100%);
  --accent:       #00E5FF;
  --accent-dim:   rgba(0,229,255,0.18);
  --accent-glow:  rgba(0,229,255,0.35);
  --text:         #E2EAF4;
  --text-muted:   #A8B5C8;
  --text-dim:     #6A788A;
  --border:       rgba(255,255,255,0.10);
  --border-accent:rgba(0,229,255,0.28);
  --radius:       12px;
  --radius-lg:    16px;
  --transition:   .3s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 160% 80% at 50% -8%, #0D2045 0%, transparent 58%),
    radial-gradient(ellipse 60% 50% at 85% 95%, rgba(0,229,255,0.035) 0%, transparent 55%),
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1,h2,h3,h4,h5 { font-weight: 600; line-height: 1.2; margin: 0; }
p { margin: 0; }
ul { padding-left: 22px; margin: 0; }

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: var(--topbar-h); left: 0; right: 0;
  height: var(--hdr-h);
  transition: top 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(5,13,26,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 1000;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-main {
  font-family: 'Inversionz', sans-serif;
  font-size: 38px;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1;
}
.brand-tech {
  font-family: 'Inversionz', sans-serif;
  font-size: 28px;
  color: var(--accent);
  letter-spacing: 1px;
  line-height: 1;
}

/* Topbar */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  height: var(--topbar-h);
  background: #0a1628;
  color: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 13px;
  text-align: center;
  line-height: var(--topbar-h);
  letter-spacing: 0.02em;
  transition: transform 0.25s ease;
}
.topbar.scrolled { transform: translateY(-100%); }
.topbar a { color: var(--accent); font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.site-header.scrolled { top: 0; }

/* ── CUSTOM CURSOR (solo mouse) ── */
@media (pointer: fine) {
  * { cursor: none !important; }

  .cursor-arrow {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-2px, -2px);
    transition: opacity .2s ease;
    will-change: left, top;
  }
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
}
.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 6px 16px;
  border: 1.5px solid transparent;
  border-radius: 30px;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
  cursor: pointer;
  background: none;
  font: inherit;
}
.nav-link:hover  { color: var(--accent); }
.nav-link.active { border-color: var(--accent); color: var(--accent); }

/* Dropdown / Mega menu */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8,16,32,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 560px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.7);
  z-index: 100;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.dropdown.open .dropdown-menu { display: grid; }

.mega-item {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--transition);
  border: 1px solid transparent;
}
.mega-item:hover {
  background: rgba(0,229,255,0.07);
  border-color: var(--border);
}
.mega-item-full { grid-column: span 2; }
.mega-name { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 3px; transition: color var(--transition); }
.mega-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.mega-item:hover .mega-name { color: var(--accent); }

/* Years badge */
.years-badge {
  border: 1.5px solid var(--accent);
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--accent);
  white-space: nowrap;
  margin-left: 8px;
  transition: all var(--transition);
  cursor: default;
}
.years-badge:hover { background: var(--accent); color: var(--bg); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 20px;
  cursor: pointer;
  background: none; border: none; padding: 0;
  z-index: 1001; flex-shrink: 0;
}
.hamburger span {
  display: block; height: 3px; width: 100%;
  background: var(--accent); border-radius: 3px;
  transition: all .3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

/* ── HOME HERO ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5,13,26,0.62) 0%, rgba(5,13,26,0.22) 50%, transparent 100%),
    linear-gradient(to bottom, transparent 55%, rgba(5,13,26,0.70) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: absolute;
  bottom: 0; left: 0;
  z-index: 2;
  text-align: left;
  padding: 0 72px 80px;
  max-width: 800px;
  animation: heroIn 2.5s ease-out 0.4s both;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.9;
  border-bottom: 1px solid var(--border-accent);
  padding-bottom: 5px;
  margin-bottom: 20px;
}
.hero-tagline {
  font-size: clamp(32px, 5.5vw, 72px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 28px rgba(0,0,0,0.6);
}
.hero-tagline span { color: var(--accent); }
.hero-desc {
  font-size: clamp(14px, 1.5vw, 18px);
  color: #C8D4E0;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 560px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.5);
  font-size: 22px;
  animation: arrowBounce 2.2s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}

/* ── INNER PAGE HERO ── */
.page-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 70% at 80% 40%, rgba(0,229,255,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(13,27,53,0.8) 0%, transparent 65%),
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5,13,26,0.15) 0%, rgba(5,13,26,0.65) 100%);
}
.page-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  padding: calc(var(--hdr-h) + var(--topbar-h)) 56px 48px;
}
.page-hero-content::before {
  content: '';
  display: block;
  width: 3px;
  height: 36px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 18px;
  opacity: 0.85;
}
.page-hero-content h1 {
  font-size: clamp(32px, 5vw, 60px);
  color: #fff;
  margin-bottom: 12px;
}
.page-hero-content p {
  font-size: clamp(14px, 1.6vw, 17px);
  color: #B8C8D8;
  max-width: 520px;
}

/* ── SECTIONS ── */
.section      { padding: 96px 0; }
.section-sm   { padding: 56px 0; }
.section-alt  {
  background-color: var(--bg-alt);
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.section-glow { background: radial-gradient(ellipse at 50% 80%, rgba(0,229,255,0.045) 0%, transparent 62%); }
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}
.section-center { text-align: left; }

/* Eyebrow */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
  border-bottom: 1px solid var(--border-accent);
  padding-bottom: 5px;
  margin-bottom: 16px;
}

/* Section headings */
.section-title {
  font-size: clamp(26px, 3vw, 40px);
  color: #fff;
  margin-bottom: 12px;
}
.section-title.accent { color: var(--accent); }
.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}
.section-desc-center {
  max-width: 720px;
}

/* ── GRID LAYOUTS ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 28px;
}
.grid-center { justify-items: center; }

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,229,255,0.18);
  border-color: var(--border-accent);
}

/* Service card (linked) */
.service-card {
  display: block;
  text-decoration: none;
  border-top: 2px solid rgba(0,229,255,0.2);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition), border-top-color var(--transition);
}
.service-card:hover { border-top-color: var(--accent); }
.service-card img    { width: 80px; height: 80px; margin-bottom: 18px; }
.service-card h3     { font-size: 18px; color: #fff; margin-bottom: 8px; }
.service-card p      { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.service-card:hover h3,
.service-card:hover p { color: var(--accent); }

/* Reason card */
.reason-card h4 {
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 10px;
}
.reason-card h4::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--accent);
  opacity: 0.6;
  margin-bottom: 10px;
}
.reason-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Ambiti card variant (border-left) */
.ambiti-card { border-left: 2px solid rgba(0,229,255,0.25); }
.ambiti-card:hover { border-left-color: var(--accent); }
.ambiti-card h4::before { display: none; }

/* Plan card (cloud backup) */
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: 0 10px 28px rgba(0,0,0,.3);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column; justify-content: space-between;
}
.plan-card h3      { color: var(--accent); font-size: 22px; margin-bottom: 10px; }
.plan-card p       { color: var(--text-muted); font-size: 15px; margin-bottom: 14px; }
.plan-card .price  { color: #fff; font-weight: 600; font-size: 19px; }
.plan-card:hover   { transform: translateY(-5px); box-shadow: 0 14px 36px var(--accent-dim); border-color: var(--border-accent); }
.plan-card.featured {
  background: linear-gradient(145deg, rgba(0,229,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 28px var(--accent-dim);
  padding: 48px 28px;
  position: relative;
}
.plan-card.featured:hover { box-shadow: 0 0 42px var(--accent-glow); }
.plan-badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--accent); color: var(--bg);
  font-weight: 700; font-size: 12px;
  padding: 4px 12px; border-radius: 20px;
  animation: glow 2.8s ease-in-out infinite;
}

/* ── LOGO STRIP ── */
.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.logo-strip img {
  height: 54px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity var(--transition);
}
.logo-strip img:hover { opacity: 1; }
.logo-strip-note {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

/* ── SEPARATOR IMAGE ── */
.img-separator {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* ── CONTENT SPLIT (inner pages) ── */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.content-split.rev { direction: rtl; }
.content-split.rev > * { direction: ltr; }

.content-text h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--accent);
  margin-bottom: 18px;
}
.content-text p  { font-size: 16px; color: var(--text-muted); line-height: 1.78; margin-bottom: 16px; }
.content-text p:last-child { margin-bottom: 0; }
.content-text ul { font-size: 16px; color: var(--text-muted); line-height: 1.78; }
.content-text ul li { margin-bottom: 6px; }
.content-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.content-img.no-frame {
  border-radius: 0;
  box-shadow: none;
}
.content-video {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Accent panel blocks (formerly centered) */
.content-center {
  max-width: 860px;
  border-left: 3px solid var(--border-accent);
  padding-left: 28px;
  text-align: left;
}
.content-center h2 { font-size: clamp(22px, 2.5vw, 30px); color: var(--accent); margin-bottom: 18px; }
.content-center p  { font-size: 16px; color: var(--text-muted); line-height: 1.78; margin-bottom: 16px; }
.content-center p:last-child { margin-bottom: 0; }
.content-center ul { font-size: 16px; color: var(--text-muted); line-height: 1.78; }

/* Icon section (with GIF) */
.icon-section {
  text-align: left;
}
.icon-section img { margin: 0 0 36px; width: 160px; height: auto; }

/* ── CTA BLOCK ── */
.cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, rgba(0,229,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
}
.cta-block h2 { font-size: 26px; color: #fff; margin-bottom: 0; flex: 1; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 13px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--accent);
  transition: all var(--transition);
  cursor: pointer;
  font-family: inherit;
}
.btn:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 22px var(--accent-dim);
}
.btn-sm { padding: 10px 26px; font-size: 14px; }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--bg); }

/* ── PRIVACY PAGE ── */
.privacy-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 52px 44px;
  box-shadow: 0 10px 28px rgba(0,0,0,.3);
}
.privacy-block h2 { font-size: 19px; color: var(--accent); margin: 28px 0 10px; }
.privacy-block h2:first-child { margin-top: 0; }
.privacy-block p, .privacy-block ul { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 10px; }
.privacy-block ul { padding-left: 22px; }
.privacy-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.privacy-link { color: var(--accent); text-decoration: none; transition: color var(--transition); }
.privacy-link:hover { color: #7AF6FF; }

/* ── CONTATTI PAGE ── */
.contatti-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.contatti-info .azienda { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.contatti-info .dettagli { font-size: 15px; line-height: 1.7; color: var(--text-muted); }
.contatti-info a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
.contatti-info a:hover { color: #7AF6FF; }
.contatti-divider { height: 1px; background: var(--border); margin: 22px 0; }
.contatti-orari .titolo { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.contatti-orari .testo { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.contatti-privacy { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-top: 32px; }
.contatti-privacy a { color: var(--accent); text-decoration: underline; }

/* ── FOOTER ── */
.site-footer {
  background: #030810;
  border-top: 2px solid var(--accent);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 28px 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr 1fr;
  gap: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-logo .brand-main { font-size: 28px; }
.footer-logo .brand-tech { font-size: 20px; }
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.footer-entity {
  font-size: 13px;
  color: var(--text-dim);
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-address p { margin: 0; }
.footer-address a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
.footer-address a:hover { color: #7AF6FF; }
.footer-bottom {
  background: #020609;
  border-top: 1px solid var(--border);
  padding: 20px 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--accent); text-decoration: none; }
.footer-credits { margin-top: 6px; font-size: 12px; }

/* ── SCROLL TO TOP ── */
.to-top {
  position: fixed;
  bottom: 80px; left: 20px;
  width: 42px; height: 42px;
  background: var(--accent);
  color: var(--bg);
  border: none; border-radius: 50%;
  font-size: 20px; font-weight: 700;
  cursor: pointer;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(0,229,255,0.45);
  transition: opacity var(--transition);
  font-family: inherit;
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 20px; right: 20px;
  max-width: 340px;
  background: rgba(12,15,20,0.97);
  color: var(--text);
  padding: 20px 22px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 4px 24px rgba(0,0,0,0.7);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: opacity .4s ease;
}
.cookie-banner strong { font-size: 15px; color: #fff; display: block; margin-bottom: 6px; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; justify-content: flex-end; }
.cookie-btn {
  border: 1px solid #555;
  background: transparent;
  color: var(--text-muted);
  border-radius: 4px;
  padding: 6px 16px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}
.cookie-btn:hover { border-color: var(--text-muted); }
.cookie-btn.accept {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 600;
}
.cookie-btn.accept:hover { background: #7AF6FF; border-color: #7AF6FF; }

/* ── ANIMATIONS ── */
@keyframes heroIn {
  from { opacity: 0; transform: scale(0.92) translateY(18px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}
@keyframes arrowBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: .5; }
  50%       { transform: translateX(-50%) translateY(10px); opacity: 1;  }
}
@keyframes glow {
  0%,100% { box-shadow: 0 0 8px rgba(0,229,255,.6);  opacity: 1;   }
  50%      { box-shadow: 0 0 20px rgba(0,229,255,.9); opacity: .85; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-d1.visible { transition-delay: .08s; }
.fade-in-d2.visible { transition-delay: .16s; }
.fade-in-d3.visible { transition-delay: .24s; }
.fade-in-d4.visible { transition-delay: .32s; }
.fade-in-d5.visible { transition-delay: .40s; }
.fade-in-d6.visible { transition-delay: .48s; }

/* Card scale entry */
.card.sfx-scale.fade-in { transform: translateY(40px) scale(0.94); }
.card.sfx-scale.fade-in.visible { transform: translateY(0) scale(1); }

/* Word-by-word title reveal */
.sfx-title { overflow: visible; }
.sfx-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(68%) skewY(4deg);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1),
              transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.sfx-title.sfx-in .sfx-word { opacity: 1; transform: translateY(0) skewY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .site-header { padding: 0 20px; height: 58px; --hdr-h: 58px; }
  .brand-main  { font-size: 30px; }
  .brand-tech  { font-size: 22px; }
  .main-nav {
    display: none;
    position: fixed;
    top: calc(58px + var(--topbar-h)); left: 0; right: 0;
    flex-direction: column;
    background: rgba(5,13,26,0.97);
    backdrop-filter: blur(14px);
    padding: 16px 0 24px;
    gap: 2px;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .hamburger { display: flex; }
  .dropdown-menu {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    width: auto;
    transform: none;
    border: none; border-top: none; box-shadow: none;
    background: transparent;
    padding: 4px 16px;
    backdrop-filter: none;
  }
  .dropdown.open .dropdown-menu { display: grid; }
  .mega-item { padding: 8px 4px; border: none; }
  .mega-item:hover { background: transparent; border-color: transparent; }
  .mega-desc { display: none; }
  .mega-item-full { grid-column: span 1; }
  .page-hero { height: 300px; }
  .page-hero-content { padding: calc(var(--hdr-h) + var(--topbar-h)) 28px 32px; }
  .page-hero-content::before { height: 28px; margin-bottom: 14px; }
  .hero-content { padding: 0 28px 60px; max-width: 100%; }
  .content-split     { grid-template-columns: 1fr; gap: 36px; }
  .content-split.rev { direction: ltr; }
  .grid-2  { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section    { padding: 64px 0; }
  .section-sm { padding: 40px 0; }
  .cta-block  { flex-direction: column; align-items: flex-start; gap: 24px; padding: 36px 28px; }
  .cta-block h2 { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { padding: 44px 20px 36px; }
  .logo-strip { gap: 28px; }
  .logo-strip img { height: 40px; }
  .privacy-block { padding: 32px 22px; }
  .hero-scroll { bottom: 24px; }
}
