﻿/* ================================================
   ZEROLEAK TECHNOLOGIES — Coming Soon
   Layout: Header | Bandeau hero | Intro+Cards | Footer
   ================================================ */

:root {
  --bg-deep:    #02070f;
  --panel:      rgba(7, 17, 31, 0.78);
  --panel-dark: rgba(4, 11, 22, 0.90);
  --border:     rgba(130, 190, 255, 0.13);
  --border-hi:  rgba(50, 170, 255, 0.32);
  --text:       #edf5ff;
  --muted:      #8ea8bf;
  --subtle:     #4a5f75;
  --cyan:       #22b4ff;
  --shadow-lg:  rgba(0, 0, 0, 0.55);
  --shadow-md:  rgba(0, 0, 0, 0.35);
  --r-xl:  28px;
  --r-lg:  22px;
  --r-md:  16px;
}

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

html {
  min-height: 100%;
  background: var(--bg-deep);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 55% 40% at 12%  8%,  rgba(22, 100, 185, 0.22) 0%, transparent 100%),
    radial-gradient(ellipse 45% 30% at 90%  15%, rgba(18, 168, 255, 0.14) 0%, transparent 100%),
    radial-gradient(ellipse 65% 45% at 50%  92%, rgba(8,  40,  88,  0.20) 0%, transparent 100%),
    linear-gradient(160deg, #020a16 0%, #071220 52%, #03091a 100%);
}

/* dot grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.50) 0%, transparent 68%);
}

/* screen-reader only */
.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;
}

/* ── Ambient orbs ── */
.orb {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
  opacity: 0.50;
  animation: floatOrb 16s ease-in-out infinite;
}
.orb-a {
  width: 520px; height: 520px;
  top: -150px; left: -160px;
  background: radial-gradient(circle, rgba(18, 140, 220, 0.30), transparent 70%);
}
.orb-b {
  width: 600px; height: 600px;
  bottom: -200px; right: -180px;
  background: radial-gradient(circle, rgba(35, 80, 160, 0.24), transparent 70%);
  animation-delay: -8s;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(20px, -24px) scale(1.04); }
}

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 9, 18, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}
.header-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-logo {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-hi);
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.14), transparent 55%),
    linear-gradient(155deg, rgba(7,20,40,0.96), rgba(2,6,14,0.94));
  box-shadow: 0 0 28px rgba(34,180,255,0.14), 0 4px 14px rgba(0,0,0,0.42);
  flex-shrink: 0;
}
.header-logo img {
  width: 28px; height: 28px;
  object-fit: contain;
  filter: brightness(1.05) drop-shadow(0 3px 8px rgba(0,0,0,0.50));
}
.header-name {
  font-size: clamp(0.88rem, 2.2vw, 1.08rem);
  font-weight: 800;
  letter-spacing: clamp(0.06em, 0.4vw, 0.16em);
  white-space: nowrap;
  color: var(--text);
}

/* Eyebrow badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(34,180,255,0.26);
  background: rgba(34,180,255,0.07);
  color: #9ddeff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.eyebrow-dot {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(34,180,255,0.85);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.5; transform: scale(0.72); }
}

/* ══════════════════════════════
   MAIN SHELL
══════════════════════════════ */
.shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ══════════════════════════════
   HERO BANDEAU
══════════════════════════════ */
.hero-bandeau {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(80, 160, 255, 0.16);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.055) inset,
    0 40px 100px var(--shadow-lg);
  animation: reveal 0.60s ease both;
  background: var(--panel-dark);
}
.hero-bandeau img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 160px;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(2,8,18,0.18) 0%, transparent 30%),
    linear-gradient(to left,   rgba(2,8,18,0.18) 0%, transparent 30%),
    linear-gradient(to bottom, transparent 60%,   rgba(2,8,18,0.55) 100%);
  pointer-events: none;
}

/* ══════════════════════════════
   INTRO SECTION
══════════════════════════════ */
.intro-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Left: tagline + intro + CTA */
.intro-left {
  background:
    linear-gradient(150deg, rgba(255,255,255,0.068) 0%, rgba(255,255,255,0.016) 100%),
    var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.055) inset,
    0 28px 72px var(--shadow-md);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: reveal 0.60s 0.10s ease both;
  position: relative;
  overflow: hidden;
}
.intro-left::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -100px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,180,255,0.09), transparent 68%);
  border: 1px solid rgba(34,180,255,0.12);
  pointer-events: none;
}

.tagline {
  margin: 0 0 18px;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  font-weight: 700;
  color: #c5e8ff;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.intro {
  margin: 0 0 32px;
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  line-height: 1.80;
  color: var(--muted);
}

/* CTA */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid rgba(34,180,255,0.36);
  background:
    linear-gradient(135deg, rgba(34,180,255,0.16) 0%, rgba(255,255,255,0.04) 100%),
    rgba(3,10,22,0.72);
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 650;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 5px rgba(34,180,255,0.04);
  transition: border-color 180ms, box-shadow 180ms, transform 180ms;
}
.cta:hover,
.cta:focus-visible {
  border-color: rgba(110,205,255,0.68);
  box-shadow: 0 0 0 7px rgba(34,180,255,0.07), 0 14px 36px rgba(0,0,0,0.30);
  transform: translateY(-2px);
  outline: none;
}
.cta-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(34,180,255,0.88);
  flex-shrink: 0;
}
.cta-label { font-weight: 700; }
.cta-email { color: #85b4d0; font-size: 0.82rem; }

/* ── Capabilities column ── */
.capabilities {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cap-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255,255,255,0.065) 0%, rgba(255,255,255,0.014) 100%),
    var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.05) inset,
    0 18px 48px var(--shadow-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: reveal 0.60s var(--delay, 0.15s) ease both;
  transition: border-color 200ms, transform 200ms, box-shadow 200ms;
}
.cap-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.08) inset,
    0 0 0 1px rgba(50,170,255,0.16),
    0 28px 60px var(--shadow-lg);
}
.cap-card::before {
  content: "";
  position: absolute;
  top: 0; left: 24px;
  width: 32px; height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0.65;
}

.cap-num {
  display: block;
  margin-bottom: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.20em;
  color: var(--cyan);
  opacity: 0.75;
}
.cap-card h2 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.cap-card p {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.70;
  color: var(--muted);
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 28px;
  text-align: center;
  color: var(--subtle);
  font-size: 0.80rem;
  letter-spacing: 0.05em;
}
.site-footer p { margin: 0; }

/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
@keyframes reveal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 900px) {
  .intro-section {
    grid-template-columns: 1fr;
  }
  .capabilities {
    flex-direction: row;
  }
  .cap-card {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 28px);
    padding: 20px 0 36px;
    gap: 16px;
  }
  .header-inner { width: calc(100% - 28px); }
  .hero-bandeau { border-radius: var(--r-lg); }
  .intro-left { padding: 24px 20px; border-radius: var(--r-lg); }
  .capabilities { flex-direction: column; }
  .cta {
    width: 100%;
    justify-content: center;
    border-radius: 18px;
  }
  .cta-email { display: none; }
  .header-name { font-size: 0.82rem; letter-spacing: 0.08em; }
  .site-footer { width: calc(100% - 28px); }
}

@media (max-width: 420px) {
  .header-name { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}