:root {
  --primary-blue: #2563eb;
  --accent-blue: #1e40af;
  --background: #ffffff;
  --text-main: #1a2a1a;
  --navbar-bg: #fff;
  --button-outline: #2563eb;
  --button-primary: #2563eb;
  --button-primary-text: #fff;
  --hero-box-bg: #e0e7ff;
  --hero-box-text: #1e40af;
}

/* Base styles (mobile first) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* This accounts for the fixed navbar */
}

body {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  background: var(--background);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.5;
}

/* Mobile Navigation */
.navbar {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: var(--navbar-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 2rem;
  width: auto;
}

.logo-accent {
  color: var(--primary-blue);
}

.nav-links {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

.nav-links.active {
  display: flex;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  display: block;
  padding: 0.5rem 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-blue);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links li a:hover {
  color: var(--primary-blue);
}

.nav-links li a:hover::after {
  width: 70%;
}

.nav-links li a.active {
  color: var(--primary-blue);
  font-weight: 600;
}

.nav-links li a.active::after {
  width: 70%;
}

.nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1rem;
}

.nav-actions .btn-outline,
.nav-actions .btn-primary {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 2rem;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
}

.btn-outline {
  background: var(--background);
  border: 2px solid var(--button-outline);
  color: var(--button-outline);
}

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

/* Mobile Menu Button */
.menu-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  display: block;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  overflow-x: hidden;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 2rem 0;
  line-height: 1.2;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.typed-blue {
  color: var(--primary-blue);
}

#cursor {
  color: var(--primary-blue);
  font-weight: bold;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-content {
  width: 100%;
  max-width: 1800px; /* Slightly reduced max-width */
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-video {
  width: 100%;
  position: relative;
  padding-top: 49.5%;
  background: #000;
  overflow: hidden;
}

.video-crop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video-player {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Trusted By Section */
.trusted-by {
  margin: 2rem 0;
  text-align: center;
  padding: 0 1rem;
}

.trusted-by h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  color: var(--accent-blue);
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin: 0 auto;
  max-width: 400px;
}

.trusted-logo {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
}

/* FAQ Section */
.faq-section {
  background: #f5f8ff;
  padding: 2rem 1rem;
  margin: 2rem 0 0 0;
}

.faq-section h2 {
  text-align: center;
  font-size: 1.5rem;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
}

.faq-list {
  max-width: 100%;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.06);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  outline: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-blue);
  padding: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-question.active, .faq-question:hover {
  background: #e0e7ff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #f5f8ff;
  color: var(--text-main);
  font-size: 0.95rem;
  padding: 0 1rem;
  transition: max-height 0.3s ease;
}

.faq-question.active + .faq-answer {
  padding: 1rem;
  max-height: 200px;
}

/* Footer */
.footer {
  background: var(--navbar-bg);
  border-top: 1px solid #e0e7ff;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: bold;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-icon {
  color: var(--primary-blue);
  font-size: 1.5rem;
  transition: color 0.2s;
}

.footer-icon:hover {
  color: var(--accent-blue);
}

/* Feature Sections */
.feature-section {
  display: flex;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.feature-section:nth-child(odd) {
  background: var(--hero-box-bg);
}

.feature-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem;
}

.feature-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.feature-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 1rem;
  max-width: 500px;
}

.feature-media {
  flex: 1;
  position: relative;
  overflow: hidden;
  width: 100%;
  /* aspect-ratio: 1920/955; */
}

.feature-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Mobile Layout */
@media (max-width: 767px) {
  .feature-section {
    flex-direction: column;
    min-height: auto;
  }

  .feature-media {
    margin-bottom: 1.5rem;
  }

  .feature-text {
    padding: 2rem 1rem;
  }

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

  .feature-description {
    font-size: 1.1rem;
  }

  .feature-box {
    flex-direction: column;
    padding: 1rem;
    min-height: auto;
  }

  .feature-media {
    width: 100%;
    margin-bottom: 1.5rem;
    padding-top: 49.5%;
  }

  .feature-text {
    padding: 0;
  }

  .hero-video {
    margin: 0 -1rem;
    width: calc(100% + 2rem);
    padding-top: 49.5%;
  }
}

/* Tablet Breakpoint (768px) */
@media (min-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
  }

  .logo-img {
    height: 2.5rem;
  }

  .logo {
    margin-bottom: 0;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    width: auto;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-actions {
    flex-direction: row;
    width: auto;
    margin-top: 0;
  }

  .nav-actions .btn-outline,
  .nav-actions .btn-primary {
    width: auto;
  }

  .menu-button {
    display: none;
  }

  .hero {
    padding: 0 2rem;
  }

  .hero-content {
    padding: 0 2rem;
  }

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

  .hero-video {
    padding-top: 49.5%;
  }

  .trusted-logos {
    gap: 6rem;
  }

  .trusted-logo {
    height: 3rem;
  }

  .faq-section h2 {
    font-size: 1.75rem;
  }

  .faq-question {
    font-size: 1.1rem;
    padding: 1.25rem;
  }

  .feature-section {
    padding: 6rem 2rem;
  }

  .feature-content {
    flex-direction: row;
    gap: 4rem;
  }

  .feature-title {
    font-size: 3rem;
  }

  .feature-description {
    font-size: 1.5rem;
  }

  /* Alternate layout for even sections */
  .search-section .feature-content {
    flex-direction: row-reverse;
  }

  .trusted-by h2 {
    margin-bottom: 3rem;
  }

  .feature-media {
    width: 100%;
    padding-top: 49.5%;
  }

  .features-tabs {
    padding: 3rem;
  }

  .feature-text {
    padding: 0 2rem;
  }

  .nav-links li a {
    font-size: 1.1rem;
    padding: 0.7rem 1.5rem;
  }

  .feature-text p {
    font-size: 1.2rem;
  }
}

/* Desktop Breakpoint (1024px) */
@media (min-width: 1024px) {
  .navbar {
    padding: 1.5rem 3rem;
  }

  .logo-img {
    height: 3rem;
  }

  .logo {
    font-size: 2rem;
  }

  .hero {
    padding: 0 3rem;
  }

  .hero-content {
    padding: 0 3rem;
  }

  .hero h1 {
    font-size: 3.5rem;
    margin: 4rem 0;
  }

  .hero-video {
    padding-top: 49.5%;
    max-width: 1920px;
    margin: 0 auto;
  }

  .trusted-logos {
    gap: 8rem;
  }

  .trusted-logo {
    height: 3.5rem;
  }

  .faq-section {
    padding: 3rem 2rem;
  }

  .faq-section h2 {
    font-size: 2rem;
  }

  .faq-list {
    max-width: 700px;
  }

  .footer {
    padding: 3rem 2rem;
  }

  .footer-logo {
    font-size: 1.5rem;
  }

  .footer-icon {
    font-size: 2rem;
  }

  .feature-section {
    padding: 8rem 3rem;
  }

  .feature-content {
    gap: 6rem;
  }

  .feature-title {
    font-size: 3.5rem;
  }

  .feature-description {
    font-size: 1.75rem;
  }

  .trusted-by h2 {
    margin-bottom: 3.5rem;
  }

  .feature-box {
    flex-direction: row;
    padding: 3rem;
    align-items: center;
    gap: 3rem;
  }

  .feature-media {
    margin: 0;
  }

  .feature-text {
    flex: 1;
    padding: 2rem;
  }

  .hero-video {
    padding-top: 49.5%;
  }

  .features-tabs {
    padding: 4rem;
  }

  .tabs-container {
    max-width: 1200px;
  }

  .feature-box {
    padding: 4rem;
  }

  .feature-text {
    padding: 0 4rem;
    max-width: 800px;
    margin: 0 auto;
  }

  .feature-text p {
    font-size: 1.4rem;
    max-width: 800px;
  }
}

/* Video containers */
.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Features Section */
.features-section {
  margin: 4rem 0;
  padding: 2rem;
  background-color: #f5f8ff;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.features-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-align: center;
  margin: 0rem 0;
}

.feature-box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-color: white;
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
  animation: fadeIn 0.5s ease-out;
  width: 100%;
}

.feature-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* aspect-ratio: 1920/955; */
}

.feature-video {
  width: 100%;
  height: 100%;
  border-radius: 12px 12px 0 0;
  object-fit: cover;
}

.feature-text {
  text-align: center;
  padding: 2rem 3rem 3rem;
}

.feature-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #5a5a5a;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .features-section {
    padding: 3rem;
  }

  .features-container {
    gap: 5rem;
  }

  .features-container h2 {
    font-size: 3rem;
    margin: 0rem 0;
  }

  .feature-text {
    padding: 3rem 4rem 4rem;
  }

  .feature-text p {
    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .features-section {
    padding: 4rem;
  }

  .features-container {
    max-width: 1400px;
    gap: 6rem;
  }

  .features-container h2 {
    font-size: 3.5rem;
    margin: 0rem 0;
  }

  .feature-text {
    padding: 4rem 5rem 5rem;
  }

  .feature-text p {
    font-size: 1.4rem;
    max-width: 800px;
  }
}

@media (min-width: 1440px) {
  .features-container {
    max-width: 1600px;
  }

  .feature-text p {
    font-size: 1.5rem;
    max-width: 900px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Remove old styles */
.features-tabs,
.tabs-container,
.tabs,
.tab-button,
.tab-content-container,
.tab-content {
  display: none;
}

/* Remove unused YouTube styles */
#youtube-player,
#youtube-player iframe {
  display: none;
}

/* Large Desktop styles */
@media (min-width: 1440px) {
  .tabs-container {
    max-width: 1300px;
  }
}

.hero-caption {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  font-style: italic;
  opacity: 0.8;
}

.hero-caption i {
  font-style: normal;
  margin-right: 0.5rem;
  color: var(--primary-blue);
}

@media (min-width: 768px) {
  .hero-caption {
    font-size: 1rem;
    margin-top: 1rem;
  }
}