*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0f62fe;
  --primary-dark: #0043ce;
  --accent: #ff6b35;
  --bg: #0a0e1a;
  --bg-alt: #111827;
  --surface: #1a2235;
  --text: #e8eaf0;
  --text-muted: #8892a4;
  --border: #1e2d45;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hamburger { display: none; }

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

nav ul a:hover { color: var(--text); }

.btn-yt {
  background: #ff0000;
  color: #fff !important;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  transition: opacity 0.2s !important;
}

.btn-yt:hover { opacity: 0.85; }

.btn-nav-green {
  background: #16a34a;
  color: #fff !important;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  transition: opacity 0.2s !important;
}

.btn-nav-green:hover { opacity: 0.85; }

.btn-nav-orange {
  background: var(--accent);
  color: #fff !important;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  transition: opacity 0.2s !important;
}

.btn-nav-orange:hover { opacity: 0.85; }

/* HERO */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(15, 98, 254, 0.18) 0%, transparent 70%);
}

.hero-content { max-width: 720px; }

.hero-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.profile-pic {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 6px rgba(15, 98, 254, 0.15);
}

.profile-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #fff 40%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.1s;
  display: inline-block;
}

.btn-secondary:hover { border-color: var(--primary); transform: translateY(-1px); }

/* SECTIONS */
.section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-alt {
  max-width: 100%;
  background: var(--bg-alt);
  padding: 5rem 1.5rem;
}

.section-alt > * { max-width: 760px; margin-left: auto; margin-right: auto; }

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-sub {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1rem;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover { border-color: var(--primary); transform: translateY(-3px); }

.card-icon { font-size: 2rem; margin-bottom: 1rem; }

.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.6rem; }

.card p { color: var(--text-muted); font-size: 0.9rem; }

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.card-list li {
  color: var(--text-muted);
  font-size: 0.88rem;
  padding-left: 1rem;
  position: relative;
}

.card-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.card-list-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.card-list-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* FORM */
.form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

input, select, textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}

input::placeholder, textarea::placeholder { color: var(--text-muted); }

input:focus, select:focus, textarea:focus { border-color: var(--primary); }

select option { background: var(--surface); }

textarea { resize: vertical; }

.form-status {
  text-align: center;
  font-size: 0.9rem;
  min-height: 1.2rem;
  color: #4ade80;
}

.form-status.error { color: #f87171; }

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: border-color 0.2s, transform 0.2s;
}

.contact-card:hover { border-color: var(--primary); transform: translateY(-3px); }

.contact-icon { font-size: 2rem; }

.contact-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.contact-value { font-size: 0.95rem; font-weight: 600; color: var(--text); }

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--primary); }

/* RESPONSIVE */
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }

  .nav-inner { position: relative; }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
  }

  nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    z-index: 99;
  }

  nav ul.open { display: flex; }

  nav ul li { width: 100%; }

  nav ul a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 0;
  }

  .btn-yt, .btn-nav-green, .btn-nav-orange {
    margin: 0.25rem 1.5rem;
    display: inline-block;
    border-radius: 6px;
  }
}

/* YOUTUBE RESOURCES */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.yt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.yt-card:hover { border-color: #ff0000; transform: translateY(-3px); }

.yt-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg);
}

.yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.2s;
}

.yt-card:hover .yt-play { opacity: 1; }

.yt-info { padding: 1rem; }

.yt-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-date { font-size: 0.78rem; color: var(--text-muted); }

.yt-loading { color: var(--text-muted); text-align: center; padding: 2rem; }
.yt-loading a { color: var(--primary); }

/* FREE COURSE PAGE */
.hero-short { min-height: 40vh; }

.free-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

.free-course-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.free-course-body { padding: 2.5rem; }

.free-course-intro {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.7;
  text-align: center;
}

.free-course-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.2rem;
}

.highlight-icon { font-size: 1.5rem; flex-shrink: 0; }

.highlight strong { display: block; margin-bottom: 0.2rem; font-size: 0.95rem; }

.highlight p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

.free-course-cta { text-align: center; }

.cta-box {
  background: var(--bg);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-label { color: var(--text-muted); font-size: 0.95rem; }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s;
  display: inline-block;
}

.btn-whatsapp:hover { opacity: 0.88; transform: translateY(-1px); }

.cta-note {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
}
