:root{
  --bg1:#050b2a;
  --bg2:#0a1140;
  --bg3:#1a2b7a;

  --card: rgba(255,255,255,0.08);
  --stroke: rgba(255,255,255,0.12);

  --text:#ffffff;
  --muted: rgba(255,255,255,0.75);
  --muted2: rgba(255,255,255,0.6);

  --green1:#36ff7a;
  --green2:#00c15c;

  --blue1:#38bdf8;

  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --radius: 18px;
  --radius2: 22px;
  --max: 1120px;
}

/* Smooth scrolling */
html{
  scroll-behavior: smooth;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);

  background:
    radial-gradient(1200px 800px at 15% 10%, #2563eb 0%, transparent 60%),
    radial-gradient(900px 600px at 90% 15%, #22d3ee 0%, transparent 55%),
    radial-gradient(900px 600px at 60% 95%, #7c3aed 0%, transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg2) 40%, var(--bg3));

  overflow-x:hidden;
}

/* Glows */
.bg-glow{
  position:fixed;
  width:500px;
  height:500px;
  border-radius:999px;
  filter: blur(60px);
  opacity:0.22;
  pointer-events:none;
  z-index:0;
}
.glow-1{left:-120px; top:-120px; background:#2563eb;}
.glow-2{right:-150px; top:40px; background:#22d3ee;}
.glow-3{left:30%; bottom:-180px; background:#7c3aed;}

.page{
  position:relative;
  z-index:1;
}

.container{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding: 0 18px;
}

.section{
  padding: 40px 0;
}

.section-title{
  font-size: 28px;
  margin: 0 0 18px;
  letter-spacing:0.2px;
}
.center{text-align:center}

/* HERO */
.hero{
  padding-top: 40px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items:center;
}
.hero-title{
  font-size: 44px;
  line-height: 1.1;
  margin:0 0 14px;
}
.hero-accent{
  color: var(--blue1);
  text-shadow: 0 0 18px rgba(56,189,248,0.25);
}
.hero-subtitle{
  margin:0 0 22px;
  color: var(--muted);
  max-width: 520px;
}

.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.btn{
  border:none;
  cursor:pointer;
  font-weight:700;
  padding: 12px 18px;
  border-radius: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  color:var(--text);
}

.btn-primary{
  background: linear-gradient(180deg, var(--green1), var(--green2));
  box-shadow: 0 12px 35px rgba(0,193,92,0.25);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(0,193,92,0.35);
}

.btn-secondary{
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--stroke);
}
.btn-secondary:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Mockup card */
.hero-mockup-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.06));
  border: 1px solid var(--stroke);
  border-radius: var(--radius2);
  padding: 14px;
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.hero-mockup-card::after{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(circle at 20% 10%, rgba(56,189,248,0.18), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(124,58,237,0.16), transparent 50%);
  pointer-events:none;
}

.hero-mockup-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom: 10px;
  position:relative;
  z-index:2;
}
.pill{
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid var(--stroke);
  font-weight:800;
  font-size: 12px;
}
.icon-pill{
  width:38px;
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-mockup-body{
  position:relative;
  z-index:2;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.10);
}
.hero-mockup-img{
  width:100%;
  height:auto;
  display:block;
}

.hero-mockup-bottom{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 10px;
  position:relative;
  z-index:2;
}
.mini-chip{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--stroke);
  color: var(--muted);
}

/* Grids */
.grid-4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Feature cards */
.feature-card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.22);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  min-height: 120px;
}
.feature-icon{
  font-size: 26px;
  margin-bottom: 10px;
}
.feature-title{
  font-weight: 800;
  margin-bottom: 6px;
}
.feature-text{
  color: var(--muted2);
  font-size: 13px;
}

/* Skills rows */
.skills-list{
  display:flex;
  flex-direction:column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.skill-row{
  text-decoration:none;
  color:var(--text);
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.skill-left{
  display:flex;
  align-items:center;
  gap:12px;
}
.skill-icon{
  width:34px;
  height:34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--stroke);
}
.skill-name{
  font-weight: 800;
}
.skill-arrow{
  font-size: 22px;
  opacity:0.9;
  transition: transform .2s ease;
}

/* Project cards */
.project-card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.30);
  transition: transform .25s ease, box-shadow .25s ease;
}
.project-image img{
  width:100%;
  height: 170px;
  object-fit: cover;
  display:block;
}
.project-body{
  padding: 14px 14px 16px;
}
.project-title{
  margin: 0 0 6px;
  font-size: 16px;
}
.project-text{
  margin:0;
  color: var(--muted2);
  font-size: 13px;
}

/* Tools */
.tools-row{
  display:flex;
  justify-content:center;
  gap: 14px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.tool-pill{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--stroke);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tool-pill img{
  width:62px;
  height:42px;
  object-fit:contain;
}

/* Enroll button */
.enroll-wrap{
  display:flex;
  justify-content:center;
  margin-top: 18px;
}
.btn-enroll{
  width: min(420px, 100%);
  padding: 14px 18px;
  font-size: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--green1), var(--green2));
  box-shadow: 0 18px 50px rgba(0,193,92,0.28);
}
.btn-enroll:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(0,193,92,0.35);
}


/* Hover effects */
.hover-glow:hover{
  transform: translateY(-3px);
  box-shadow: 0 25px 70px rgba(0,0,0,0.35);
  background: rgba(255,255,255,0.10);
}
.hover-row:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.30);
}
.hover-row:hover .skill-arrow{
  transform: translateX(4px);
}
.hover-tilt:hover{
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 90px rgba(0,0,0,0.38);
}
.hover-float{
  animation: floaty 3.5s ease-in-out infinite;
}
@keyframes floaty{
  0%,100%{ transform: translateY(0px); }
  50%{ transform: translateY(-8px); }
}

/* Reveal on scroll */
.reveal{
  opacity:0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.show{
  opacity:1;
  transform: translateY(0px);
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{
    grid-template-columns: 1fr;
  }
  .hero-title{
    font-size: 38px;
  }
  .grid-4{
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3{
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px){
  .hero-title{
    font-size: 32px;
  }
  .grid-4{
    grid-template-columns: 1fr;
  }
  .footer-inner{
    flex-direction:column;
    gap:8px;
  }
}


.curriculum-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 30, 0.75);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.curriculum-modal {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border-radius: 22px;
  width: min(92%, 900px);
  max-height: 85vh;
  padding: 35px;
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  animation: popupIn 0.4s ease;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.curriculum-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
}

.curriculum-close:hover {
  opacity: 1;
}

.curriculum-title {
  text-align: center;
  font-size: 2rem;
}

.curriculum-subtitle {
  text-align: center;
  opacity: 0.75;
  margin-bottom: 25px;
}

.curriculum-body {
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 10px;
}

.curriculum-section {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.15);
}

.curriculum-section h3 {
  color: #9effc5;
  margin-bottom: 10px;
}

.curriculum-section li {
  margin-bottom: 8px;
  opacity: 0.9;
}
