:root{
  --bg1:#0b1020;
  --bg2:#111936;
  --card:#121a30;
  --card-2:#17213d;
  --stroke:rgba(255,255,255,.08);
  --text:#eef2ff;
  --muted:#9aa4c7;
  --primary:#7c3aed;
  --primary-2:#38bdf8;
  --success:#22c55e;
  --shadow:0 20px 50px rgba(0,0,0,.35);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  color:var(--text);
  background:
    radial-gradient(1000px 500px at 20% 0%, rgba(124,58,237,.18), transparent 55%),
    radial-gradient(800px 500px at 80% 10%, rgba(56,189,248,.16), transparent 55%),
    linear-gradient(160deg, var(--bg1), var(--bg2));
  line-height:1.5;
}

a{
  text-decoration:none;
  color:inherit;
}

.container{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
}

.hero{
  padding:24px 0 70px;
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:60px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand-logo{
  width:48px;
  height:48px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:18px;
  color:#fff;
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow:var(--shadow);
}

.brand-text{
  display:flex;
  flex-direction:column;
}

.brand-text strong{
  font-size:18px;
}

.brand-text span{
  font-size:12px;
  color:var(--muted);
}

.hero-content{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:40px;
  align-items:center;
}

.hero-badge,
.category-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:#cbd5ff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.3px;
  margin-bottom:18px;
}

.hero-left h1{
  font-size:clamp(34px, 4vw, 60px);
  line-height:1.05;
  margin-bottom:18px;
}

.hero-left p{
  color:var(--muted);
  font-size:17px;
  max-width:640px;
  margin-bottom:28px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 18px;
  border-radius:14px;
  font-weight:800;
  transition:.25s ease;
  border:1px solid transparent;
}

.btn-primary{
  background:linear-gradient(135deg, var(--primary), #6d28d9);
  color:#fff;
  box-shadow:0 12px 28px rgba(124,58,237,.28);
}

.btn-primary:hover{
  transform:translateY(-2px);
  filter:brightness(1.05);
}

.btn-secondary,
.btn-outline{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:#fff;
}

.btn-secondary:hover,
.btn-outline:hover{
  background:rgba(255,255,255,.08);
}

.hero-right{
  display:flex;
  justify-content:center;
}

.hero-card{
  width:100%;
  max-width:420px;
  border-radius:24px;
  border:1px solid var(--stroke);
  background:linear-gradient(180deg, rgba(18,26,48,.88), rgba(20,31,56,.88));
  box-shadow:var(--shadow);
  overflow:hidden;
}

.hero-card-top{
  display:flex;
  gap:8px;
  padding:14px 16px;
  border-bottom:1px solid var(--stroke);
  background:rgba(255,255,255,.03);
}

.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  display:inline-block;
}

.dot-green{ background:#22c55e; }
.dot-yellow{ background:#f59e0b; }
.dot-red{ background:#ef4444; }

.hero-card-body{
  padding:26px;
}

.hero-card-body h3{
  font-size:28px;
  margin-bottom:8px;
}

.hero-card-body p{
  color:var(--muted);
  margin-bottom:16px;
}

.hero-card-body ul{
  list-style:none;
  display:grid;
  gap:10px;
}

.hero-card-body li{
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
}

.section{
  padding:78px 0;
}

.section.alt{
  background:rgba(255,255,255,.02);
  border-top:1px solid rgba(255,255,255,.04);
  border-bottom:1px solid rgba(255,255,255,.04);
}

.section-title{
  text-align:center;
  max-width:820px;
  margin:0 auto;
}

.section-title span{
  color:#b7c0e6;
  font-weight:800;
  font-size:13px;
  display:block;
  margin-bottom:12px;
  letter-spacing:.5px;
}

.section-title h2{
  font-size:clamp(28px, 3vw, 42px);
  line-height:1.1;
  margin-bottom:16px;
}

.section-title p{
  color:var(--muted);
  font-size:16px;
}

.category-header{
  margin-bottom:28px;
}

.category-header h2{
  font-size:clamp(26px, 3vw, 38px);
  margin-bottom:10px;
}

.category-header p{
  color:var(--muted);
  font-size:16px;
  max-width:760px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
}

.card{
  position:relative;
  min-height:240px;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, var(--card), var(--card-2));
  box-shadow:var(--shadow);
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.card:hover{
  transform:translateY(-4px);
  border-color:rgba(124,58,237,.45);
  box-shadow:0 22px 50px rgba(0,0,0,.42);
}

.card-front,
.card-back{
  position:absolute;
  inset:0;
  padding:22px;
  transition:opacity .3s ease, transform .3s ease;
}

.card-front{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  opacity:1;
  transform:translateY(0);
}

.card-front h3{
  font-size:22px;
  margin-bottom:8px;
}

.card-front p{
  color:var(--muted);
  font-size:14px;
}

.card-tag{
  position:absolute;
  top:18px;
  left:18px;
  padding:7px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  background:rgba(124,58,237,.15);
  border:1px solid rgba(124,58,237,.30);
  color:#d9c8ff;
}

.card-back{
  opacity:0;
  transform:translateY(14px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    linear-gradient(180deg, rgba(10,16,30,.82), rgba(15,24,45,.96)),
    radial-gradient(600px 160px at 0% 0%, rgba(124,58,237,.18), transparent 60%);
}

.card-back h3{
  font-size:21px;
  margin-bottom:10px;
}

.card-back p{
  color:#d2d9f4;
  font-size:14px;
}

.card:hover .card-front{
  opacity:0;
  transform:translateY(-14px);
}

.card:hover .card-back{
  opacity:1;
  transform:translateY(0);
}

.cta-section{
  padding:80px 0 90px;
}

.cta-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:30px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(800px 240px at 0% 0%, rgba(124,58,237,.16), transparent 60%),
    linear-gradient(180deg, rgba(18,26,48,.90), rgba(20,31,56,.90));
  box-shadow:var(--shadow);
}

.cta-box h2{
  font-size:clamp(26px, 3vw, 38px);
  margin:10px 0 12px;
}

.cta-box p{
  color:var(--muted);
  max-width:700px;
}

.footer{
  border-top:1px solid rgba(255,255,255,.05);
  padding:26px 0 40px;
}

.footer-content{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
}

.footer-content p,
.footer-content a{
  color:var(--muted);
  font-size:14px;
  max-width:620px;
}

@media (max-width: 1080px){
  .hero-content{
    grid-template-columns:1fr;
  }

  .grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .cta-box{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 680px){
  .navbar{
    flex-direction:column;
    align-items:flex-start;
  }

  .grid{
    grid-template-columns:1fr;
  }

  .footer-content{
    flex-direction:column;
  }

  .hero{
    padding-top:18px;
  }
}