/* ==========================================================================
   THEME STYLES (Light & Dark Mode)
   Supports System Preference by Default + User Override Persistence
   ========================================================================== */

/* --------------------------------------------------------------------------
   Theme Toggle & Header Action Layout
   -------------------------------------------------------------------------- */
.header-action {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 991px) {
  .header.header-6 .header-action {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
  }
  html[dir="rtl"] .header.header-6 .header-action {
    right: auto;
    left: 60px;
  }
}

@media (max-width: 480px) {
  .header.header-6 .header-action {
    gap: 6px;
    right: 55px;
  }
  html[dir="rtl"] .header.header-6 .header-action {
    left: 55px;
  }
  .lang-toggle-btn {
    padding: 5px 10px;
    font-size: 13px;
  }
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #2f80ed;
  background-color: #ffffff;
  color: #2f80ed;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  outline: none;
  padding: 0;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(47, 128, 237, 0.12);
}

.theme-toggle-btn:hover {
  background-color: #2f80ed;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(47, 128, 237, 0.25);
}

.theme-toggle-btn svg {
  display: block;
  transition: transform 0.3s ease;
}

.theme-toggle-btn:hover svg {
  transform: rotate(20deg);
}

/* Icons visibility based on theme */
.theme-toggle-btn .light-icon {
  display: none;
}

.theme-toggle-btn .dark-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Privacy Header baseline */
.privacy-page-header {
  position: relative;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

/* Smooth transitions for theme switches */
body,
.header,
.footer,
.about-section,
.privacy-section,
.privacy-section .bg-white,
.lang-toggle-btn,
.theme-toggle-btn,
.download-app li a {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* ==========================================================================
   DARK MODE OVERRIDES (html[data-theme="dark"])
   ========================================================================== */

/* Toggle button in Dark Mode */
html[data-theme="dark"] .theme-toggle-btn {
  background-color: rgba(56, 189, 248, 0.12);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.15);
}

html[data-theme="dark"] .theme-toggle-btn:hover {
  background-color: #38bdf8;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.35);
}

html[data-theme="dark"] .theme-toggle-btn .dark-icon {
  display: none;
}

html[data-theme="dark"] .theme-toggle-btn .light-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Language Toggle Button in Dark Mode */
html[data-theme="dark"] .lang-toggle-btn {
  background-color: rgba(56, 189, 248, 0.12);
  border-color: #38bdf8;
  color: #38bdf8;
}

html[data-theme="dark"] .lang-toggle-btn:hover {
  background-color: #38bdf8;
  color: #0f172a;
}

/* Global Dark Body & Typography */
html[data-theme="dark"] body {
  background-color: #0f172a;
  color: #94a3b8;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] .h1,
html[data-theme="dark"] .h2,
html[data-theme="dark"] .h3,
html[data-theme="dark"] .h4,
html[data-theme="dark"] .h5,
html[data-theme="dark"] .h6 {
  color: #f8fafc;
}

/* Header & Navigation in Dark Mode */
html[data-theme="dark"] .header {
  background: transparent;
}

html[data-theme="dark"] .hero-section-wrapper-5 .header.sticky {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .privacy-page-header {
  background: #0f172a !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .header.header-6 .navbar-nav .nav-item a {
  color: #e2e8f0;
}

html[data-theme="dark"] .header.header-6 .navbar-nav .nav-item a:hover,
html[data-theme="dark"] .header.header-6 .navbar-nav .nav-item a.active {
  color: #38bdf8;
}

@media (max-width: 991px) {
  html[data-theme="dark"] .header.header-6 .navbar-collapse {
    background-color: #1e293b;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
  }
}

html[data-theme="dark"] .header.header-6 .navbar-toggler .toggler-icon {
  background-color: #e2e8f0;
}

/* Logo enhancement in dark mode: pure crisp light/white logo with high visibility */
html[data-theme="dark"] .navbar-brand img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

html[data-theme="dark"] .navbar-brand img:hover {
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(255, 255, 255, 0.35));
}

/* Hero Section in Dark Mode */
html[data-theme="dark"] .hero-section-wrapper-5 {
  background-color: #0f172a !important;
  background-image: none !important;
  position: relative;
}

html[data-theme="dark"] .hero-section-wrapper-5::before {
  display: none !important;
}

html[data-theme="dark"] .hero-section-wrapper-5 > * {
  position: relative;
  z-index: 2;
}

html[data-theme="dark"] .hero-content-wrapper p,
html[data-theme="dark"] .hero-style-5 .hero-content-wrapper p {
  color: #cbd5e1;
}

/* About Section in Dark Mode */
html[data-theme="dark"] .about-section {
  background-color: #0f172a;
}

html[data-theme="dark"] .about-content-wrapper p {
  color: #94a3b8;
}

html[data-theme="dark"] .about-content-wrapper h5.text-primary {
  color: #38bdf8 !important;
}

html[data-theme="dark"] .about-content-wrapper ul li {
  color: #cbd5e1;
}

html[data-theme="dark"] .about-content-wrapper ul li i {
  color: #38bdf8;
}

html[data-theme="dark"] .about-content-wrapper ul li a {
  color: #38bdf8 !important;
}

/* Footer Section in Dark Mode */
html[data-theme="dark"] .footer-style-4 {
  background: #0b0f19;
  border-top: 1px solid #1e293b;
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget h6 {
  color: #f8fafc;
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget p {
  color: #94a3b8;
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget .links li a {
  color: #94a3b8;
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget .links li a:hover {
  color: #38bdf8;
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget .socials li a {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget .socials li a:hover {
  background: #38bdf8;
  color: #0f172a;
}

html[data-theme="dark"] .footer-style-4 .copyright-wrapper {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .footer-style-4 .copyright-wrapper p {
  color: #64748b;
}

/* Download App Badges in Dark Mode */
html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget .download-app li a {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget .download-app li a:hover {
  border-color: #38bdf8;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.22);
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget .download-app li a .icon {
  color: #f8fafc;
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget .download-app li a .text {
  color: #94a3b8;
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget .download-app li a .text b {
  color: #f8fafc;
}

/* Privacy Section in Dark Mode */
html[data-theme="dark"] .privacy-section {
  background-color: #0b0f19 !important;
}

html[data-theme="dark"] .privacy-section .section-title h3 {
  color: #f8fafc;
}

html[data-theme="dark"] .privacy-section .section-title p {
  color: #94a3b8;
}

html[data-theme="dark"] .privacy-section .section-title p.text-muted {
  color: #64748b !important;
}

html[data-theme="dark"] .privacy-section .bg-white {
  background-color: #1e293b !important;
  border: 1px solid #334155;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="dark"] .privacy-section .bg-white h5.text-primary {
  color: #38bdf8 !important;
}

html[data-theme="dark"] .privacy-section .bg-white p,
html[data-theme="dark"] .privacy-section .bg-white li,
html[data-theme="dark"] .privacy-section .bg-white div {
  color: #cbd5e1;
}

html[data-theme="dark"] .privacy-section .bg-white strong,
html[data-theme="dark"] .privacy-section .bg-white b {
  color: #f8fafc;
}

html[data-theme="dark"] .privacy-section .bg-white a.text-primary {
  color: #38bdf8 !important;
}

/* Preloader in Dark Mode */
html[data-theme="dark"] .preloader {
  background: #0f172a;
}

/* ==========================================================================
   HERO CALL TO ACTION BUTTONS
   ========================================================================== */
.hero-btns {
  margin-top: 22px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2F80ED;
  color: #ffffff !important;
  padding: 11px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(47, 128, 237, 0.35);
  transition: all 0.25s ease;
  border: 1.5px solid #2F80ED;
  text-decoration: none;
}

.hero-btn-primary:hover {
  background: #1b6cd9;
  border-color: #1b6cd9;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(47, 128, 237, 0.45);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: #323450 !important;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  text-decoration: none;
}

.hero-btn-secondary:hover {
  background: #ffffff;
  color: #2F80ED !important;
  border-color: #2F80ED;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

html[data-theme="dark"] .hero-btn-secondary {
  background: rgba(30, 41, 59, 0.9);
  color: #F8FAFC !important;
  border-color: #334155;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .hero-btn-secondary:hover {
  background: #1E293B;
  color: #38BDF8 !important;
  border-color: #38BDF8;
}

/* ==========================================================================
   OUR APPS SECTION (HORIZONTAL CARDS)
   ========================================================================== */
.apps-section {
  padding: 70px 0 50px;
  background: #ffffff;
  position: relative;
}

html[data-theme="dark"] .apps-section {
  background: #0f172a;
}

.apps-section .section-title,
.apps-section .section-title h3,
.apps-section .section-title p {
  text-align: left !important;
}

.apps-section .section-title h3 {
  font-size: 32px;
  line-height: 42px;
  margin-bottom: 12px;
}

@media (max-width: 767px) {
  .apps-section .section-title h3 {
    font-size: 24px;
    line-height: 34px;
  }
}

.app-card-horizontal {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.28s ease;
  height: 100%;
}

.app-card-horizontal:hover {
  transform: translateY(-3px);
  border-color: #2F80ED;
  box-shadow: 0 10px 24px rgba(47, 128, 237, 0.12);
}

html[data-theme="dark"] .app-card-horizontal {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .app-card-horizontal:hover {
  border-color: #38bdf8;
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.2);
}

.app-card-thumb {
  width: 82px;
  height: 82px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.app-card-horizontal:hover .app-card-thumb img {
  transform: scale(1.05);
}

.app-card-content {
  flex: 1;
  min-width: 0;
}

.app-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(47, 128, 237, 0.1);
  color: #2F80ED;
}

html[data-theme="dark"] .app-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.app-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

html[data-theme="dark"] .app-status {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.app-title {
  font-size: 17px;
  font-weight: 700;
  margin: 6px 0 5px;
  color: #0f172a;
  line-height: 1.3;
}

html[data-theme="dark"] .app-title {
  color: #f8fafc;
}

.app-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
  margin-bottom: 12px;
}

html[data-theme="dark"] .app-desc {
  color: #94a3b8;
}

.app-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-platforms {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-platform-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(100, 116, 139, 0.08);
  color: #64748b !important;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.22s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.app-platform-link:hover {
  transform: translateY(-2px);
  color: #ffffff !important;
}

.app-platform-link[title*="App Store"]:hover {
  background: #0f172a;
  border-color: #0f172a;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}

.app-platform-link[title*="Google Play"]:hover {
  background: #059669;
  border-color: #059669;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

html[data-theme="dark"] .app-platform-link {
  background: rgba(255, 255, 255, 0.07);
  color: #94a3b8 !important;
  border-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .app-platform-link[title*="App Store"]:hover {
  background: #ffffff;
  color: #0f172a !important;
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

html[data-theme="dark"] .app-platform-link[title*="Google Play"]:hover {
  background: #10b981;
  color: #ffffff !important;
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.app-link {
  font-size: 13px;
  font-weight: 600;
  color: #2F80ED;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.app-link:hover {
  color: #1b6cd9;
}

html[data-theme="dark"] .app-link {
  color: #38bdf8;
}

html[data-theme="dark"] .app-link:hover {
  color: #7dd3fc;
}

/* Mobile roller pagination dots hidden on desktop */
.apps-roller-dots {
  display: none !important;
}

/* ==========================================================================
   MOBILE-ONLY APPS ROLLER (HORIZONTAL CARDS CAROUSEL)
   ========================================================================== */
@media (max-width: 767px) {
  .apps-roller {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 14px;
    padding-top: 6px !important;
    padding-bottom: 16px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
  }

  .apps-roller::-webkit-scrollbar {
    display: none; /* WebKit */
  }

  .apps-roller .app-roller-item {
    flex: 0 0 85% !important;
    max-width: 85% !important;
    width: 85% !important;
    min-width: 275px;
    margin-bottom: 0 !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  /* Keep cards visible inside horizontal roller on mobile */
  .apps-roller .wow {
    visibility: visible !important;
    animation-name: none !important;
    opacity: 1 !important;
  }

  /* Ensure card stays horizontal and sleek */
  .apps-roller .app-card-horizontal {
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    height: 100%;
  }

  .apps-roller .app-card-thumb {
    width: 62px;
    height: 62px;
    min-width: 62px;
    border-radius: 14px;
  }

  .apps-roller .app-badge,
  .apps-roller .app-status {
    font-size: 10px;
    padding: 2px 7px;
    line-height: 1.3;
  }

  .apps-roller .app-card-content > .d-flex {
    flex-wrap: wrap;
    gap: 4px;
  }

  .apps-roller .app-title {
    font-size: 15px;
    margin: 4px 0 3px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .apps-roller .app-desc {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .apps-roller .app-platforms {
    gap: 6px;
  }

  .apps-roller .app-platform-link {
    width: 28px;
    height: 28px;
    font-size: 13.5px;
  }

  .apps-roller .app-link {
    font-size: 12px;
  }

  /* Mobile Roller Indicator Dots */
  .apps-roller-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    margin-bottom: 0;
  }

  .apps-dot-btn {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 20px;
    border: none;
    background: rgba(47, 128, 237, 0.25);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    outline: none;
  }

  .apps-dot-btn.active {
    width: 24px;
    background: #2F80ED;
  }

  html[data-theme="dark"] .apps-dot-btn {
    background: rgba(255, 255, 255, 0.2);
  }

  html[data-theme="dark"] .apps-dot-btn.active {
    background: #38bdf8;
  }
}

@media (max-width: 420px) {
  .apps-roller .app-roller-item {
    flex: 0 0 88% !important;
    max-width: 88% !important;
    width: 88% !important;
    min-width: 255px;
  }

  .apps-roller .app-card-horizontal {
    padding: 13px;
    gap: 11px;
  }

  .apps-roller .app-card-thumb {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 12px;
  }

  .apps-roller .app-title {
    font-size: 14px;
  }

  .apps-roller .app-desc {
    font-size: 11.5px;
    margin-bottom: 6px;
  }
}

/* Glassmorphism Frosted Glass for Sticky Navbar */
.hero-section-wrapper-5 .header.sticky {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background: rgba(255, 255, 255, 0.92) !important;
}

html[data-theme="dark"] .hero-section-wrapper-5 .header.sticky {
  background: rgba(15, 23, 42, 0.9) !important;
}

/* ==========================================================================
   MOBILE VISIBILITY REFINEMENTS
   ========================================================================== */
@media (max-width: 991px) {
  .hero-section .hero-image,
  .hero-section lottie-player,
  .about-image-col,
  .about-section .about-image {
    display: none !important;
  }

  .hero-visual-col {
    margin-top: 45px;
    width: 100%;
    display: flex !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   GLOBAL TYPOGRAPHY (Inter for English, Cairo for Arabic)
   ========================================================================== */
html,
body,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

html[dir="rtl"],
html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[lang="ar"],
html[lang="ar"] body,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
body.rtl,
body.rtl * {
  font-family: 'Cairo', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* ==========================================================================
   MODERN TECH PALETTE & ENHANCED SAAS STYLES
   ========================================================================== */
:root {
  --tech-bg-deep: #070a13;
  --tech-bg-navy: #0b1120;
  --tech-bg-surface: #0f172a;
  --tech-bg-card: rgba(15, 23, 42, 0.78);
  --tech-blue: #3b82f6;
  --tech-indigo: #6366f1;
  --tech-purple: #8b5cf6;
  --tech-pink: #ec4899;
  --tech-gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --tech-gradient-vibrant: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  --tech-gradient-text: linear-gradient(135deg, #ffffff 40%, #93c5fd 75%, #c084fc 100%);
  --tech-shadow-glow: 0 0 50px -10px rgba(99, 102, 241, 0.45), 0 20px 40px -15px rgba(139, 92, 246, 0.35);
}

body {
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Tech headline enhancement */
.hero-headline {
  font-size: 42px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.025em;
}

@media (max-width: 767px) {
  .hero-headline {
    font-size: 28px;
    line-height: 1.3;
  }
}

/* Modern SaaS Section Whitespace */
.hero-section {
  padding: 130px 0 100px 0 !important;
}

@media (max-width: 991px) {
  .hero-section {
    padding: 95px 0 65px 0 !important;
  }
}

.apps-section {
  padding: 120px 0 110px 0 !important;
}

@media (max-width: 767px) {
  .apps-section {
    padding: 85px 0 65px 0 !important;
  }
}

.about-section {
  padding: 120px 0 120px 0 !important;
}

@media (max-width: 767px) {
  .about-section {
    padding: 85px 0 70px 0 !important;
  }
}

.footer {
  padding: 100px 0 40px 0 !important;
}

@media (max-width: 767px) {
  .footer {
    padding: 75px 0 30px 0 !important;
  }
}

/* Modern Section Titles */
.section-title {
  margin-bottom: 55px !important;
}

@media (max-width: 767px) {
  .section-title {
    margin-bottom: 35px !important;
  }
}

.section-title h3 {
  font-size: 34px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

@media (max-width: 767px) {
  .section-title h3 {
    font-size: 26px !important;
  }
}

.section-title p {
  font-size: 16px;
  line-height: 1.65;
}

/* Tech Gradients for Buttons (Shared across both modes) */
.hero-btn-primary {
  background: var(--tech-gradient-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5), 0 8px 16px -6px rgba(124, 58, 237, 0.45) !important;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 26px;
  color: #ffffff !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%) !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 14px 32px -4px rgba(37, 99, 235, 0.65), 0 10px 20px -4px rgba(124, 58, 237, 0.6) !important;
}

.hero-btn-secondary {
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease !important;
}

.app-card-horizontal {
  border-radius: 20px !important;
  padding: 24px !important;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.app-card-horizontal .app-title {
  font-weight: 700;
}

/* ==========================================================================
   LIGHT MODE SPECIFIC STYLES (html[data-theme="light"] and default)
   ========================================================================== */
html[data-theme="light"] body,
html:not([data-theme="dark"]) body {
  background-color: #f8fafc;
  color: #475569;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6,
html:not([data-theme="dark"]) h1,
html:not([data-theme="dark"]) h2,
html:not([data-theme="dark"]) h3,
html:not([data-theme="dark"]) h4,
html:not([data-theme="dark"]) h5,
html:not([data-theme="dark"]) h6 {
  color: #0f172a;
}

/* Light Mode Hero Section */
html[data-theme="light"] .hero-section-wrapper-5,
html:not([data-theme="dark"]) .hero-section-wrapper-5 {
  background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%) !important;
}

html[data-theme="light"] .hero-headline,
html:not([data-theme="dark"]) .hero-headline {
  background: linear-gradient(135deg, #0f172a 35%, #2563eb 80%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .hero-content-wrapper p,
html:not([data-theme="dark"]) .hero-content-wrapper p {
  color: #475569;
}

html[data-theme="light"] .hero-btn-secondary,
html:not([data-theme="dark"]) .hero-btn-secondary {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .hero-btn-secondary:hover,
html:not([data-theme="dark"]) .hero-btn-secondary:hover {
  background: #f1f5f9 !important;
  border-color: #3b82f6 !important;
  color: #2563eb !important;
}

/* Light Mode Header */
html[data-theme="light"] .header.header-6 .navbar-nav .nav-item a,
html:not([data-theme="dark"]) .header.header-6 .navbar-nav .nav-item a {
  color: #334155;
}

html[data-theme="light"] .header.header-6 .navbar-nav .nav-item a:hover,
html[data-theme="light"] .header.header-6 .navbar-nav .nav-item a.active,
html:not([data-theme="dark"]) .header.header-6 .navbar-nav .nav-item a:hover,
html:not([data-theme="dark"]) .header.header-6 .navbar-nav .nav-item a.active {
  color: #2563eb;
}

html[data-theme="light"] .hero-section-wrapper-5 .header.sticky,
html:not([data-theme="dark"]) .hero-section-wrapper-5 .header.sticky {
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid #e2e8f0;
}

/* Light Mode Apps Section */
html[data-theme="light"] .apps-section,
html:not([data-theme="dark"]) .apps-section {
  background-color: #ffffff !important;
}

html[data-theme="light"] .apps-section .section-title h3,
html:not([data-theme="dark"]) .apps-section .section-title h3 {
  color: #0f172a !important;
}

html[data-theme="light"] .apps-section .section-title p,
html:not([data-theme="dark"]) .apps-section .section-title p {
  color: #64748b !important;
}

html[data-theme="light"] .app-card-horizontal,
html:not([data-theme="dark"]) .app-card-horizontal {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .app-card-horizontal:hover,
html:not([data-theme="dark"]) .app-card-horizontal:hover {
  transform: translateY(-5px) !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12) !important;
}

html[data-theme="light"] .app-card-horizontal .app-title,
html:not([data-theme="dark"]) .app-card-horizontal .app-title {
  color: #0f172a !important;
}

html[data-theme="light"] .app-card-horizontal .app-desc,
html:not([data-theme="dark"]) .app-card-horizontal .app-desc {
  color: #64748b !important;
}

html[data-theme="light"] .app-badge,
html:not([data-theme="dark"]) .app-badge {
  background: rgba(37, 99, 235, 0.08) !important;
  border: 1px solid rgba(37, 99, 235, 0.22) !important;
  color: #2563eb !important;
}

html[data-theme="light"] .app-status,
html:not([data-theme="dark"]) .app-status {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #059669 !important;
}

/* Light Mode Showcase Section */
html[data-theme="light"] .showcase-section,
html:not([data-theme="dark"]) .showcase-section {
  background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 50%, #f1f5f9 100%) !important;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

html[data-theme="light"] .showcase-section::before,
html:not([data-theme="dark"]) .showcase-section::before {
  background-image: radial-gradient(rgba(99, 102, 241, 0.14) 1px, transparent 1px);
}

html[data-theme="light"] .showcase-badge,
html:not([data-theme="dark"]) .showcase-badge {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.25);
  color: #2563eb;
}

html[data-theme="light"] .showcase-title,
html:not([data-theme="dark"]) .showcase-title {
  color: #0f172a !important;
}

html[data-theme="light"] .showcase-desc,
html:not([data-theme="dark"]) .showcase-desc {
  color: #475569 !important;
}

html[data-theme="light"] .showcase-feat-item,
html:not([data-theme="dark"]) .showcase-feat-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
}

html[data-theme="light"] .showcase-feat-item:hover,
html:not([data-theme="dark"]) .showcase-feat-item:hover {
  background: #ffffff !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1) !important;
}

html[data-theme="light"] .showcase-feat-item .feat-text h5,
html:not([data-theme="dark"]) .showcase-feat-item .feat-text h5 {
  color: #0f172a !important;
}

html[data-theme="light"] .showcase-feat-item .feat-text p,
html:not([data-theme="dark"]) .showcase-feat-item .feat-text p {
  color: #64748b !important;
}

html[data-theme="light"] .showcase-feat-item .feat-icon-box,
html:not([data-theme="dark"]) .showcase-feat-item .feat-icon-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: #2563eb;
}

html[data-theme="light"] .phone-mockup-glow,
html:not([data-theme="dark"]) .phone-mockup-glow {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, rgba(139, 92, 246, 0.18) 40%, rgba(59, 130, 246, 0.08) 65%, transparent 75%);
  filter: blur(40px);
}

/* Light Mode About Section */
html[data-theme="light"] .about-section,
html:not([data-theme="dark"]) .about-section {
  background-color: #ffffff !important;
}

html[data-theme="light"] .about-content-wrapper .section-title h3,
html:not([data-theme="dark"]) .about-content-wrapper .section-title h3 {
  color: #0f172a !important;
}

html[data-theme="light"] .about-content-wrapper p,
html:not([data-theme="dark"]) .about-content-wrapper p {
  color: #475569 !important;
}

html[data-theme="light"] .about-content-wrapper ul li,
html:not([data-theme="dark"]) .about-content-wrapper ul li {
  color: #334155 !important;
}

html[data-theme="light"] .about-content-wrapper ul li i,
html:not([data-theme="dark"]) .about-content-wrapper ul li i {
  color: #2563eb !important;
}

/* Light Mode Footer */
html[data-theme="light"] .footer-style-4,
html:not([data-theme="dark"]) .footer-style-4 {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .footer-style-4 .widget-wrapper .footer-widget h6,
html:not([data-theme="dark"]) .footer-style-4 .widget-wrapper .footer-widget h6 {
  color: #0f172a !important;
}

html[data-theme="light"] .footer-style-4 .widget-wrapper .footer-widget p,
html:not([data-theme="dark"]) .footer-style-4 .widget-wrapper .footer-widget p {
  color: #64748b !important;
}

html[data-theme="light"] .footer-style-4 .widget-wrapper .footer-widget .links li a,
html:not([data-theme="dark"]) .footer-style-4 .widget-wrapper .footer-widget .links li a {
  color: #64748b !important;
}

html[data-theme="light"] .footer-style-4 .widget-wrapper .footer-widget .links li a:hover,
html:not([data-theme="dark"]) .footer-style-4 .widget-wrapper .footer-widget .links li a:hover {
  color: #2563eb !important;
}

html[data-theme="light"] .footer-style-4 .widget-wrapper .footer-widget .socials li a,
html:not([data-theme="dark"]) .footer-style-4 .widget-wrapper .footer-widget .socials li a {
  background: rgba(37, 99, 235, 0.08) !important;
  color: #2563eb !important;
}

html[data-theme="light"] .footer-style-4 .widget-wrapper .footer-widget .socials li a:hover,
html:not([data-theme="dark"]) .footer-style-4 .widget-wrapper .footer-widget .socials li a:hover {
  background: #2563eb !important;
  color: #ffffff !important;
}

html[data-theme="light"] .footer-style-4 .copyright-wrapper,
html:not([data-theme="dark"]) .footer-style-4 .copyright-wrapper {
  border-top: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .footer-style-4 .copyright-wrapper p,
html:not([data-theme="dark"]) .footer-style-4 .copyright-wrapper p {
  color: #94a3b8 !important;
}

html[data-theme="light"] .footer-style-4 .widget-wrapper .footer-widget .download-app li a,
html:not([data-theme="dark"]) .footer-style-4 .widget-wrapper .footer-widget .download-app li a {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

html[data-theme="light"] .footer-style-4 .widget-wrapper .footer-widget .download-app li a:hover,
html:not([data-theme="dark"]) .footer-style-4 .widget-wrapper .footer-widget .download-app li a:hover {
  border-color: #2563eb !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.15) !important;
}

html[data-theme="light"] .footer-style-4 .widget-wrapper .footer-widget .download-app li a .icon,
html:not([data-theme="dark"]) .footer-style-4 .widget-wrapper .footer-widget .download-app li a .icon {
  color: #0f172a !important;
}

html[data-theme="light"] .footer-style-4 .widget-wrapper .footer-widget .download-app li a .text,
html:not([data-theme="dark"]) .footer-style-4 .widget-wrapper .footer-widget .download-app li a .text {
  color: #64748b !important;
}

html[data-theme="light"] .footer-style-4 .widget-wrapper .footer-widget .download-app li a .text b,
html:not([data-theme="dark"]) .footer-style-4 .widget-wrapper .footer-widget .download-app li a .text b {
  color: #0f172a !important;
}

/* ==========================================================================
   DARK MODE SPECIFIC STYLES (html[data-theme="dark"])
   ========================================================================== */
html[data-theme="dark"] body {
  background-color: var(--tech-bg-deep);
  color: #94a3b8;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6 {
  color: #f8fafc;
}

/* Dark Mode Hero Section */
html[data-theme="dark"] .hero-section-wrapper-5 {
  background: linear-gradient(180deg, #070a13 0%, #0b1120 100%) !important;
}

html[data-theme="dark"] .hero-headline {
  background: var(--tech-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .hero-content-wrapper p {
  color: #cbd5e1;
}

html[data-theme="dark"] .hero-btn-secondary {
  background: rgba(15, 23, 42, 0.85) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(8px);
}

html[data-theme="dark"] .hero-btn-secondary:hover {
  background: rgba(30, 41, 59, 0.95) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  color: #38bdf8 !important;
  box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.25) !important;
}

/* Dark Mode Apps Section */
html[data-theme="dark"] .apps-section {
  background-color: var(--tech-bg-navy) !important;
}

html[data-theme="dark"] .apps-section .section-title h3 {
  color: #f8fafc !important;
}

html[data-theme="dark"] .apps-section .section-title p {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .app-card-horizontal {
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(14px);
}

html[data-theme="dark"] .app-card-horizontal:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(99, 102, 241, 0.45) !important;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.9), 0 0 30px -5px rgba(99, 102, 241, 0.25) !important;
}

html[data-theme="dark"] .app-card-horizontal .app-title {
  color: #f8fafc !important;
}

html[data-theme="dark"] .app-card-horizontal .app-desc {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .app-badge {
  background: rgba(59, 130, 246, 0.14) !important;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
  color: #60a5fa !important;
}

html[data-theme="dark"] .app-status {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #34d399 !important;
}

/* Dark Mode Showcase Section */
html[data-theme="dark"] .showcase-section {
  background: linear-gradient(180deg, #070a13 0%, #0c1222 50%, #070a13 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .showcase-section::before {
  background-image: radial-gradient(rgba(99, 102, 241, 0.09) 1px, transparent 1px);
}

html[data-theme="dark"] .showcase-badge {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
  color: #60a5fa;
}

html[data-theme="dark"] .showcase-title {
  color: #f8fafc !important;
}

html[data-theme="dark"] .showcase-desc {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .showcase-feat-item {
  background: rgba(15, 23, 42, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

html[data-theme="dark"] .showcase-feat-item:hover {
  background: rgba(30, 41, 59, 0.75) !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
}

html[data-theme="dark"] .showcase-feat-item .feat-text h5 {
  color: #f8fafc !important;
}

html[data-theme="dark"] .showcase-feat-item .feat-text p {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .showcase-feat-item .feat-icon-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18) 0%, rgba(139, 92, 246, 0.18) 100%);
  border-color: rgba(99, 102, 241, 0.3);
  color: #38bdf8;
}

html[data-theme="dark"] .phone-mockup-glow {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45) 0%, rgba(139, 92, 246, 0.32) 40%, rgba(59, 130, 246, 0.12) 65%, transparent 75%);
  filter: blur(48px);
}

/* Dark Mode About Section */
html[data-theme="dark"] .about-section {
  background-color: var(--tech-bg-navy) !important;
}

html[data-theme="dark"] .about-content-wrapper .section-title h3 {
  color: #f8fafc !important;
}

html[data-theme="dark"] .about-content-wrapper p {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .about-content-wrapper ul li {
  color: #cbd5e1 !important;
}

html[data-theme="dark"] .about-content-wrapper ul li i {
  color: #38bdf8 !important;
}

/* Dark Mode Footer */
html[data-theme="dark"] .footer-style-4 {
  background: #04060b !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget h6 {
  color: #f8fafc !important;
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget p {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget .links li a {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget .links li a:hover {
  color: #38bdf8 !important;
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget .socials li a {
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38bdf8 !important;
}

html[data-theme="dark"] .footer-style-4 .widget-wrapper .footer-widget .socials li a:hover {
  background: #38bdf8 !important;
  color: #0f172a !important;
}

/* ==========================================================================
   SMARTPHONE DEVICE MOCKUP COMPONENT
   ========================================================================== */
.phone-mockup-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  z-index: 2;
}

/* Vibrant Blue/Purple Glowing Aura behind phone */
.phone-mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 125%;
  height: 125%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45) 0%, rgba(139, 92, 246, 0.32) 40%, rgba(59, 130, 246, 0.12) 65%, transparent 75%);
  filter: blur(48px);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  animation: auraPulse 6s ease-in-out infinite alternate;
}

@keyframes auraPulse {
  0% { transform: translate(-50%, -50%) scale(0.94); opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

/* Smartphone Mockup Frame */
.smartphone-mockup {
  position: relative;
  width: 310px;
  height: 630px;
  background: #020617;
  border-radius: 44px;
  border: 11px solid #0f172a;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 0 50px -10px rgba(99, 102, 241, 0.55),
    0 30px 65px -15px rgba(2, 6, 23, 0.95),
    inset 0 0 4px rgba(255, 255, 255, 0.2);
  overflow: hidden;
  margin: 0 auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.smartphone-mockup:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 0 0 1px rgba(139, 92, 246, 0.4),
    0 0 75px -8px rgba(99, 102, 241, 0.75),
    0 40px 80px -15px rgba(2, 6, 23, 0.98),
    inset 0 0 6px rgba(255, 255, 255, 0.3);
}

/* Top Notch / Dynamic Island */
.smartphone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 95px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.smartphone-notch-lens {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, #334155 30%, #020617 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Smartphone Screen */
.smartphone-screen {
  width: 100%;
  height: 100%;
  background: #090d16;
  overflow: hidden;
  position: relative;
}

.smartphone-screen img.app-screenshot-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero Section Mockup specific sizing */
.hero-mockup-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-smartphone {
  width: 290px;
  height: 590px;
  border-radius: 40px;
  border: 10px solid #0f172a;
}

@media (max-width: 991px) {
  .hero-smartphone {
    width: 260px;
    height: 530px;
    border-radius: 36px;
    border: 9px solid #0f172a;
  }
}

@media (max-width: 480px) {
  .hero-smartphone,
  .smartphone-mockup {
    width: 240px;
    height: 490px;
    border-radius: 32px;
    border: 8px solid #0f172a;
  }
  .smartphone-notch {
    width: 80px;
    height: 20px;
    top: 8px;
  }
}

/* ==========================================================================
   APP SHOWCASE SECTION BASE LAYOUT (2-Column Desktop, Stacked Mobile)
   ========================================================================== */
.showcase-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.showcase-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 30px 30px;
  pointer-events: none;
}

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

.showcase-content {
  flex: 1;
  max-width: 580px;
}

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

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.showcase-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 10px #3b82f6;
  animation: dotBlink 2s infinite ease-in-out;
}

@keyframes dotBlink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.showcase-title {
  font-size: 38px;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  transition: color 0.3s ease;
}

.showcase-desc {
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 35px;
  transition: color 0.3s ease;
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 38px;
}

.showcase-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.showcase-feat-item:hover {
  transform: translateX(4px);
}

html[dir="rtl"] .showcase-feat-item:hover {
  transform: translateX(-4px);
}

.showcase-feat-item .feat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.showcase-feat-item .feat-text h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.showcase-feat-item .feat-text p {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
  transition: color 0.3s ease;
}

/* Responsive Stacking for Showcase */
@media (max-width: 991px) {
  .showcase-section {
    padding: 85px 0;
  }

  .showcase-grid {
    flex-direction: column;
    gap: 55px;
    text-align: center;
  }

  .showcase-content {
    max-width: 100%;
  }

  .showcase-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .showcase-desc {
    font-size: 15px;
  }

  .showcase-feat-item {
    text-align: left;
  }

  html[dir="rtl"] .showcase-feat-item {
    text-align: right;
  }
}


