html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b4f72 60%, #117a8b 100%);
  color: #fff;
  padding: 80px 0 60px;
  margin-bottom: 0;
}

.hero-section h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-section .lead {
  font-size: 1.15rem;
  opacity: 0.9;
}

/* ============================================================
   BROWSER FRAME MOCKUP (pure CSS)
   ============================================================ */
.browser-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  background: #1e1e1e;
}

.browser-frame__bar {
  background: #2d2d2d;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-frame__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.browser-frame__dot--red   { background: #ff5f57; }
.browser-frame__dot--yellow { background: #febc2e; }
.browser-frame__dot--green { background: #28c840; }

.browser-frame__url {
  background: #3a3a3a;
  color: #aaa;
  font-size: 0.72rem;
  padding: 2px 10px;
  border-radius: 4px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-frame__body {
  line-height: 0;
}

.browser-frame__body img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   SCREENSHOT PLACEHOLDER (shown when image file is missing)
   ============================================================ */
.screenshot-placeholder {
  background: #2c3e50;
  color: #7f8c8d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
  gap: 8px;
}

.screenshot-placeholder i {
  font-size: 2.5rem;
  opacity: 0.5;
}

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
.section-light { background: #f8f9fa; }
.section-white { background: #ffffff; }

section { padding: 70px 0; }
section h2 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
section .section-sub {
  color: #6c757d;
  margin-bottom: 3rem;
}

/* ============================================================
   DEMO CALLOUT STRIP
   ============================================================ */
.demo-strip {
  background: #0f3460;
  color: #e0f4ff;
  padding: 14px 0;
  font-size: 0.95rem;
}

.demo-strip a {
  color: #64dfdf;
  font-weight: 600;
  text-decoration: none;
}

.demo-strip a:hover { text-decoration: underline; }

.demo-strip code {
  background: rgba(255, 255, 255, 0.1);
  color: #a0e4ff;
  padding: 1px 6px;
  border-radius: 3px;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-card {
  border: 1px solid #e9ecef;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-card .feature-icon {
  font-size: 2.2rem;
  color: #1b4f72;
}

/* ============================================================
   CAROUSEL / SCREENSHOT GALLERY
   ============================================================ */
.carousel-section { background: #0d1b2a; }

.carousel-section h2,
.carousel-section .section-sub { color: #fff; }
.carousel-section .section-sub { color: #8ab4cc; }

.carousel img {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 0 0 6px 6px;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  padding: 6px 14px;
}

/* ============================================================
   ALTERNATING FEATURE ROWS
   ============================================================ */
.feature-row { padding: 60px 0; }
.feature-row + .feature-row { border-top: 1px solid #e9ecef; }

.feature-row h3 {
  font-weight: 700;
  color: #0d1b2a;
}

.feature-row .feature-icon-lg {
  font-size: 3rem;
  color: #1b4f72;
  margin-bottom: 1rem;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.step-number {
  width: 52px;
  height: 52px;
  background: #1b4f72;
  color: #fff;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* ============================================================
   VIDEO PLACEHOLDER
   ============================================================ */
.video-placeholder {
  background: linear-gradient(135deg, #0d1b2a, #1b4f72);
  color: #fff;
  min-height: 320px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  border: 2px dashed rgba(255, 255, 255, 0.2);
}

.video-placeholder i {
  font-size: 4rem;
  opacity: 0.85;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #0d1b2a 0%, #117a8b 100%);
  color: #fff;
  padding: 70px 0;
}

.cta-banner h2 { font-weight: 700; }
.cta-banner p  { opacity: 0.85; }

/* ============================================================
   MODAL LIGHTBOX
   ============================================================ */
#screenshotModal .modal-dialog { max-width: 900px; }
#screenshotModal .modal-body   { padding: 0; }
#screenshotModal img           { width: 100%; height: auto; border-radius: 0 0 4px 4px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer {
  background: #0d1b2a;
  color: #adb5bd;
  padding: 50px 0 20px;
  margin-top: 0;
}

footer.site-footer h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

footer.site-footer a {
  color: #adb5bd;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

footer.site-footer a:hover { color: #64dfdf; }

footer.site-footer .footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 30px 0 20px;
}

footer.site-footer .footer-bottom {
  font-size: 0.82rem;
  color: #6c757d;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
  .hero-section h1 { font-size: 1.9rem; }
  .hero-section    { padding: 50px 0 40px; }
  section          { padding: 50px 0; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-site {
  background: linear-gradient(90deg, #0d1b2a 0%, #1b4f72 100%);
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.navbar-logo {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

@media (max-width: 991px) {
  .navbar-logo { height: 40px; }
}
