/* ========== Design tokens ========== */
:root{
  --bg-alt-1: #282d37;
  --bg-alt-2: #0f1115;
  --bg-alt-3: #141a22;
  --bg: #0f1115;

  --surface: #151922;
  --surface-2: #1b2030;
  --surface-3: #40495a;

  --text: #e5e7eb;
  --text-muted:#aeb6c3;

  --acc:#0082f0;
  --acc-2:#b1b1b1;

  --btn-solid: #0ea5ff;
  --btn-solid-hover:#1390e0;
  --btn-glow: rgba(14,165,255,.45);
  --btn-border: #000000;
  --btn-border-2:#555555;

  --radius:0px;
  --shadow:0 6px 24px rgba(0,0,0,.35);
  --maxw: 1100px;

  --header-h: 64px;
  --logo-h: 64px;

  --section-gap: 28px;
}
/* ========== End: Design tokens ========== */

/* ========== Reset ========== */
*{box-sizing:border-box;margin:0;padding:0}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
ul{list-style:none}
/* ========== End: Reset ========== */

/* ========== Base ========== */
html,body{height:100%}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  scroll-behavior:smooth;
}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.link{color:var(--acc)}
.link:hover{opacity:.9}
/* ========== End: Base ========== */

/* ========== Header ========== */
.site-header{
  position:sticky;top:0;z-index:1000;
  background:rgba(10,12,16,.55);
  border-bottom:1px solid rgba(255,255,255,.06);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled{
  background:rgba(10,12,16,.85);
  border-color: rgba(255,255,255,.08);
}
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))){
  .site-header{ background: rgba(10,12,16,.9); }
}
.navbar{
  display:flex;align-items:center;justify-content:space-between;
  min-height: var(--header-h);
  padding-block: 8px;
}
.nav-links{display:flex;gap:18px}
.nav-links a{padding:8px 10px;border-radius:8px}
.nav-links a:hover{background:rgba(255,255,255,.06)}
.logo{display:flex;align-items:center}
.logo img{
  height: var(--logo-h);
  width: auto;
  max-height: calc(var(--header-h) - 16px);
}
/* ========== End: Header ========== */

/* ========== Sections ========== */
.section{
  padding:72px 0;
  scroll-margin-top:90px;
  position: relative;
  background: var(--bg-alt-1);
}
.section + .section{ margin-top: var(--section-gap); }

#features.section{ background: var(--bg-alt-1); }
#motivations.section{ background: var(--bg-alt-2); }
#roadmap.section{ background: var(--bg-alt-3); }
#contact.section{ background: var(--bg-alt-2); }
/* ========== End: Sections ========== */

/* ========== Section Title ========== */
.section-header{
  text-align: center;
  margin-top: 24px;
  margin-bottom: 24px;
}
.section-title{
  font-size: clamp(32px, 3.6vw, 40px);
  font-weight: 900;
  letter-spacing: .5px;
  color: #ffffff;
  -webkit-text-stroke: 2px var(--btn-border);
  text-shadow:
    2px  2px 0 var(--btn-border-2),
   -2px  2px 0 var(--btn-border-2),
    2px -2px 0 var(--btn-border-2),
   -2px -2px 0 var(--btn-border-2),
    0   3px 0 var(--btn-border-2),
    3px  0  0 var(--btn-border-2),
    0  -3px 0 var(--btn-border-2),
   -3px  0  0 var(--btn-border-2);
  display: inline-block;
  padding: 12px 22px;
}
/* ========== End: Section Title ========== */

/* ========== Hero ========== */
.hero{
  position:relative;
  min-height:72vh;
  display:grid;
  place-items:center;
  overflow:hidden;
  background-image: url("images/hiboupresentation.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: contrast(1.05) brightness(.9);
}
.hero--short{ min-height:54vh; }

.hero-overlay{
  position:absolute;inset:0;
  background: radial-gradient(1200px 600px at 40% 60%, rgba(0,0,0,.15), rgba(0,0,0,.75));
}
.hero-content{
  position:relative;
  width:100%;
  padding: 60px 0;
  text-align:center;
}
.hero-left{ text-align:left; }
.hero-title{
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  letter-spacing:.5px;
  color: var(--text);
  -webkit-text-stroke: 2px var(--btn-border);
  text-shadow:
    2px  2px 0 var(--btn-border-2),
   -2px  2px 0 var(--btn-border-2),
    2px -2px 0 var(--btn-border-2),
   -2px -2px 0 var(--btn-border-2),
    0   3px 0 var(--btn-border-2),
    3px  0  0 var(--btn-border-2),
    0  -3px 0 var(--btn-border-2),
   -3px  0  0 var(--btn-border-2);
}
.hero-desc{
  max-width: 760px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: clamp(16px, 2.4vw, 20px);
}
.hero-cta{ margin-top: 18px; }
/* ========== End: Hero ========== */

/* ========== Buttons ========== */
.btn{
  --btn-pad-y: 10px;
  --btn-pad-x: 16px;
  position: relative;
  display: inline-block;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-weight: 900;
  letter-spacing: .3px;
  color: #0b0e13;
  background: var(--btn-solid);
  border: 1.5px solid var(--btn-border);
  outline: 0 solid var(--btn-border);
  outline-offset: 0;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform .12s ease,
    filter .15s ease,
    background .15s ease,
    box-shadow .2s ease,
    outline-width .12s ease;
  overflow: hidden;
}
.btn::before{
  content:"";
  position:absolute; inset:-10%;
  background: linear-gradient(120deg, transparent 0 42%, rgba(255,255,255,.18) 50%, transparent 58% 100%);
  transform: translateX(-120%);
  transition: transform .45s ease;
  pointer-events:none;
}
.btn::after{
  content:"";
  position:absolute; left:50%; top:50%;
  width:10px; height:10px; border-radius:50%;
  background: radial-gradient(circle, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 70%);
  transform: translate(-50%, -50%) scale(0);
  opacity:0; pointer-events:none;
}
.btn:hover{
  outline-width: 3px;
  outline-color: var(--btn-border);
  outline-offset: -2px;
  background: var(--btn-solid-hover);
  filter: brightness(1.03);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 10px 26px var(--btn-glow), inset 0 0 0 0 rgba(0,0,0,0);
}
.btn:hover::before{ transform: translateX(120%); }
.btn:active{
  transform: translateY(0) scale(.98);
  box-shadow: 0 6px 16px rgba(0,0,0,.45), inset 0 2px 8px rgba(0,0,0,.35);
}
.btn:active::after{
  animation: btn-ripple .5s ease-out forwards;
}
.btn:focus-visible{
  outline: 3px solid #fff;
  outline-offset: 2px;
}
@keyframes btn-ripple{
  0%{ transform: translate(-50%, -50%) scale(.2); opacity:.45; }
  80%{ transform: translate(-50%, -50%) scale(16); opacity:.12; }
  100%{ transform: translate(-50%, -50%) scale(18); opacity:0; }
}
.btn.btn--ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--btn-border-2);
  box-shadow: none;
}

.btn.btn--ghost:hover{
  background: rgba(255,255,255,.06);
  filter: none;
  transform: translateY(-1px);
  box-shadow: none;
}
/* ========== End: Buttons ========== */

/* ========== Features ========== */
.feature-list{ display:flex; flex-direction:column; gap:24px; }
.feature-row{
  display:flex; gap:20px; align-items:center; justify-content:space-between;
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.feature-row:nth-child(even){ flex-direction: row-reverse; }
.feature-media img{ width:100%; max-width: 240px; border-radius: 8px; }
.feature-text{ max-width: 740px; justify-content:flex }
.feature-text h3{ font-size:1.25rem; font-weight:900; margin-bottom:8px; }
.feature-text p{ color: var(--text); }
.feature-details{ margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); color: var(--text-muted); font-size: 0.95rem; }
.feature-text .btn--ghost{ margin-top: 10px; }
.feature-row--intro{ justify-content: center; text-align: center;}
.feature-row--intro .feature-text{ max-width: 780px; margin: 0 auto;}
.feature-text--center{ text-align: center;}
.feature-intro-title{ font-size: 1.35rem; font-weight: 900; margin-bottom: 10px;}
.feature-intro-text{ color: var(--text-muted); font-size: 1.02rem;}
.feature-row--intro{ background: var(--surface-3);}
.feature-details img{
  display: block;
  max-width: 100%;
  margin: 12px auto 4px;

  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);

  box-shadow: 0 16px 40px rgba(0,0,0,.65);
  filter: contrast(1.03) brightness(.96) saturate(1.05);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}
.feature-details img:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(0,0,0,.75);
  filter: contrast(1.06) brightness(.98) saturate(1.08);
}
/* ========== End: Features ========== */

/* ========== Motivations ========== */
.motivation-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.motivation-card{
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.motivation-card h3{ font-size:1.15rem; font-weight:900; margin-bottom:8px; }
.motivation-card p{ color: var(--text-muted); }
/* ========== End: Motivations ========== */

/* ========== Roadmap ========== */
.roadmap{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.roadmap-col{
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.roadmap-col h3{ font-size:1.1rem; font-weight:900; margin-bottom:10px; }
.roadmap-list{ display:flex; flex-direction:column; gap:6px; }
.roadmap-list li{
  position:relative;
  padding-left: 22px;
  color: var(--text-muted);
}
.roadmap-list li::before{
  content:"";
  position:absolute; left:0; top:.55em;
  width:10px; height:10px; border-radius:2px;
  background: linear-gradient(90deg, var(--acc), var(--acc-2));
}
/* ========== End: Roadmap ========== */

/* ========== Contact ========== */
#contact .section-header{ margin-bottom: 8px; }
.contact-wrap{
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
  margin: 6px auto 16px;
}
.contact-chip{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,.06);
  color: var(--text-muted);
  font-size: .95rem;
}
.contact-text{
  color: var(--text);
  margin-bottom: 18px;
}
.contact-text a{
  color: var(--text-muted);
  text-decoration: underline;
}
.social-links{display:flex;gap:14px;justify-content:center;margin-top:10px}
/* ========== End: Contact ========== */

/* ========== Footer ========== */
.footer{
  border-top:1px solid rgba(255,255,255,.06);
  padding:24px 0;
  margin-top:30px;
  text-align:center;
  color:var(--text-muted)
}
/* ========== End: Footer ========== */

/* ========== Reveal on scroll ========== */
.will-reveal{opacity:0;transform: translateY(16px);transition: opacity .5s ease, transform .5s ease}
.will-reveal.revealed{opacity:1;transform:none}
/* ========== End: Reveal on scroll ========== */

/* ========== Responsive ========== */
@media (max-width: 1024px){
  .motivation-grid{ grid-template-columns: 1fr 1fr; }
  .roadmap{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px){
  .feature-row{ flex-direction: column; text-align:center; }
  .feature-row:nth-child(even){ flex-direction: column; }
  .feature-media img{ max-width: 280px; margin: 0 auto; }
  .feature-text{ max-width: 100%; }
  .hero-left{ text-align:center; }
}
@media (max-width: 640px){
  .motivation-grid{ grid-template-columns: 1fr; }
  .roadmap{ grid-template-columns: 1fr; }
  :root{
    --header-h: 56px;
    --logo-h: 22px;
  }
}
/* ========== End: Responsive ========== */

/* ========== Motion respect ========== */
@media (prefers-reduced-motion: reduce){
  .will-reveal{transition:none}
  .btn::before{ transition:none }
  .btn{ transition:none }
}
/* ========== End: Motion respect ========== */