* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: #000;
  color: #e8e8e8;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

:root {
  --accent: #FFCC00;
  --border: #1a1a1a;
  --radius: 20px;
  --radius-sm: 14px;
  --bg-card: rgba(10,10,10,0.7);
  --text-secondary: #888;
}

/* Particles */
.particles-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; overflow: hidden;
}
.particle {
  position: absolute; background: #FFCC00; border-radius: 50%;
  opacity: 0; animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 1100;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .site-header {
    height: 70px;
    padding: 0 32px;
  }
}

.logo a {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.right-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.icon-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
}

.burger-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.burger-btn span {
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.cart-icon-wrapper {
  position: relative;
}

.cart-badge-overlay {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  padding: 2px 4px;
  font-size: 0.55rem;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-badge {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
}

.profile-badge.show {
  display: flex;
}

.profile-avatar {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
}

/* Side menu */
.side-menu {
  position: fixed;
  top: 60px;
  right: -100%;
  width: 280px;
  height: calc(100% - 60px);
  background: rgba(5,5,5,0.95);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  z-index: 1050;
  transition: right 0.3s ease;
  padding: 30px 20px;
  overflow-y: auto;
}

.side-menu.open {
  right: 0;
}

.menu-header {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.menu-list {
  list-style: none;
}

.menu-list li {
  margin-bottom: 20px;
}

.menu-list a {
  font-size: 1rem;
  font-weight: 500;
  color: #ccc;
  text-decoration: none;
  display: block;
  padding: 8px 0;
  transition: 0.2s;
}

.menu-list a:hover {
  color: var(--accent);
  padding-left: 8px;
}

/* Cart panel */
.cart-panel {
  position: fixed;
  top: 60px;
  right: 0;
  width: 100%;
  max-width: 360px;
  height: calc(100% - 60px);
  background: rgba(5,5,5,0.95);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  z-index: 1150;
  padding: 20px;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

.cart-panel.show {
  display: flex;
}

.cart-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
}

.cart-item-image {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  background: #111;
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.75rem;
  color: var(--accent);
}

.cart-item-remove {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 1.2rem;
}

.cart-item-remove:hover {
  color: #e74c3c;
}

.cart-total {
  margin-top: 20px;
  text-align: right;
  font-weight: 700;
  color: var(--accent);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.empty-cart {
  text-align: center;
  color: var(--text-secondary);
  padding: 30px 0;
}

.close-cart {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.2rem;
}

.cart-btn-yellow {
  background: var(--accent);
  border: none;
  color: #000;
  padding: 12px;
  margin-top: 18px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 40px;
  font-family: 'Inter', sans-serif;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.modal-content {
  background: rgba(20,20,20,0.9);
  backdrop-filter: blur(20px);
  max-width: 400px;
  width: 100%;
  padding: 32px 28px;
  border-radius: 24px;
  border: 1px solid rgba(255,204,0,0.3);
  text-align: center;
}

.modal-content h3 {
  margin-bottom: 24px;
  font-size: 1.4rem;
  color: var(--accent);
}

.modal-content input {
  width: 100%;
  padding: 14px 18px;
  margin: 10px 0;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 40px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}

.modal-btn {
  background: var(--accent);
  border: none;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
  font-size: 1rem;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.close-modal {
  float: right;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-secondary);
}

.close-modal:hover {
  color: var(--accent);
}

/* Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 20px 40px;
  position: relative;
  z-index: 1;
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 50px;
  padding: 20px 20px 0;
}

.hero h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero h1 span {
  color: var(--accent);
}

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

@media (min-width: 768px) {
  .hero {
    padding: 40px 40px 0;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 12px 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 40px 0 24px;
  padding-left: 20px;
  border-left: 4px solid var(--accent);
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.course-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,204,0,0.4);
}

.course-cover {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #111;
  background-size: cover;
  background-position: center;
}

.course-info {
  padding: 16px;
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.course-name {
  font-size: 1rem;
  font-weight: 700;
}

.level-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 40px;
  background: var(--accent);
  color: #000;
}

.course-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.course-duration {
  font-size: 0.8rem;
  color: var(--accent);
}

.course-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.add-to-cart-btn {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 12px 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  width: 100%;
}

/* Steps */
.steps-section {
  margin: 60px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 600px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: rgba(255,204,0,0.4);
}

.step-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.6;
  margin-bottom: 10px;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FAQ */
.faq-section {
  margin: 60px 0;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: #ccc;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  padding: 0 20px;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 20px 20px 20px;
}

/* Socials */
.socials-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.social-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  min-width: 200px;
}

.social-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,204,0,0.4);
}

.social-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
}

.social-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

/* Docs */
.docs-list {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.doc-item {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.doc-item:last-child {
  border-bottom: none;
}

.doc-item:hover {
  background: rgba(255,204,0,0.05);
}

.doc-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(255,204,0,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.doc-name {
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1rem;
}

.doc-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 0;
  color: #555;
  font-size: 0.7rem;
  position: relative;
  z-index: 1;
}

.footer-offer {
  color: #555;
  text-decoration: none;
}

.footer-offer:hover {
  color: var(--accent);
}

/* Warning overlay */
.warning-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.warning-box {
  background: rgba(20,20,20,0.95);
  backdrop-filter: blur(20px);
  max-width: 420px;
  width: 100%;
  padding: 28px 24px;
  border-radius: 24px;
  border: 1px solid var(--accent);
  text-align: center;
}

.warning-box h3 {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.warning-box p {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.warning-box strong {
  color: var(--accent);
}

.warning-box button {
  background: var(--accent);
  border: none;
  color: #000;
  padding: 12px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
}

/* Reveal animation */
.reveal {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}