@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary: #6366f1; /* Lighter Indigo */
  --primary-hover: #818cf8;
  --secondary: #0f172a;
  --bg-color: #0b0f19; /* Dark background */
  --surface: #111827;
  --card-bg: #1e293b; /* Specific card background for dark mode */
  --white: #ffffff;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-light: rgba(99, 102, 241, 0.15);
  --spacing-section: 120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 1.2rem;
}

p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

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

/* Navigation */
nav {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-weight: 800;
  font-size: 1.25rem; /* modern, slightly scaled text */
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem; /* small spacing between icon and text */
}

.logo-icon {
  height: 60px;
  width: 60px;
  clip-path: circle(36%); /* Perfectly crops out the outer grey background, leaving only the blue */
  object-fit: cover;
  display: block;
  margin: -8px -12px -8px -10px; /* Removes the empty space left by the crop from the layout */
}

.logo-text {
  display: block;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.125rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.3);
}

.btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(99, 102, 241, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

.btn-pulse {
  animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

/* Hero Section */
.hero {
  padding: calc(var(--spacing-section) * 1.2) 0 var(--spacing-section);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero p {
  font-size: 1.35rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Sections */
.section {
  padding: var(--spacing-section) 0;
  text-align: center;
}

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

.section-header {
  max-width: 700px;
  margin: 0 auto 4rem;
}

/* Grid & Cards (Problem & Solution) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  padding: 3rem 2rem;
  border-radius: 24px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: var(--accent-light);
  color: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

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

/* How It Works (Steps) */
.steps-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.step {
  display: flex;
  margin-bottom: 1.5rem;
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  align-items: center;
}

.step:hover {
  transform: translateX(10px);
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--accent-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  margin-right: 2rem;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

/* Calendly Section */
.calendly-section {
  background-color: var(--secondary);
  color: var(--white);
  padding: var(--spacing-section) 0;
  border-radius: 40px;
  margin: 2rem 1.5rem;
  text-align: center;
}

.calendly-section h2 {
  color: var(--white);
}

.calendly-section p {
  color: #cbd5e1;
}

.calendly-container {
  margin: 3rem auto 0;
  border-radius: 24px;
  overflow: hidden;
  max-width: 1000px;
  background-color: var(--card-bg);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 0;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --spacing-section: 80px;
  }

  nav {
    flex-direction: column;
    gap: 1.5rem;
  }

  .logo-text {
    display: none; /* Keep a minimal icon-only header on mobile */
  }

  h1 {
    font-size: 2.5rem;
  }

  .btn-large {
    width: 100%;
    justify-content: center;
  }

  .step {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .step-number {
    margin: 0 auto 1.5rem;
  }

  .calendly-section {
    border-radius: 24px;
    margin: 1rem;
    padding: 4rem 1rem;
  }

  .calendly-container {
    margin: 1rem auto 0;
    border-radius: 16px;
  }
}

/* Hero Split Section */
.hero-split {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-split-text {
  flex: 1;
  text-align: left;
}

.hero-split-text h1 {
  margin-bottom: 1rem;
}

.hero-split-text .hero-subtitle {
  margin-bottom: 2rem;
  font-size: 1.25rem;
}

.method-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.method-features li {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.method-features li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.hero-split-image {
  flex: 1;
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.styled-image {
  width: 100%;
  height: auto;
  display: block;
  /* Stylings per requirements */
  filter: brightness(0.9) contrast(1.1);
  transition: transform 0.4s ease;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.08); /* 8% dark overlay */
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-split {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }
  
  .hero-split-text {
    text-align: center;
  }
  
  .method-features li {
    text-align: left;
  }
}
