:root {
  --bg: #050508;
  --panel: #0f1115;
  --text: #f3f2ea;
  --muted: #888;
  --lime: #c7f74b;
  --orange: #ff6946;
  --border: rgba(255, 255, 255, 0.08);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}
[data-theme="light"] {
  --bg: #f3f2ea;
  --panel: #ffffff;
  --text: #101611;
  --muted: #62685f;
  --border: rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); overflow-x: hidden; transition: background 0.3s, color 0.3s; }
a { text-decoration: none; color: var(--text); }
.noise { position: fixed; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.03; z-index: 9999; pointer-events: none; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.main-site-hidden { display: none !important; }

/* NAVBAR */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; position: fixed; top: 0; width: 100%; z-index: 100; background: rgba(5, 5, 8, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
[data-theme="light"] .navbar { background: rgba(243, 242, 234, 0.8); }
.nav-logo { font-size: 20px; font-weight: 800; }
.brand-mark { background: var(--lime); color: #000; padding: 5px; border-radius: 6px; margin-right: 5px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 600; font-size: 14px; transition: color 0.3s; }
.nav-links a:hover { color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 15px; }
.theme-toggle { background: none; border: none; color: var(--text); font-size: 20px; cursor: pointer; }
.nav-login-btn { background: transparent; border: 1px solid var(--text); color: var(--text); padding: 10px 20px; border-radius: 8px; cursor: pointer; transition: 0.3s; }
.nav-login-btn:hover { background: var(--orange); border-color: var(--orange); color: #000; }

/* HERO ANIMATIONS */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 120px 40px 40px; min-height: 90vh; }
.hero-left .badge { font-family: var(--mono); color: var(--muted); font-size: 12px; margin-bottom: 20px; display: inline-block; padding: 8px 16px; border: 1px solid var(--border); border-radius: 20px; animation: slideDown 1s ease; }
.hero-left h1 { font-size: 5rem; line-height: 1.05; margin-bottom: 20px; letter-spacing: -0.03em; animation: popIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.highlight { color: var(--orange); }
.highlight2 { color: var(--lime); }
.hero-left p { color: var(--muted); font-size: 18px; max-width: 450px; line-height: 1.6; margin-bottom: 40px; animation: fadeUp 1.2s ease 0.2s both; }
.hero-cta { display: flex; gap: 20px; margin-bottom: 40px; animation: fadeUp 1.2s ease 0.4s both; }
.primary-btn { background: var(--orange); border: none; padding: 16px 32px; font-size: 16px; font-weight: 800; color: #fff; border-radius: 50px; cursor: pointer; box-shadow: 0 10px 20px rgba(255, 105, 70, 0.3); transition: transform 0.2s; position: relative; overflow: hidden; }
.primary-btn::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: left 0.6s; }
.primary-btn:hover::after { left: 100%; }
.primary-btn:hover { transform: translateY(-5px) scale(1.02); }
.ghost-btn { background: transparent; border: 1px solid var(--text); padding: 16px 32px; font-size: 16px; font-weight: 800; color: var(--text); border-radius: 50px; cursor: pointer; transition: 0.3s; }
.ghost-btn:hover { background: var(--lime); border-color: var(--lime); color: #000; }

/* GLASS CODE FLOATING */
.animated-float { animation: floatCode 4s infinite ease-in-out; }
@keyframes floatCode { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.glass-code-window { background: var(--panel); border: 1px solid var(--border); border-radius: 15px; width: 100%; max-width: 500px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); animation: slideInRight 1s ease; }
.win-header { padding: 15px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.code-body { padding: 30px; font-family: var(--mono); font-size: 14px; line-height: 1.8; color: var(--text); }
.code-key { color: var(--lime); }
.code-string { color: var(--orange); }
.win-footer { padding: 10px 15px; border-top: 1px solid var(--border); font-family: var(--mono); color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.scan-dot { width: 8px; height: 8px; background: var(--lime); border-radius: 50%; display: inline-block; margin-right: 5px; box-shadow: 0 0 10px var(--lime); }
.win-footer strong { color: var(--lime); }

/* MARQUEE */
.marquee-strip { background: var(--lime); color: #000; overflow: hidden; padding: 15px 0; border-top: 3px solid var(--orange); border-bottom: 3px solid var(--orange); }
.marquee-track { display: flex; gap: 30px; width: max-content; animation: scroll 20s linear infinite; font-weight: 800; font-family: var(--mono); font-size: 14px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* NEUMORPHIC LOGIN */
.login-gate-overlay { position: fixed; inset: 0; z-index: 10000; background: #050508; display: flex; justify-content: center; align-items: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; animation: float 8s infinite ease-in-out; }
.orb-1 { width: 500px; height: 500px; background: var(--orange); top: -10%; left: -10%; }
.orb-2 { width: 400px; height: 400px; background: var(--lime); bottom: -10%; right: -10%; animation-delay: 3s; }
.orb-3 { width: 200px; height: 200px; background: #4a759f; top: 50%; left: 60%; animation-delay: 6s; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, -20px); } }
.neumorphic-container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; width: 90%; max-width: 900px; border-radius: 20px; padding: 30px; background: #050508; box-shadow: 12px 12px 24px #000, -12px -12px 24px #1a1a1a; animation: zoomIn 0.8s ease-out; }
.neo-left { padding: 40px; border-right: 1px solid var(--border); animation: slideLeft 1s ease; }
.neo-left h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 15px; animation: glowPulse 3s infinite; }
.neo-left h1 span { color: var(--orange); }
.neo-left p { color: var(--muted); margin-bottom: 30px; }
.neo-benefits { color: var(--text); font-size: 14px; line-height: 2; }
.neo-right { padding: 40px; display: flex; flex-direction: column; justify-content: center; animation: slideRight 1s ease 0.2s both; }
.neo-tabs { display: flex; margin-bottom: 30px; background: #050508; border-radius: 15px; padding: 5px; box-shadow: inset 3px 3px 6px #000, inset -3px -3px 6px #1a1a1a; }
.neo-tab { flex: 1; text-align: center; padding: 10px; cursor: pointer; border-radius: 10px; font-weight: 800; color: var(--muted); }
.neo-tab.active { background: var(--lime); color: #000; box-shadow: 3px 3px 6px #000, -3px -3px 6px #1a1a1a; }
.neo-input { width: 100%; padding: 16px; margin-bottom: 15px; background: #050508; border: none; border-radius: 12px; color: var(--text); font-size: 16px; outline: none; box-shadow: inset 4px 4px 8px #000, inset -4px -4px 8px #1a1a1a; }
.neo-input:focus { box-shadow: inset 4px 4px 8px #000, inset -4px -4px 8px #1a1a1a, 0 0 0 2px var(--orange); }
.neo-options { display: flex; justify-content: space-between; margin: 20px 0; font-size: 13px; color: var(--muted); }
.neo-forgot { color: var(--orange) !important; }
.neo-btn { width: 100%; padding: 18px; border: none; border-radius: 14px; background: var(--orange); color: white; font-weight: 800; cursor: pointer; box-shadow: 6px 6px 12px #1a1a1a, -6px -6px 12px #1a1a1a; transition: all 0.3s; position: relative; overflow: hidden; }
.neo-btn::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: var(--lime); transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; z-index: -1; }
.neo-btn:hover::before { width: 300%; height: 300%; }
.neo-btn:hover { color: #000; transform: translateY(-2px); }

/* KEYFRAMES */
@keyframes zoomIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes slideLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }
@keyframes glowPulse { 0%, 100% { text-shadow: 0 0 30px rgba(255, 105, 70, 0.2); } 50% { text-shadow: 0 0 50px rgba(255, 105, 70, 0.6); } }

/* RESPONSIVE */
@media (max-width: 820px) {
  .neumorphic-container, .hero { grid-template-columns: 1fr; }
  .neo-left { display: none; }
  .nav-links { display: none; }
}
/* ═══════════════ LEARNING TOPICS SECTION ═══════════════ */
.learn-section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.learn-title {
  font-size: 3.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
}

.learn-title span {
  color: var(--orange);
}

.learn-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 50px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.topic-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.topic-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.python-card:hover { border-color: #00d4ff; box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2); }
.cyber-card:hover { border-color: var(--lime); box-shadow: 0 20px 40px rgba(199, 247, 75, 0.2); }
.java-card:hover { border-color: var(--orange); box-shadow: 0 20px 40px rgba(255, 105, 70, 0.2); }

.topic-icon {
  font-size: 50px;
  margin-bottom: 15px;
  display: inline-block;
  animation: wiggleIcon 3s infinite ease-in-out;
}

.topic-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 800;
}

.topic-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.topic-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
}

.topic-list li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.topic-list span {
  color: var(--lime);
  font-weight: 800;
}

.topic-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.topic-btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: var(--lime);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.topic-btn:hover::before {
  width: 300%;
  height: 300%;
}

.topic-btn:hover {
  color: #000;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .topic-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   PREMIUM BUTTON UPGRADE — home page only
   ============================================================ */

/* --- gentle floating container (optional, makes the pair feel alive) --- */
.hero-cta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  animation: floatButtons 5s ease-in-out infinite;
}

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

/* --- Primary button (Start Learning) --- */
.hero-cta .primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 38px;
  background: linear-gradient(135deg, #ff6946, #f7b731);
  border: none;
  border-radius: 60px;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(255, 105, 70, 0.35);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

/* subtle dark overlay on hover for depth */
.hero-cta .primary-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 60px;
}
.hero-cta .primary-btn:hover::after {
  opacity: 1;
}

/* arrow animation */
.hero-cta .primary-btn .btn-arrow {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 1.3rem;
  line-height: 1;
}

.hero-cta .primary-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 40px rgba(255, 105, 70, 0.5);
}

.hero-cta .primary-btn:hover .btn-arrow {
  transform: translateX(8px) scale(1.15);
}

/* --- Secondary button (Open Workspace) --- */
.hero-cta .ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 38px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 60px;
  color: #f3f2ea;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-cta .ghost-btn .btn-arrow {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s;
  font-size: 1.3rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.5);
}

.hero-cta .ghost-btn:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: #ff6946;
  background: rgba(255, 105, 70, 0.08);
  box-shadow: 0 0 30px rgba(255, 105, 70, 0.08);
}

.hero-cta .ghost-btn:hover .btn-arrow {
  transform: translateX(8px) scale(1.15);
  color: #ff6946;
}

/* --- responsive stack --- */
@media (max-width: 600px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .hero-cta .primary-btn,
  .hero-cta .ghost-btn {
    justify-content: center;
    padding: 14px 24px;
    font-size: 1rem;
  }
}