/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === DARK THEME (default) === */
:root, [data-theme="dark"] {
  --red: #FF0000;
  --red-dark: #CC0000;
  --red-light: #FF4444;
  --dark: #0F0F0F;
  --dark2: #1A1A1A;
  --dark3: #272727;
  --gray: #606060;
  --gray-light: #AAAAAA;
  --white: #FFFFFF;
  --bg: #0A0A0A;
  --card-bg: #1A1A1A;
  --card-border: #2A2A2A;
  --gradient: linear-gradient(135deg, #FF0000, #FF6B6B);
  --shadow: 0 8px 32px rgba(255, 0, 0, 0.15);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --navbar-bg: rgba(10, 10, 10, 0.85);
  --navbar-bg-solid: rgba(10, 10, 10, 0.95);
  --navbar-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  --step-num-color: rgba(255, 0, 0, 0.1);
  --btn-secondary-bg: rgba(255, 255, 255, 0.08);
  --btn-secondary-border: rgba(255, 255, 255, 0.15);
  --btn-secondary-hover-bg: rgba(255, 255, 255, 0.12);
  --btn-secondary-hover-border: rgba(255, 255, 255, 0.25);
  --btn-secondary-text: #FFFFFF;
  --filter-btn-bg: #1A1A1A;
  --filter-btn-border: #2A2A2A;
  --footer-bg: #0F0F0F;
  --footer-border: #2A2A2A;
  --cta-pattern-opacity: 0.08;
  --toggle-bg: #272727;
  --toggle-hover: #3A3A3A;
  --toggle-icon: #FFD93D;
  --faq-hover-bg: #272727;
  --body-text: #FFFFFF;
  --link-hover-color: #FFFFFF;
  --step-tip-bg: rgba(255, 0, 0, 0.06);
  --mobile-menu-color: #FFFFFF;
  --mono-amount-bg: rgba(255, 0, 0, 0.1);
}

/* === LIGHT THEME === */
[data-theme="light"] {
  --red: #CC0000;
  --red-dark: #AA0000;
  --red-light: #E02020;
  --dark: #F5F5F5;
  --dark2: #EEEEEE;
  --dark3: #E0E0E0;
  --gray: #999999;
  --gray-light: #666666;
  --white: #1A1A1A;
  --bg: #FFFFFF;
  --card-bg: #F7F7F7;
  --card-border: #E5E5E5;
  --gradient: linear-gradient(135deg, #CC0000, #FF4444);
  --shadow: 0 8px 32px rgba(204, 0, 0, 0.08);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.06);
  --navbar-bg: rgba(255, 255, 255, 0.85);
  --navbar-bg-solid: rgba(255, 255, 255, 0.95);
  --navbar-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --step-num-color: rgba(204, 0, 0, 0.07);
  --btn-secondary-bg: rgba(0, 0, 0, 0.04);
  --btn-secondary-border: rgba(0, 0, 0, 0.12);
  --btn-secondary-hover-bg: rgba(0, 0, 0, 0.07);
  --btn-secondary-hover-border: rgba(0, 0, 0, 0.2);
  --btn-secondary-text: #1A1A1A;
  --filter-btn-bg: #F7F7F7;
  --filter-btn-border: #E5E5E5;
  --footer-bg: #F5F5F5;
  --footer-border: #E5E5E5;
  --cta-pattern-opacity: 0.05;
  --toggle-bg: #E8E8E8;
  --toggle-hover: #D5D5D5;
  --toggle-icon: #F59E0B;
  --faq-hover-bg: #EFEFEF;
  --body-text: #1A1A1A;
  --link-hover-color: #CC0000;
  --step-tip-bg: rgba(204, 0, 0, 0.05);
  --mobile-menu-color: #1A1A1A;
  --mono-amount-bg: rgba(204, 0, 0, 0.08);
}

/* Theme transition */
body,
.navbar,
.step-card,
.tip-card,
.monetization-card,
.faq-item,
.faq-question,
.cta-card,
.footer,
.filter-btn,
.theme-toggle,
.btn-secondary {
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--body-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

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

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.navbar.scrolled {
  background: var(--navbar-bg-solid);
  box-shadow: var(--navbar-shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--red);
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-light);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--link-hover-color);
}

.nav-links a:hover::after {
  width: 100%;
}

/* === NAV ACTIONS (toggle + hamburger) === */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* === THEME TOGGLE === */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--toggle-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--toggle-hover);
  transform: scale(1.08);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-icon {
  font-size: 1.2rem;
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}

/* Dark theme: show moon, hide sun */
:root .theme-icon.moon,
[data-theme="dark"] .theme-icon.moon {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

:root .theme-icon.sun,
[data-theme="dark"] .theme-icon.sun {
  transform: rotate(90deg) scale(0);
  opacity: 0;
}

/* Light theme: show sun, hide moon */
[data-theme="light"] .theme-icon.sun {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

[data-theme="light"] .theme-icon.moon {
  transform: rotate(-90deg) scale(0);
  opacity: 0;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--mobile-menu-color);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--red);
  top: -200px;
  right: -200px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: #FF6B6B;
  bottom: -100px;
  left: -100px;
  animation-delay: -5s;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: #FF4444;
  top: 50%;
  left: 30%;
  animation-delay: -10s;
}

.shape-4 {
  width: 200px;
  height: 200px;
  background: #CC0000;
  top: 30%;
  right: 20%;
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 15px) scale(1.02); }
}

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

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 0, 0, 0.15);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red-light);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 0, 0, 0.3);
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border: 1px solid var(--btn-secondary-border);
}

.btn-secondary:hover {
  background: var(--btn-secondary-hover-bg);
  border-color: var(--btn-secondary-hover-border);
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.15rem;
}

/* === HERO STATS === */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--red);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-light);
}

/* === SECTIONS === */
.section {
  padding: 100px 0;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-light);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto;
}

/* === STEPS === */
.steps-section {
  background: var(--dark);
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 0, 0, 0.3);
  box-shadow: var(--shadow);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--step-num-color);
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--gray-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.step-tip {
  padding: 12px 16px;
  background: var(--step-tip-bg);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--gray-light);
}

/* === TIPS === */
.tips-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid var(--filter-btn-border);
  background: var(--filter-btn-bg);
  color: var(--gray-light);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #FFFFFF;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.tip-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
  cursor: default;
}

.tip-card:hover {
  border-color: rgba(255, 0, 0, 0.3);
  transform: translateY(-2px);
}

.tip-category {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.tip-category.content { background: rgba(59, 130, 246, 0.15); color: #60A5FA; }
.tip-category.tech { background: rgba(16, 185, 129, 0.15); color: #34D399; }
.tip-category.growth { background: rgba(245, 158, 11, 0.15); color: #FBBF24; }
.tip-category.mindset { background: rgba(168, 85, 247, 0.15); color: #C084FC; }

.tip-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.tip-card p {
  color: var(--gray-light);
  font-size: 0.9rem;
}

/* === MONETIZATION === */
.monetization-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.monetization-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}

.monetization-card:hover {
  border-color: rgba(255, 0, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.mono-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.monetization-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mono-amount {
  display: inline-block;
  padding: 6px 14px;
  background: var(--mono-amount-bg);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red-light);
  margin-bottom: 12px;
}

.monetization-card p {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.mono-bar {
  position: relative;
  height: 6px;
  background: var(--dark3);
  border-radius: 100px;
  overflow: visible;
}

.mono-bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 100px;
  width: 0;
  transition: width 1.5s ease;
}

.mono-bar span {
  position: absolute;
  top: 14px;
  right: 0;
  font-size: 0.75rem;
  color: var(--gray);
}

/* === FAQ === */
.faq-section {
  background: var(--dark);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s, background 0.35s;
}

.faq-item.active {
  border-color: rgba(255, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--card-bg);
  border: none;
  color: var(--body-text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s, color 0.35s;
}

.faq-question:hover {
  background: var(--faq-hover-bg);
}

.faq-toggle {
  font-size: 1.4rem;
  color: var(--red);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === CTA === */
.cta-section {
  padding: 60px 0 100px;
}

.cta-card {
  background: var(--gradient);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: var(--cta-pattern-opacity);
}

.cta-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  color: #FFFFFF;
}

.cta-card p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
  color: #FFFFFF;
}

.cta-card .btn {
  position: relative;
  background: #FFFFFF;
  color: var(--red);
}

.cta-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* === FOOTER === */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 60px 0 30px;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.footer-content {
  text-align: center;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 12px;
}

.footer-text {
  color: var(--gray-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.footer-links a {
  color: var(--gray-light);
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--footer-border);
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.85rem;
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navbar-bg-solid);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--card-border);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-stats {
    gap: 30px;
    flex-wrap: wrap;
  }

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

  .steps-timeline {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .monetization-cards {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 50px 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .section {
    padding: 60px 0;
  }
}