@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary-color: #f37021; /* Indane Orange */
  --secondary-color: #003366; /* Deep Blue */
  --accent-color: #ffd200; /* Highlight Yellow */
  --bg-color: #f5f5f5;
  --white: #ffffff;
  --text-main: #333333;
  --text-light: #666666;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.12);
  --border-radius: 8px;
}

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

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white) !important;
  box-shadow: 0 4px 10px rgba(243, 112, 33, 0.3);
}

.btn-primary:hover {
  background-color: #d96017;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(243, 112, 33, 0.4);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--secondary-color) !important;
  border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--white) !important;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* --- Navigation / Header --- */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  border-radius: 50%;
  border: 3px solid var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 24px;
}

.logo-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 25px;
}

.nav-links li a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--secondary-color);
  font-size: 1rem;
}

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

.nav-links .download-nav-btn {
  background-color: var(--secondary-color);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--border-radius);
}

.nav-links .download-nav-btn:hover {
  background-color: #002244;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #fff3e6 0%, #ffe0cc 100%);
  padding: 80px 0 120px 0;
  overflow: hidden;
}

/* Background Wave */
.hero::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23f5f5f5" fill-opacity="1" d="M0,192L48,186.7C96,181,192,171,288,181.3C384,192,480,224,576,213.3C672,203,768,149,864,133.3C960,117,1056,139,1152,149.3C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
  background-size: cover;
  z-index: 1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.hero-text .sub-text {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 30px;
  border-left: 4px solid var(--primary-color);
  padding-left: 15px;
}

.hero-bullets {
  list-style: none;
  margin-bottom: 40px;
}

.hero-bullets li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.hero-bullets li::before {
  content: '✓';
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--secondary-color);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  line-height: 24px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-image {
  flex: 1;
  text-align: center;
  position: relative;
}

.hero-image img {
  max-width: 90%;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  border: 8px solid var(--white);
}

/* --- Sections Common --- */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: var(--secondary-color);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* --- Provider Support Section --- */
.providers {
  background-color: var(--white);
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.provider-card {
  background: var(--bg-color);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-bottom: 4px solid transparent;
}

.provider-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--primary-color);
  background: var(--white);
}

.provider-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
  border: 2px solid var(--primary-color);
  overflow: hidden;
}

.provider-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.provider-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.provider-card p {
  color: var(--text-light);
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

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

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: rgba(243, 112, 33, 0.1);
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

.feature-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.feature-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* --- How It Works Section --- */
.how-it-works {
  background-color: var(--white);
}

.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50px;
  right: 50px;
  height: 2px;
  background-color: #ddd;
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding: 0 20px;
}

.timeline-icon {
  width: 80px;
  height: 80px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin: 0 auto 20px;
  border: 5px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary-color);
  transition: all 0.3s ease;
}

.timeline-step:hover .timeline-icon {
  background-color: var(--primary-color);
  color: var(--white);
}

.timeline-step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.timeline-step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- Highlighted Download Section --- */
.download-section {
  background: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, #e65c00 100%);
  color: var(--white);
  text-align: center;
  padding: 100px 0;
  position: relative;
}

.download-section h2 {
  color: var(--white);
  font-size: 2.5rem;
}

.download-section h2::after {
  background-color: var(--accent-color);
}

.download-section .desc {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-action-btn {
  background-color: var(--white);
  color: var(--primary-color) !important;
  font-size: 1.2rem;
  padding: 18px 40px;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.download-action-btn:hover {
  background-color: var(--bg-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.download-loader {
  display: none;
  margin-top: 20px;
  color: var(--white);
  font-weight: 500;
}

.download-loader .spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
  vertical-align: middle;
}

/* --- FAQ Section --- */
.faq-section {
  background-color: var(--bg-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border-left: 4px solid var(--secondary-color);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 1.1rem;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: rgba(0, 51, 102, 0.05);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 25px;
  color: var(--text-light);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* arbitrary max height for animation */
  padding-bottom: 20px;
}

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

/* --- Footer --- */
.footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 60px 0 20px;
  font-family: 'Roboto', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-col p {
  color: #cccccc;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #cccccc;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #999;
  font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-text .sub-text {
    border-left: none;
    padding-left: 0;
  }
  .hero-bullets {
    display: inline-block;
    text-align: left;
  }
  .hero-buttons {
    justify-content: center;
  }
  .timeline {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .timeline::before {
    display: none;
  }
  .nav-links {
    display: none; /* simple hidden for mobile unless hamburger added */
  }
}

/* Download Modal & Overlays */
.download-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-color);
}
.download-card {
  background: var(--white);
  border-top: 5px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 500px;
  width: 90%;
}
.loader {
  border: 4px solid var(--bg-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px auto;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 51, 102, 0.8); /* matching secondary color */
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 450px;
  text-align: center;
  border-top: 6px solid var(--primary-color);
  box-shadow: var(--shadow-hover);
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}
.btn-chrome { background: #4285F4; color: white !important; border: none; }
