/* ============================================================
   assets/css/sections.css  —  Page Section Styles
   Curve Matrix LLP
   ============================================================ */

/* ══ HERO ═════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(200,255,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,255,0,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 650px; height: 650px;
  background: rgba(200,255,0,0.07);
  top: -200px; right: -150px;
  animation: floatGlow 9s ease-in-out infinite;
}
.hero-glow-2 {
  width: 450px; height: 450px;
  background: rgba(200,255,0,0.04);
  bottom: -100px; left: -100px;
  animation: floatGlow 12s ease-in-out infinite reverse;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.hero-badge    { margin-bottom: var(--sp-8); }
.hero-headline {
  font-family:    var(--font-display);
  font-weight:    600;
  font-size:      clamp(3rem, 8.5vw, 7.8rem);
  line-height:    0.97;
  letter-spacing: -0.02em;
  margin-bottom:  var(--sp-8);
}
.hero-headline .line      { display: block; overflow: hidden; }
.hero-headline .line span { display: inline-block; }
.accent-word {
  color: var(--acid);
  position: relative;
}
.accent-word::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 3px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineGrow 0.6s 1.2s var(--ease-out) forwards;
}
.hero-sub {
  font-size:     clamp(1.05rem, 2vw, 1.25rem);   /* bumped */
  color:         var(--grey-100);                 /* lighter than --text-muted */
  line-height:   1.8;
  max-width:     560px;
  margin-bottom: var(--sp-12);
  font-weight:   400;                             /* was 300 */
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}

/* Marquee strip */
.hero-marquee {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  border-top: 1px solid var(--border);
  overflow: hidden;
  padding-block: 0.9rem;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size:      0.82rem;          /* was 0.72rem */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          var(--grey-100);  /* brighter */
  white-space:    nowrap;
  font-weight:    500;
}
.marquee-sep { color: var(--acid); font-size: 1rem; }

/* ══ STATS ════════════════════════════════════════════════════ */
#stats {
  background: var(--grey-900);
  border-block: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.stat-item:last-child { border-right: none; }
.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--acid);
  transition: width var(--t-slow) var(--ease-out);
}
.stat-item:hover::after { width: 55%; }
.stat-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size:   clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1;
  color:       var(--acid);
  display:     block;
}
.stat-label {
  font-size:      0.85rem;          /* was 0.75rem */
  font-weight:    500;
  color:          var(--grey-100);  /* brighter */
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top:     var(--sp-2);
  display:        block;
}

/* ══ SERVICES ═════════════════════════════════════════════════ */
#services { background: var(--black); }
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--sp-8);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.service-card {
  background: var(--grey-900);
  padding: clamp(1.8rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
  transition: background var(--t-slow);
  cursor: none;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(200,255,0,0.06) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--t-slow);
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out);
}
.service-card:hover                 { background: var(--grey-800); }
.service-card:hover::before         { opacity: 1; }
.service-card:hover::after          { transform: scaleX(1); }
.service-icon {
  font-size: 1.7rem;
  color: var(--acid);
  margin-bottom: var(--sp-5);
  display: block;
  transition: transform var(--t-slow) var(--ease-spring);
}
.service-card:hover .service-icon  { transform: scale(1.15) rotate(8deg); }
.service-title {
  font-family:   var(--font-display);
  font-weight:   600;
  font-size:     1.3rem;            /* was 1.1rem */
  margin-bottom: var(--sp-3);
  color:         var(--white);
  letter-spacing: -0.01em;
}
.service-desc {
  font-size:   1rem;                /* was 0.87rem */
  color:       var(--grey-100);     /* brighter */
  line-height: 1.75;
  font-weight: 400;
}
.service-arrow {
  margin-top: var(--sp-6);
  color: var(--acid);
  font-size: 1.2rem;
  display: inline-block;
  transition: transform var(--t-base) var(--ease-out);
}
.service-card:hover .service-arrow { transform: translate(5px, -5px); }

/* ══ ABOUT ════════════════════════════════════════════════════ */
#about {
  background: var(--grey-900);
  border-block: 1px solid var(--border);
}
.about-visual {
  position: relative;
  aspect-ratio: 4/5;
}
.about-visual-inner {
  width: 100%; height: 100%;
  background: var(--grey-800);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200,255,0,0.12);
}
.geo-ring:nth-child(1) { width: 200px; height: 200px; animation: spin 22s linear infinite; }
.geo-ring:nth-child(2) { width: 350px; height: 350px; animation: spin 35s linear infinite reverse; border-style: dashed; }
.geo-ring:nth-child(3) { width: 500px; height: 500px; animation: spin 55s linear infinite; }
.geo-center {
  width: 82px; height: 82px;
  background: var(--acid);
  border-radius: 50% 0 50% 0;
  transform: rotate(45deg);
  position: relative; z-index: 2;
  animation: centerPulse 3s ease-in-out infinite;
}
.about-badge-wrap {
  position: absolute;
  bottom: -20px; right: -20px;
}
.about-badge {
  background: var(--acid);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 1.2rem 1.5rem;
  border-radius: var(--r-lg);
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.about-badge strong { display: block; font-size: 2rem; line-height: 1; }
.about-badge span   { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.about-features     { margin-top: var(--sp-10); display: flex; flex-direction: column; gap: var(--sp-4); }
.about-feat {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  padding: var(--sp-5);
  background: var(--grey-800);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--t-base);
}
.about-feat:hover { border-color: var(--border-hover); }
.feat-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--acid-dim);
  border-radius: var(--r);
  display: grid;
  place-items: center;
  color: var(--acid);
  font-size: 1.1rem;
}
.feat-title {
  font-weight:   600;
  font-size:     1rem;              /* was 0.92rem */
  margin-bottom: 0.3rem;
  color:         var(--white);
}
.feat-desc {
  font-size:   0.95rem;             /* was 0.83rem */
  color:       var(--grey-100);     /* brighter */
  line-height: 1.7;
  font-weight: 400;
}

/* ══ PROCESS ══════════════════════════════════════════════════ */
#process { background: var(--black); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grey-500) 20%, var(--grey-500) 80%, transparent);
  z-index: 0;
}
.process-step {
  position: relative; z-index: 1;
  padding: 0 var(--sp-6);
  text-align: center;
}
.step-num {
  width: 72px; height: 72px;
  margin: 0 auto var(--sp-6);
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--grey-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size:   1.15rem;             /* was 1.05rem */
  color:       var(--acid);
  transition:  border-color var(--t-base), background var(--t-base);
}
.process-step:hover .step-num {
  border-color: var(--acid);
  background:   var(--acid-dim);
}
.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size:   1.15rem;             /* was 1rem */
  margin-bottom: var(--sp-3);
  color: var(--white);
}
.step-desc {
  font-size:   0.97rem;             /* was 0.84rem */
  color:       var(--grey-100);     /* brighter */
  line-height: 1.75;
  font-weight: 400;
}

/* ══ LOCATIONS ════════════════════════════════════════════════ */
#locations {
  background: var(--grey-900);
  border-block: 1px solid var(--border);
}
.locations-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1.8rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-size:   1rem;                /* was 0.92rem */
  font-weight: 500;
  background:  var(--grey-800);
  color:       var(--white);        /* explicit so it's always visible */
  transition:  border-color var(--t-base),
               color var(--t-base),
               transform var(--t-base) var(--ease-spring),
               background var(--t-base),
               box-shadow var(--t-base);
  cursor: default;
}
.location-chip:hover {
  border-color: var(--acid);
  color:        var(--acid);
  background:   var(--acid-dim);
  transform:    translateY(-4px);
  box-shadow:   0 8px 24px rgba(200,255,0,0.12);
}
.loc-dot {
  width: 8px; height: 8px;
  background: var(--acid);
  border-radius: 50%;
  flex-shrink: 0;
}
.loc-state {
  font-size:      0.82rem;          /* was 0.7rem */
  color:          var(--grey-100);  /* brighter */
  letter-spacing: 0.05em;
}

/* ══ FAQ ══════════════════════════════════════════════════════ */
#faq { background: var(--black); }
.faq-list { margin-top: clamp(2rem, 4vw, 3.5rem); }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: var(--sp-6) 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size:   clamp(1.05rem, 2vw, 1.2rem);    /* was 0.95–1.1rem */
  color:       var(--white);
  background:  none;
  border:      none;
  cursor:      none;
  text-align:  left;
  transition:  color var(--t-base);
}
.faq-question:hover { color: var(--acid); }
.faq-icon {
  width: 28px; height: 28px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color:       var(--acid);
  font-size:   1.2rem;
  font-weight: 400;
  transition:  transform var(--t-base), border-color var(--t-base);
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--acid); }
.faq-answer {
  max-height: 0;
  overflow:   hidden;
  transition: max-height 0.45s var(--ease-out), padding 0.3s;
}
.faq-answer p {
  padding-bottom: var(--sp-6);
  color:       var(--grey-100);     /* brighter */
  line-height: 1.8;
  font-size:   1rem;                /* was 0.95rem */
  font-weight: 400;
}
.faq-item.open .faq-answer { max-height: 320px; }

/* ══ CONTACT / CTA ════════════════════════════════════════════ */
#contact {
  background: var(--black);
  text-align: center;
  padding-block: clamp(5rem, 12vw, 9rem);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(200,255,0,0.055) 0%, transparent 65%);
  pointer-events: none;
}
.contact-inner { position: relative; z-index: 1; }
.contact-headline {
  font-family:    var(--font-display);
  font-weight:    600;
  font-size:      clamp(2.5rem, 7vw, 5.8rem);
  line-height:    1;
  letter-spacing: -0.02em;
  margin-bottom:  var(--sp-6);
}
.contact-sub {
  font-size:      clamp(1.05rem, 2vw, 1.2rem); /* was 1–1.15rem */
  color:          var(--grey-100);              /* brighter */
  margin-bottom:  var(--sp-12);
  max-width:      500px;
  margin-inline:  auto;
  font-weight:    400;
  line-height:    1.8;
}
.contact-actions {
  display:       flex;
  justify-content: center;
  gap:           var(--sp-4);
  flex-wrap:     wrap;
  margin-bottom: var(--sp-12);
}
.contact-info {
  display:   flex;
  justify-content: center;
  gap:       clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.contact-item {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            var(--sp-2);
}
.ci-label {
  font-size:      0.8rem;           /* was 0.7rem */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          var(--grey-100);  /* brighter */
  font-weight:    500;
}
.ci-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size:   1.1rem;              /* was 1rem */
  color:       var(--white);
  text-decoration: none;
  transition:  color var(--t-base);
}
.ci-value:hover { color: var(--acid); }
