* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

body {
  margin: 0;
  color: #1a202c;
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.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;
}

/* PRELOADER */
.preloader {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loader {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #2ecc71;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* HERO */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #1f3c88 0%, #274bb5 50%, #2a5298 100%), 
              radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
  color: white;
  padding: 100px 20px 140px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.08"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.hero-content {
  max-width: 520px;
  z-index: 2;
  position: relative;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.highlight {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn-primary, .btn-secondary {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(46, 204, 113, 0.4);
}

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(46, 204, 113, 0.5);
}

.trust-line {
  margin-top: 30px;
  opacity: 0.85;
  font-weight: 500;
  font-size: 1.1rem;
}

.scroll-indicator {
  margin-top: 50px;
  animation: bounce 2s infinite;
  font-size: 1.5rem;
  opacity: 0.8;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-12px); }
  60% { transform: translateY(-6px); }
}

/* DASHBOARD */
.dashboard-wrap {
  background: rgba(255,255,255,0.95);
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  backdrop-filter: blur(20px);
  z-index: 2;
  position: relative;
}

.dashboard-img {
  max-width: 500px;
  width: 100%;
  border-radius: 20px;
}

/* STICKY NAV */
.sticky-nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(25px);
  padding: 18px 30px;
  z-index: 100;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sticky-nav a {
  margin: 0 25px;
  color: #1f3c88;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.sticky-nav a:hover {
  color: #2ecc71;
  transform: translateY(-1px);
}

/* SECTIONS */
.section {
  padding: 90px 20px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 400px;
}

.section.light {
  background: #f8fafc;
}

.section h2 {
  color: #1f3c88;
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
}

/* INDUSTRIES */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 50px;
}

.industry-group h3 {
  color: #2d3748;
  font-size: 1.6rem;
  margin-bottom: 30px;
  text-align: center;
}

/* GRID & CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  color: #2d3748;
  padding: 30px 25px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
  text-align: center;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2ecc71, #27ae60);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  border-color: #2ecc71;
}

.card:hover::before {
  opacity: 1;
}

.card i {
  font-size: 2rem;
  color: #2ecc71;
  margin-bottom: 15px;
}

/* STATS */
.stats-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-number {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(45deg, white, rgba(255,255,255,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item p {
  font-size: 1.2rem;
  opacity: 0.95;
  margin: 0;
}

/* TESTIMONIALS */
.testimonials-section {
  background: linear-gradient(135deg, #f6f9fc 0%, #e9f1ff 100%);
}

.testimonial-slider {
  max-width: 700px;
  margin: 0 auto 40px;
  position: relative;
  height: 220px;
}

.testimonial {
  display: none;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  text-align: center;
  height: 100%;
  opacity: 0;
  transition: all 0.5s ease;
}

.testimonial.active {
  display: block;
  opacity: 1;
}

.testimonial p {
  font-size: 1.3rem;
  font-style: italic;
  color: #4a5568;
  margin-bottom: 30px;
  line-height: 1.6;
}

.author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid #2ecc71;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border: none;
  background: #2ecc71;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: #27ae60;
  transform: scale(1.1);
}

/* PRICING */
.pricing-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.price-box {
  border: 2px solid #e2e8f0;
  padding: 45px 30px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  background: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-box:hover {
  border-color: #2ecc71;
  transform: translateY(-12px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

.price-box.popular {
  border: 3px solid #2ecc71;
  background: linear-gradient(135deg, #f0fdf4 0%, white 100%);
  transform: scale(1.05);
}

.price {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #1f3c88;
  margin: 20px 0 30px 0;
}

.price-box ul {
  list-style: none;
  padding: 0;
  margin: 30px 0 40px 0;
}

.price-box li {
  padding: 12px 0;
  color: #4a5568;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.price-box li i {
  color: #2ecc71;
  width: 18px;
}

.badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 25px;
  box-shadow: 0 6px 20px rgba(46,204,113,0.4);
}

/* BILLING TOGGLE */
.billing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 50px 0 70px 0;
  font-weight: 600;
  font-size: 16px;
}

.switch {
  position: relative;
  width: 64px;
  height: 32px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider:before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

input:checked + .slider {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

input:checked + .slider:before {
  transform: translateX(32px);
}

.note {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  font-style: italic;
  margin-top: 40px;
}

/* ONBOARDING TIMELINE */
.onboarding-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(255,255,255,0.3);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-day {
  background: #2ecc71;
  color: white;
  padding: 20px 30px;
  border-radius: 20px;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(46,204,113,0.4);
  z-index: 2;
  min-width: 120px;
  text-align: center;
}

.timeline-content {
  background: rgba(255,255,255,0.95);
  color: #1a202c;
  padding: 30px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  backdrop-filter: blur(20px);
  max-width: 400px;
  margin: 0 40px;
  z-index: 2;
}

.timeline-content h4 {
  color: #1f3c88;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* DEMO FORM */
.demo-section {
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #ff9ff3 100%);
  color: white;
  text-align: center;
}

.demo-form {
  max-width: 550px;
  margin: 0 auto;
}

.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group i {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  z-index: 2;
}

.demo-form input {
  width: 100%;
  padding: 20px 25px 20px 70px !important;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  font-size: 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  color: #1a202c;
}

.demo-form input::placeholder {
  color: #666;
}

.demo-form input:focus {
  outline: none;
  border-color: #2ecc71;
  box-shadow: 0 0 0 4px rgba(46,204,113,0.2);
  transform: translateY(-2px);
}

.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.2);
  padding: 25px;
  border-radius: 16px;
  margin-bottom: 30px;
  backdrop-filter: blur(20px);
}

.radio-group label {
  color: white;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.radio-group label:hover {
  background: rgba(255,255,255,0.2);
}

.demo-form button {
  padding: 22px 40px;
  font-size: 1.2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* FAQ */
.faq-section .faq {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 25px 30px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  color: #1f3c88;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 12px;
  transform: translateX(5px);
}

.faq-question i {
  width: 20px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(90deg);
}

.faq-answer {
  display: none;
  padding: 0 55px 30px;
  color: #4a5568;
  line-height: 1.7;
  background: #f8fafc;
  border-radius: 0 0 12px 12px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 12px 40px rgba(37,211,102,0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 20px 50px rgba(37,211,102,0.5);
}

/* EXIT POPUP */
.exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.exit-box {
  background: white;
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  max-width: 450px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  animation: popupSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes popupSlideIn {
  from { transform: scale(0.7) translateY(30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.close-popup {
  position: absolute;
  top: 20px;
  right: 25px;
  cursor: pointer;
  font-size: 28px;
  color: #999;
  font-weight: bold;
  transition: color 0.3s ease;
}

.close-popup:hover {
  color: #333;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: #718096;
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  font-size: 15px;
}

.footer-links {
  margin-top: 20px;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    flex-direction: column !important;
    text-align: center;
  }
  
  .timeline-content {
    margin: 30px 0 0 0 !important;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 80px 20px 120px;
  }
  
  .hero-content {
    margin-bottom: 40px;
  }
  
  .sticky-nav {
    padding: 15px 20px;
  }
  
  .sticky-nav a {
    margin: 0 15px;
    font-size: 14px;
  }
  
  .section {
    padding: 70px 15px;
  }
  
  .stats-grid {
    gap: 30px;
  }
  
  .pricing {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .radio-group {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 25px 20px;
    min-height: 100px;
  }
  
  .price-box {
    padding: 35px 25px;
  }
  
  .demo-form input {
    padding: 18px 20px 18px 65px !important;
  }
}

/* ===== MOBILE CHROME FIX - ADD AT BOTTOM OF style.css ===== */
@media (max-width: 768px) {
  /* Force industries section visibility */
  #industries {
    min-height: 800px !important;
    overflow: visible !important;
  }
  
  .industries-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  .industry-group {
    width: 100% !important;
    min-height: 400px !important;
  }
  
  /* Fix icons not loading */
  .card i {
    font-size: 2.5rem !important;
    color: #2ecc71 !important;
    display: block !important;
    margin-bottom: 15px !important;
    line-height: 1 !important;
  }
  
  /* Force text visibility */
  .card {
    min-height: 140px !important;
    padding: 25px 20px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
  }
  
  /* Chrome Android grid fix */
  .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  
  /* Font Awesome mobile preload */
  @font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-solid-900.woff2') format('woff2');
  }
}

/* Android Chrome specific fix */
@supports (-webkit-appearance: none) and (max-width: 768px) {
  .card i {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
  }
}
.icon-text {
  font-size: 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

@media (max-width: 768px) {
  .industries-mobile-fix {
    padding: 60px 10px !important;
  }
  
  .mobile-industries {
    display: block !important;
  }
  
  .industry-block {
    margin-bottom: 50px !important;
  }
  
  .industry-block h3 {
    text-align: center !important;
    font-size: 1.4rem !important;
    margin-bottom: 25px !important;
    color: #1f3c88 !important;
  }
}
