/* Global Styles & Variables */
:root {
  --primary-color: #2563EB;
  --primary-hover: #1D4ED8;
  --text-color: #111827;
  --text-muted: #6B7280;
  --bg-light: #F7F7F7;
  --bg-white: #FFFFFF;
  --border-color: #E5E7EB;

  --f-body: 'Inter', system-ui, -apple-system, sans-serif;

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 80px;
  --spacing-2xl: 120px;

  --container-width: 1100px;
  --header-height: 72px;
}

@media (max-width: 768px) {
  :root {
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --header-height: 64px;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-body);
  color: var(--text-color);
  line-height: 1.5;
  background-color: var(--bg-white);
  padding-top: var(--header-height);
  /* Offset for fixed header */
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 22px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 18px;
  }
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
  width: 100%;
}

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

.text-primary {
  color: var(--primary-color);
}

.bg-light {
  background-color: var(--bg-light);
}

.grid {
  display: grid;
  gap: var(--spacing-md);
}

/* Icons */
.icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 16px;
  line-height: 1.5;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

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

.btn-secondary:hover {
  background-color: rgba(37, 99, 235, 0.05);
}

.btn-full-mobile {
  @media (max-width: 768px) {
    display: flex;
    width: 100%;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  height: var(--header-height);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Ensure logo is visible on white bg */
.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.desktop-nav a {
  font-weight: 500;
  font-size: 16px;
  color: var(--text-color);
  transition: color 0.2s;
}

.desktop-nav a:not(.btn):hover {
  color: var(--primary-color);
}

.desktop-nav .btn {
  color: white;
}

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

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: white;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid var(--border-color);
}

.mobile-menu a {
  font-size: 18px;
  font-weight: 500;
  padding: 8px 0;
}

.mobile-menu.active {
  display: flex;
  animation: slideDown 0.3s ease-out;
}

/* Mobile Toggle Animation */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .mobile-menu-toggle {
    display: flex;
  }
}

/* Hero Section */
.hero-section {
  padding: 120px 0 80px;
  background-color: #F3F4F6;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: var(--spacing-lg);
}

.hero-subhead {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  max-width: 540px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.hero-micro {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
}

.hero-micro::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  margin-right: 8px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-xl);
  }

  .hero-subhead {
    margin: 0 auto var(--spacing-md);
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-micro {
    justify-content: center;
    margin-top: var(--spacing-sm);
  }

  .hero-section {
    padding-top: 100px;
  }
}

/* Sections Global */
.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-subhead {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
}

/* Steps Grid */
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.step-card {
  flex: 1 1 300px;
  max-width: 350px;
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: transform 0.2s;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: #F3F4F6;
  position: absolute;
  top: -10px;
  right: -10px;
  line-height: 1;
  z-index: 0;
}

.step-card h3 {
  position: relative;
  z-index: 1;
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 12px;
}

.step-card p {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-card {
    width: 100%;
    max-width: 100%;
  }
}

/* Feature Grid (Why This Works) */
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--text-color);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

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

/* Services Section */
.services-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.service-card {
  flex: 1 1 300px;
  max-width: 350px;
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card.highlight {
  border: 2px solid var(--primary-color);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 1;
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.service-header {
  margin-bottom: 24px;
  text-align: center;
}

.service-header h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.service-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.service-price .period {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}

.service-tagline {
  color: var(--text-muted);
  font-size: 14px;
}

.service-features {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 32px;
  flex-grow: 1;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-color);
}

.icon-check {
  color: var(--primary-color);
  font-weight: 800;
}

.service-cta {
  margin-top: auto;
}

.w-full {
  display: flex;
  width: 100%;
}

@media (max-width: 900px) {
  .service-card.highlight {
    transform: none;
    order: -1;
  }

  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 100%;
    max-width: 100%;
  }
}

/* Social Proof */
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-card {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.testimonial-image {
  width: 100%;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.testimonial-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-content blockquote {
  font-size: 15px;
  color: var(--text-color);
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author {
  font-size: 14px;
  color: var(--text-muted);
  border-top: 1px solid #F3F4F6;
  padding-top: 16px;
}

.testimonial-author strong {
  color: var(--text-color);
}

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

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: var(--spacing-lg);
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
  margin-bottom: var(--spacing-md);
}

.about-text {
  margin-bottom: var(--spacing-md);
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-text p {
  margin-bottom: 16px;
}

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

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }

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

/* Final CTA & Calendly */
.calendly-placeholder {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendly-mockup {
  width: 100%;
  background: #FAFAFA;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.calendly-header {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.calendly-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #E5E7EB;
}

.calendly-grid {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.c-day {
  width: 40px;
  height: 60px;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
}

.fallback-link {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background-color: #111827;
  color: white;
  padding: 80px 0;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: block;
  margin-bottom: 24px;
  opacity: 0.9;
}

.copyright {
  font-size: 14px;
  color: #9CA3AF;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: #D1D5DB;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-social .icon {
  width: 24px;
  height: 24px;
  fill: #D1D5DB;
  transition: fill 0.2s;
}

.footer-social:hover .icon {
  fill: white;
}

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-direction: column;
    gap: 16px;
  }
}