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

:root {
  --bg: #0a0a0a;
  --bg-light: #111111;
  --bg-card: #161616;
  --accent: #00ff88;
  --accent-dim: rgba(0, 255, 136, 0.15);
  --white: #ffffff;
  --gray: #888888;
  --text: #e0e0e0;
  --font-heading: 'Bebas Neue', Impact, 'Arial Black', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --glow: 0 0 20px rgba(0, 255, 136, 0.3);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: all 0.3s; }
a:hover { text-shadow: var(--glow); }

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

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

h1 { font-size: clamp(3rem, 8vw, 7rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); text-transform: uppercase; }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  position: relative;
}

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

.nav-links a:hover,
.nav-links a.active { color: var(--white); text-shadow: none; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

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

body.menu-open {
  overflow: hidden;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  margin-bottom: 16px;
  position: relative;
}

.hero h1 span {
  display: block;
  color: var(--accent);
  text-shadow: var(--glow);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

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

.btn-primary:hover {
  box-shadow: var(--glow);
  transform: translateY(-2px);
  color: var(--bg);
  text-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: var(--glow);
  text-shadow: none;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

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

.section-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 48px; }

/* ===== TOXIC HABITS (5 Habits) ===== */
.habits { background: var(--bg-light); }

.habits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  counter-reset: habit;
}

.habit-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s;
  counter-increment: habit;
}

.habit-card::before {
  content: '0' counter(habit);
  font-family: var(--font-heading);
  font-size: 3rem;
  color: rgba(0, 255, 136, 0.12);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.habit-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.08);
  transform: translateY(-4px);
}

.habit-card h3 { margin-bottom: 12px; }

.habit-card p { color: var(--gray); font-size: 0.95rem; }

/* ===== WHO THIS IS FOR ===== */
.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.audience-tag {
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s;
}

.audience-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== CONTENT / LINKS ===== */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
}

.content-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.08);
}

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

/* ===== EMAIL CAPTURE ===== */
.email-capture {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg) 100%);
  border-top: 1px solid rgba(0, 255, 136, 0.15);
  border-bottom: 1px solid rgba(0, 255, 136, 0.15);
  text-align: center;
}

.email-capture .section-title { margin-bottom: 16px; }

.email-capture p {
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

.email-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}

.email-form input::placeholder { color: var(--gray); }
.email-form input:focus { border-color: var(--accent); }

.email-form .btn { flex-shrink: 0; }
.email-form .form-message { width: 100%; text-align: center; }

.form-message {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 24px;
}

.form-message.success { color: var(--accent); }
.form-message.error { color: #ff4444; }

/* ===== SOCIAL PROOF ===== */
.proof { background: var(--bg-light); }

.proof-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
  margin-bottom: 60px;
}

.proof-stat h3 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent);
}

.proof-stat p { color: var(--gray); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; }

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

.testimonial {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px;
}

.testimonial p { font-style: italic; color: var(--text); margin-bottom: 16px; }

.testimonial cite {
  color: var(--accent);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p { color: var(--gray); font-size: 0.9rem; margin-top: 12px; max-width: 300px; }

.footer h4 {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--gray); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s;
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--glow);
  text-shadow: none;
}

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

/* ===== PAGE HEADERS (inner pages) ===== */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  background: var(--bg-light);
  border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

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

/* ===== ABOUT PAGE ===== */
.about-story {
  max-width: 760px;
  margin: 0 auto;
}

.about-story p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-story .highlight {
  color: var(--accent);
  font-weight: 600;
}

.about-mission {
  background: var(--bg-light);
  text-align: center;
}

.about-mission p {
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: var(--gray);
}

/* ===== BLOG PAGE ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 36px 28px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.08);
  transform: translateY(-4px);
}

.blog-card .tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}

.blog-card h3 { margin-bottom: 12px; font-size: 1.5rem; }

.blog-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card .read-more {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--gray); }

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }

.contact-form textarea { min-height: 160px; resize: vertical; }

.contact-info h3 { margin-bottom: 20px; }

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

.contact-info .social-links { margin-top: 24px; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.3s;
  }

  .nav-links.active { transform: translateX(0); }

  .nav-links a { font-size: 1.2rem; }

  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero { padding: 100px 20px 60px; }

  section { padding: 60px 0; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

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

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

/* ===== BLOG POST STYLES ===== */
.blog-post {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 60px;
}
.blog-post-tag {
  color: #00ff88;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.blog-post-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.blog-post-meta {
  color: #888;
  font-size: 14px;
  margin-bottom: 40px;
  display: flex;
  gap: 16px;
}
.blog-post-content {
  color: #e0e0e0;
  font-size: 17px;
  line-height: 1.8;
}
.blog-post-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: #fff;
  margin: 40px 0 16px;
}
.blog-post-content p {
  margin-bottom: 20px;
}
.blog-post-content ul, .blog-post-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.blog-post-content li {
  margin-bottom: 8px;
}
.blog-post-content blockquote {
  border-left: 3px solid #00ff88;
  padding-left: 20px;
  margin: 32px 0;
  color: #aaa;
  font-style: italic;
}
.blog-post-cta {
  background: #161616;
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  margin-top: 60px;
}
.blog-post-cta h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: #fff;
  margin-bottom: 8px;
}
.blog-post-cta p {
  color: #888;
  margin-bottom: 20px;
}
.blog-post-cta form {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}
.blog-post-cta input {
  flex: 1;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
}
.blog-post-cta input:focus { border-color: #00ff88; }
.blog-post-cta button {
  background: #00ff88;
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  cursor: pointer;
}
.blog-post-cta button:hover { background: #00cc6a; }
@media (max-width: 768px) {
  .blog-post-title { font-size: 36px; }
  .blog-post-cta form { flex-direction: column; }
}

/* Exit Intent Popup */
.exit-popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}
.exit-popup-overlay.active {
  display: flex;
}
.exit-popup {
  background: #111111;
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 0 60px rgba(0, 255, 136, 0.15);
  animation: popIn 0.4s ease;
}
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.exit-popup-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: #888;
  font-size: 28px;
  cursor: pointer;
  transition: color 0.2s;
}
.exit-popup-close:hover { color: #fff; }
.exit-popup-icon { font-size: 48px; margin-bottom: 16px; }
.exit-popup-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.1;
}
.exit-popup-title span { color: #00ff88; }
.exit-popup-desc {
  color: #aaa;
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.5;
}
.exit-popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.exit-popup-form input {
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 14px 16px;
  color: #fff;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.exit-popup-form input:focus { border-color: #00ff88; }
.exit-popup-btn {
  background: #00ff88;
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}
.exit-popup-btn:hover {
  background: #00cc6a;
  transform: translateY(-1px);
}
.exit-popup-note {
  color: #555;
  font-size: 12px;
  margin-top: 12px;
}
.exit-popup-form .success-msg {
  color: #00ff88;
  font-size: 15px;
  padding: 14px;
}
@media (max-width: 600px) {
  .exit-popup { padding: 32px 24px; }
  .exit-popup-title { font-size: 26px; }
}

/* Footer Newsletter */
.footer-newsletter {
  display: flex;
  gap: 8px;
}
.footer-newsletter input {
  flex: 1;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 10px 12px;
  color: #fff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.footer-newsletter input:focus { border-color: #00ff88; }
.footer-newsletter button {
  background: #00ff88;
  color: #0a0a0a;
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}
.footer-newsletter button:hover { background: #00cc6a; }
.footer-newsletter-status {
  font-size: 13px;
  margin-top: 8px;
  min-height: 20px;
}
