/* ============================================================
   index.css — Page-specific styles for index.html
   ============================================================ */

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4.5rem 2rem 5rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  border: 1px solid rgba(96,165,250,0.22);
  background: rgba(96,165,250,0.06);
  padding: 0.4rem 1.125rem;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--beam-bright);
  margin-bottom: 2.75rem;
  animation: fadeUp 0.7s cubic-bezier(0.25,0.46,0.45,0.94) 0.2s both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--beam);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--beam);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--beam); }
  50% { opacity: 0.35; box-shadow: 0 0 4px var(--beam); }
}

.hero-h1 {
  font-family: 'General Sans', 'Syne', sans-serif;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 940px;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.8s cubic-bezier(0.25,0.46,0.45,0.94) 0.35s both;
}
.hero-h1 em {
  font-style: normal;
  color: var(--beam-bright);
  font-weight: 500;
}
:lang(fr) .hero-h1 {
  font-size: clamp(1.875rem, 2.8vw, 3.125rem);
}

.hero-sub {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.78;
  max-width: 560px;
  letter-spacing: 0.01em;
  margin-bottom: 4rem;
  animation: fadeUp 0.8s cubic-bezier(0.25,0.46,0.45,0.94) 0.5s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 5rem;
  animation: fadeUp 0.8s cubic-bezier(0.25,0.46,0.45,0.94) 0.65s both;
}

/* ── Hero Marquee ── */
.hero-marquee-outer {
  width: 100%;
  overflow: hidden;
  animation: fadeIn 0.8s ease 0.9s both;
}
.hero-marquee-wrap {
  max-width: 1320px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 3.75%, black 96.25%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 3.75%, black 96.25%, transparent 100%);
}
.hero-marquee-eyebrow {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241,245,249,0.6);
  text-align: center;
  margin-bottom: 1.375rem;
  display: inline-block;
  background: rgba(96,165,250,0.08);
  border: 1px solid rgba(96,165,250,0.16);
  padding: 0.4rem 1.25rem;
  border-radius: 100px;
}
.hero-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: heroMarquee 44s linear infinite;
}
.hero-marquee-wrap:hover .hero-marquee-track { animation-play-state: paused; }
.marquee-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  margin-right: 0.5rem;
  border: 1px solid rgba(96,165,250,0.13);
  background: rgba(8,13,28,0.7);
  border-radius: 2px;
  white-space: nowrap;
  color: rgba(241,245,249,0.42);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.marquee-chip:hover {
  color: rgba(241,245,249,0.85);
  border-color: rgba(96,165,250,0.28);
}
.marquee-chip svg { width: 14px; height: 14px; flex-shrink: 0; }
@keyframes heroMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Services ── */
#services {
  scroll-margin-top: 80px;
  background: transparent;
  padding: 5rem 0;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.svc-card {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease,
              background 0.3s ease,
              transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(circle at 100% 0%, rgba(96,165,250,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.svc-card:hover {
  border-color: var(--border-hover);
  background: var(--panel-hover);
  transform: translateY(-4px);
}

.svc-header {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  margin-bottom: 1.25rem;
}

.svc-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(96,165,250,0.12);
  letter-spacing: -0.04em;
  flex-shrink: 0;
  padding-top: 0.1rem;
  transition: color 0.3s ease;
}
.svc-card:hover .svc-num { color: rgba(96,165,250,0.24); }

.svc-title {
  font-family: 'General Sans', 'Syne', sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.svc-rule {
  height: 1px;
  background: linear-gradient(90deg, rgba(96,165,250,0.25), transparent);
  margin-bottom: 1.25rem;
}

.svc-body {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.78;
}

.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--beam);
  text-decoration: none;
  transition: gap 0.25s ease, opacity 0.2s ease;
}
.svc-more:hover { gap: 0.875rem; opacity: 0.8; }
.svc-more:focus-visible { outline: 2px solid var(--beam); outline-offset: 4px; border-radius: 2px; }

/* ── Our Approach (Pillars / Steps) ── */
#pillars {
  scroll-margin-top: 80px;
  background: transparent;
  padding: 3rem 0 5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(96,165,250,0.08);
  border-radius: 14px;
  overflow: visible;
}

.step-item {
  background: rgba(8,13,28,0.6);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.3s ease;
}
.step-item:first-child { border-radius: 14px 0 0 14px; }
.step-item:last-child  { border-radius: 0 14px 14px 0; }
.step-item:hover { background: rgba(10,16,36,0.85); }

/* Arrow connectors between steps */
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 16'%3E%3Cpath d='M0 8 L28 8 M22 3 L31 8 L22 13' stroke='%2360a5fa' stroke-opacity='0.28' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
  z-index: 10;
  pointer-events: none;
}

.step-title {
  font-family: 'General Sans', 'Syne', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.875rem;
}

.step-body {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ── Team ── */
#team {
  scroll-margin-top: 80px;
  background: transparent;
}

.team-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.founder-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--beam);
  text-decoration: none;
  transition: gap 0.25s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.2s ease;
}
.founder-profile-link:hover { gap: 1rem; opacity: 0.8; }
.founder-profile-link:focus-visible { outline: 2px solid var(--beam); outline-offset: 4px; border-radius: 2px; }

/* ── Contact ── */
#contact {
  scroll-margin-top: 80px;
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 250px;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(37,99,235,0.13) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-h2 {
  font-family: 'General Sans', 'Syne', sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1.75rem;
}
.contact-h2 em { font-style: normal; color: var(--beam-bright); }

.contact-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.38), transparent);
  margin: 0 auto 2rem;
  max-width: 200px;
}

.contact-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.82;
  margin-bottom: 1.75rem;
}

.contact-office {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ── Footer (commented out in source, kept for future use) ── */
footer {
  background: rgba(6,9,15,0.92);
  border-top: 1px solid rgba(96,165,250,0.07);
  padding: 4rem 0 2.25rem;
  backdrop-filter: blur(12px);
}

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.25rem;
}

.footer-logo-box {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.125rem;
}
.footer-wordmark {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(241,245,249,0.4);
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(241,245,249,0.3);
  line-height: 1.8;
  max-width: 260px;
  margin-bottom: 1.625rem;
}

.footer-heading {
  font-size: 0.5875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(96,165,250,0.38);
  margin-bottom: 1.25rem;
}

.footer-link {
  display: block;
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(241,245,249,0.3);
  text-decoration: none;
  margin-bottom: 0.7rem;
  transition: color 0.2s ease;
}
.footer-link:hover { color: rgba(241,245,249,0.65); }

.footer-bottom {
  border-top: 1px solid rgba(96,165,250,0.06);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(241,245,249,0.18);
}
.footer-tagline-fr {
  font-size: 0.75rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(96,165,250,0.22);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-inner { display: flex; justify-content: space-between; padding: 0 1.25rem; }
  .nav-links { display: none !important; }
  .nav-desktop-right { display: none !important; }
  .nav-hamburger { display: flex; }

  #hero { padding: 6.5rem 1.25rem 3rem; min-height: auto; }
  .hero-h1 { font-size: clamp(1.875rem, 8vw, 2.75rem) !important; }
  .hero-sub { font-size: 0.9375rem; max-width: 100%; }

  .section-inner { padding: 0 1.25rem; }
  #team, #contact { padding: 4.5rem 0; }
  #services { padding: 3rem 0; }
  #pillars { padding: 2rem 0 3rem; }

  .content-panel-wrap { padding: 0 0.875rem; }
  .content-panel { padding: 2.75rem 1.75rem; border-radius: 16px; }
  .panel-h2 { font-size: clamp(1.75rem, 7vw, 2.5rem); }

  .service-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 2rem; }

  .steps-grid { grid-template-columns: 1fr; }
  .step-item { padding: 2rem 1.75rem; }
  .step-item:first-child { border-radius: 14px 14px 0 0; }
  .step-item:last-child  { border-radius: 0 0 14px 14px; }
  .step-item:not(:last-child)::after {
    right: auto !important;
    top: auto !important;
    left: 50% !important;
    bottom: -18px !important;
    transform: translateX(-50%) !important;
    width: 16px;
    height: 36px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 36'%3E%3Cpath d='M8 0 L8 28 M3 22 L8 31 L13 22' stroke='%2360a5fa' stroke-opacity='0.28' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
  }

  .team-grid { grid-template-columns: 1fr; gap: 3rem; }

  #contact::before { width: 100%; }
  .contact-inner { text-align: center; }

  .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
}
