/* ============================================================
   EXPIA — Design System 2026
   ============================================================ */

/* ================= VARIABLES & RESET ================= */
:root {
  /* Background */
  --bg-deep: #030303;
  --bg-dark: #050508;
  --bg-card: rgba(255, 255, 255, 0.02);

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Accent */
  --accent-blue: #3b82f6;
  --accent-violet: #8b5cf6;
  --accent-teal: #22d3ee;
  --accent-glow: rgba(139, 92, 246, 0.4);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6, #a855f7);
  --gradient-subtle: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.08));
  --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.15), transparent 70%);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-hover: rgba(255, 255, 255, 0.04);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-glow: rgba(139, 92, 246, 0.3);

  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  /* Shadows */
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.15);
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --trans-fast: 0.2s ease;
  --trans-normal: 0.4s var(--ease-out);
  --trans-slow: 0.8s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139,92,246,0.08), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(59,130,246,0.04), transparent),
    var(--bg-deep);
}

::selection {
  background: rgba(139, 92, 246, 0.4);
  color: white;
}

/* ================= GRAIN TEXTURE ================= */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ================= AMBIENT BLOBS ================= */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}

.blob-1 {
  top: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: var(--accent-violet);
  opacity: 0.08;
  animation: blobFloat1 25s ease-in-out infinite;
}

.blob-2 {
  top: 30%;
  right: -15%;
  width: 50vw;
  height: 50vw;
  background: var(--accent-blue);
  opacity: 0.06;
  animation: blobFloat2 30s ease-in-out infinite;
}

.blob-3 {
  bottom: -20%;
  left: 30%;
  width: 40vw;
  height: 40vw;
  background: var(--accent-teal);
  opacity: 0.04;
  animation: blobFloat3 22s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 40px) scale(1.15); }
  66% { transform: translate(-30px, -20px) scale(0.9); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, -50px) scale(1.1); }
  66% { transform: translate(40px, 30px) scale(0.85); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -40px) scale(1.2); }
}

/* ================= CURSOR GLOW ================= */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(139,92,246,0.06), transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

/* ================= TYPOGRAPHY ================= */
h1, h2, h3, h4, .logo {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--trans-normal);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.3);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.45);
}

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

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

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  gap: 0.75rem;
}

.w-100 { width: 100%; justify-content: center; }

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all var(--trans-normal);
}

.navbar.scrolled {
  background: rgba(3, 3, 5, 0.75);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.8rem 0;
}

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

.logo {
  font-size: 1.6rem;
  letter-spacing: 2px;
  text-decoration: none;
  color: var(--text-primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--trans-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width var(--trans-normal);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

/* ================= SECTIONS COMMON ================= */
section { padding: 7rem 0; position: relative; z-index: 1; }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: var(--gradient-hero);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 85%;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Hero Orb --- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass-orb {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-inner {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--accent-blue), var(--accent-violet), rgba(139,92,246,0.3));
  box-shadow:
    0 0 80px rgba(139, 92, 246, 0.3),
    0 0 150px rgba(59, 130, 246, 0.15),
    inset 0 0 60px rgba(255, 255, 255, 0.05);
  animation: orbPulse 4s ease-in-out infinite, orbFloat 8s ease-in-out infinite;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.15);
  animation: ringRotate 20s linear infinite;
}

.ring-1 {
  width: 320px;
  height: 320px;
  animation-duration: 18s;
}

.ring-2 {
  width: 280px;
  height: 280px;
  border-color: rgba(59, 130, 246, 0.1);
  animation-duration: 14s;
  animation-direction: reverse;
}

.orb-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-violet);
  box-shadow: 0 0 6px var(--accent-violet);
  animation: particleOrbit 6s linear infinite;
}

.p-1 { animation-duration: 4s; animation-delay: 0s; }
.p-2 { animation-duration: 5s; animation-delay: -1s; width: 3px; height: 3px; }
.p-3 { animation-duration: 7s; animation-delay: -2s; background: var(--accent-blue); }
.p-4 { animation-duration: 4.5s; animation-delay: -3s; width: 5px; height: 5px; }
.p-5 { animation-duration: 6.5s; animation-delay: -1.5s; background: var(--accent-teal); }
.p-6 { animation-duration: 5.5s; animation-delay: -4s; width: 3px; height: 3px; }

@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes particleOrbit {
  from { transform: rotate(0deg) translateX(160px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(160px) rotate(-360deg); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: scrollFade 2s ease-in-out infinite;
}

@keyframes scrollFade {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.8; transform: translateX(-50%) translateY(5px); }
}

/* ================= BENTO GRID ================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.bento-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  transition: all var(--trans-normal);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(139,92,246,0.06), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
}

.bento-hero {
  grid-column: 1 / -1;
  padding: 3rem;
}

.bento-card:hover::before { opacity: 1; }
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.card-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px 3px 0 0;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-violet);
  border: 1px solid rgba(139, 92, 246, 0.15);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.card-content { position: relative; z-index: 1; }

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-teal);
  background: rgba(34, 211, 238, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.card-features {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-violet);
  flex-shrink: 0;
}

/* ================= PROCESS TIMELINE ================= */
.process {
  background: rgba(255, 255, 255, 0.01);
}

.process-timeline {
  position: relative;
  padding: 2rem 0;
}

.process-line {
  display: none; /* handled by steps on desktop */
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-violet), var(--accent-blue), var(--accent-violet), transparent);
  opacity: 0.3;
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.step-marker span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 12px var(--accent-glow);
  position: relative;
  z-index: 2;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ================= TECH MARQUEE ================= */
.tech-marquee {
  padding: 3rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.marquee-track {
  display: flex;
  animation: marqueeScroll 40s linear infinite;
  width: max-content;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-shrink: 0;
  padding-right: 3rem;
}

.marquee-content span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.marquee-content span:hover { color: var(--text-primary); }

.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-violet);
  opacity: 0.3;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Pause on hover */
.tech-marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ================= CONTACT ================= */
.contact { padding-bottom: 6rem; }

.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4rem;
  gap: 4rem;
}

.contact-info .section-tag { margin-bottom: 1rem; }

.contact-info .section-title {
  text-align: left;
  font-size: 2.5rem;
}

.contact-text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-list li svg {
  flex-shrink: 0;
  color: var(--accent-violet);
  opacity: 0.7;
}

.contact-email {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--trans-fast);
}

.contact-email:hover { color: var(--accent-blue); }

.contact-phone {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--trans-fast);
}
.contact-phone:hover { color: var(--accent-blue); }

/* Form */
.contact-form { position: relative; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-row .form-group { margin-bottom: 0; }

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--trans-normal);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-violet);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

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

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

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* ================= FOOTER ================= */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  background: rgba(0, 0, 0, 0.3);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  align-self: center;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--trans-fast);
}

.footer-nav a:hover { color: var(--text-primary); }

.footer-bottom {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ================= SCROLL REVEAL ================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s var(--ease-out);
}

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

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .glass-orb { width: 280px; height: 280px; }
  .orb-inner { width: 150px; height: 150px; }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .process-steps::before { display: none; }

  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }

  .section-title { font-size: 2.2rem; }
}

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

  .hero-title { font-size: 2.4rem; }
  .section-title { font-size: 2rem; }

  .bento-grid { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr; gap: 2rem; }

  .form-row { grid-template-columns: 1fr; }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand p { max-width: 100%; }
  .footer-nav { justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
  .footer-bottom { text-align: center; }

  section { padding: 5rem 0; }
  .hero { padding-top: 5rem; }

  .contact-wrapper { padding: 2rem; gap: 2.5rem; }
}

/* ================= FAQ ================= */
.faq {
  background: rgba(255, 255, 255, 0.01);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color var(--trans-normal), box-shadow var(--trans-normal);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-item[open] {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 40px rgba(139, 92, 246, 0.08);
}

/* Question (cliquable) */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  list-style: none;
  user-select: none;
  transition: color var(--trans-fast);
}
/* Retire la flèche native de <summary> */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ''; }

.faq-question:hover { color: var(--accent-violet); }

/* Icône + qui pivote en croix/moins */
.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  color: var(--accent-violet);
  transition: transform var(--trans-normal), background var(--trans-fast);
}

.faq-item[open] .faq-icon {
  transform: rotate(135deg);
  background: rgba(139, 92, 246, 0.15);
}

/* Réponse */
.faq-answer {
  padding: 0 1.75rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer p { margin: 0; }
.faq-answer strong { color: var(--text-primary); font-weight: 600; }

/* Petite animation d'ouverture */
.faq-item[open] .faq-answer {
  animation: faqReveal 0.4s var(--ease-out);
}

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .faq-question { padding: 1.25rem 1.35rem; font-size: 1rem; }
  .faq-answer { padding: 0 1.35rem 1.25rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .btn-outline.nav-btn { display: none; }
}

