/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #00ff41;
  --primary-dark: #00cc33;
  --secondary: #0a0e27;
  --dark: #000000;
  --dark-light: #0d1117;
  --dark-lighter: #161b22;
  --text: #ffffff;
  --text-muted: #8b949e;
  --accent: #00ffff;
  --danger: #ff0055;
  --glow: rgba(0, 255, 65, 0.5);
}

body {
  font-family: "Rajdhani", sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Matrix Background */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.15;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 255, 65, 0.2);
  z-index: 1000;
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav-menu a:hover {
  color: var(--primary);
}

.btn-nav {
  background: var(--primary);
  color: var(--dark) !important;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
}

.btn-nav:hover {
  background: var(--primary-dark);
  color: var(--dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  transition: 0.3s;
}

/* Glitch Effect */
.glitch {
  position: relative;
  color: var(--primary);
  animation: glitch-skew 1s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--accent);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 var(--danger);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% {
    clip: rect(10px, 9999px, 31px, 0);
  }
  20% {
    clip: rect(70px, 9999px, 71px, 0);
  }
  40% {
    clip: rect(30px, 9999px, 130px, 0);
  }
  60% {
    clip: rect(90px, 9999px, 140px, 0);
  }
  80% {
    clip: rect(50px, 9999px, 20px, 0);
  }
  100% {
    clip: rect(60px, 9999px, 80px, 0);
  }
}

@keyframes glitch-anim2 {
  0% {
    clip: rect(65px, 9999px, 119px, 0);
  }
  20% {
    clip: rect(90px, 9999px, 10px, 0);
  }
  40% {
    clip: rect(40px, 9999px, 66px, 0);
  }
  60% {
    clip: rect(25px, 9999px, 42px, 0);
  }
  80% {
    clip: rect(95px, 9999px, 53px, 0);
  }
  100% {
    clip: rect(15px, 9999px, 150px, 0);
  }
}

@keyframes glitch-skew {
  0% {
    transform: skew(0deg);
  }
  10% {
    transform: skew(-2deg);
  }
  20% {
    transform: skew(0deg);
  }
  30% {
    transform: skew(2deg);
  }
  40% {
    transform: skew(0deg);
  }
  100% {
    transform: skew(0deg);
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  position: relative;
}

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

.hero-content {
  z-index: 1;
}

.cyber-text {
  display: block;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.glitch-large {
  font-family: "Orbitron", sans-serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  display: block;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  position: relative;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
  display: inline-block;
}

.btn span {
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--glow);
}

.btn-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover .btn-glow {
  width: 300px;
  height: 300px;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--dark);
}

.btn-large {
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: "Orbitron", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Code Window */
.hero-visual {
  position: relative;
}

.code-window {
  background: var(--dark-lighter);
  border: 1px solid rgba(0, 255, 65, 0.3);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 255, 65, 0.2);
}

.window-header {
  background: var(--dark-light);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(0, 255, 65, 0.2);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f56;
}
.dot.yellow {
  background: #ffbd2e;
}
.dot.green {
  background: #27c93f;
}

.window-title {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.window-content {
  padding: 1.5rem;
  min-height: 300px;
}

.window-content pre {
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

.window-content code {
  color: var(--primary);
}

/* Video Section */
.video-section {
  background: var(--dark);
  padding: 6rem 0;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid var(--primary);
  box-shadow: 0 20px 60px rgba(0, 255, 65, 0.3);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Bio Section */
.bio-section {
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 2rem;
  background: var(--dark-lighter);
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 65, 0.2);
}

.bio-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.bio-content p:last-child {
  margin-bottom: 0;
}

.bio-content strong {
  color: var(--primary);
  font-weight: 700;
}

/* Section Styles */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.title-accent {
  color: var(--primary);
  margin-right: 0.5rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* About Section */
.about {
  background: var(--dark-light);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--dark-lighter);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 65, 0.1);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 255, 65, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  color: var(--primary);
}

.feature-card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Modules Section */
.modules {
  background: var(--dark);
}

.modules-container {
  display: grid;
  gap: 1rem;
}

.module-card {
  background: var(--dark-lighter);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
}

.module-card:hover {
  border-color: var(--primary);
  box-shadow: 0 5px 20px rgba(0, 255, 65, 0.1);
}

.module-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  background: var(--dark-light);
  transition: background 0.3s;
}

.module-header:hover {
  background: rgba(0, 255, 65, 0.05);
}

.module-number {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  min-width: 50px;
}

.module-title {
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  flex: 1;
}

.module-toggle {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s;
}

.module-toggle svg {
  width: 20px;
  height: 20px;
}

.module-card.active .module-toggle {
  transform: rotate(180deg);
}

.module-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.module-card.active .module-content {
  max-height: 2000px;
  transition: max-height 0.5s ease-in;
}

.module-lessons {
  list-style: none;
  padding: 1rem 1.5rem 1.5rem 4rem;
}

.module-lessons li {
  padding: 0.6rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.module-lessons li:last-child {
  border-bottom: none;
}

.module-lessons li:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.lesson-icon {
  color: var(--primary);
  font-size: 1rem;
}

/* Bonus Module */
.bonus-module .module-header {
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.1) 0%, var(--dark-light) 100%);
}

.bonus-badge {
  background: var(--primary);
  color: var(--dark);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px 5px rgba(0, 255, 65, 0);
  }
}

/* Pricing Section */
.pricing {
  background: var(--dark-light);
  padding: 6rem 0;
}

.pricing-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--dark-lighter);
  border: 2px solid var(--primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 255, 65, 0.3);
}

.pricing-header {
  background: var(--dark);
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 2px solid var(--primary);
}

.price-old {
  font-size: 2rem;
  color: var(--danger);
  text-decoration: line-through;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: "Orbitron", sans-serif;
}

.price-box {
  background: #000;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--primary);
}

.price-current {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 900;
  font-family: "Orbitron", sans-serif;
  text-shadow: 0 0 20px var(--glow);
}

.pricing-features {
  padding: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: rgba(0, 255, 65, 0.05);
  border-radius: 8px;
  transition: all 0.3s;
}

.feature-item:hover {
  background: rgba(0, 255, 65, 0.1);
  transform: translateX(5px);
}

.feature-item svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-item span {
  font-size: 1.1rem;
  color: var(--text);
}

.btn-cta {
  width: calc(100% - 4rem);
  margin: 2rem;
  text-align: center;
  justify-content: center;
  font-size: 1.3rem;
  padding: 1.5rem 2rem;
}

/* Trust Seals */
.trust-seals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  padding: 2rem;
  border-top: 1px solid rgba(0, 255, 65, 0.2);
  border-bottom: 1px solid rgba(0, 255, 65, 0.2);
}

.seal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
}

.seal-item svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.seal-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.guarantee {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(0, 255, 65, 0.05);
  margin: 0 2rem 2rem;
  border-radius: 8px;
}

.guarantee svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  flex-shrink: 0;
}

.guarantee strong {
  display: block;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.guarantee p {
  color: var(--text-muted);
  margin: 0;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark) 100%);
  text-align: center;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: "Orbitron", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--primary);
}

.cta-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: var(--dark-light);
  padding: 2rem 0 1rem;
  border-top: 1px solid rgba(0, 255, 65, 0.2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 1.5rem;
}

.footer-brand {
  flex: 1;
  max-width: 300px;
}

.footer-brand h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex: 1;
  justify-content: flex-end;
}

.footer-column h4 {
  font-family: "Orbitron", sans-serif;
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.85rem;
}

.footer-column ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.footer-bottom p {
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.disclaimer {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: var(--danger);
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .glitch-large {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .footer-content {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer-brand {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .footer-links {
    flex: 1 1 100%;
    justify-content: space-around;
    gap: 2rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 255, 65, 0.2);
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .trust-seals {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .glitch-large {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
  }

  .trust-seals {
    grid-template-columns: 1fr;
  }

  .guarantee {
    flex-direction: column;
    text-align: center;
  }
}
