@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ===========================================
   IULEAPP — EBOOK LANDING PAGE v2
   Tech Dark Design System
   =========================================== */

/* === CSS VARIABLES === */
:root {
  --bg: #0f1028;
  --bg-card: rgba(255,255,255,0.10);
  --bg-card-hover: rgba(255,255,255,0.16);
  --border: rgba(255,255,255,0.26);
  --border-cyan: rgba(0,212,255,0.55);
  --border-purple: rgba(168,85,247,0.55);
  --border-green: rgba(74,222,128,0.55);
  --border-gold: rgba(251,191,36,0.55);

  --cyan: #00d4ff;
  --purple: #a855f7;
  --green: #4ade80;
  --gold: #fbbf24;
  --red: #f87171;

  --text: #ffffff;
  --text-muted: #bac8d8;
  --text-faint: #94a3b8;

  --grad-brand: linear-gradient(135deg, #00d4ff, #a855f7);
  --grad-green: linear-gradient(135deg, #4ade80, #22c55e);
  --grad-orange: linear-gradient(135deg, #fb923c, #f97316);

  --glow-cyan: 0 0 30px rgba(0,212,255,0.25);
  --glow-purple: 0 0 30px rgba(168,85,247,0.25);
  --glow-green: 0 0 30px rgba(74,222,128,0.35);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max: 1080px;
  --pad: 20px;
}

/* === RESET === */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
img { display:block; max-width:100%; }
a { text-decoration:none; }
ul { list-style:none; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Circuit grid background */
body::before {
  content:'';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* === CONTAINER === */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 1;
}

/* === GRADIENT TEXT === */
.g {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === ANNOUNCEMENT BAR === */
.announce {
  background: var(--grad-brand);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  position: relative;
  z-index: 100;
}

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(5,5,16,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
}

.logo em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-btn {
  background: var(--grad-green);
  color: #000;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: transform .2s, box-shadow .2s;
}

.header-btn:hover {
  transform: scale(1.04);
  box-shadow: var(--glow-green);
}

/* === HERO === */
.hero {
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content:'';
  position: absolute;
  top: -30%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content:'';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168,85,247,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.4);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.hero-h1 {
  font-size: clamp(30px, 6vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 18px;
  max-width: 720px;
}

.hero-sub {
  font-size: clamp(15px, 2.5vw, 19px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 30px;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 26px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-green);
  color: #000;
  padding: 16px 32px;
  border-radius: var(--r-md);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  transition: transform .25s, box-shadow .25s;
  animation: pulse-cta 2.5s infinite;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 50px rgba(74,222,128,0.55);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-muted);
  padding: 16px 22px;
  border-radius: var(--r-md);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all .25s;
}

.btn-ghost:hover {
  border-color: var(--border-cyan);
  color: var(--cyan);
  background: rgba(0,212,255,0.05);
}

@keyframes pulse-cta {
  0%,100% { box-shadow: 0 0 20px rgba(74,222,128,0.3); }
  50%      { box-shadow: 0 0 45px rgba(74,222,128,0.6); }
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
}

.trust-sep { opacity: .25; }

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0,212,255,0.14), transparent 68%);
  pointer-events: none;
}

.hero-mockup {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 60px rgba(0,212,255,0.22));
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* === STATS BAR === */
.stats-bar {
  background: rgba(255,255,255,0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  text-align: center;
}

.stat-n {
  font-size: clamp(28px,5vw,42px);
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-l {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* === SECTION SHARED === */
section { padding: 68px 0; position: relative; }

.sec-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.45);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
  background: rgba(0,212,255,0.05);
}

.sec-h2 {
  font-size: clamp(22px,4.5vw,38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.sec-lead {
  font-size: clamp(14px,2vw,17px);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.sec-head { text-align: center; margin-bottom: 48px; }

/* === PAIN SECTION === */
.pain-sec {
  background: rgba(248,113,113,0.02);
  border-top: 1px solid rgba(248,113,113,0.18);
  border-bottom: 1px solid rgba(248,113,113,0.18);
}

.pain-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--r-md);
  padding: 16px 18px;
}

.pain-ico { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.pain-txt { font-size: 15px; color: var(--text-muted); line-height: 1.55; }

/* === TOPICS SECTION === */
.topics-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  height: 118px;
  transition: all .3s;
}

.topic-card:hover {
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
  transform: translateX(5px);
  box-shadow: var(--glow-cyan);
}

.topic-thumb {
  width: 100px;
  height: 118px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  background: linear-gradient(135deg, rgba(0,212,255,0.06), rgba(168,85,247,0.06));
  border-right: 1px solid var(--border);
}

.topic-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.topic-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.topic-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* === AUDIENCE SECTION === */
.aud-sec {
  background: linear-gradient(180deg, transparent, rgba(168,85,247,0.03) 50%, transparent);
}

.aud-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.aud-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all .3s;
}

.aud-card:hover {
  border-color: var(--border-purple);
  transform: translateY(-4px);
  box-shadow: var(--glow-purple);
}

.aud-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.aud-card p {
  padding: 14px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* === CONDITIONS SECTION === */
.cond-sec {
  background: linear-gradient(135deg, rgba(0,212,255,0.025), rgba(168,85,247,0.025));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cond-list {
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cond-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.09);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  transition: all .25s;
}

.cond-item:hover {
  border-color: var(--border-cyan);
  background: rgba(0,212,255,0.03);
}

.cond-check { color: var(--cyan); font-weight: 700; flex-shrink: 0; }

/* === BENEFITS SECTION === */
.ben-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ben-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 18px;
  text-align: center;
  transition: all .3s;
}

.ben-card:hover {
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}

.ben-ico { font-size: 34px; margin-bottom: 12px; display: block; }
.ben-txt { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* === OFFER SECTION === */
.offer-sec {
  background: linear-gradient(180deg, transparent, rgba(74,222,128,0.025) 50%, transparent);
}

.offer-wrap { max-width: 680px; margin: 0 auto; }

.offer-product {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 24px;
}

.offer-img-zone {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 30px 30px 0;
  background: linear-gradient(180deg, rgba(0,212,255,0.04), transparent);
}

.offer-img-zone img {
  width: 100%;
  max-width: 260px;
}

.offer-body { padding: 22px; }

.offer-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.offer-impact {
  font-size: 16px !important;
  font-weight: 700;
  color: var(--gold) !important;
}

/* OFFER BOX (main pricing card) */
.offer-box {
  background: linear-gradient(135deg, rgba(74,222,128,0.07), rgba(34,197,94,0.03));
  border: 1px solid rgba(74,222,128,0.42);
  border-radius: var(--r-xl);
  padding: 30px 24px;
}

.offer-box-title {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 4px;
}

.offer-box-sub {
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 22px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.incl-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.incl-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
}

.incl-item::before { content:'✅'; flex-shrink: 0; }

/* Price display */
.price-row { text-align: center; margin-bottom: 20px; }

.price-old {
  font-size: 15px;
  color: var(--red);
  text-decoration: line-through;
  opacity: .75;
  margin-bottom: 4px;
}

.price-big {
  font-size: clamp(48px,10vw,68px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
}

.price-big sup {
  font-size: 28px;
  font-weight: 600;
  vertical-align: super;
  color: var(--text-muted);
  letter-spacing: 0;
}

.price-note {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 6px;
}

/* Timer */
.timer-box {
  text-align: center;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.38);
  border-radius: var(--r-sm);
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 14px;
}

.scarcity {
  text-align: center;
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

/* CTA button - large */
.cta-main {
  display: block;
  width: 100%;
  background: var(--grad-green);
  color: #000;
  padding: 18px 20px;
  border-radius: var(--r-md);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.6px;
  transition: transform .25s, box-shadow .25s;
  animation: pulse-cta 2.5s infinite;
  margin-bottom: 12px;
}

.cta-main:hover {
  transform: scale(1.02);
  box-shadow: 0 0 55px rgba(74,222,128,0.55);
}

.cta-secure {
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
}

/* === GUARANTEE SECTION === */
.guar-sec {
  background: rgba(251,191,36,0.02);
  border-top: 1px solid rgba(251,191,36,0.18);
  border-bottom: 1px solid rgba(251,191,36,0.18);
}

.guar-card {
  max-width: 580px;
  margin: 0 auto;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(251,191,36,0.38);
  border-radius: var(--r-xl);
  padding: 40px 28px;
  text-align: center;
}

.guar-ico { font-size: 64px; margin-bottom: 16px; display: block; }
.guar-title { font-size: 24px; font-weight: 800; color: var(--gold); margin-bottom: 12px; }
.guar-text { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* === FAQ SECTION === */
.faq-list {
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .25s;
}

.faq-item.open { border-color: var(--border-cyan); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  user-select: none;
  transition: background .25s;
  gap: 12px;
}

.faq-q:hover { background: var(--bg-card-hover); }

.faq-ico {
  width: 24px;
  height: 24px;
  background: rgba(0,212,255,0.08);
  border: 1px solid var(--border-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--cyan);
  flex-shrink: 0;
  font-weight: 300;
  transition: transform .3s;
}

.faq-item.open .faq-ico { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  padding: 0 20px;
}

.faq-item.open .faq-a {
  max-height: 250px;
  padding: 0 20px 18px;
}

.faq-a p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === FINAL CTA === */
.final-sec {
  background: linear-gradient(135deg, rgba(0,212,255,0.04), rgba(168,85,247,0.04));
  border-top: 1px solid var(--border);
  text-align: center;
}

.final-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* === FOOTER === */
.footer {
  background: rgba(0,0,0,0.55);
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
}

.footer p {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.9;
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s, transform .65s;
}

.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}

/* === UTILITY === */
.divider {
  width: 56px;
  height: 3px;
  background: var(--grad-brand);
  border-radius: 2px;
  margin: 0 auto 20px;
}

/* ============================================
   DESKTOP — 768px +
   ============================================ */
@media (min-width: 768px) {

  :root { --pad: 40px; }

  .hero { padding: 96px 0 80px; }

  .hero-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
  }

  .hero-text-col {
    flex: 1;
    max-width: 520px;
  }

  .hero-sub { margin-left: 0; }

  .hero-btns { justify-content: flex-start; }
  .hero-trust { justify-content: flex-start; }

  .hero-img-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 420px;
  }

  .hero-mockup { max-width: 400px; }

  .stats-grid { grid-template-columns: repeat(4,1fr); }

  .topics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .aud-grid { grid-template-columns: repeat(4,1fr); }

  .ben-grid { grid-template-columns: repeat(4,1fr); }

  .offer-product {
    display: flex;
    align-items: stretch;
  }

  .offer-img-zone {
    width: 260px;
    flex-shrink: 0;
    padding: 28px 20px;
    align-items: center;
  }
}

/* ============================================
   LARGE DESKTOP — 1080px +
   ============================================ */
@media (min-width: 1080px) {

  .topics-grid {
    grid-template-columns: repeat(4,1fr);
  }

  .topic-card {
    flex-direction: column;
    height: auto;
  }

  .topic-thumb {
    width: 100%;
    height: 130px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    font-size: 56px;
  }

  .topic-card:hover {
    transform: translateY(-5px);
  }
}
