@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============ RESET & BASE ============ */
:root {
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --accent: #f97316;
  --accent2: #8b5cf6;
  --bg: #0d0f1a;
  --bg-card: #131629;
  --bg-surface: #1a1e35;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --success: #10b981;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-solid {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.25);
  border: none;
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(245, 158, 11, 0.1);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--text);
}

.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.25rem;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}

.logo-accent {
  color: var(--primary);
  font-size: 1rem;
}

.main-nav {
  display: flex;
  gap: 32px;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.auth-buttons {
  display: flex;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: background 0.2s ease;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--bg);
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(13, 15, 26, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(13, 15, 26, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 1.8rem;
  color: var(--text);
  font-weight: 800;
}

.hero-stats span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-art {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  animation: float 10s ease-in-out infinite alternate;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -20px) scale(1.05); }
}

.blob-1 {
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  top: 10%;
  right: 10%;
}

.blob-2 {
  width: 240px;
  height: 240px;
  background: linear-gradient(135deg, var(--primary), #ef4444);
  bottom: 10%;
  left: 10%;
  animation-delay: -5s;
}

.hero-card {
  position: absolute;
  background: rgba(26, 30, 53, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  padding: 20px 28px;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: floatCard 6s ease-in-out infinite alternate;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

/* ============ SECTION HEADING ============ */
.section-heading {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 48px;
}

.section-heading h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ============ COURSES ============ */
.courses-section {
  padding: 100px 0;
  background: #0a0c16;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--text);
  background: rgba(245, 158, 11, 0.1);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease, border-color 0.25s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(245, 158, 11, 0.3);
}

.course-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: #fff;
  position: relative;
}

.course-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
  opacity: 0.5;
}

.course-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.course-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: rgba(245, 158, 11, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.course-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.course-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 4px;
}

.course-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.price-new {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--success);
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.enroll-btn {
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.enroll-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
}

.know-more-btn {
  padding: 10px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.know-more-btn:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
}

.no-results {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 0;
  grid-column: 1 / -1;
  font-size: 1.1rem;
}

/* ============ WHY SECTION ============ */
.why-section {
  background: var(--bg);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.why-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: center;
}

.why-text h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.why-text p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.why-list {
  display: grid;
  gap: 24px;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-surface);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.why-list li::before {
  content: "✦";
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
}

.why-list li strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.why-list li span {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.why-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.why-image::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.why-card {
  background: rgba(26, 30, 53, 0.8);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  font-weight: 700;
  font-size: 1.4rem;
  text-align: center;
  z-index: 1;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent2));
}

/* ============ CTA / NEWSLETTER ============ */
.cta-section {
  background: var(--bg-card);
  padding: 100px 0;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

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

.cta-inner h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  font-weight: 800;
}

.cta-inner p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.cta-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cta-form input {
  flex: 1;
  min-width: 240px;
  padding: 16px 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.cta-form input::placeholder {
  color: var(--text-muted);
}

.cta-form input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-note {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--success);
}

/* ============ FOOTER ============ */
.site-footer {
  background: #06070a;
  color: var(--text-muted);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-col h4 {
  color: var(--text);
  margin-bottom: 24px;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 12px;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
}

/* ============ MODALS ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 7, 10, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  padding: 32px 40px 40px;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

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

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  transform: rotate(90deg);
}

.course-modal-thumb {
  height: 180px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.course-modal-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 22, 41, 0.8) 0%, transparent 100%);
}

.modal-body h3 {
  font-size: 1.5rem;
  margin: 16px 0 12px;
  color: var(--text);
  font-weight: 800;
}

.modal-body #courseModalDesc {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.course-modal-long {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.enroll-modal h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 800;
}

.enroll-modal-course {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.enroll-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-field input,
.form-field textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: all 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.enroll-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  margin-top: 10px;
  border-radius: 12px;
}

@media (max-width: 560px) {
  .form-row {
    flex-direction: column;
  }
}

/* ============ LEGAL PAGES ============ */
.legal-page {
  padding: 100px 0 120px;
}

.legal-container {
  max-width: 800px;
  background: var(--bg-card);
  padding: 60px;
  border-radius: 24px;
  border: 1px solid var(--border);
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-page h2 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
  color: var(--text);
  font-weight: 700;
}

.legal-page p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.legal-page a {
  color: var(--primary);
  text-decoration: underline;
}

/* ============ PAYMENT PAGE ============ */
.pay-page {
  padding: 80px 0 120px;
}

.pay-container {
  max-width: 1000px;
}

.demo-banner {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--primary);
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 0.95rem;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-banner::before {
  content: "⚠️";
  font-size: 1.2rem;
}

.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.pay-summary,
.pay-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  padding: 40px;
}

.pay-summary h2,
.pay-form-card h2 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  font-weight: 800;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text-muted);
}

.summary-course {
  font-weight: 700;
  color: var(--text);
  font-size: 1.15rem;
  justify-content: flex-start;
  padding-bottom: 20px;
}

.summary-total {
  border-bottom: none;
  padding-top: 24px;
  font-weight: 800;
  color: var(--text);
  font-size: 1.3rem;
  align-items: center;
}

.summary-total span:last-child {
  font-size: 1.6rem;
  color: var(--success);
}

.summary-empty {
  text-align: center;
  padding: 40px 0;
}

.summary-empty p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.pay-redirect-note {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.pay-form-card .enroll-submit {
  width: 100%;
  padding: 18px;
  font-size: 1.15rem;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .pay-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .hero-inner,
  .why-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text p {
    margin: 0 auto 40px;
  }
  
  .hero-cta,
  .hero-stats {
    justify-content: center;
  }
  
  .why-list li {
    text-align: left;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .auth-buttons {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 15, 26, 0.95);
    backdrop-filter: blur(16px);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .section-heading h2 {
    font-size: 2rem;
  }
  
  .legal-container {
    padding: 40px 24px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
}