:root {
  --primary-blue: #0052cc;
  --dark-blue: #0a2540;
  --accent-blue: #00d4ff;
  --light-bg: #f8fafc;
  --border-color: #cbd5e1;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --success-green: #10b981;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.container, main, section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.fixed-size-logo-img {
    /* Enforce absolute pixel constraints */
    width: 77px !important;
    height: 70px !important;
    /* Prevents stretching/squishing if the aspect ratio differs */
    object-fit: contain;
}

.fixed-size-android-img {
    /* Enforce absolute pixel constraints */
    width: 334px !important;
    height: 99px !important;
    /* Prevents stretching/squishing if the aspect ratio differs */
    object-fit: contain;
}

.fixed-size-ios-img {
    /* Enforce absolute pixel constraints */
    width: 294px !important;
    height: 99px !important;
    /* Prevents stretching/squishing if the aspect ratio differs */
    object-fit: contain;
}

.fixed-size-web-img {
    /* Enforce absolute pixel constraints */
    width: 334px !important;
    height: 99px !important;
    /* Prevents stretching/squishing if the aspect ratio differs */
    object-fit: contain;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Navigation */
.navbar { background: #fff; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 75px; max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.3rem; text-decoration: none; color: var(--dark-blue); }
.logo img { height: 40px; } /* Adjusted for mobile scale */
.nav-menu { display: flex; align-items: center; }
.nav-menu a { margin: 0 14px; text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--primary-blue); }
.nav-actions { display: flex; }
.btn-primary { background: var(--primary-blue); color: #fff; padding: 10px 20px; border-radius: 6px; text-decoration: none; font-weight: 700; display: inline-block; text-align: center; }

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 10px;
  color: var(--dark-blue);
}

/* Hero Section */
.hero-section { background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%); color: #fff; padding: 80px 0; }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.badge { background: rgba(255,255,255,0.2); padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-content h1 { font-size: 2.6rem; margin: 20px 0; line-height: 1.25; }
.hero-subtext { font-size: 1.15rem; color: #e2e8f0; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary-lg { background: var(--accent-blue); color: var(--dark-blue); padding: 14px 28px; border-radius: 6px; font-weight: 800; text-decoration: none; display: inline-block; text-align: center; }
.btn-secondary-lg { border: 2px solid #fff; color: #fff; padding: 12px 26px; border-radius: 6px; font-weight: 700; text-decoration: none; display: inline-block; text-align: center; }
.btn-accent { background: var(--accent-blue); color: var(--dark-blue); padding: 14px 32px; border-radius: 6px; font-weight: 800; text-decoration: none; display: inline-block; margin-top: 20px; text-align: center; }

/* General Sections */
.overview-section, .feature-detail-section, .modules-section, .process-steps-section, .comparison-table-section, .benefits-detail-section { padding: 60px 0; }
.page-header { background: var(--light-bg); padding: 60px 0; border-bottom: 1px solid var(--border-color); text-align: center; }
.page-header h1 { margin-top: 0; font-size: 2.2rem; }
.section-lead { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; max-width: 800px; }

/* Image Styles & Shadows */
.img-shadow { max-width: 100%; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,0.15); border: 1px solid var(--border-color); }
.caption { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; font-style: italic; text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Comparison Grid & Cards */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.card { padding: 30px; border-radius: 10px; border: 1px solid var(--border-color); }
.problem-card { background: #fff5f5; border-color: #fecaca; }
.solution-card { background: #f0fdf4; border-color: #bbf7d0; }

/* Modules Grid */
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 40px; }
.module-card { background: var(--light-bg); border: 1px solid var(--border-color); padding: 20px; border-radius: 8px; text-align: center; }
.card-img { max-height: 220px; width: auto; max-width: 100%; border-radius: 6px; margin-bottom: 16px; object-fit: contain; }

/* Feature Section Rows */
.feature-row { display: flex; align-items: center; gap: 50px; margin: 50px 0; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-media { flex: 1; }
.subhead { font-size: 0.85rem; font-weight: 800; color: var(--primary-blue); letter-spacing: 1px; text-transform: uppercase; }

/* Timeline Process */
.timeline { position: relative; margin-top: 40px; }
.timeline-step { display: flex; gap: 30px; margin-bottom: 50px; }
.step-number { font-size: 1.8rem; font-weight: 900; color: #fff; background: var(--primary-blue); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-card { background: var(--light-bg); border: 1px solid var(--border-color); padding: 30px; border-radius: 10px; flex-grow: 1; }
.step-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.step-badge { background: #e0e7ff; color: #3730a3; padding: 4px 12px; border-radius: 12px; font-size: 0.8rem; font-weight: 700; }
.step-graphic { margin-top: 20px; }
.callout-box { padding: 15px; border-radius: 6px; background: #e0e7ff; border-left: 4px solid var(--primary-blue); margin-top: 20px; }

/* Comparison Table */
.table-wrapper { overflow-x: auto; margin-top: 30px; }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 600px; }
.comparison-table th, .comparison-table td { padding: 16px 20px; border: 1px solid var(--border-color); }
.comparison-table th { background: var(--dark-blue); color: #fff; font-size: 1rem; }

/* Benefits Grid */
.benefit-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.b-card { background: #fff; border: 1px solid var(--border-color); padding: 24px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.b-card-header h3 { margin-top: 0; color: var(--dark-blue); }

/* CTA Banner */
.cta-banner { background: var(--dark-blue); color: #fff; text-align: center; padding: 70px 20px; margin-top: 60px; }

/* Footer */
.footer { background: #071729; color: #94a3b8; padding: 60px 0 20px; font-size: 0.9rem; }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer h4 { color: #fff; margin-bottom: 16px; margin-top: 0; }
.footer a { color: #cbd5e1; text-decoration: none; }
.footer ul a { display: flex; align-items: center; min-height: 44px; padding: 4px 0; }
.footer a:hover { color: #fff; }
.app-badges { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.app-badges img { height: 40px; }
.footer-bottom { text-align: center; border-top: 1px solid #1e293b; margin-top: 40px; padding-top: 20px; }

/* ---- Responsive Media Queries ---- */
@media (max-width: 992px) {
  .hero-container, .feature-row, .comparison-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .feature-row.reverse {
    flex-direction: column;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  /* Navigation */
  .mobile-menu-btn {
    display: block;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 75px;
    left: 0;
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu a {
    width: 100%;
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid #f1f5f9;
    min-height: 44px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
  }
  .nav-menu a:last-child {
    border-bottom: none;
  }
  .nav-actions {
    display: none; /* Hidden on mobile header, can add to menu if needed */
  }

  /* Typography & Spacing */
  .hero-section { padding: 40px 0; text-align: center; }
  .hero-content h1 { font-size: 2rem; }
  .page-header h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }
  .hero-buttons { justify-content: center; }
  .btn-secondary-lg { margin-left: 0; }
  
  .overview-section, .feature-detail-section, .modules-section, .process-steps-section, .comparison-table-section, .benefits-detail-section {
    padding: 40px 0;
  }
  
  .feature-row { gap: 30px; margin: 40px 0; }
  
  /* Timeline */
  .timeline-step {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
  }
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
  
  /* Grids */
  .grid-2 { grid-template-columns: 1fr; }
  
  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .app-badges {
    justify-content: center;
  }
  .footer ul a {
    justify-content: center;
  }
}

/* Optimize Touch Targets Globally */
button, .btn, a, input, select, textarea {
  touch-action: manipulation;
}
