:root{
  --bg0:#070A12;
  --bg1:#0B1020;
  --bg2:#0E1830;

  --surface: rgba(255,255,255,0.075);
  --border: rgba(255,255,255,0.12);

  --text:#EAF1FF;
  --muted: rgba(234,241,255,0.74);

  --accent:#4EE3A1;
  --accent2:#A76DFF;
  --gold:#FFC13F;

  --shadow: 0 22px 70px rgba(0,0,0,0.55);
  --radius: 22px;
  --radius2: 16px;

  --max: 1440px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; }

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 15% -10%, rgba(78,227,161,0.18), transparent 55%),
    radial-gradient(1000px 650px at 90% 0%, rgba(167,109,255,0.18), transparent 55%),
    linear-gradient(180deg, var(--bg2), var(--bg0) 70%);
}

a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; height:auto; }

/* ===== LAYOUT ===== */

.wrap{
  width: min(var(--max), calc(100vw - 36px));
  margin: 0 auto;
}

.page{
  padding: 6px 0 64px;
}

/* ===== HEADER ===== */

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 4px 0;
  background: linear-gradient(to bottom, rgba(7,10,18,0.92), rgba(7,10,18,0));
  backdrop-filter: blur(10px);
}

.header{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.logo{
  width:44px;
  height:44px;
  border-radius:12px;
  background:url("../assets/LogoIAP2.png") center/contain no-repeat;
}

.brandTitle{ margin:0; font-size:20px; }
.brandTitle span{ color:var(--accent); }
.brandSub{ font-size:13px; color:var(--muted); }

.nav{
  margin-left:auto;
  display:flex;
  gap:10px;
}

.nav a{
  padding:9px 11px;
  border-radius:12px;
  font-weight:900;
  font-size:13px;
  background:rgba(0,0,0,0.18);
  border:1px solid var(--border);
}

.btn{
  padding:10px 14px;
  border-radius:14px;
  font-weight:950;
  border:1px solid rgba(78,227,161,0.4);
  background:rgba(78,227,161,0.18);
}

.btn.ghost{
  border-color:var(--border);
  background:rgba(255,255,255,0.06);
}

.mobile-cta{
  display:none;
  margin-left:auto;
}

/* ===== SECTIONS ===== */

.section{
  margin-top:14px;
  padding:20px;
  border-radius:var(--radius);
  background:var(--surface);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}

.section.hero{
  margin-top:0;
  padding-top:10px;
}

/* ===== TEXT ===== */

.h1{
  font-size:44px;
  line-height:1.05;
  margin:8px 0;
}

.h2{
  font-size:22px;
  margin:6px 0 0;
}

.lead{
  font-size:16px;
  line-height:1.65;
  color:var(--muted);
  max-width:60ch;
}

/* ===== EYEBROW ===== */

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:6px;
  padding:6px 12px;
  font-size:16px;
  font-weight:900;
  border-radius:999px;
  background:rgba(0,0,0,0.22);
  border:1px solid var(--border);
}

.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
}

.dot.purple{ background:var(--accent2); }
.dot.gold{ background:var(--gold); }

/* ===== LAYOUT GRIDS ===== */

.hero{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap:16px;
  align-items:center;
}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.grid4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
}

@media(max-width:1100px){
  .grid4{ grid-template-columns: repeat(2, 1fr); }
}

@media(max-width:700px){
  .grid4{ grid-template-columns:1fr; }
}

/* ===== MEDIA ===== */

.media{
  border-radius:var(--radius2);
  overflow:hidden;
  border:1px solid var(--border);
  background:#000;
}

.media img{
  width:100%;
  height:auto;
  object-fit:contain;
}

/* ===== IPAD FRAME ===== */

.ipad-frame{
  position:relative;
  padding:16px;
  border-radius:28px;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,0.14),
    rgba(255,255,255,0.06)
  );
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:0 28px 80px rgba(0,0,0,0.55);
}

.ipad-frame::after{
  content:"";
  position:absolute;
  top:8px;
  left:50%;
  transform:translateX(-50%);
  width:6px;
  height:6px;
  border-radius:50%;
  background:rgba(255,255,255,0.45);
}

/* ===== LIST ===== */

.list{
  margin-top:12px;
  padding-left:18px;
  color:var(--muted);
}

.list li{ margin:6px 0; }

.footer{
  margin-top:18px;
  text-align:center;
  font-size:13px;
  color:var(--muted);
}

/* ===== RESPONSIVE ===== */

@media(max-width:980px){
  .hero,.split{ grid-template-columns:1fr; }
}

@media(max-width:900px){
  .nav{ display:none; }
  .mobile-cta{ display:inline-flex; }
  .h1{ font-size:36px; }
}
