/* ========================================
   AEO Workshop Landing Page
   Matching scalegrowth.com style
   Dark modern theme — mobile-first
   ======================================== */

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

:root {
  --bg-dark: #070a10;
  --bg-section-dark: #0b0e16;
  --bg-section-light: #f5f7fa;
  --bg-card: #12151f;
  --bg-card-hover: #181c28;
  --primary: #0072e5;
  --primary-light: #3d9bff;
  --primary-dark: #0058b3;
  --accent: #9b51e0;
  --gradient-primary: linear-gradient(135deg, #0072e5 0%, #9b51e0 100%);
  --gradient-hero: linear-gradient(180deg, #070a10 0%, #0d1220 50%, #0b0e16 100%);
  --text-white: #ffffff;
  --text-light: #c5c9d6;
  --text-muted: #7a7f92;
  --text-dark: #1a1a2e;
  --text-dark-secondary: #4a4a5a;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.08);
  --red: #ff4d4d;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 60px rgba(0, 114, 229, 0.15);
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

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

ul {
  list-style: none;
}

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

/* --- Shared list dot --- */
.list-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 6px;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(7, 10, 16, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  padding: 12px 0;
}

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

.logo-img {
  height: 36px;
  width: auto;
}

.nav-cta {
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: var(--transition);
  text-align: center;
}

.btn-icon {
  flex-shrink: 0;
}

.btn-primary {
  padding: 16px 36px;
  font-size: 15px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 114, 229, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 114, 229, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 16px;
  border-radius: 12px;
}

/* Dark sections get white outline buttons */
.problem .btn-primary,
.credibility .btn-primary {
  background: transparent;
  border: 2px solid var(--primary);
  color: #fff;
}

.problem .btn-primary:hover,
.credibility .btn-primary:hover {
  background: var(--primary);
  color: #fff;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 114, 229, 0.1) 0%, rgba(155, 81, 224, 0.05) 40%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black, transparent);
}

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

.hero-top-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(0, 114, 229, 0.12);
  border: 1px solid rgba(0, 114, 229, 0.25);
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(28px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #fff;
}

.txt-highlight {
  background: linear-gradient(135deg, #0072e5, #3d9bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.txt-highlight-ai {
  background: linear-gradient(135deg, #9b51e0, #c77dff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-light);
  font-weight: 500;
}

.bullet-icon {
  flex-shrink: 0;
  color: var(--primary-light);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.micro-text {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Section Shared --- */
section {
  padding: 72px 0;
}

section h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.section-cta {
  text-align: center;
  margin-top: 36px;
}

/* --- Problem Section (Dark) --- */
.problem {
  background: var(--bg-section-dark);
  color: var(--text-white);
  border-top: 1px solid var(--border-dark);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.problem-text h2 {
  text-align: left;
}

.problem-copy {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.7;
}

.problem-highlight {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 24px;
  line-height: 1.3;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-light);
  font-weight: 500;
}

.problem-image img {
  border-radius: var(--radius-lg);
  max-width: 400px;
  margin: 0 auto;
}

/* --- What You Get / Learn Section (Light) --- */
.what-you-get {
  background: var(--bg-section-light);
  color: var(--text-dark);
}

.what-you-get h2 {
  color: var(--text-dark);
  text-align: left;
}

.learn-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.learn-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.learn-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dark-secondary);
  font-weight: 500;
  line-height: 1.5;
}

.learn-list strong {
  color: var(--text-dark);
}

.what-you-get .btn-primary {
  background: var(--primary);
}

.what-you-get .btn-primary:hover {
  background: var(--primary-dark);
}

.learn-image-col img {
  border-radius: var(--radius-lg);
  max-width: 100%;
}

/* --- Before / After (Light) --- */
.before-after {
  background: var(--bg-section-light);
  color: var(--text-dark);
  border-top: 1px solid var(--border-light);
}

.ba-heading {
  text-align: center;
  color: var(--text-dark);
}

.ba-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

.ba-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.ba-card--before {
  background: linear-gradient(135deg, rgba(255, 77, 77, 0.04) 0%, #fff 100%);
  border-color: rgba(255, 77, 77, 0.15);
}

.ba-card--after {
  background: linear-gradient(135deg, rgba(0, 114, 229, 0.04) 0%, #fff 100%);
  border-color: rgba(0, 114, 229, 0.15);
}

.ba-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding: 4px 14px;
  border-radius: 6px;
  display: inline-block;
}

.ba-label--before {
  background: rgba(255, 77, 77, 0.1);
  color: #e53e3e;
}

.ba-label--after {
  background: rgba(0, 114, 229, 0.1);
  color: var(--primary);
}

.ba-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ba-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dark-secondary);
  font-weight: 500;
}

.ba-list li svg {
  flex-shrink: 0;
}

.before-after .btn-primary {
  background: var(--primary);
}

.before-after .btn-primary:hover {
  background: var(--primary-dark);
}

/* --- Credibility (Dark) --- */
.credibility {
  background: var(--bg-section-dark);
  color: var(--text-white);
  border-top: 1px solid var(--border-dark);
}

.credibility-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.credibility-text h2 {
  text-align: left;
}

.credibility-text p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.credibility-text strong {
  color: var(--text-white);
}

.credibility-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.credibility-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-light);
  font-weight: 500;
}

.credibility-image img {
  border-radius: var(--radius-lg);
  max-width: 420px;
  margin: 0 auto;
}

/* --- Final Push + Form (Dark) --- */
.final-push {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 72px 0 100px;
}

.final-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.final-copy h2 {
  text-align: left;
  margin-bottom: 16px;
}

.final-copy p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.final-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.final-features span {
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  background: rgba(0, 114, 229, 0.1);
  border: 1px solid rgba(0, 114, 229, 0.2);
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Form --- */
.form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow), var(--shadow-glow);
}

.form-wrapper h3 {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
  color: var(--text-white);
}

/* HubSpot form overrides */
.form-wrapper .hs-form-field {
  margin-bottom: 14px;
}

.form-wrapper .hs-form-field label {
  color: var(--text-light) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
  display: block;
  font-family: var(--font) !important;
}

.form-wrapper .hs-input {
  width: 100% !important;
  padding: 14px 16px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-size: 15px !important;
  font-family: var(--font) !important;
  transition: var(--transition) !important;
}

.form-wrapper .hs-input:focus {
  outline: none !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 114, 229, 0.15) !important;
}

.form-wrapper .hs-input::placeholder {
  color: var(--text-muted) !important;
}

.form-wrapper .hs-submit .hs-button {
  width: 100% !important;
  padding: 16px 36px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-family: var(--font) !important;
  color: #fff !important;
  background: var(--primary) !important;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  box-shadow: 0 4px 16px rgba(0, 114, 229, 0.3) !important;
}

.form-wrapper .hs-submit .hs-button:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(0, 114, 229, 0.4) !important;
}

.form-wrapper .hs-error-msgs {
  color: var(--red) !important;
  font-size: 12px !important;
  margin-top: 4px !important;
  font-family: var(--font) !important;
}

.form-wrapper .submitted-message {
  color: var(--primary-light) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  text-align: center !important;
  padding: 20px 0 !important;
  font-family: var(--font) !important;
}

.form-wrapper .hs-form .legal-consent-container {
  margin-top: 12px;
}

/* --- Footer --- */
.footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--border-dark);
  text-align: center;
  background: var(--bg-section-dark);
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 40px;
  margin: 0 auto;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
}

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

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Mobile-specific refinements (< 640px) --- */
@media (max-width: 639px) {
  .hero {
    min-height: auto;
    padding: 90px 0 50px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.15;
  }

  .hero-top-text {
    font-size: 11px;
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .badge {
    font-size: 10px;
    padding: 6px 14px;
    margin-bottom: 16px;
  }

  .hero-bullets {
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-bullets li {
    font-size: 13px;
  }

  .btn-primary {
    padding: 14px 28px;
    font-size: 14px;
    width: 100%;
  }

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

  section {
    padding: 48px 0;
  }

  section h2 {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .problem-copy {
    font-size: 15px;
  }

  .problem-highlight {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .problem-image img {
    max-width: 280px;
  }

  .credibility-image img {
    max-width: 300px;
  }

  .final-push {
    padding: 48px 0 64px;
  }

  .final-copy h2 {
    text-align: center;
    font-size: 22px;
  }

  .final-copy p {
    font-size: 15px;
    text-align: center;
  }

  .final-features {
    justify-content: center;
  }

  .form-wrapper {
    padding: 28px 20px;
  }

  .form-wrapper h3 {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .nav-cta {
    font-size: 11px;
    padding: 8px 16px;
  }

  .logo-img {
    height: 28px;
  }

  .section-cta {
    margin-top: 24px;
  }

  .section-cta .btn-primary {
    width: auto;
  }

  .problem-text h2,
  .credibility-text h2,
  .before-after h2 {
    text-align: center;
  }

  .learn-list li,
  .problem-list li,
  .credibility-list li,
  .ba-list li {
    font-size: 14px;
  }
}

/* --- Responsive --- */

/* Tablet */
@media (min-width: 640px) {
  .container {
    padding: 0 32px;
  }

  .hero-bullets {
    max-width: 480px;
  }

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

/* Desktop */
@media (min-width: 960px) {
  section {
    padding: 100px 0;
  }

  .container {
    padding: 0 40px;
  }

  .hero {
    padding: 120px 0 80px;
    min-height: 100vh;
  }

  .hero h1 {
    font-size: 52px;
  }

  .logo-img {
    height: 42px;
  }

  /* Two-column layouts */
  .problem-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }

  .learn-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }

  .ba-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }

  .credibility-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }

  .final-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .final-copy h2 {
    font-size: 34px;
  }

  .form-wrapper {
    padding: 44px 36px;
  }

  .final-push {
    padding: 100px 0 120px;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 58px;
  }
}
