/* ============================================================
   STARTUP ACADEMIE — Design System
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --purple:      #7c3aed;
  --purple-light:#a78bfa;
  --purple-dark: #4c1d95;
  --blue:        #3b82f6;
  --cyan:        #06b6d4;
  --pink:        #ec4899;
  --green:       #10b981;
  --orange:      #f97316;

  --bg:          #05050f;
  --bg-2:        #0d0d1a;
  --bg-card:     rgba(255,255,255,0.04);
  --border:      rgba(255,255,255,0.08);

  --text:        #f1f5f9;
  --text-muted:  #94a3b8;

  --radius:      1rem;
  --radius-sm:   0.5rem;

  --font: 'Inter', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }

.gradient-text {
  background: linear-gradient(135deg, var(--purple-light), var(--cyan), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 6rem 0; }

/* ---------- Glass card ---------- */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .25s ease;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  box-shadow: 0 0 20px rgba(124,58,237,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(124,58,237,.6);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: var(--bg-card);
  transform: translateY(-2px);
  border-color: var(--purple-light);
}
.btn-cyan {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  box-shadow: 0 0 20px rgba(6,182,212,.4);
}
.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(6,182,212,.6);
}

/* ---------- Section titles ---------- */
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: .75rem;
}
.section-title {
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(5,5,15,.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all .3s ease;
}
.navbar.scrolled {
  padding: .7rem 0;
  background: rgba(5,5,15,.95);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; }

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(5,5,15,.98);
}
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .btn { align-self: flex-start; margin-top: .5rem; }
.mobile-menu.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

/* Blobs */
.blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
  animation: floatBlob 8s ease-in-out infinite;
}
.blob-1 { width: 500px; height: 500px; background: var(--purple); top: -100px; left: -100px; animation-delay: 0s; }
.blob-2 { width: 400px; height: 400px; background: var(--blue); top: 50%; right: -150px; animation-delay: -3s; }
.blob-3 { width: 300px; height: 300px; background: var(--cyan); bottom: -50px; left: 30%; animation-delay: -6s; }
.blob-4 { width: 250px; height: 250px; background: var(--pink); top: 20%; left: 50%; animation-delay: -2s; }

@keyframes floatBlob {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(30px,-30px) scale(1.05); }
  66%       { transform: translate(-20px,20px) scale(.95); }
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--purple-light);
  animation: floatParticle linear infinite;
  opacity: 0;
}
@keyframes floatParticle {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: .6; }
  90%  { opacity: .3; }
  100% { transform: translateY(-120vh) translateX(40px); opacity: 0; }
}

/* Hero content */
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.3);
  font-size: .8rem;
  font-weight: 600;
  color: var(--purple-light);
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-light);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.8); }
}

.hero-title { margin-bottom: 1.25rem; }
.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Quote card */
.hero-quote {
  margin-top: 2.5rem;
  padding: 1.25rem;
  max-width: 420px;
}
.hero-quote p {
  font-size: .9rem;
  color: var(--text-muted);
  font-style: italic;
}
.hero-quote .author {
  margin-top: .5rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--cyan);
  font-style: normal;
}

/* Hero image side */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-image-wrapper img {
  border-radius: var(--radius);
  width: 100%;
  max-width: 480px;
  box-shadow: 0 0 80px rgba(124,58,237,.3);
}
.hero-image-glow {
  position: absolute;
  inset: -20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  opacity: .12;
  filter: blur(40px);
  z-index: -1;
}

/* Floating tags */
.float-tag {
  position: absolute;
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  animation: floatTag 3s ease-in-out infinite;
}
.float-tag-1 {
  top: 10%;
  left: -20px;
  background: rgba(124,58,237,.3);
  border: 1px solid rgba(124,58,237,.5);
  color: var(--purple-light);
  animation-delay: 0s;
}
.float-tag-2 {
  bottom: 15%;
  right: -20px;
  background: rgba(6,182,212,.2);
  border: 1px solid rgba(6,182,212,.4);
  color: var(--cyan);
  animation-delay: -1.5s;
}
@keyframes floatTag {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* WhatsApp button */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all .25s ease;
  animation: shake 5s ease infinite;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 30px rgba(37,211,102,.6);
}
.whatsapp-btn svg { width: 28px; height: 28px; }
@keyframes shake {
  0%, 85%, 100% { transform: rotate(0); }
  88%, 94%       { transform: rotate(-8deg); }
  91%, 97%       { transform: rotate(8deg); }
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.stats-header h2 { margin-bottom: 1rem; }
.stats-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 680px; margin: 0 auto; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  padding: 1.75rem;
  text-align: center;
  transition: all .3s ease;
  cursor: default;
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,58,237,.3);
  box-shadow: 0 12px 40px rgba(124,58,237,.15);
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: .4rem;
}
.stat-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: .5rem;
}
.stat-source {
  font-size: .72rem;
  color: rgba(148,163,184,.5);
  font-style: italic;
}

/* ============================================================
   COURSES SECTION
   ============================================================ */
.courses-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.course-card {
  padding: 2rem;
  transition: all .3s ease;
}
.course-card:hover {
  transform: translateY(-6px);
}
.course-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.course-card h3 { margin-bottom: .5rem; }
.course-card > p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
.skills-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.skill-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.skill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: .45rem;
  flex-shrink: 0;
}
.skill-dot-purple { background: var(--purple-light); box-shadow: 0 0 6px var(--purple-light); }
.skill-dot-orange  { background: var(--orange); box-shadow: 0 0 6px var(--orange); }
.skill-name { font-weight: 600; font-size: .9rem; }
.skill-desc { font-size: .8rem; color: var(--text-muted); }

/* Card theme accents */
.card-purple { border-top: 2px solid var(--purple); }
.card-orange  { border-top: 2px solid var(--orange); }

/* Levels table (inside course card) */
.levels-table {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-top: 1.5rem;
}
.levels-table-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  transition: all .25s ease;
}
.levels-table-row:hover {
  background: rgba(255,255,255,.06);
  transform: translateX(4px);
}
.lt-badge {
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.lt-content { flex: 1; }
.lt-name {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .25rem;
}
.lt-age {
  font-weight: 400;
  font-size: .8rem;
  color: var(--text-muted);
  margin-left: .4rem;
}
.lt-desc {
  font-size: .85rem;
  color: var(--text-muted);
}

/* ============================================================
   LEVELS SECTION
   ============================================================ */
.levels-section { background: var(--bg-2); }
.levels-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.levels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.level-track h3 {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.levels-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.level-card {
  padding: 1.5rem;
  transition: all .3s ease;
}
.level-card:hover {
  transform: translateX(6px);
  border-color: rgba(255,255,255,.15);
}
.level-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}
.level-indicator {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.level-indicator-green  { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.level-indicator-yellow { background: #eab308; box-shadow: 0 0 8px #eab308; }
.level-indicator-red    { background: #ef4444; box-shadow: 0 0 8px #ef4444; }
.level-name { font-weight: 700; }
.level-objective {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.level-skills {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.level-skill {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--text-muted);
}
.level-skill::before {
  content: '';
  display: block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--purple-light);
  flex-shrink: 0;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}
.pricing-card {
  padding: 2.5rem;
  transition: all .3s ease;
  position: relative;
}
.pricing-card.featured {
  border-color: rgba(124,58,237,.5);
  box-shadow: 0 0 60px rgba(124,58,237,.15);
}
.pricing-card.featured:hover { transform: translateY(-8px); }
.pricing-card:not(.featured):hover { transform: translateY(-6px); }

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: .3rem 1rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(124,58,237,.5);
}
.pricing-name {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  margin-bottom: .25rem;
}
.pricing-price .amount {
  font-size: 3rem;
  font-weight: 800;
}
.pricing-price .period {
  font-size: .9rem;
  color: var(--text-muted);
}
.pricing-original {
  font-size: .85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 1.5rem;
}
.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 2rem;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
}
.check-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(124,58,237,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .7rem;
}
.featured .check-icon { background: rgba(124,58,237,.35); }

/* ============================================================
   CERTIFICATION SECTION
   ============================================================ */
.certification-section { background: var(--bg-2); }
.certification-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.certif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.certif-card {
  padding: 2.5rem;
  text-align: center;
  transition: all .3s ease;
}
.certif-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.15);
}
.certif-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.certif-card h3 { margin-bottom: .75rem; }
.certif-card p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
.certif-card img {
  margin: 0 auto;
  border-radius: var(--radius-sm);
  max-height: 140px;
  object-fit: contain;
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section .blobs .blob { opacity: .18; }
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-contact {
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.75rem;
  max-width: 400px;
}
.cta-contact p {
  margin: 0;
  text-align: left;
  font-size: .85rem;
}
.cta-contact p strong { font-size: .95rem; color: var(--text); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer p { color: var(--text-muted); font-size: .85rem; }
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: .85rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-quote { margin: 2rem auto 0; }
  .hero-image-wrapper { display: none; }

  .courses-grid,
  .levels-grid,
  .pricing-grid,
  .certif-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  section { padding: 4rem 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

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