:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --accent-primary: #111827;
  --accent-primary-hover: #000000;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --border-color: #e2e8f0;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font-family);
  --border-radius: 8px;
  --transition: 0.2s ease-in-out;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  /* Slightly increased for breathability */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

/* Bold Typography Utility */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  /* Max boldness for Sam Ovens vibe */
  line-height: 1.15;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 6vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  font-size: 1.125rem;
  /* Larger, easier body text */
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.text-gold,
.text-gradient {
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: initial;
}

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

/* Base Layout - More breathing room */
.container {
  width: 100%;
  max-width: 1200px;
  /* Aligned global max width for all sections */
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.25rem;
}

.btn-primary:hover {
  background-color: var(--accent-primary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--text-primary);
  border-color: var(--border-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
  background-color: var(--bg-tertiary);
  border-color: #cbd5e1;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  /* Taller navbar */
  background: rgba(255, 255, 255, 0.95);
  /* Keep it white/light */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
  max-width: 1200px;
  /* Explicit enforcement for navbar */
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  /* Larger brand name */
  letter-spacing: -0.03em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001;
  /* Stay above mobile menu */
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-primary);
  background: none;
  border: none;
  z-index: 1001;
}

/* Nav Container (Holds Links & CTA) */
.nav-container {
  display: flex;
  align-items: center;
  margin-left: auto;
  /* Push button to right */
  height: 100%;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  height: 100%;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

/* Dropdown */
.dropdown {
  position: relative;
  height: 100%;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.5rem 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: all var(--transition);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.dropdown-item:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}


/* Hero Section */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  /* offset navbar */
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

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

.hero-subtitle {
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Cards & Grids */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
}

/* Footer */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Old responsive block removed to avoid display:none conflicts. See main responsive block above. */

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.form-control {
  width: 100%;
  height: 54px;
  /* Fixed height for exact match between input and select */
  padding: 0 1rem;
  /* Removed vertical padding, relying on height for centering */
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  /* Sharper */
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  /* Reset native select appearance */
  -moz-appearance: none;
  appearance: none;
}

textarea.form-control {
  height: auto;
  /* Allow textarea to take rows */
  padding: 1rem;
}

/* Custom dropdown arrow for selects */
select.form-control {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 1px var(--accent-primary);
  /* Sharp focus ring */
}

/* Stats Section */
.stats-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  min-width: 200px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Animated Stat Cards */
.animated-stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 350px;
}

.animated-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.animated-stat-card.gold-accent::before {
  background: #FCD535;
}

.animated-stat-card.animated::before {
  transform: scaleX(1);
}

.stat-ring {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 1.5rem;
}

.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 250px;
}

.circle-bg {
  fill: none;
  stroke: var(--bg-tertiary);
  stroke-width: 2.5;
}

.circle {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dasharray 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.circular-chart.gold .circle {
  stroke: #FCD535;
}

.circular-chart.dark .circle {
  stroke: var(--accent-primary);
}

.stat-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
}

.animated-stat-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s;
}

.animated-stat-card.animated .animated-stat-title {
  opacity: 1;
  transform: translateY(0);
}

/* Image Placeholder Utility */
.img-placeholder {
  width: 100%;
  min-height: 200px;
  background-color: var(--bg-tertiary);
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-align: center;
  padding: 1rem;
}

/* Testimonial specific */
.testimonial-author-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
}

/* Simulation UI Cards */
.simulated-ui-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
}

.ui-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-tertiary);
}

.ui-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.ui-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.ui-body {
  padding: 1.5rem;
  flex: 1;
  background: var(--bg-secondary);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-person-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
}

.ui-large-person {
  width: 140px;
  height: 140px;
  stroke: none;
  fill: #1e293b !important;
  opacity: 0.5;
  position: absolute;
  bottom: -30px;
}

/* Feed Simulation */
.feed-anim-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

.feed-item {
  display: flex;
  gap: 1rem;
  opacity: 0;
  transform: translateY(10px);
}

.feed-item.fade-up {
  animation: fadeUpItem 0.6s ease forwards;
}

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

.feed-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  flex-shrink: 0;
}

.feed-content {
  flex: 1;
}

.feed-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.feed-time {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.feed-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Video Grid Simulation */
.video-grid-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
}

.video-participant {
  aspect-ratio: 16 / 9;
  background: var(--bg-tertiary);
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  padding: 0.5rem;
  position: relative;
  overflow: hidden;
}

.participant-name {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
  backdrop-filter: blur(2px);
}

.pulse-anim {
  animation: bgPulse 3s infinite alternate;
}

@keyframes bgPulse {
  0% {
    background: var(--bg-tertiary);
  }

  100% {
    background: #e2e8f0;
  }
}

.speaking-anim {
  box-shadow: inset 0 0 0 3px #10B981;
}

/* Specific styles for FAQ & Info Session Forms */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  background: var(--bg-secondary);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Proof Card */
.proof-card {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.proof-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Rotating Proof Animation */
.rotating-proof {
  background: var(--bg-tertiary);
}

.proof-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fadeRotate 12s infinite;
}

.proof-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proof-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
}

.proof-item:nth-child(1) {
  animation-delay: 0s;
}

.proof-item:nth-child(2) {
  animation-delay: -9s;
}

.proof-item:nth-child(3) {
  animation-delay: -6s;
}

.proof-item:nth-child(4) {
  animation-delay: -3s;
}

.rotating-proof.delay-r1 .proof-item:nth-child(1) {
  animation-delay: -11s;
}

.rotating-proof.delay-r1 .proof-item:nth-child(2) {
  animation-delay: -8s;
}

.rotating-proof.delay-r1 .proof-item:nth-child(3) {
  animation-delay: -5s;
}

.rotating-proof.delay-r1 .proof-item:nth-child(4) {
  animation-delay: -2s;
}

.rotating-proof.delay-r2 .proof-item:nth-child(1) {
  animation-delay: -10s;
}

.rotating-proof.delay-r2 .proof-item:nth-child(2) {
  animation-delay: -7s;
}

.rotating-proof.delay-r2 .proof-item:nth-child(3) {
  animation-delay: -4s;
}

.rotating-proof.delay-r2 .proof-item:nth-child(4) {
  animation-delay: -1s;
}

@keyframes fadeRotate {
  0% {
    opacity: 1; /* Fade in */
  }

  20% {
    opacity: 1; /* Stay solid */
  }

  25% {
    opacity: 0; /* Fade out as next image fades in */
  }

  95% {
    opacity: 0; /* Stay invisible while others rotate */
  }

  100% {
    opacity: 1; /* Being to fade in again */
  }
}

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

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

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

/* Staggered Fade Up for Cards */
.fade-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.staggered-grid.animated .fade-stagger {
  opacity: 1;
  transform: translateY(0);
}

.staggered-grid.animated .fade-stagger:nth-child(1) {
  transition-delay: 0.1s;
}

.staggered-grid.animated .fade-stagger:nth-child(2) {
  transition-delay: 0.2s;
}

.staggered-grid.animated .fade-stagger:nth-child(3) {
  transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-container {
    position: fixed;
    top: 80px;
    /* Below navbar height */
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    align-items: flex-start;
    height: auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-container.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    position: static;
    transform: none;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    width: 100%;
  }

  .nav-link {
    font-size: 1.125rem;
    padding: 0.5rem 0;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    transform: none;
    background: transparent;
    padding-left: 1rem;
    margin-top: 0;
  }
  
  .dropdown-menu.mobile-closed {
    display: none;
  }

  .dropdown-item {
    font-size: 1rem;
    padding: 0.5rem 0;
  }

  .nav-container .btn {
    width: 100%;
    margin-top: 1rem;
  }

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

  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }

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