/* ═══════════════════════════════════════════════
   ILLUME SECURITY — HOMEPAGE STYLES
   Used by: index.html only
═══════════════════════════════════════════════ */

/* ─── TYPOGRAPHY OVERRIDES (larger for homepage) ─── */
h1 { font-size: clamp(52px, 6.5vw, 88px); }
h2 { font-size: clamp(36px, 4.5vw, 58px); }

/* ─── BUTTON SIZE OVERRIDE ─── */
.btn-outline { font-size: 16px; padding: 14px 32px; }

/* ─── SECTION INTRO ─── */
.section-intro {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.72;
  max-width: 520px;
  margin-top: 18px;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  padding: 140px 60px 100px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.blob-a    { width: 780px; height: 780px; background: radial-gradient(circle, rgba(45,202,112,.115) 0%, transparent 68%); top: -260px; right: -200px; }
.blob-b    { width: 480px; height: 480px; background: radial-gradient(circle, rgba(45,202,112,.07)  0%, transparent 70%); bottom: -120px; left: -80px; }
.blob-c    { width: 320px; height: 320px; background: radial-gradient(circle, rgba(45,202,112,.055) 0%, transparent 70%); top: 45%; left: 35%; }

.hero-float {
  position: absolute;
  right: 5%; top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: auto;
  opacity: .13;
  pointer-events: none;
  animation: heroFloat 9s ease-in-out infinite;
}
@keyframes heroFloat {
  0%,100% { transform: translateY(-50%) translateX(0); }
  50%     { transform: translateY(-52%) translateX(-10px); }
}

.hero-content { max-width: 700px; position: relative; z-index: 2; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--green-10);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  padding: 6px 18px 6px 11px;
  margin-bottom: 40px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green-2);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}
.pill-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: pillPulse 2.2s ease-in-out infinite;
}
@keyframes pillPulse {
  0%,100% { transform: scale(1); opacity: .5; }
  50%     { transform: scale(2.5); opacity: 0; }
}

.hero-body    { font-size: 18px; font-weight: 300; color: var(--text-2); max-width: 530px; margin: 26px 0 46px; line-height: 1.72; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-trust       { margin-top: 72px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-trust-label { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.trust-pills      { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-pill {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.075);
  border-radius: var(--r-sm);
  padding: 7px 13px;
  font-size: 12px; color: var(--text-2);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.trust-pill:hover    { border-color: var(--green-border); color: var(--green-3); }
.trust-pill-dot      { width: 5px; height: 5px; border-radius: 50%; background: var(--green); opacity: .7; }

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
#services {
  padding: 130px 60px;
  position: relative; overflow: hidden;
}
.services-deco {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 460px; height: auto; opacity: .035; pointer-events: none;
}
.services-header { max-width: 640px; margin-bottom: 64px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--green-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.svc {
  padding: 40px;
  border-right: 1px solid var(--green-border);
  border-bottom: 1px solid var(--green-border);
  background: var(--surface);
  position: relative; overflow: hidden;
  transition: background .3s;
  display: block; text-decoration: none; color: inherit; cursor: pointer;
}
.svc:nth-child(3n)   { border-right: none; }
.svc:nth-child(n+7)  { border-bottom: none; }
.svc.svc-cta { background: var(--green-10); border-color: rgba(45,202,112,.25); }
.svc::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--green-10), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.svc:hover          { background: var(--surface-2); }
.svc:hover::before  { opacity: 1; }
.svc:hover .svc-icon { border-color: rgba(45,202,112,.35); box-shadow: 0 0 24px rgba(45,202,112,.12); }

.svc-icon  { width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--green-10); border: 1px solid var(--green-border); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: border-color .3s, box-shadow .3s; }
.svc-title { font-family: 'Open Sans', sans-serif; font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; letter-spacing: -.01em; }
.svc-desc  { font-size: 13.5px; font-weight: 300; color: var(--text-2); line-height: 1.7; }
.svc-tag   { display: inline-block; margin-top: 18px; font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: var(--green-10); padding: 3px 10px; border-radius: 100px; border: 1px solid rgba(45,202,112,.18); }

/* ══════════════════════════════════════
   STATS
══════════════════════════════════════ */
#stats {
  padding: 100px 60px;
  background: var(--bg-2);
  position: relative; overflow: hidden;
}
.stats-deco { position: absolute; left: -220px; top: 50%; transform: translateY(-50%); width: 580px; height: auto; opacity: .025; pointer-events: none; }

.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--green-border);
  border-radius: var(--r-xl); overflow: hidden;
  margin-top: 60px;
}
.stat {
  padding: 52px 40px; text-align: center;
  background: var(--surface);
  border-right: 1px solid var(--green-border);
  transition: background .3s;
}
.stat:last-child { border-right: none; }
.stat:hover      { background: var(--surface-2); }
.stat-n {
  display: block;
  font-family: 'Open Sans', sans-serif; font-weight: 800;
  font-size: clamp(44px, 5vw, 66px);
  color: var(--green); letter-spacing: -.04em; line-height: 1;
  margin-bottom: 10px;
}
.stat-l { font-size: 14px; font-weight: 300; color: var(--text-2); line-height: 1.5; }

/* ══════════════════════════════════════
   PROCESS
══════════════════════════════════════ */
#process {
  padding: 130px 60px;
  position: relative; overflow: hidden;
}
.process-deco   { position: absolute; right: -80px; bottom: -40px; width: 420px; height: auto; opacity: .03; pointer-events: none; }
.process-header { max-width: 580px; margin-bottom: 64px; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  padding: 44px 40px;
  background: var(--surface);
  border: 1px solid var(--green-border);
  border-radius: var(--r-xl);
  position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), border-color .3s, box-shadow .3s;
}
.step:hover { transform: translateY(-5px); border-color: rgba(45,202,112,.32); box-shadow: 0 20px 60px rgba(0,0,0,.3), 0 0 0 1px rgba(45,202,112,.08); }
.step-num {
  font-family: 'Open Sans', sans-serif; font-weight: 800;
  font-size: 72px; color: rgba(45,202,112,.08);
  line-height: 1; margin-bottom: 16px; letter-spacing: -.04em;
  transition: color .3s;
}
.step:hover .step-num { color: rgba(45,202,112,.16); }
.step h3 { margin-bottom: 14px; color: var(--white); }
.step p  { font-size: 14px; font-weight: 300; color: var(--text-2); line-height: 1.72; }

/* ══════════════════════════════════════
   CREST
══════════════════════════════════════ */
#crest {
  padding: 100px 60px;
  background: var(--bg-2);
  position: relative; overflow: hidden;
}
.crest-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }

.crest-rings  { position: relative; width: 340px; height: 340px; margin: 0 auto; }
.ring         { position: absolute; border-radius: 50%; border: 1px solid var(--green-border); animation: ringRotate linear infinite; }
.ring-1       { inset: 0;    animation-duration: 44s; }
.ring-2       { inset: 36px; animation-duration: 30s; animation-direction: reverse; }
.ring-3       { inset: 80px; animation-duration: 20s; }
@keyframes ringRotate { to { transform: rotate(360deg); } }

.ring-node    { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--green); top: -4px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 10px rgba(45,202,112,.7); }
.ring-node-sm { width: 5px; height: 5px; top: -2.5px; box-shadow: 0 0 7px rgba(45,202,112,.6); }

.crest-core {
  position: absolute; inset: 112px;
  background: var(--green-10);
  border: 1px solid var(--green-border);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
}
.crest-core-label { font-family: 'Open Sans', sans-serif; font-size: 15px; font-weight: 800; color: var(--green); letter-spacing: .07em; }
.crest-core-sub   { font-size: 9.5px; font-weight: 400; color: var(--text-3); letter-spacing: .09em; text-transform: uppercase; }
.crest-bg-asset   { position: absolute; inset: -30px; height: auto; opacity: .04; pointer-events: none; }

.crest-text h2 { margin-bottom: 18px; font-size: clamp(30px, 3.4vw, 48px); }
.crest-text p  { font-size: 15.5px; font-weight: 300; color: var(--text-2); line-height: 1.75; margin-bottom: 14px; }
.crest-list    { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 13px; }
.crest-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: var(--text); line-height: 1.6; }
.crest-tick    { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--green-10); border: 1px solid var(--green-border); display: flex; align-items: center; justify-content: center; }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
#testimonials {
  padding: 130px 60px;
  position: relative; overflow: hidden;
}
.testi-deco   { position: absolute; left: -160px; top: -40px; width: 400px; height: auto; opacity: .025; pointer-events: none; }
.testi-header { max-width: 540px; margin-bottom: 64px; }
.testi-grid   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.testi {
  background: var(--surface);
  border: 1px solid var(--green-border);
  border-radius: var(--r-xl);
  padding: 38px;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), border-color .3s, box-shadow .3s;
}
.testi:hover { transform: translateY(-5px); border-color: rgba(45,202,112,.28); box-shadow: 0 24px 64px rgba(0,0,0,.28); }
.testi-quote  { font-family: 'Open Sans', sans-serif; font-size: 60px; font-weight: 800; color: var(--green); line-height: .8; opacity: .3; margin-bottom: 14px; display: block; }
.testi-text   { font-size: 14.5px; font-weight: 300; color: var(--text); line-height: 1.72; font-style: italic; margin-bottom: 26px; }
.testi-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--green-border); }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green-10); border: 1px solid var(--green-border); display: flex; align-items: center; justify-content: center; font-family: 'Open Sans', sans-serif; font-size: 13px; font-weight: 700; color: var(--green); flex-shrink: 0; }
.testi-name   { display: block; font-size: 14px; font-weight: 500; color: var(--white); }
.testi-role   { display: block; font-size: 12px; color: var(--text-2); }

/* ══════════════════════════════════════
   CTA
══════════════════════════════════════ */
#cta {
  padding: 130px 60px;
  background: var(--bg-2);
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-glow   { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(45,202,112,.10) 0%, transparent 68%); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.cta-deco-r { position: absolute; right: -100px; top: -80px; width: 380px; height: auto; opacity: .07; pointer-events: none; }
.cta-deco-l { position: absolute; left: -80px; bottom: -60px; width: 320px; height: auto; opacity: .04; pointer-events: none; }
.cta-sub    { font-size: 17px; font-weight: 300; color: var(--text-2); max-width: 480px; margin: 0 auto 50px; line-height: 1.72; }
.cta-form   { max-width: 500px; margin: 0 auto; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
  #hero,#services,#stats,#process,#crest,#testimonials,#cta { padding-left: 32px; padding-right: 32px; }
  .services-grid   { grid-template-columns: 1fr 1fr; }
  .svc { border-right: 1px solid var(--green-border); border-bottom: 1px solid var(--green-border); }
  .svc:nth-child(2n)  { border-right: none; }
  .svc:nth-last-child(-n+2) { border-bottom: none; }
  .stats-grid          { grid-template-columns: 1fr 1fr; }
  .stat                { border-bottom: 1px solid var(--green-border); }
  .stat:nth-child(2n)  { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .process-grid        { grid-template-columns: 1fr; gap: 18px; }
  .crest-inner         { grid-template-columns: 1fr; gap: 56px; }
  .testi-grid          { grid-template-columns: 1fr; gap: 18px; }
  .hero-float          { display: none; }
}
@media (max-width: 640px) {
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  #hero { padding-top: 110px; }
  .services-grid       { grid-template-columns: 1fr; }
  .svc                 { border-right: none !important; border-bottom: 1px solid var(--green-border) !important; }
  .svc:last-child      { border-bottom: none !important; }
  .stats-grid          { grid-template-columns: 1fr 1fr; }
}

/* ─── WIDESCREEN ─── */
@media (min-width: 1521px) {
  #hero, #services, #stats, #process, #crest, #testimonials, #cta {
    padding-left:  calc((100vw - 1400px) / 2);
    padding-right: calc((100vw - 1400px) / 2);
  }
  .divider {
    margin-left:  calc((100vw - 1400px) / 2);
    margin-right: calc((100vw - 1400px) / 2);
  }
}
