/* =====================
   Base & Reset Styles
   ===================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  color: #020a36;
  line-height: 1.6;
  font-size: 16px;
}

:root {
  --primary: #2047f4;
  --primary-light: #e5eeff;
  --secondary: #6c757d;
  --dark: #020a36;
  --light: #f8fbfe;
  --gray: #aeaecb;
  --border-radius: 24px;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 30px rgba(0, 0, 0, 0.1);
}

/* =====================
   Layout Utilities
   ===================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 60px 0;
}

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

.flex {
  display: flex;
}

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

/* Desktop container and section adjustments */
@media (min-width: 769px) {
  .container {
    padding: 0 20px;
  }
  
  .section {
    padding: 120px 0;
  }
}

/* =====================
   Typography - Mobile First
   ===================== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { 
  font-size: 28px;
  margin-bottom: 16px;
}
h2 { 
  font-size: 24px;
  margin-bottom: 16px;
}
h3 { 
  font-size: 18px;
  margin-bottom: 12px;
}
.text-lg { font-size: 16px; }
.text-md { font-size: 15px; }
.text-sm { font-size: 14px; }

/* Desktop Typography */
@media (min-width: 769px) {
  h1 { 
    font-size: 56px;
    margin-bottom: 20px;
  }
  h2 { 
    font-size: 48px;
    margin-bottom: 24px;
  }
  h3 { 
    font-size: 24px;
    margin-bottom: 16px;
  }
  .text-lg { font-size: 20px; }
  .text-md { font-size: 18px; }
  .text-sm { font-size: 16px; }
}

/* =====================
   Buttons
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
  text-align: center;
  font-size: 14px;
}

@media (min-width: 769px) {
  .btn {
    padding: 16px 32px;
    font-size: 16px;
  }
}

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

.btn-primary:hover {
  background: #1a3bda;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background: #d0dfff;
  transform: translateY(-2px);
}

/* =====================
   Cards
   ===================== */
.card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

@media (min-width: 769px) {
  .card {
    border-radius: var(--border-radius);
  }
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* =====================
   Announcement Bar
   ===================== */
.announcement-bar {
  background: var(--primary);
  color: white;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.announcement-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

@media (min-width: 769px) {
  .announcement-bar {
    padding: 10px 0;
    font-size: 16px;
  }
}

/* =====================
   Navbar - Mobile First with Hamburger Menu
   ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #f0f6ff 0%, rgba(240, 245, 255, 0.5) 100%);
  backdrop-filter: blur(15px);
  min-height: 70px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  padding: 12px 0;
}

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

.navbar .nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar .nav-brand img {
  height: 36px;
}

.navbar .nav-brand span {
  font-size: 20px;
  font-weight: 700;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark);
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: white;
  padding: 80px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.mobile-nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.3s ease;
}

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

.mobile-cta {
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.mobile-cta .btn {
  width: 100%;
  margin-bottom: 12px;
}

/* Desktop Navigation */
@media (min-width: 769px) {
  .navbar {
    height: 100px;
    padding: 0;
  }
  
  .navbar .nav-brand img {
    height: 46px;
  }
  
  .navbar .nav-brand span {
    font-size: 24px;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .navbar .nav-container {
    justify-content: space-between;
  }
  
  .nav-links {
    display: flex !important;
    gap: 32px;
  }
  
  .nav-links a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: var(--primary);
  }
  
  .nav-cta {
    display: block !important;
  }
  
  .navbar.scrolled {
    height: 80px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
}

/* Hide desktop nav elements on mobile */
.nav-links {
  display: none;
}

.nav-cta {
  display: none;
}

/* =====================
   Hero Section - Mobile First
   ===================== */
.hero {
  background: linear-gradient(180deg, #f8fbfe 0%, #e5f0ff 100%);
  padding: 60px 0 40px;
}

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

.hero-content h1 {
  line-height: 1.3;
}

.hero-content .text-lg {
  color: #9f9fa8;
  margin: 12px 0;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-buttons .btn {
  width: 100%;
  max-width: 280px;
}

@media (min-width: 769px) {
  .hero {
    padding: 142px 0 120px;
  }
  
  .hero-content .text-lg {
    margin: 20px 0;
  }
  
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
  }
  
  .hero-buttons .btn {
    width: auto;
    max-width: none;
  }
}

/* =====================
   Feature Demo Section
   ===================== */
.feature-demo {
  margin-top: 60px;
}

.feature-demo-card {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: white;
}

.feature-demo-header {
  padding: 24px 16px;
  text-align: center;
  background: white;
}

.feature-demo-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  transition: opacity 0.3s ease;
}

.feature-demo-title .highlight {
  color: var(--primary);
}

@media (min-width: 769px) {
  .feature-demo {
    margin-top: 80px;
  }
  
  .feature-demo-card {
    border-radius: 24px;
  }
  
  .feature-demo-header {
    padding: 40px 24px 0 24px;
  }
  
  .feature-demo-title {
    font-size: 2rem;
  }
}

/* =====================
   Toggle Component
   ===================== */
.toggle-container {
  display: inline-flex;
  background: #f5f7ff;
  border-radius: 100px;
  padding: 4px;
  margin: 16px auto;
  position: relative;
  width: 100%;
  max-width: 300px;
}

.toggle-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: white;
  border-radius: 100px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(32, 71, 244, 0.1);
}

.toggle-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--gray);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: center;
  font-size: 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-btn i {
  margin-right: 4px;
}

.toggle-btn.active {
  color: var(--primary);
}

.toggle-container.show-active .toggle-slider {
  transform: translateX(calc(100% + 4px));
}

@media (min-width: 769px) {
  .toggle-container {
    width: 280px;
    margin: 20px auto;
  }
  
  .toggle-btn {
    padding: 12px 24px;
    font-size: 16px;
  }
  
  .toggle-slider {
    width: 136px;
  }
  
  .toggle-container.show-active .toggle-slider {
    transform: translateX(136px);
  }
}

/* =====================
   Feature Views
   ===================== */
.feature-views {
  position: relative;
  width: 100%;
}

.feature-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.feature-view.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* Request View */
.request-view {
  padding: 24px 16px;
}

.request-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 400px;
  margin: 0 auto;
}

.request-form {
  width: 100%;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.map-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.request-map {
  height: 250px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: white;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  font-size: 12px;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: rotateX(-90deg);
  transform-origin: top;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.in-view {
  opacity: 1;
  transform: rotateX(0);
}

/* Show View */
.show-view {
  position: relative;
  height: 300px;
}

.show-map {
  height: 100%;
  border-radius: 0 0 16px 16px;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(32, 71, 244, 0.1) 0%, rgba(32, 71, 244, 0.3) 100%);
}

.show-cta-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 280px;
  width: 90%;
  z-index: 10;
}

.show-cta-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.show-cta-card p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 14px;
}

@media (min-width: 769px) {
  .request-view {
    padding: 48px 32px;
  }
  
  .request-content {
    flex-direction: row;
    gap: 40px;
    max-width: none;
    align-items: flex-start;
  }
  
  .request-form {
    flex: 1;
    max-width: 400px;
    padding: 32px;
  }

  .request-map {
    flex: 1;
    height: 400px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
  }
  
  .map-badge {
    top: 24px;
    right: 24px;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
  }
  
  .show-view {
    height: 500px;
  }
  
  .show-map {
    border-radius: 0 0 24px 24px;
  }
  
  .show-cta-card {
    padding: 32px;
    max-width: 400px;
  }
  
  .show-cta-card h3 {
    font-size: 24px;
  }
  
  .show-cta-card p {
    font-size: 16px;
  }
}

/* =====================
   Forms
   ===================== */
.form-group {
  position: relative;
  margin-bottom: 16px;
}

.form-group label {
  position: absolute;
  top: -8px;
  left: 12px;
  background: white;
  padding: 0 6px;
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  z-index: 1;
}

.form-control {
  width: 100%;
  padding: 14px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(32, 71, 244, 0.1);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
}

@media (min-width: 769px) {
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    top: -10px;
    padding: 0 8px;
    font-size: 12px;
  }
  
  .form-control {
    padding: 16px;
  }
  
  .form-row {
    flex-direction: row;
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .form-row .form-group {
    flex: 1;
    margin-bottom: 0;
  }
}

/* =====================
   Trusted By Section
   ===================== */
.trusted-by {
  text-align: center;
  margin-top: 60px;
}

.trusted-by p {
  color: var(--gray);
  margin-bottom: 32px;
  font-size: 14px;
}

.trusted-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  opacity: 0.4;
}

.trusted-logos img {
  max-height: 20px;
  width: auto;
}

@media (min-width: 769px) {
  .trusted-by {
    margin-top: 80px;
  }
  
  .trusted-by p {
    margin-bottom: 40px;
    font-size: 16px;
  }
  
  .trusted-logos {
    gap: 40px;
    justify-content: center;
  }
  
  .trusted-logos img {
    max-height: inherit;
  }
}

/* =====================
   Stats Section
   ===================== */
.stats-section {
  border-bottom: 2px solid #f2f2fc;
}

.stats-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}

.stat-item h3 {
  font-size: 32px;
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--gray);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.3;
}

@media (min-width: 769px) {
  .stats-container {
    flex-direction: row;
    justify-content: space-around;
    gap: 40px;
  }
  
  .stat-item h3 {
    font-size: 48px;
  }
  
  .stat-item p {
    font-size: 14px;
  }
}

/* =====================
   Features Section
   ===================== */
.features-section .section-badge {
  background: #f5f7ff;
  border-radius: 56px;
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 16px;
}

.features-section .section-badge span {
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
}

.features-section p {
  color: var(--gray);
  max-width: 100%;
  margin: 0 auto 32px;
  font-size: 14px;
}

.feature-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.feature-tile {
  border: 1px solid #e7ebf7;
  border-radius: 16px;
  padding: 14px;
  background: #fff;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.feature-tile:hover {
  border-color: #d6defa;
  box-shadow: 0 12px 28px rgba(32, 71, 244, 0.12);
  transform: translateY(-2px);
}

.feature-tile.active {
  border-color: var(--primary);
  box-shadow: 0 16px 30px rgba(32, 71, 244, 0.18);
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.badge-primary {
  background: linear-gradient(135deg, #2047f4, #3d7bfd);
  box-shadow: 0 10px 20px rgba(32, 71, 244, 0.25);
}

.badge-secondary {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.25);
}

.tile-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tile-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--dark);
}

.tile-text {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

@media (min-width: 769px) {
  .features-section .section-badge span {
    font-size: 14px;
  }
  
  .features-section p {
    max-width: 608px;
    margin: 0 auto 40px;
    font-size: 16px;
  }

  .feature-tiles {
    gap: 16px;
    margin-bottom: 40px;
  }

  .tile-title {
    font-size: 16px;
  }

  .tile-text {
    font-size: 14px;
  }
}

/* =====================
   Content Sections
   ===================== */
.content-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.content-text {
  flex: 1;
  text-align: center;
}

.content-text .section-label {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 12px;
}

.content-text p {
  color: var(--gray);
  line-height: 1.6;
  font-size: 14px;
}

.content-image {
  flex: 1;
  position: relative;
  max-width: 350px;
  width: 100%;
}

.content-image .card {
  padding: 0;
  margin: 0;
  line-height: 0;
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  vertical-align: bottom;
}

.analytics-overlay {
  position: static;
  transform: none;
  margin: 20px auto 0;
  width: 200px;
  padding: 16px;
  text-align: center;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.analytics-overlay .overlay-icon {
  width: 32px;
  height: 32px;
  background: #f5f7ff;
  border-radius: 50%;
  margin: 0 auto 12px;
}

.analytics-overlay p {
  font-size: 12px;
  text-align: center;
  margin-bottom: 12px;
  color: var(--dark);
}

.analytics-overlay .btn {
  width: 100%;
  padding: 6px;
  font-size: 12px;
}

@media (min-width: 769px) {
  .content-section {
    flex-direction: row;
    gap: 60px;
    text-align: left;
  }
 
  .content-text {
    text-align: left;
  }
 
  .content-text .section-label {
    font-size: 14px;
  }
 
  .content-text p {
    font-size: 16px;
  }
 
  .content-image {
    max-width: none;
  }

  /* Reverse order for specific sections on desktop */
  .content-image.reverse-desktop {
    order: -1;
  }
 
  .analytics-overlay {
    position: absolute;
    margin: 0;
    width: 186px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
  }
 
  .analytics-overlay.bottom-right {
    right: 0;
    bottom: -32px;
  }
 
  .analytics-overlay.bottom-left {
    left: 0;
    bottom: -32px;
  }
 
  .analytics-overlay .overlay-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
  }
 
  .analytics-overlay p {
    font-size: 13px;
    margin-bottom: 16px;
    color: var(--dark);
  }
 
  .analytics-overlay .btn {
    padding: 8px;
    font-size: 14px;
  }
}

/* =====================
   Dark CTA Section
   ===================== */
.dark-cta-section {
  background: #050d3a;
  color: white;
  padding: 80px 20px;
}

.dark-cta-content {
  text-align: center;
  margin-bottom: 40px;
}

.dark-cta-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.dark-cta-text {
  max-width: 100%;
  text-align: center;
}

.dark-cta-text h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.dark-cta-text h2 .highlight {
  color: #3d7bfd;
}

.dark-cta-text p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.8;
}

.dark-cta-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checklist-icon {
  width: 18px;
  height: 18px;
  border: 2px solid #3d7bfd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checklist-icon span {
  color: #3d7bfd;
  font-size: 10px;
}

.checklist-item span {
  font-size: 14px;
}

.dark-cta-image {
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.dark-cta-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 769px) {
  .dark-cta-section {
    padding: 120px 20px;
  }
  
  .dark-cta-content {
    margin-bottom: 60px;
  }
  
  .dark-cta-layout {
    flex-direction: row;
    gap: 80px;
    text-align: left;
  }
  
  .dark-cta-text {
    flex: none;
    max-width: 500px;
    text-align: left;
  }
  
  .dark-cta-text h2 {
    font-size: 48px;
    margin-bottom: 24px;
  }
  
  .dark-cta-text p {
    font-size: 18px;
  }
  
  .dark-cta-checklist {
    gap: 20px;
  }
  
  .checklist-icon {
    width: 20px;
    height: 20px;
  }
  
  .checklist-icon span {
    font-size: 12px;
  }
  
  .checklist-item span {
    font-size: 16px;
  }
  
  .dark-cta-image {
    border-radius: 24px;
  }
}

/* =====================
   Testimonials Section
   ===================== */
.testimonials-section {
  background: rgba(245, 247, 255, 0.89);
}

.testimonials-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
  text-align: center;
}

.testimonials-intro {
  max-width: 100%;
}

.testimonials-intro p {
  color: var(--gray);
  line-height: 1.6;
  font-size: 14px;
}

.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card {
  padding: 24px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonial-author h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.testimonial-author span {
  color: var(--primary);
  font-size: 14px;
}

.testimonial-card p {
  color: var(--gray);
  line-height: 1.5;
  font-size: 14px;
}

@media (min-width: 769px) {
  .testimonials-header {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
    text-align: left;
  }
  
  .testimonials-intro {
    max-width: 495px;
  }
  
  .testimonials-intro p {
    font-size: 16px;
  }
  
  .testimonials-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }
  
  .testimonial-card {
    width: calc(33.33% - 16px);
    padding: 32px;
  }
  
  .testimonial-header {
    gap: 16px;
    margin-bottom: 24px;
  }
  
  .testimonial-avatar {
    width: 64px;
    height: 64px;
  }
  
  .testimonial-author h4 {
    font-size: 18px;
  }
  
  .testimonial-author span {
    font-size: 16px;
  }
  
  .testimonial-card p {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* =====================
   Pricing Section
   ===================== */
.pricing-section .section-badge {
  background: #f5f7ff;
  border-radius: 56px;
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 16px;
}

.pricing-section .section-badge span {
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
}

.pricing-section p {
  color: var(--gray);
  max-width: 100%;
  margin: 0 auto 32px;
  font-size: 14px;
}

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.pricing-card {
  padding: 32px 24px;
  text-align: left;
}

.pricing-card.featured {
  border: 1px solid var(--primary);
}

.pricing-header {
  margin-bottom: 32px;
}

.pricing-price {
  font-size: 32px;
  display: inline;
}

.pricing-period {
  font-size: 16px;
  margin-left: 8px;
}

.pricing-subtitle {
  color: var(--primary);
  font-size: 16px;
  margin-top: 4px;
}

.pricing-description {
  color: var(--gray);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}

@media (min-width: 769px) {
  .pricing-section .section-badge span {
    font-size: 14px;
  }
  
  .pricing-section p {
    max-width: 608px;
    margin: 0 auto 40px;
    font-size: 16px;
  }
  
  .pricing-cards {
    flex-direction: row;
    gap: 24px;
    margin-top: 60px;
  }
  
  .pricing-card {
    flex: 1;
    padding: 40px;
  }
  
  .pricing-header {
    margin-bottom: 40px;
  }
  
  .pricing-price {
    font-size: 48px;
  }
  
  .pricing-period {
    font-size: 24px;
  }
  
  .pricing-subtitle {
    font-size: 18px;
  }
  
  .pricing-description {
    margin-bottom: 40px;
    font-size: 16px;
  }
}

/* =====================
   FAQ Section
   ===================== */
.faq-section p {
  color: var(--gray);
  margin-bottom: 60px;
  font-size: 14px;
}

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

.faq-item {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  font-size: 16px;
  line-height: 1.4;
  margin-right: 16px;
  margin-bottom: 0;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--gray);
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

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

@media (min-width: 769px) {
  .faq-section p {
    margin-bottom: 80px;
    font-size: 16px;
  }
  
  .faq-list {
    max-width: 1160px;
  }
  
  .faq-item {
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 24px;
  }
  
  .faq-question h3 {
    font-size: 18px;
  }
  
  .faq-icon {
    width: 32px;
    height: 32px;
  }
  
  .faq-answer {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.6;
  }
}

/* =====================
   Footer
   ===================== */
footer {
  background: var(--primary);
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 30px;
  text-align: center;
}

.footer-brand {
  max-width: 100%;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-brand-logo img {
  height: 32px;
}

.footer-brand-logo span {
  font-size: 18px;
  font-weight: 700;
}

.footer-brand p {
  opacity: 0.8;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.footer-links h4 {
  margin-bottom: 12px;
  font-size: 16px;
}

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

.footer-links ul li {
  margin-bottom: 6px;
}

.footer-links ul li a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
  opacity: 1;
}

.footer-contact p {
  opacity: 0.8;
  margin-bottom: 6px;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-bottom-links a:hover {
  opacity: 1;
}

@media (min-width: 769px) {
  footer {
    padding: 60px 0 30px;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
  }
  
  .footer-brand {
    max-width: 280px;
  }
  
  .footer-brand-logo {
    justify-content: flex-start;
    margin-bottom: 16px;
  }
  
  .footer-brand-logo img {
    height: 40px;
  }
  
  .footer-brand-logo span {
    font-size: 20px;
  }
  
  .footer-brand p {
    margin-bottom: 16px;
    font-size: 15px;
  }
  
  .footer-links h4 {
    margin-bottom: 16px;
    font-size: 17px;
  }
  
  .footer-links ul li {
    margin-bottom: 8px;
  }
  
  .footer-links ul li a {
    font-size: 15px;
  }
  
  .footer-contact p {
    margin-bottom: 8px;
    font-size: 15px;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding-top: 30px;
    gap: 20px;
  }
  
  .footer-bottom-links a {
    font-size: 15px;
  }
}

/* =====================
   Modal Styles
   ===================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 32px 24px;
  border-radius: 16px;
  width: 95%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-content h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  padding: 14px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(32, 71, 244, 0.1);
}

.modal-form .checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.modal-form .checkbox-group input[type="checkbox"] {
  width: auto;
  padding: 0;
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray);
  transition: color 0.3s ease;
  background: none;
  border: none;
}

.close-modal:hover {
  color: var(--dark);
}

@media (min-width: 769px) {
  .modal-content {
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 500px;
  }
  
  .modal-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .modal-form {
    gap: 16px;
  }
  
  .modal-form input,
  .modal-form select,
  .modal-form textarea {
    padding: 16px;
  }
  
  .close-modal {
    top: 20px;
  }
}

/* =====================
   Utility Classes
   ===================== */
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Touch improvements */
@media (max-width: 768px) {
  .btn,
  .toggle-btn,
  .feature-tile,
  .faq-item {
    min-height: 44px;
  }
  
  /* Prevent zoom on iOS */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

.custom-analytics-card {
  width: 186px;
  min-height: 120px;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  background: #fff;
  position: absolute;
  right: 0;
  bottom: -32px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}
.custom-bar-graph {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 36px;
  width: 100%;
  margin-bottom: 0;
}
.custom-bar-graph .bar {
  width: 10px;
  border-radius: 5px;
  background: #f5f7ff;
}
.custom-bar-graph .bar-1 { height: 16px; }
.custom-bar-graph .bar-2 { height: 22px; }
.custom-bar-graph .bar-3 { height: 28px; }
.custom-bar-graph .bar-4 { height: 32px; }
.custom-bar-graph .bar-5 { height: 36px; background: #2047f4; }


.custom-analytics-card p {
  font-size: 13px;
  color: #2047f4;
  margin: 0 0 8px 0;
  text-align: left;
}
.custom-analytics-card .btn {
  font-size: 13px;
  padding: 6px 0;
  width: 100%;
  border-radius: 12px;
  margin-top: 4px;
}

.custom-analytics-card .overlay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #2047f4;
  font-weight: 700;
  font-size: 12px;
  box-shadow: var(--shadow-sm);
}

.custom-analytics-card .overlay-badge i {
  font-size: 14px;
}
