/* ============================================================
   KiteGen Power — Global stylesheet
   Brand: dark purple #150733 · red #EE1C44 · cyan accent #19D3F3
   Menu font: Sora (bold)
   ============================================================ */

:root{
  --bg:#150733;
  --red:#EE1C44;
  --accent:#19D3F3;
  --ink:#ffffff;
  --muted:rgba(255,255,255,.45);
  --line:rgba(255,255,255,.10);
  --cyan:#19D4F3;
  --ink-dark:#0e0833;
  --header-h:96px;
}

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

html,body{height:100%}

body{
  background:var(--bg);
  color:var(--ink);
  font-family:'Sora',sans-serif;
  -webkit-font-smoothing:antialiased;
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

a{color:inherit;text-decoration:none}

/* ---------- Header ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  height:var(--header-h);
  background:var(--bg);
  display:flex;
  align-items:stretch;
}

/* Logo flush to the far left, full header height */
.logo{
  display:flex;
  align-items:center;
  height:100%;
  padding:0;
}
.logo img,.logo svg{height:100%;width:auto;display:block}

.nav{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:48px;
}
.nav a{
  font-family:'Sora',sans-serif;
  font-weight:700;
  font-size:19px;
  color:var(--ink);
  letter-spacing:.2px;
  padding-bottom:3px;
  border-bottom:2px solid transparent;
  transition:border-color .15s,color .15s;
}
.nav a:hover{color:#fff;border-bottom-color:rgba(255,255,255,.5)}
.nav a.active{border-bottom-color:#fff}

.nav-cta{
  display:flex;
  align-items:center;
  padding-right:32px;
}
.btn-contact{
  background:var(--red);
  color:#fff;
  font-family:'Sora',sans-serif;
  font-weight:700;
  font-size:19px;
  padding:16px 34px;
  border-radius:40px;
  white-space:nowrap;
  transition:transform .15s,filter .15s;
}
.btn-contact:hover{transform:translateY(-2px);filter:brightness(1.06)}

.menu{display:flex;flex:1;align-items:center}
.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:50px;
  height:100%;
  margin-left:auto;
  background:none;
  border:0;
  cursor:pointer;
  padding:0;
}
.nav-toggle span{display:block;width:26px;height:2px;background:#fff;border-radius:2px;transition:transform .2s,opacity .2s}

/* ---------- Page body ---------- */
main{flex:1 0 auto}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--bg);
  padding:40px 32px 28px;
}
.footer-brand{
  font-family:'Sora',sans-serif;
  font-weight:700;
  font-size:15px;
  letter-spacing:.5px;
  color:var(--accent);
  margin-bottom:26px;
}
.footer-socials{
  font-family:'Sora',sans-serif;
  font-size:14px;
  letter-spacing:4px;
  color:var(--muted);
  margin-bottom:30px;
}
.footer-divider{
  border:0;
  border-top:1px solid var(--line);
  margin:0 0 18px;
}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  font-size:14px;
  color:var(--muted);
}

/* ---------- Responsive ---------- */
@media(max-width:860px){
  .nav-toggle{display:flex}
  .menu{
    position:absolute;
    top:var(--header-h);
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    align-items:stretch;
    flex:none;
    background:var(--bg);
    border-top:1px solid var(--line);
    padding:6px 0 18px;
    box-shadow:0 18px 40px rgba(0,0,0,.35);
  }
  .site-header.open .menu{display:flex}
  .nav{flex:none;flex-direction:column;align-items:stretch;gap:0}
  .nav a{font-size:18px;padding:15px 28px;border-bottom:0;width:100%}
  .nav a:hover{border-bottom-color:transparent;background:rgba(255,255,255,.05)}
  .nav a.active{border-bottom:0;color:var(--accent)}
  .nav-cta{padding:14px 28px 0}
  .btn-contact{display:block;width:100%;text-align:center;font-size:17px}
  .site-header.open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .site-header.open .nav-toggle span:nth-child(2){opacity:0}
  .site-header.open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .footer-bottom{flex-direction:column;align-items:flex-start}
}

/* ============================================================
   HOME PAGE SECTIONS
   ============================================================ */

/* ---------- Hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  background:var(--bg);
  min-height:calc(100svh - var(--header-h));
  display:flex;
  align-items:center;
}
.hero-bg{
  position:absolute;
  inset:0;
  background:url('assets/heroback.png') center right / cover no-repeat;
  opacity:.60;
  z-index:0;
}
.hero-inner{
  position:relative;
  z-index:1;
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding:64px 56px;
}
.hero-eyebrow{
  font-family:'Sora',sans-serif;
  font-weight:700;
  font-size:18px;
  letter-spacing:1.5px;
  color:var(--cyan);
  text-transform:uppercase;
  margin-bottom:26px;
}
.hero-title{
  font-family:'Sora',sans-serif;
  font-weight:300;
  font-size:clamp(46px,8vw,104px);
  line-height:.98;
  letter-spacing:-1.5px;
  color:#fff;
  max-width:14ch;
  margin-bottom:34px;
}
.hero-title em{
  font-family:'Instrument Serif',serif;
  font-style:italic;
  font-weight:400;
  color:var(--cyan);
  letter-spacing:0;
}
.hero-lede{
  font-family:'Sora',sans-serif;
  font-weight:400;
  font-size:clamp(16px,1.5vw,21px);
  line-height:1.55;
  color:rgba(255,255,255,.92);
  max-width:640px;
  margin-bottom:44px;
}
.hero-ctas{display:flex;gap:18px;flex-wrap:wrap}

/* Shared pill buttons */
.btn-cyan,.btn-ghost,.btn-red{
  font-family:'Sora',sans-serif;
  font-weight:700;
  font-size:19px;
  padding:18px 38px;
  border-radius:40px;
  display:inline-block;
  white-space:nowrap;
  transition:transform .15s,filter .15s,background .15s,color .15s;
}
.btn-cyan{background:var(--cyan);color:var(--ink-dark)}
.btn-cyan:hover{transform:translateY(-2px);filter:brightness(1.05)}
.btn-ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.55)}
.btn-ghost:hover{transform:translateY(-2px);background:rgba(255,255,255,.08)}
.btn-red{background:var(--red);color:#fff}
.btn-red:hover{transform:translateY(-2px);filter:brightness(1.06)}

/* ---------- Numbers / stats ---------- */
.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:linear-gradient(90deg,#FF1E3C,#C2185B);
}
.stats .stat{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:34px 44px;
  border-right:1px solid rgba(255,255,255,.18);
  color:#fff;
}
.stats .stat:last-child{border-right:none}
.stats .num{
  font-family:'Sora',sans-serif;
  font-size:clamp(28px,3vw,40px);
  font-weight:800;
  line-height:1;
}
.stats .num small{font-size:.46em;font-weight:600}
.stats .cap{
  font-family:'Inter',sans-serif;
  font-size:13.5px;
  opacity:.92;
  margin-top:10px;
}

/* ---------- Carousel animation ---------- */
.carousel-section{
  position:relative;
  background:#0d0526;
  overflow:hidden;
  aspect-ratio:900 / 470;
}
.carousel-section svg{
  position:absolute;inset:0;width:100%;height:100%;display:block;overflow:visible;
}
.carousel-section .alt-label{font-family:'IBM Plex Mono',monospace;font-size:11px;fill:#9d8fc4}
/* Subtle clickable section title overlaid on the carousel animation */
.carousel-title-link{
  position:absolute;
  top:34px;
  left:50%;
  transform:translateX(-50%);
  z-index:3;
  display:inline-flex;
  align-items:center;
  gap:11px;
  font-family:'Sora',sans-serif;
  font-weight:700;
  font-size:clamp(22px,2.4vw,30px);
  letter-spacing:-.3px;
  color:#fff;
  padding-bottom:7px;
  border-bottom:2px solid rgba(25,211,243,.55);
  transition:color .18s,border-color .18s,gap .18s;
}
.carousel-title-link span{color:var(--cyan);transition:transform .18s}
.carousel-title-link:hover{color:var(--cyan);border-bottom-color:var(--cyan)}
.carousel-title-link:hover span{transform:translateX(4px)}
.carousel-title-link:focus-visible{outline:2px solid var(--cyan);outline-offset:6px;border-radius:2px}

/* ---------- Connect with KiteGen ---------- */
.connect{
  position:relative;
  overflow:hidden;
  background:url('assets/sunset.png') center / cover no-repeat;
  min-height:84vh;
  display:flex;
  align-items:center;
}
.connect-inner{
  position:relative;
  z-index:1;
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding:80px 56px;
  color:var(--ink-dark);
}
.connect h2{
  font-family:'Sora',sans-serif;
  font-weight:800;
  font-size:clamp(38px,6vw,72px);
  line-height:1.02;
  letter-spacing:-1px;
  max-width:9ch;
  margin-bottom:44px;
}
.connect-block{margin-bottom:28px}
.connect-block .label{
  font-family:'Sora',sans-serif;
  font-weight:700;
  font-size:15px;
  letter-spacing:1.5px;
  margin-bottom:8px;
}
.connect-block p:not(.label){
  font-family:'Inter',sans-serif;
  font-size:18px;
  line-height:1.5;
  color:rgba(14,8,51,.85);
}
.connect-block a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(14,8,51,.35)}
.connect-block a:hover{border-bottom-color:rgba(14,8,51,.8)}
.btn-outline-dark{
  display:inline-block;
  margin-top:14px;
  font-family:'Sora',sans-serif;
  font-weight:700;
  font-size:18px;
  padding:16px 40px;
  border-radius:40px;
  border:1.5px solid var(--ink-dark);
  color:var(--ink-dark);
  background:transparent;
  transition:background .15s,color .15s;
}
.btn-outline-dark:hover{background:var(--ink-dark);color:#fff}

/* ---------- Home responsive ---------- */
@media(max-width:820px){
  .stats{grid-template-columns:repeat(2,1fr)}
  .stats .stat:nth-child(2){border-right:none}
  .stats .stat:nth-child(1),.stats .stat:nth-child(2){border-bottom:1px solid rgba(255,255,255,.18)}
  .hero-inner,.connect-inner{padding-left:28px;padding-right:28px}
  .hero-bg{background-position:80% center}
  .carousel-title-link{top:24px;font-size:20px}
}
@media(max-width:460px){
  .stats{grid-template-columns:1fr}
  .stats .stat{border-right:none;border-bottom:1px solid rgba(255,255,255,.18)}
  .stats .stat:last-child{border-bottom:none}
  .btn-cyan,.btn-ghost{font-size:17px;padding:15px 28px}
}

/* ============================================================
   UNIFIED BUTTON INTERACTION
   Every button on the site shares the same hover / press / focus feel.
   ============================================================ */
.btn-contact,.btn-cyan,.btn-ghost,.btn-red,.btn-outline-dark,.btn-on-red,.cta{
  transition:transform .18s ease, filter .18s ease, background .18s ease,
             color .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn-contact:hover,.btn-cyan:hover,.btn-ghost:hover,.btn-red:hover,
.btn-outline-dark:hover,.btn-on-red:hover,.cta:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(0,0,0,.25);
}
.btn-contact:active,.btn-cyan:active,.btn-ghost:active,.btn-red:active,
.btn-outline-dark:active,.btn-on-red:active,.cta:active{
  transform:translateY(0);
  box-shadow:0 3px 10px rgba(0,0,0,.22);
  filter:brightness(.98);
}
.btn-contact:focus-visible,.btn-cyan:focus-visible,.btn-ghost:focus-visible,.btn-red:focus-visible,
.btn-outline-dark:focus-visible,.btn-on-red:focus-visible,.cta:focus-visible{
  outline:2px solid var(--cyan);
  outline-offset:3px;
}
@media(prefers-reduced-motion:reduce){
  .btn-contact,.btn-cyan,.btn-ghost,.btn-red,.btn-outline-dark,.btn-on-red,.cta{transition:none}
  .btn-contact:hover,.btn-cyan:hover,.btn-ghost:hover,.btn-red:hover,
  .btn-outline-dark:hover,.btn-on-red:hover,.cta:hover{transform:none}
}
