:root {
  --primary: #2563eb;
  --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --primary-hover: #1d4ed8;
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-section-alt: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --glass-bg: rgba(0, 0, 0, 0.02);
  --glass-border: rgba(0, 0, 0, 0.08);
  --header-bg: rgba(248, 250, 252, 0.85);
  --font-heading: "Open Sans", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

body.dark-theme {
  --bg-dark: #0a0a0c;
  --bg-card: #16161a;
  --bg-section-alt: #0d0d10;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --header-bg: rgba(10, 10, 12, 0.85);
  --logo-filter: brightness(0) invert(1);
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 100px 0;
}

/* Header/Nav - Modern & Clean */
header {
  height: 100px;
  display: flex;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition:
    height 0.3s ease,
    background 0.3s ease;
}

header.scrolled {
  height: 72px;
  background: var(--bg-dark);
}

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

.logo img {
  height: 68px;
  filter: var(--logo-filter, none);
  transition:
    height 0.3s ease,
    opacity 0.3s;
}

header.scrolled .logo img {
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.nav-links a:not(.btn):hover {
  color: var(--text-main);
}

.nav-links a.active {
  color: var(--text-main);
}

.nav-links .btn {
  color: white;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle i {
  width: 32px;
  height: 32px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 140px;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: -1;
  mask-image: linear-gradient(to left, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 40%, transparent 100%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  padding-bottom: 0.1em;
  color: #000000;
}

body.dark-theme .hero h1 {
  color: #ffffff;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.8;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: color 0.3s;
  animation: bounce 2s infinite;
}

.scroll-indicator:hover {
  color: var(--text-main);
}

.scroll-indicator i {
  width: 24px;
  height: 24px;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-8px);
  }

  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
}

/* Crisp Gradient Button */
.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

/* Problem Section */
.section-problem {
  background: linear-gradient(to bottom, var(--bg-dark), var(--bg-section-alt));
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tagline {
  color: var(--primary);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 2rem;
}

.list-problem {
  list-style: none;
}

.list-problem li {
  margin-bottom: 2rem;
  padding-left: 2rem;
  position: relative;
}

.list-problem li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.list-problem h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.list-problem p {
  color: var(--text-muted);
}

/* Features Section */
.section-features {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  transition: all 0.3s;
  text-align: left;
}

.feature-card:hover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-5px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: all 0.3s;
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: white;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Steps Section */
.section-steps {
  background: var(--bg-section-alt);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  width: 100%;
}

.step-item {
  position: relative;
  text-align: left;
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

.step-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.step-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CTA Section */
.section-cta {
  background: linear-gradient(to bottom, var(--bg-section-alt), var(--bg-dark));
  padding: 100px 0;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content .section-title {
  margin-bottom: 1.5rem;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* Brochure Promo */
.brochure-promo {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.brochure-promo-image {
  width: 100%;
  max-width: 280px;
  overflow: hidden;
}

.brochure-promo-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brochure-promo-image img:hover {
  transform: scale(1.03);
}

.brochure-promo-text .tagline {
  margin-bottom: 0.75rem;
}

.brochure-promo-text .section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.brochure-promo-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand img {
  height: 40px;
  filter: var(--logo-filter, none);
  margin-bottom: 1.5rem;
}

.footer-info p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 400px;
  margin-bottom: 2rem;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.theme-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.theme-toggle:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Intake Form Styles */
.intake-container {
  max-width: 600px;
  margin: 120px auto;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
}

.option-toggle {
  display: flex;
  background: var(--glass-bg);
  padding: 0.4rem;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  border: 1px solid var(--glass-border);
}

.toggle-btn {
  flex: 1;
  padding: 0.8rem;
  border: none;
  background: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.toggle-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.view-content {
  display: none;
  animation: fadeIn 0.4s easeOut;
}

.view-content.active {
  display: block;
}

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

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

#calendly-view iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-main);
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.form-success {
  text-align: center;
  display: none;
}

.form-success i {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Animations */
[data-aos] {
  transition-duration: 1000ms !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }

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

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

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  section {
    padding: 60px 0;
  }

  header {
    height: 80px;
  }

  header.scrolled {
    height: 64px;
  }

  .logo img {
    height: 48px;
  }

  header.scrolled .logo img {
    height: 30px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 2rem;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a:not(.btn) {
    display: block;
    font-size: 1.5rem;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .scroll-indicator {
    display: none;
  }

  .hero-bg {
    width: 100%;
    opacity: 0.3;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .steps-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intake-container {
    margin: 100px 1rem;
    padding: 2rem 1.5rem;
  }

  .brochure-promo {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .brochure-promo-image {
    width: 220px;
    margin: 0 auto;
  }

  .brochure-promo-text .section-title {
    font-size: 1.75rem;
  }

  .brochure-promo-text p {
    font-size: 0.95rem;
  }

  .brochure-promo-text .btn {
    width: auto;
  }
}

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

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

/* Cancer Landing Pages Styles */
.cancer-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 768px) {
  .cancer-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.content-block h2 {
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.content-block p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.content-block ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.content-block ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.content-block ul li::before {
  content: "•";
  color: var(--primary);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -5px;
}

.cta-banner {
  background: rgba(43, 85, 236, 0.05);
  border: 1px solid rgba(43, 85, 236, 0.2);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  margin: 4rem 0;
}

.dark-theme .cta-banner {
  background: rgba(87, 126, 255, 0.05);
  border: 1px solid rgba(87, 126, 255, 0.2);
}

.cta-banner h3 {
  margin-bottom: 1rem;
  color: var(--text-main);
}

.cta-banner p {
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Clickable Feature Cards */
a.feature-card,
a.feature-card:visited,
a.feature-card:hover,
a.feature-card:active {
  text-decoration: none !important;
  color: var(--text-main) !important;
  display: block;
  cursor: pointer;
}

a.feature-card h3 {
  text-decoration: none !important;
  color: var(--text-main) !important;
}

a.feature-card p {
  text-decoration: none !important;
  color: var(--text-muted) !important;
}