/* ═══════ MANODEMY LANDING — DEVELOPER STUDIO DARK ═══════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --bg: #0B0F19;
  --surface: rgba(17, 24, 39, 0.7);
  --border: rgba(255, 255, 255, 0.08);
  --cyan: #00E6F6;
  --gold: #F5A623;
  --purple: #A855F7;
  --pink: #EC4899;
  --green: #10B981;
  --rose: #F43F5E;
  --text: #E2E8F0;
  --muted: #94A3B8;
  --font-h: 'Outfit', sans-serif;
  --font-b: 'Inter', sans-serif;
  --font-c: 'JetBrains Mono', monospace;
  --radius: 16px;
  --glow-cyan: 0 0 30px rgba(0, 230, 246, 0.3);
  --glow-purple: 0 0 30px rgba(168, 85, 247, 0.3);
}

html {
  scroll-behavior: auto
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  overflow-x: hidden;
  padding-top: 64px
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem
}

/* ═══════ TOP NAV BAR ═══════ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 64px;
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow .3s
}

.top-bar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5)
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px
}

.top-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  transition: opacity .2s
}

.top-brand:hover {
  opacity: .8
}

.brand-icon {
  font-size: 1.6rem
}

.brand-name {
  font: 800 1.3rem var(--font-h);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.02em
}

.top-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%)
}

.course-tag {
  font: 600 .85rem var(--font-h);
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.03);
  transition: all .25s
}

.course-tag:hover {
  border-color: rgba(0, 230, 246, 0.3);
  color: var(--cyan)
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.4rem;
  background: linear-gradient(135deg, var(--green), #059669);
  color: #fff;
  font: 700 .85rem var(--font-h);
  letter-spacing: .04em;
  border-radius: 10px;
  text-decoration: none;
  transition: all .25s;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.25)
}

.top-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4)
}

@media (max-width: 900px) {
  .top-center { display: none; }
}

/* ═══════ HERO ═══════ */
.hero {
  position: relative;
  padding: 1.5rem 0 3rem;
  overflow: hidden
}

.hero-bg-glow {
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0, 230, 246, 0.08), transparent 70%);
  pointer-events: none
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center
}

.badge {
  display: inline-block;
  background: rgba(0, 230, 246, 0.1);
  border: 1px solid rgba(0, 230, 246, 0.3);
  color: var(--cyan);
  font: 700 .85rem var(--font-h);
  padding: .45rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: .05em
}

.hero h1 {
  font: 900 clamp(2.8rem, 6vw, 4.5rem)/1.05 var(--font-h);
  color: #fff;
  letter-spacing: -.03em
}

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

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

.subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 1.5rem;
  line-height: 1.7
}

.highlight-gold {
  color: var(--gold);
  font-style: italic;
  font-weight: 600
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  width: 100%;
}

/* Premium Landing Login Card */
.landing-login-card {
  position: relative;
  background: linear-gradient(145deg, rgba(20, 25, 40, 0.6), rgba(10, 13, 22, 0.8));
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 24px;
  padding: 2.2rem 2rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), inset 2px 2px 5px rgba(255, 255, 255, 0.1), inset -2px -2px 5px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 230, 246, 0.1);
  z-index: 10;
  animation: floatIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-title {
  font: 800 1.5rem var(--font-h);
  background: linear-gradient(135deg, #fff, #b4c5e4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.landing-social-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: #fff;
  font: 500 0.95rem var(--font-b);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.landing-social-btn img {
  width: 20px;
  height: 20px;
}

.landing-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.landing-divider::before, .landing-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-divider span {
  padding: 0 12px;
  color: #64748b;
  font: 600 0.75rem var(--font-b);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.landing-input {
  width: 100%;
  background: linear-gradient(145deg, #07090f, #0d121d);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(0, 0, 0, 0.8);
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.8), inset -2px -2px 5px rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: #fff;
  font: 400 0.95rem var(--font-b);
  transition: all 0.3s ease;
}

.landing-input::placeholder {
  color: #64748b;
}

.landing-input:focus {
  outline: none;
  border-bottom: 1px solid rgba(0, 230, 246, 0.6);
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.8), inset -2px -2px 5px rgba(255, 255, 255, 0.05), 0 0 10px rgba(0, 230, 246, 0.2);
}

.landing-submit-btn {
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
  background: linear-gradient(145deg, #00e6f6, #8b5cf6);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  color: #fff;
  font: 700 1.05rem var(--font-h);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -2px -2px 6px rgba(255, 255, 255, 0.2), 6px 6px 15px rgba(0, 0, 0, 0.5), inset 1px 1px 2px rgba(255, 255, 255, 0.4), 0 0 20px rgba(0, 230, 246, 0.4);
}

.landing-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #08c8ea, #9a6dff);
}

.landing-submit-btn:active {
  transform: translateY(0);
}

.landing-footer-links {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.landing-footer-links a {
  color: #94a3b8;
  font: 500 0.9rem var(--font-b);
  text-decoration: none;
  transition: color 0.3s ease;
}

.landing-footer-links a:hover {
  color: var(--cyan);
}

/* Inline Python Logo */
.inline-python-wrap {
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px;
  position: relative;
}

.python-logo-inline {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 25px rgba(0, 230, 246, 0.6));
  animation: floatInline 3s ease-in-out infinite;
}

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

@media (max-width: 768px) {
  .python-logo-inline {
    width: 50px;
    height: 50px;
  }
}

/* Stunning Transition Classes */
.login-card-leaving {
  transform: scale(0.8) translateY(40px) !important;
  opacity: 0 !important;
  filter: blur(20px) saturate(0) !important;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.python-logo-hero {
  width: 280px;
  height: 280px;
  position: absolute;
  top: 50%;
  right: 50%;
  margin-right: -140px;
  margin-top: -140px;
  filter: drop-shadow(0 0 80px rgba(0, 230, 246, 0.8));
  z-index: 20;
  will-change: transform, filter;
}

.float-hero-anim {
  animation: floatHero 4s ease-in-out infinite;
}

@keyframes floatHero {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 80px rgba(0, 230, 246, 0.8)); }
  50% { transform: translateY(-20px) scale(1.02); filter: drop-shadow(0 0 100px rgba(0, 230, 246, 1)); }
}

.python-logo-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center
}

.python-logo {
  width: 180px;
  height: 180px;
  filter: drop-shadow(0 0 40px rgba(0, 230, 246, 0.4));
  animation: float 4s ease-in-out infinite;
  position: relative;
  z-index: 2
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-16px)
  }
}

.glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--cyan), var(--purple), var(--pink), var(--gold), var(--cyan));
  opacity: .25;
  filter: blur(30px);
  animation: spin 8s linear infinite
}

@keyframes spin {
  to {
    transform: translate(-50%, -55%) rotate(360deg)
  }
}

.platform-base {
  width: 200px;
  height: 18px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 50%;
  filter: blur(8px);
  opacity: .5;
  margin-top: -10px
}

/* ═══════ STATS ═══════ */
.stats {
  padding: 2rem 0
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(145deg, rgba(26,35,51,0.8), rgba(13,17,26,0.9));
  backdrop-filter: blur(12px);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  transition: all .25s;
  box-shadow: -4px -4px 10px rgba(255, 255, 255, 0.02), 8px 8px 20px rgba(0, 0, 0, 0.6), inset 1px 1px 2px rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
  border-color: rgba(0, 230, 246, 0.3);
  box-shadow: var(--glow-cyan)
}

.stat-icon {
  font-size: 1.8rem
}

.stat-num {
  display: block;
  font: 700 1.1rem var(--font-h);
  color: #fff
}

.stat-label {
  font-size: .85rem;
  color: var(--muted)
}

/* ═══════ FEATURES ═══════ */
.features {
  padding: 2.5rem 0
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem
}

.feature-card {
  background: linear-gradient(145deg, rgba(26,35,51,0.8), rgba(13,17,26,0.9));
  backdrop-filter: blur(12px);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all .25s;
  box-shadow: -6px -6px 15px rgba(255, 255, 255, 0.02), 12px 12px 30px rgba(0, 0, 0, 0.7), inset 1px 1px 3px rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
  border-color: rgba(0, 230, 246, 0.25)
}

.feature-card h3 {
  font: 800 1.3rem var(--font-h);
  color: #fff;
  margin-bottom: .3rem;
  letter-spacing: .04em
}

.feature-sub {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1.2rem
}

/* Code Editor */
.code-editor {
  background: linear-gradient(145deg, #080b11, #121822);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.9), inset -2px -2px 8px rgba(255, 255, 255, 0.03);
}

.editor-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .03);
  border-bottom: 1px solid #2d333b
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block
}

.dot.r {
  background: #FF5F56
}

.dot.y {
  background: #FFBD2E
}

.dot.g {
  background: #27C93F
}

.editor-title {
  margin-left: auto;
  font: 500 .75rem var(--font-c);
  color: var(--muted)
}

.code-block {
  padding: 1rem 1.2rem;
  font: 400 .82rem/1.7 var(--font-c);
  color: #EEFFFF;
  overflow-x: auto;
  margin: 0
}

.code-block .ln {
  color: #555;
  user-select: none;
  margin-right: .6rem
}

.code-block .kw {
  color: #C792EA
}

.code-block .mod {
  color: #89DDFF
}

.code-block .str {
  color: #C3E88D
}

.code-block .num {
  color: #F78C6C
}

.code-block .fn {
  color: #82AAFF
}

.code-block .bool {
  color: #F78C6C
}

.code-block .comment {
  color: #546E7A;
  font-style: italic;
}

.code-block .var {
  color: #EEFFFF
}

/* Learning Steps (How to use platform) */
.learning-steps {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
  padding: 1.2rem;
  background: rgba(0, 230, 246, 0.03);
  border: 1px solid rgba(0, 230, 246, 0.1);
  border-radius: 12px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.2rem 0;
  position: relative;
}

.step-item:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 17px;
  width: 2px;
  height: calc(100% - 16px);
  background: rgba(0, 230, 246, 0.15);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(0, 230, 246, 0.2), rgba(0, 230, 246, 0.05));
  color: var(--cyan);
  border-radius: 50%;
  font: 800 1.1rem var(--font-h);
  flex-shrink: 0;
  border: 1px solid rgba(0, 230, 246, 0.4);
  box-shadow: 0 0 10px rgba(0, 230, 246, 0.2);
  z-index: 2;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.4rem;
}

.step-title {
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.step-title strong {
  color: var(--cyan);
}

.step-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-top: .5rem
}

.skills-grid.s30 {
  grid-template-columns: repeat(5, 1fr);
  gap: .4rem
}

.skill {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.8rem;
  padding: 1.5rem 0.8rem;
  background: linear-gradient(145deg, rgba(30,41,59,0.5), rgba(15,23,42,0.8));
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  overflow: hidden;
  min-height: 140px;
  height: 100%;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), -1px -1px 3px rgba(255, 255, 255, 0.02), inset 1px 1px 1px rgba(255, 255, 255, 0.05);
}

.s30 .skill {
  padding: 1.2rem 0.5rem;
  gap: 0.6rem;
  font-size: 0.75rem;
  border-radius: 12px;
  min-height: 120px;
}

.skill:hover {
  transform: translateY(-3px);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.7), -2px -2px 6px rgba(255, 255, 255, 0.05), inset 1px 1px 2px rgba(245, 166, 35, 0.3);
  color: #fff;
  background: linear-gradient(145deg, rgba(35,48,68,0.7), rgba(18,27,48,0.9));
}

.skill-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 230, 246, 0.1);
  color: var(--cyan);
  font: 700 0.6rem var(--font-h);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.s30 .skill-badge {
  top: 4px;
  left: 4px;
  font-size: 0.55rem;
  padding: 0.1rem 0.3rem;
}

.skill-title {
  width: 100%;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
  transition: color 0.2s;
  padding: 0 4px;
}

.skill:hover .skill-title {
  color: #fff;
}

.skill-icon {
  font-size: 1.4rem
}

.s30 .skill-icon {
  font-size: 1.15rem
}

/* ═══════ CTA ═══════ */
.cta {
  padding: 2.5rem 0
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2rem;
  border-radius: var(--radius);
  font: 800 1.1rem var(--font-h);
  letter-spacing: .04em;
  text-decoration: none;
  color: #fff;
  border: 2px solid transparent;
  transition: all .25s;
  cursor: pointer
}

.cta-cyan {
  background: linear-gradient(145deg, rgba(0, 230, 246, 0.2), rgba(0, 0, 0, 0.4));
  border: none;
  border-top: 1px solid rgba(0, 230, 246, 0.8);
  border-bottom: 2px solid rgba(0, 0, 0, 0.6);
  color: var(--cyan);
  box-shadow: inset 1px 1px 4px rgba(0, 230, 246, 0.4), 4px 4px 15px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 230, 246, 0.2);
}

.cta-cyan:hover {
  background: linear-gradient(145deg, rgba(0, 230, 246, 0.4), rgba(0, 0, 0, 0.6));
  color: #fff;
  box-shadow: inset 2px 2px 5px rgba(0, 230, 246, 0.6), 6px 6px 20px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 230, 246, 0.4);
  transform: translateY(-3px)
}

.cta-purple {
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.2), rgba(0, 0, 0, 0.4));
  border: none;
  border-top: 1px solid rgba(168, 85, 247, 0.8);
  border-bottom: 2px solid rgba(0, 0, 0, 0.6);
  color: var(--purple);
  box-shadow: inset 1px 1px 4px rgba(168, 85, 247, 0.4), 4px 4px 15px rgba(0, 0, 0, 0.6), 0 0 20px rgba(168, 85, 247, 0.2);
}

.cta-purple:hover {
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.4), rgba(0, 0, 0, 0.6));
  color: #fff;
  box-shadow: inset 2px 2px 5px rgba(168, 85, 247, 0.6), 6px 6px 20px rgba(0, 0, 0, 0.7), 0 0 30px rgba(168, 85, 247, 0.4);
  transform: translateY(-3px)
}

/* ═══════ PRICING ═══════ */
.pricing {
  padding: 3rem 0 2rem
}

.pricing-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(145deg, rgba(26,35,51,0.8), rgba(13,17,26,0.9));
  backdrop-filter: blur(12px);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: -6px -6px 15px rgba(255, 255, 255, 0.02), 12px 12px 30px rgba(0, 0, 0, 0.7), inset 1px 1px 3px rgba(255, 255, 255, 0.1);
}

.price-left {
  display: flex;
  align-items: center;
  gap: 1.5rem
}

.price-now {
  font: 900 4rem var(--font-h);
  color: #fff;
  letter-spacing: -.03em
}

.price-meta {
  display: flex;
  flex-direction: column
}

.price-label {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500
}

.price-old {
  font-size: 1.3rem;
  color: #555;
  text-decoration: line-through;
  font-weight: 600
}

.discount-badge {
  display: inline-block;
  padding: .6rem 1.5rem;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  font: 800 1.2rem var(--font-h);
  border-radius: 10px;
  letter-spacing: .04em
}

.limited-badge {
  background: linear-gradient(135deg, #B8860B, var(--gold));
  color: #1a0f00;
  font: 800 .85rem var(--font-h);
  text-align: center;
  padding: 1rem 1.2rem;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  letter-spacing: .03em;
  box-shadow: 0 0 25px rgba(245, 166, 35, .3)
}

.buy-btn {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  background: linear-gradient(145deg, var(--green), #059669);
  color: #fff;
  font: 800 1.3rem var(--font-h);
  border: none;
  border-top: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 3px solid rgba(0, 0, 0, 0.6);
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: .03em;
  transition: all .25s;
  box-shadow: -4px -4px 10px rgba(255, 255, 255, 0.1), 8px 8px 25px rgba(0, 0, 0, 0.6), inset 1px 1px 3px rgba(255, 255, 255, 0.5), 0 0 30px rgba(16, 185, 129, 0.4);
}

.buy-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, .5)
}

.guarantee {
  margin-top: 1rem;
  font-size: .82rem;
  color: var(--muted)
}


/* ═══════ FOOTER ═══════ */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center
}

.footer p {
  font-size: .8rem;
  color: var(--muted)
}

/* ═══════ PAYMENT CHECKOUT ═══════ */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease
}

.checkout-overlay.active {
  opacity: 1;
  pointer-events: all
}

.checkout-modal {
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative
}

.checkout-overlay.active .checkout-modal {
  transform: translateY(0) scale(1)
}

.checkout-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s
}

.checkout-close:hover {
  background: rgba(244, 63, 94, 0.15);
  border-color: var(--rose);
  color: var(--rose)
}

.checkout-header {
  text-align: center;
  margin-bottom: 1.5rem
}

.checkout-header h3 {
  font: 800 1.4rem var(--font-h);
  color: #fff;
  margin-bottom: 0.4rem
}

.checkout-header p {
  font-size: 0.85rem;
  color: var(--muted)
}

.checkout-price-display {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  background: rgba(0, 230, 246, 0.04);
  border: 1px solid rgba(0, 230, 246, 0.15);
  border-radius: 14px
}

.checkout-amount {
  font: 900 2.5rem var(--font-h);
  color: #fff;
  letter-spacing: -0.03em
}

.checkout-original {
  font-size: 1rem;
  color: #555;
  text-decoration: line-through;
  margin-left: 0.5rem
}

.checkout-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3rem
}

.checkout-divider {
  display: flex;
  align-items: center;
  margin: 1.2rem 0
}

.checkout-divider::before, .checkout-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06)
}

.checkout-divider span {
  padding: 0 12px;
  color: #64748b;
  font: 600 0.7rem var(--font-b);
  letter-spacing: 0.08em;
  text-transform: uppercase
}

.gateway-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1rem
}

.gateway-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  font: 700 0.95rem var(--font-h);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  letter-spacing: 0.02em
}

.gateway-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed
}

.gateway-btn svg, .gateway-btn img {
  width: 20px;
  height: 20px
}

.gateway-btn.razorpay {
  background: linear-gradient(135deg, #072654, #0b3d91);
  color: #fff;
  border-color: rgba(50, 115, 220, 0.3)
}

.gateway-btn.razorpay:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(50, 115, 220, 0.3);
  border-color: rgba(50, 115, 220, 0.6)
}

.gateway-btn.stripe {
  background: linear-gradient(135deg, #1a1a2e, #6772e5);
  color: #fff;
  border-color: rgba(103, 114, 229, 0.3)
}

.gateway-btn.stripe:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(103, 114, 229, 0.3);
  border-color: rgba(103, 114, 229, 0.6)
}

.gateway-btn.paypal {
  background: linear-gradient(135deg, #003087, #009cde);
  color: #fff;
  border-color: rgba(0, 156, 222, 0.3)
}

.gateway-btn.paypal:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 156, 222, 0.3);
  border-color: rgba(0, 156, 222, 0.6)
}

.checkout-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem
}

.checkout-features span {
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.3rem 0.7rem;
  border-radius: 20px
}

.coupon-section {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem
}

.coupon-section input {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  color: #fff;
  font: 400 0.85rem var(--font-b);
  text-transform: uppercase;
  letter-spacing: 0.05em
}

.coupon-section input::placeholder {
  color: #475569;
  text-transform: none;
  letter-spacing: normal
}

.coupon-section input:focus {
  outline: none;
  border-color: rgba(0, 230, 246, 0.4)
}

.coupon-apply {
  padding: 0.6rem 1rem;
  background: rgba(0, 230, 246, 0.1);
  border: 1px solid rgba(0, 230, 246, 0.3);
  border-radius: 10px;
  color: var(--cyan);
  font: 600 0.8rem var(--font-h);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap
}

.coupon-apply:hover {
  background: rgba(0, 230, 246, 0.2)
}

.checkout-spinner {
  display: none;
  text-align: center;
  padding: 2rem
}

.checkout-spinner.active {
  display: block
}

.checkout-spinner::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid rgba(0, 230, 246, 0.2);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite
}

/* Purchase Required Overlay (for day pages) */
.purchase-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.97);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  padding: 2rem
}

.purchase-overlay h2 {
  font: 800 2rem var(--font-h);
  color: #fff
}

.purchase-overlay p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 420px
}

.purchase-overlay .purchase-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--green), #059669);
  color: #fff;
  font: 700 1.1rem var(--font-h);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3)
}

.purchase-overlay .purchase-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5)
}

/* Footer Links Row */
.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 0.8rem;
  flex-wrap: wrap
}

.footer-links a {
  color: var(--muted);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.2s
}

.footer-links a:hover {
  color: var(--cyan)
}

/* ═══════ ANIMATIONS ═══════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.hero-text {
  animation: fadeUp .7s ease-out
}

.stat-card {
  animation: fadeUp .6s ease-out both
}

.stat-card:nth-child(2) {
  animation-delay: .1s
}

.stat-card:nth-child(3) {
  animation-delay: .2s
}

.feature-card {
  animation: fadeUp .6s ease-out .3s both
}

.feature-card:nth-child(2) {
  animation-delay: .4s
}

/* ═══════ RESPONSIVE ═══════ */
@media(max-width:768px) {

  .hero-grid,
  .features-grid,
  .cta-grid {
    grid-template-columns: 1fr
  }

  .stats-grid {
    grid-template-columns: 1fr
  }

  .hero h1 {
    font-size: 2.5rem
  }

  .pricing-box {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem
  }

  .price-left {
    flex-direction: column
  }

  .price-now {
    font-size: 3rem
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .skills-grid.s30 {
    grid-template-columns: repeat(3, 1fr)
  }

  .python-logo {
    width: 120px;
    height: 120px
  }

  .glow-ring {
    width: 180px;
    height: 180px
  }
}

/* ═══════ SMART LOCK TAGS ═══════ */
.lock-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  background: rgba(11, 15, 25, 0.8);
  border: 1px solid var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 230, 246, 0.4), inset 0 0 5px rgba(0, 230, 246, 0.2);
  z-index: 10;
  transition: all 0.3s ease;
}

.skill:hover .lock-tag {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 230, 246, 0.6);
  background: var(--cyan);
  color: #000;
}

.day-card--locked {
  opacity: 0.85;
  filter: saturate(0.8);
}

.day-card--locked:hover {
  opacity: 1;
  filter: saturate(1);
}

.skill.day-card--locked::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 230, 246, 0.03), transparent);
  pointer-events: none;
}

/* ═══════ LOGOUT BUTTON ═══════ */
.top-logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: 10px;
  color: var(--rose);
  cursor: pointer;
  transition: all .25s;
  margin-left: .5rem;
}

.top-logout-btn:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.25);
}

/* ═══════ MOBILE GRID FIX ═══════ */
@media (max-width: 768px) {
  .skills-grid.s30 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .skills-grid.s30 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ═══════ LOGIN CARD PULSE ANIMATION (BUY NOW INTENT) ═══════ */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 246, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(0, 230, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 246, 0); }
}

.highlight-pulse {
  animation: pulseGlow 1s ease-out 2 !important;
  border-color: var(--cyan) !important;
  transition: border-color 0.3s;
}