/* ============================================
   Universe Freedom — Landing Page Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg: #0D1117;
  --bg-alt: #0a0e14;
  --surface: #151B23;
  --surface-2: #1c2333;
  --border: #2D333B;
  --border-light: #3d444d;
  --accent: #00E59B;
  --accent-dim: rgba(0, 229, 155, 0.15);
  --accent-glow: rgba(0, 229, 155, 0.25);
  --gold: #F0B429;
  --red: #F85149;
  --text: #F0F2F5;
  --text-muted: #8B949E;
  --text-dim: #6E7681;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform var(--transition-interactive),
              border-color var(--transition-interactive);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active { transform: translateY(0) !important; }

.btn-primary {
  background: var(--accent);
  color: #0D1117;
}
.btn-primary:hover {
  background: #00cc8a;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 229, 155, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; padding: 12px 24px; }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out),
              background 0.3s var(--ease-out);
}

.header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(13, 17, 23, 0.95);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-interactive);
}
.nav-link:hover { color: var(--text); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 229, 155, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite alternate;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  bottom: 15%;
  right: 10%;
  background: radial-gradient(circle, rgba(0, 229, 155, 0.06) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out 2s infinite alternate;
}

@keyframes pulse-glow {
  0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 155, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 155, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* --- Section Basics --- */
.section {
  padding: clamp(60px, 8vw, 120px) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform var(--transition-interactive);
}
.feature-card:hover {
  border-color: rgba(0, 229, 155, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 155, 0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius-md);
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Steps / How It Works --- */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 20px;
}

.step-number {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #0D1117;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 14px;
  flex-shrink: 0;
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
}
.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card-popular {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(0, 229, 155, 0.1);
}
.pricing-card-popular:hover {
  box-shadow: 0 0 40px rgba(0, 229, 155, 0.15), 0 12px 40px rgba(0, 0, 0, 0.2);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0D1117;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 999px;
}

.pricing-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  flex: 1;
  margin-bottom: 24px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7l3 3 5-5' stroke='%2300E59B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

/* --- Mentor Section --- */
.mentor-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mentor-content .section-title {
  text-align: left;
}

.mentor-perks {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mentor-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-muted);
}

.mentor-visual {
  display: flex;
  justify-content: center;
}

.mentor-card-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 340px;
}

.mock-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dim), var(--accent-glow));
  margin-bottom: 20px;
}

.mock-lines {
  margin-bottom: 24px;
}

.mock-line {
  height: 10px;
  border-radius: 5px;
  background: var(--border);
  margin-bottom: 10px;
}
.mock-line-long { width: 80%; }
.mock-line-short { width: 50%; }

.mock-stats {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.mock-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-stat-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

.mock-stat-label {
  font-size: 12px;
  color: var(--text-dim);
}

/* --- Stats --- */
.stats-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  display: inline;
}

.stat-suffix {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* --- Footer --- */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition-interactive);
}
.footer-links a:hover { color: var(--text); }

.footer-legal {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-legal p {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.disclaimer {
  font-size: 12px !important;
  line-height: 1.6;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */

/* Tablet */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .mentor-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mentor-content .section-title {
    text-align: center;
  }

  .mentor-content .section-sub {
    text-align: center !important;
  }

  .mentor-content {
    text-align: center;
  }

  .mentor-perks {
    align-items: center;
  }

  .mentor-content .btn {
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container { padding-inline: 16px; }

  /* Nav mobile */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transition: right 0.35s var(--ease-out);
    border-left: 1px solid var(--border);
    z-index: 150;
  }

  .nav.open { right: 0; }

  .nav-link { font-size: 18px; }

  .hamburger { display: flex; }

  /* Hero */
  .hero { min-height: 90vh; }
  .hero-title { font-size: clamp(32px, 8vw, 48px); }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card { padding: 24px 20px; }

  /* Steps */
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .step { max-width: 100%; }

  .step-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn-lg {
    width: 100%;
    max-width: 280px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

/* ── Language Toggle ────────────────────────── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 2px;
  border: 1px solid rgba(255,255,255,0.08);
}
.lang-btn {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8B949E;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  letter-spacing: 0.02em;
}
.lang-btn:hover {
  color: #F0F2F5;
}
.lang-btn.active {
  background: #00E59B;
  color: #0D1117;
}
@media (max-width: 768px) {
  .lang-toggle {
    margin: 8px 0;
  }
}
