/* ==========================================================================
   HYPERSTORE - MULTI-VENDOR & MULTI-THEME LANDING PAGE DESIGN SYSTEM
   DEFAULT THEME: LIGHT MODE
   ========================================================================== */

/* ==========================================================================
   ROOT VARIABLES & COLOR TOKENS
   ========================================================================== */

:root {
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Plus Jakarta Sans', sans-serif;

  /* ============================================================
     LIGHT MODE — DEFAULT
     ============================================================ */
  --bg-main: #fffaf5;
  --bg-card: #ffffff;
  --bg-card-hover: #fff2e6;
  --bg-glass: rgba(255, 255, 255, 0.90);

  --border-color: rgba(15, 23, 42, 0.10);
  --border-highlight: rgba(253, 104, 9, 0.38);

  --text-main: #1f2937;
  --text-muted: #667085;
  --text-subtle: #98a2b3;

  --primary: #fd6809;
  --primary-hover: #e85d00;
  --primary-glow: rgba(253, 104, 9, 0.20);

  --gradient-primary: #fd6809;
  --gradient-card: #ffffff;

  --violet-primary: #fd6809;
  --emerald-primary: #10b981;
  --cyan-primary: #ff8a3d;
  --rose-primary: #f43f5e;
  --amber-primary: #fd6809;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.09);
  --shadow-glow: 0 0 32px rgba(253, 104, 9, 0.12);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --navbar-bg: rgba(255, 255, 255, 0.94);
  --navbar-bg-scrolled: rgba(255, 255, 255, 0.99);
}

/* ==========================================================================
   DARK MODE
   Add data-theme-mode="dark" to html/body to activate.
   ========================================================================== */

[data-theme-mode="dark"] {
  --bg-main: #0d0f12;
  --bg-card: #15191f;
  --bg-card-hover: #1b2027;
  --bg-glass: rgba(255, 255, 255, 0.05);

  --border-color: rgba(255, 255, 255, 0.09);
  --border-highlight: rgba(253, 104, 9, 0.42);

  --text-main: #f8fafc;
  --text-muted: #a7afb9;
  --text-subtle: #6f7782;

  --primary: #fd6809;
  --primary-hover: #e85d00;
  --primary-glow: rgba(253, 104, 9, 0.28);

  --gradient-primary: #fd6809;
  --gradient-card: #15191f;

  --violet-primary: #fd6809;
  --emerald-primary: #10b981;
  --cyan-primary: #ff8a3d;
  --rose-primary: #f43f5e;
  --amber-primary: #fd6809;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(253, 104, 9, 0.20);

  --navbar-bg: rgba(13, 15, 18, 0.82);
  --navbar-bg-scrolled: rgba(13, 15, 18, 0.96);
}

/* Explicit Light Mode */
[data-theme-mode="light"] {
  color-scheme: light;

  --bg-main: #fffaf5;
  --bg-card: #ffffff;
  --bg-card-hover: #fff2e6;
  --bg-glass: rgba(255, 255, 255, 0.90);

  --border-color: rgba(15, 23, 42, 0.10);
  --border-highlight: rgba(253, 104, 9, 0.38);

  --text-main: #1f2937;
  --text-muted: #667085;
  --text-subtle: #98a2b3;

  --primary: #fd6809;
  --primary-hover: #e85d00;
  --primary-glow: rgba(253, 104, 9, 0.20);

  --gradient-primary: #fd6809;
  --gradient-card: #ffffff;

  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.09);
  --shadow-glow: 0 0 32px rgba(253, 104, 9, 0.12);

  --navbar-bg: rgba(255, 255, 255, 0.94);
  --navbar-bg-scrolled: rgba(255, 255, 255, 0.99);
}


/* ==========================================================================
   GLOBAL RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color-scheme: light;
}

html[data-theme-mode="dark"] {
  color-scheme: dark;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;

  transition:
    background-color var(--transition-normal),
    color var(--transition-normal);
}

/* Prevent horizontal overflow */
img,
svg,
video,
canvas,
iframe,
table {
  max-width: 100%;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* ==========================================================================
   BACKGROUND BLUR SPHERES
   ========================================================================== */

.bg-blur-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blur-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: floatSphere 18s ease-in-out infinite alternate;
}

.sphere-1 {
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: #fd6809;
}

.sphere-2 {
  top: 40%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: #ff8a3d;
}

.sphere-3 {
  bottom: 10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: #06b6d4;
}

@keyframes floatSphere {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(60px, 40px) scale(1.1);
  }

  100% {
    transform: translate(-40px, 80px) scale(0.95);
  }
}


/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ==========================================================================
   BUTTON SYSTEM
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  padding: 0.75rem 1.5rem;

  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;

  border-radius: var(--radius-pill);
  border: 1px solid transparent;

  cursor: pointer;
  text-decoration: none;

  transition: all var(--transition-fast);
  white-space: nowrap;

  background: #fd6809;
  color: #ffffff;
  border-color: #fd6809;
}

.btn-primary {
  background: #fd6809;
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
  background: #e85d00;
  color: #ffffff;
}

.btn-glow {
  position: relative;
  background: #fd6809;
  color: #ffffff;
}

.btn-glow::after {
  content: '';

  position: absolute;
  inset: -2px;

  border-radius: var(--radius-pill);
  background: var(--gradient-primary);

  filter: blur(10px);
  opacity: 0.4;

  z-index: -1;

  transition: opacity var(--transition-fast);
}

.btn-glow:hover::after {
  opacity: 0.8;
}

.btn-secondary {
  background: #fd6809;
  color: #ffffff;
  border-color: #fd6809;
}

.btn-secondary:hover {
  background: #e85d00;
  color: #ffffff;
  border-color: #e85d00;
  transform: translateY(-2px);
}

.btn-light {
  background: #ffffff;
  color: #fd6809;
  border-color: #ffffff;
}

.btn-light:hover {
  background: #fff2e6;
  color: #e85d00;
}

.btn-large {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}


/* ==========================================================================
   NAVBAR
   ========================================================================== */

.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 100;

  padding: 1.1rem 0;

  background: var(--navbar-bg);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border-bottom: 1px solid var(--border-color);

  box-shadow: var(--shadow-sm);

  transition:
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  text-decoration: none;
  min-width: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;

  border-radius: var(--radius-md);

  background: var(--gradient-primary);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 1.25rem;

  box-shadow: 0 4px 15px var(--primary-glow);

  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo-title {
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: 1.35rem;

  color: var(--text-main);

  line-height: 1;
  white-space: nowrap;
}

.logo-title .highlight {
  color: var(--primary);
}

.logo-badge {
  font-size: 0.65rem;
  font-weight: 700;

  background: var(--bg-glass);
  color: var(--primary);

  padding: 2px 6px;

  border-radius: 4px;

  border: 1px solid var(--border-highlight);

  margin-top: 2px;
  width: fit-content;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-muted);

  text-decoration: none;

  font-size: 0.9rem;
  font-weight: 500;

  transition: color var(--transition-fast);

  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link i {
  font-size: 0.85rem;
  opacity: 0.7;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-menu-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;

  margin-left: auto;

  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;

  flex-shrink: 0;
}

.theme-toggle-btn,
.mobile-toggle-btn {
  width: 40px;
  height: 40px;

  border-radius: 50%;

  background: #fff7f0;

  border: 1px solid rgba(253, 104, 9, 0.20);

  color: var(--primary);

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.1rem;

  transition: all var(--transition-fast);

  flex-shrink: 0;
}

.theme-toggle-btn:hover,
.mobile-toggle-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.mobile-toggle-btn {
  display: none;
}


/* ==========================================================================
   DARK MODE NAVBAR / BUTTON OVERRIDES
   ========================================================================== */

[data-theme-mode="dark"] .theme-toggle-btn,
[data-theme-mode="dark"] .mobile-toggle-btn {
  background: var(--bg-glass);
  border-color: var(--border-color);
  color: var(--text-main);
}

[data-theme-mode="dark"] .theme-toggle-btn:hover,
[data-theme-mode="dark"] .mobile-toggle-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  color: var(--primary);
}

[data-theme-mode="dark"] .btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-color);
}

[data-theme-mode="dark"] .btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  color: var(--text-main);
}

[data-theme-mode="dark"] .btn-light {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme-mode="dark"] .btn-light:hover {
  background: rgba(255, 255, 255, 0.25);
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;

  padding-top: 9rem;
  padding-bottom: 5rem;

  z-index: 1;
}

.hero-container {
  display: grid;

  grid-template-columns: 1fr 1.1fr;

  gap: 3.5rem;

  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;

  gap: 0.6rem;

  padding: 0.4rem 1rem;

  border-radius: var(--radius-pill);

  background: var(--bg-glass);

  border: 1px solid var(--border-highlight);

  font-size: 0.85rem;
  font-weight: 600;

  color: var(--text-main);

  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #10b981;

  box-shadow: 0 0 10px #10b981;

  animation: pulse 2s infinite;

  flex-shrink: 0;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.hero-title {
  font-size: 3.2rem;

  letter-spacing: -0.02em;

  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;

  color: var(--text-muted);

  margin-bottom: 1.75rem;

  max-width: 90%;
}

.tech-pills {
  display: flex;

  flex-wrap: wrap;

  gap: 0.6rem;

  margin-bottom: 2rem;
}

.tech-pill {
  padding: 0.35rem 0.85rem;

  border-radius: var(--radius-pill);

  background: var(--bg-card);

  border: 1px solid var(--border-color);

  font-size: 0.8rem;
  font-weight: 600;

  display: flex;
  align-items: center;

  gap: 0.4rem;
}

.color-flutter {
  color: #54c5f8;
}

.color-laravel {
  color: #ff2d20;
}

.color-rtl {
  color: #fd6809;
}

.color-security {
  color: #10b981;
}

.hero-buttons {
  display: flex;

  flex-wrap: wrap;

  gap: 1rem;

  margin-bottom: 2.25rem;
}

.hero-trust {
  display: flex;

  align-items: center;

  gap: 0.8rem;

  flex-wrap: wrap;
}

.trust-avatars {
  display: flex;
}

.trust-avatars .avatar {
  width: 32px;
  height: 32px;

  border-radius: 50%;

  background: var(--gradient-primary);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0.75rem;

  color: #fff;

  border: 2px solid var(--bg-main);

  margin-left: -8px;
}

.trust-avatars .avatar:first-child {
  margin-left: 0;
}

.trust-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* ==========================================================================
   HERO MOCKUP
   ========================================================================== */

.hero-mockup-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  min-width: 0;
}

.mockup-selector-tabs {
  display: flex;

  gap: 0.4rem;

  background: var(--bg-card);

  padding: 0.35rem;

  border-radius: var(--radius-pill);

  border: 1px solid var(--border-color);

  margin-bottom: 1.25rem;

  backdrop-filter: blur(12px);

  max-width: 100%;

  overflow-x: auto;

  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
}

.mockup-selector-tabs::-webkit-scrollbar {
  display: none;
}

.mock-tab {
  background: transparent;

  border: none;

  color: var(--text-muted);

  padding: 0.45rem 0.95rem;

  border-radius: var(--radius-pill);

  font-family: var(--font-primary);

  font-size: 0.82rem;
  font-weight: 600;

  cursor: pointer;

  transition: all var(--transition-fast);

  white-space: nowrap;

  flex-shrink: 0;
}

.mock-tab:hover {
  color: var(--text-main);
}

.mock-tab.active {
  background: var(--gradient-primary);

  color: #ffffff;

  box-shadow: 0 4px 12px var(--primary-glow);
}


/* ==========================================================================
   DEVICE FRAME
   ========================================================================== */

.device-frame {
  position: relative;

  width: 320px;
  max-width: 84vw;

  height: 640px;
  max-height: 78vh;

  background: #000000;

  border-radius: 40px;

  padding: 12px;

  border: 4px solid #2a2d3d;

  box-shadow:
    var(--shadow-md),
    0 0 50px var(--primary-glow);

  transition: all var(--transition-normal);
}

.device-notch {
  position: absolute;

  top: 18px;
  left: 50%;

  transform: translateX(-50%);

  width: 110px;
  height: 22px;

  background: #000;

  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;

  z-index: 10;
}

.device-screen {
  width: 100%;
  height: 100%;

  border-radius: 30px;

  overflow: hidden;

  position: relative;

  font-size: 0.8rem;

  margin-top: 1.5rem;
}

.screen-mock-content {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
}

.app-screen-header {
  padding: 0.8rem 1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(18, 20, 32, 0.9);

  color: #fff;
}

.app-title-bar {
  display: flex;

  align-items: center;

  gap: 0.5rem;

  font-weight: 700;
  font-size: 0.9rem;
}

.app-screen-body {
  padding: 0.8rem;

  flex: 1;

  display: flex;
  flex-direction: column;

  gap: 0.8rem;
}

.mock-banner {
  background: var(--gradient-primary);

  border-radius: 12px;

  padding: 1rem;

  color: #fff;

  position: relative;

  overflow: hidden;
}

.mock-banner h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.mock-banner p {
  font-size: 0.75rem;
  opacity: 0.9;
}

.mock-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 0.6rem;
}

.mock-product-card {
  background: rgba(255, 255, 255, 0.05);

  border-radius: 10px;

  padding: 0.6rem;

  border: 1px solid rgba(255, 255, 255, 0.05);

  color: #fff;
}

.product-img-box {
  height: 70px;

  background: rgba(255, 255, 255, 0.1);

  border-radius: 6px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.5rem;

  margin-bottom: 0.4rem;

  color: var(--primary);
}

.product-title-mock {
  font-size: 0.75rem;

  font-weight: 600;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}

.product-price-mock {
  font-size: 0.7rem;

  color: var(--primary);

  font-weight: 700;
}

.bottom-nav-mock {
  display: flex;

  justify-content: space-around;

  padding: 0.6rem;

  background: #121420;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  font-size: 0.7rem;

  color: #9ca3af;
}

.bottom-nav-item {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 2px;
}

.bottom-nav-item.active {
  color: var(--primary);
}


/* ==========================================================================
   STATS
   ========================================================================== */

.stats-bar {
  background: var(--bg-card);

  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);

  padding: 2rem 0;

  position: relative;

  z-index: 2;
}

.stats-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 2rem;

  text-align: center;
}

.stat-item {
  display: flex;

  flex-direction: column;

  align-items: center;

  min-width: 0;
}

.stat-icon {
  width: 44px;
  height: 44px;

  border-radius: 50%;

  background: var(--bg-glass);

  border: 1px solid var(--border-highlight);

  color: var(--primary);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.1rem;

  margin-bottom: 0.5rem;
}

.stat-number {
  font-family: var(--font-secondary);

  font-size: 2.2rem;

  font-weight: 800;

  color: var(--text-main);

  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;

  color: var(--text-muted);
}


/* ==========================================================================
   SECTION COMMONS
   ========================================================================== */

.section {
  padding: 6rem 0;

  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

.text-center {
  text-align: center;
}

.section-subtitle {
  display: inline-block;

  font-size: 0.85rem;

  font-weight: 700;

  color: var(--primary);

  text-transform: uppercase;

  letter-spacing: 0.08em;

  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;

  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.05rem;

  color: var(--text-muted);

  max-width: 650px;

  margin: 0 auto;
}


/* ==========================================================================
   ECOSYSTEM
   ========================================================================== */

.ecosystem-tabs {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 1rem;

  margin-bottom: 2.5rem;
}

.eco-tab {
  background: var(--bg-card);

  border: 1px solid var(--border-color);

  border-radius: var(--radius-md);

  padding: 1rem;

  display: flex;

  align-items: center;

  gap: 1rem;

  cursor: pointer;

  text-align: left;

  transition: all var(--transition-fast);

  min-width: 0;
}

.eco-tab:hover {
  background: var(--bg-card-hover);

  border-color: var(--border-highlight);
}

.eco-tab.active {
  background: var(--bg-card-hover);

  border-color: var(--primary);

  box-shadow: 0 4px 20px var(--primary-glow);
}

.eco-tab-icon {
  width: 44px;
  height: 44px;

  border-radius: var(--radius-sm);

  background: var(--gradient-primary);

  color: #fff;

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 1.2rem;

  flex-shrink: 0;
}

.eco-tab-info {
  min-width: 0;
}

.eco-tab-info h4 {
  font-size: 0.95rem;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;
}

.eco-tab-info span {
  font-size: 0.75rem;

  color: var(--text-muted);
}

.ecosystem-display {
  background: var(--bg-card);

  border: 1px solid var(--border-color);

  border-radius: var(--radius-lg);

  padding: 2.5rem;

  backdrop-filter: blur(12px);
}

.eco-panel-content {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 3rem;

  align-items: center;
}

.eco-details h3 {
  font-size: 1.8rem;

  margin-bottom: 1rem;
}

.eco-details p {
  color: var(--text-muted);

  margin-bottom: 1.5rem;
}

.feature-checklist {
  list-style: none;

  display: flex;

  flex-direction: column;

  gap: 0.75rem;

  margin-bottom: 2rem;
}

.feature-checklist li {
  display: flex;

  align-items: center;

  gap: 0.75rem;

  font-size: 0.95rem;
}

.feature-checklist li i {
  color: #10b981;
}

.eco-graphic-box {
  background: var(--bg-main);

  border: 1px solid var(--border-color);

  border-radius: var(--radius-md);

  padding: 1.5rem;

  display: flex;

  flex-direction: column;

  gap: 1rem;
}


/* ==========================================================================
   MULTI-THEME ENGINE
   ========================================================================== */

.theme-selector-wrapper {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 0.8rem;

  margin-bottom: 2rem;
}

.theme-btn {
  background: var(--bg-card);

  border: 1px solid var(--border-color);

  color: var(--text-main);

  padding: 0.6rem 1.25rem;

  border-radius: var(--radius-pill);

  font-family: var(--font-primary);

  font-weight: 600;

  font-size: 0.9rem;

  cursor: pointer;

  display: flex;

  align-items: center;

  gap: 0.6rem;

  transition: all var(--transition-fast);
}

.theme-btn:hover {
  border-color: var(--border-highlight);
}

.theme-btn.active {
  background: var(--bg-card-hover);

  border-color: var(--primary);

  box-shadow: 0 4px 15px var(--primary-glow);
}

.color-dot {
  width: 12px;
  height: 12px;

  border-radius: 50%;

  flex-shrink: 0;
}

.dot-violet {
  background: var(--violet-primary);
}

.dot-emerald {
  background: var(--emerald-primary);
}

.dot-cyan {
  background: var(--cyan-primary);
}

.dot-rose {
  background: var(--rose-primary);
}

.dot-amber {
  background: var(--amber-primary);
}

.theme-preview-box {
  background: var(--bg-card);

  border: 1px solid var(--border-color);

  border-radius: var(--radius-lg);

  overflow: hidden;

  box-shadow: var(--shadow-md);
}

.theme-preview-header {
  background: rgba(0, 0, 0, 0.04);

  padding: 0.75rem 1.25rem;

  display: flex;

  align-items: center;

  justify-content: space-between;

  border-bottom: 1px solid var(--border-color);

  gap: 0.75rem;

  flex-wrap: wrap;
}

[data-theme-mode="dark"] .theme-preview-header {
  background: rgba(0, 0, 0, 0.4);
}

.browser-dots {
  display: flex;

  gap: 6px;

  flex-shrink: 0;
}

.browser-dots span {
  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: #ff5f56;
}

.browser-dots span:nth-child(2) {
  background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
  background: #27c93f;
}

.browser-address {
  font-size: 0.8rem;

  color: var(--text-muted);

  background: var(--bg-glass);

  padding: 4px 12px;

  border-radius: 6px;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  min-width: 0;

  flex: 1 1 160px;
}

.theme-status-tag {
  font-size: 0.75rem;

  color: #10b981;

  font-weight: 600;

  display: flex;

  align-items: center;

  gap: 0.4rem;

  flex-shrink: 0;
}

.theme-preview-content {
  padding: 2rem;

  min-height: 380px;

  transition: all var(--transition-normal);
}

.preview-theme-canvas {
  display: flex;

  flex-direction: column;

  gap: 1.5rem;
}

.theme-banner-box {
  padding: 2rem;

  border-radius: var(--radius-md);

  color: #fff;

  display: flex;

  justify-content: space-between;

  align-items: center;
}

.theme-products-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 1rem;
}

.theme-product-card {
  background: var(--bg-main);

  border: 1px solid var(--border-color);

  border-radius: var(--radius-md);

  padding: 1rem;

  display: flex;

  flex-direction: column;

  gap: 0.5rem;
}


/* ==========================================================================
   KEY FEATURES
   ========================================================================== */

.features-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);

  border: 1px solid var(--border-color);

  border-radius: var(--radius-md);

  padding: 1.75rem;

  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);

  background: var(--bg-card-hover);

  border-color: var(--border-highlight);

  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 50px;
  height: 50px;

  border-radius: var(--radius-sm);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 1.4rem;

  margin-bottom: 1.25rem;
}

.icon-violet {
  background: rgba(253, 104, 9, 0.12);
  color: #fd6809;
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
}

.icon-rose {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
}

.icon-amber {
  background: rgba(253, 104, 9, 0.12);
  color: #fd6809;
}

.icon-purple {
  background: rgba(253, 104, 9, 0.12);
  color: #fd6809;
}

.icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.icon-green {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.feature-card h3 {
  font-size: 1.15rem;

  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.9rem;

  color: var(--text-muted);
}


/* ==========================================================================
   LIVE DEMO HUB
   ========================================================================== */

.demo-cards-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 1.5rem;
}

.demo-card {
  background: var(--bg-card);

  border: 1px solid var(--border-color);

  border-radius: var(--radius-md);

  overflow: hidden;

  display: flex;

  flex-direction: column;

  transition: all var(--transition-fast);
}

.demo-card:hover {
  border-color: var(--border-highlight);

  transform: translateY(-4px);
}

.demo-card-header {
  padding: 1.25rem;

  color: #fff;

  display: flex;

  flex-direction: column;

  gap: 0.4rem;
}

.header-admin,
.header-vendor,
.header-customer,
.header-rider {
  background: #fd6809;
}

.demo-card-header i {
  font-size: 1.5rem;
}

.demo-card-header h3 {
  font-size: 1.1rem;

  color: #fff;
}

.demo-tag {
  font-size: 0.7rem;

  background: rgba(255, 255, 255, 0.2);

  padding: 2px 8px;

  border-radius: 4px;

  width: fit-content;
}

.demo-card-body {
  padding: 1.25rem;

  flex: 1;

  display: flex;

  flex-direction: column;

  gap: 1rem;
}

.demo-card-body p {
  font-size: 0.85rem;

  color: var(--text-muted);
}

.credential-box {
  background: var(--bg-main);

  border: 1px solid var(--border-color);

  border-radius: var(--radius-sm);

  padding: 0.75rem;

  font-size: 0.8rem;

  display: flex;

  flex-direction: column;

  gap: 0.3rem;
}

.cred-row {
  display: flex;

  justify-content: space-between;

  gap: 0.5rem;

  flex-wrap: wrap;
}

.cred-row code {
  color: var(--primary);

  font-family: monospace;

  word-break: break-word;
}

.credential-box code a {
  color: var(--text-muted);
}

.demo-actions {
  display: flex;

  gap: 0.5rem;

  margin-top: auto;

  flex-wrap: wrap;
}

.demo-actions .btn {
  flex: 1;

  min-width: 120px;
}


/* ==========================================================================
   PRICING
   ========================================================================== */

.pricing-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 2rem;

  align-items: stretch;
}

.price-card {
  background: var(--bg-card);

  border: 1px solid var(--border-color);

  border-radius: var(--radius-lg);

  padding: 2.25rem;

  display: flex;

  flex-direction: column;

  position: relative;

  transition: all var(--transition-normal);
}

.price-card.featured {
  border-color: var(--primary);

  box-shadow: 0 0 40px var(--primary-glow);

  transform: scale(1.03);
}

.popular-badge {
  position: absolute;

  top: -14px;

  left: 50%;

  transform: translateX(-50%);

  background: var(--gradient-primary);

  color: #fff;

  padding: 4px 16px;

  border-radius: var(--radius-pill);

  font-size: 0.75rem;

  font-weight: 700;

  box-shadow: 0 4px 12px var(--primary-glow);

  white-space: nowrap;
}

.price-header {
  margin-bottom: 1.5rem;

  padding-bottom: 1.5rem;

  border-bottom: 1px solid var(--border-color);
}

.price-header h3 {
  font-size: 1.4rem;

  margin-bottom: 0.4rem;
}

.price-header p {
  font-size: 0.85rem;

  color: var(--text-muted);
}

.price-amount {
  font-family: var(--font-secondary);

  font-size: 2.8rem;

  font-weight: 800;

  margin-top: 1rem;

  color: var(--text-main);
}

.price-amount span {
  font-size: 0.9rem;

  font-weight: 500;

  color: var(--text-muted);
}

.price-features {
  list-style: none;

  display: flex;

  flex-direction: column;

  gap: 0.85rem;

  margin-bottom: 2rem;

  flex: 1;
}

.price-features li {
  font-size: 0.9rem;

  display: flex;

  align-items: center;

  gap: 0.6rem;
}

.price-features li i {
  color: #10b981;
}

.price-features li.disabled {
  color: var(--text-subtle);
}

.price-features li.disabled i {
  color: var(--text-subtle);
}


/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-accordion {
  max-width: 800px;

  margin: 0 auto;

  display: flex;

  flex-direction: column;

  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);

  border: 1px solid var(--border-color);

  border-radius: var(--radius-md);

  overflow: hidden;

  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;

  background: transparent;

  border: none;

  padding: 1.25rem 1.5rem;

  color: var(--text-main);

  font-family: var(--font-primary);

  font-size: 1.05rem;

  font-weight: 600;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 1rem;

  cursor: pointer;

  text-align: left;
}

.faq-question i {
  transition: transform var(--transition-fast);

  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;

  overflow: hidden;

  transition:
    max-height 0.35s ease,
    padding 0.35s ease;

  padding: 0 1.5rem;

  color: var(--text-muted);

  font-size: 0.95rem;
}

.faq-item.active {
  border-color: var(--border-highlight);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 300px;

  padding: 0 1.5rem 1.25rem 1.5rem;
}


/* ==========================================================================
   CTA
   ========================================================================== */

.cta-banner {
  background: #fd6809;

  padding: 4.5rem 0;

  position: relative;

  overflow: hidden;
}

.cta-container {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 2rem;

  position: relative;

  z-index: 2;
}

.cta-content h2 {
  font-size: 2.2rem;

  color: #fff;

  margin-bottom: 0.5rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);

  font-size: 1.1rem;
}

.cta-actions {
  display: flex;

  gap: 1rem;

  flex-wrap: wrap;
}

.cta-banner .btn-light {
  background: #ffffff;

  color: #fd6809;

  border-color: #ffffff;
}

.cta-banner .btn-light:hover {
  background: #fff2e6;

  color: #e85d00;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: #17120e;

  border-top: 1px solid var(--border-color);

  padding-top: 5rem;

  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;

  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;

  gap: 3rem;

  margin-bottom: 3.5rem;
}

.brand-col p {
  color: #a7afb9;

  font-size: 0.9rem;

  margin: 1.25rem 0;
}

.social-links {
  display: flex;

  gap: 0.6rem;

  flex-wrap: wrap;
}

.social-links a {
  width: 36px;
  height: 36px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.09);

  color: #a7afb9;

  display: flex;

  align-items: center;

  justify-content: center;

  text-decoration: none;

  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--primary);

  color: #fff;

  border-color: var(--primary);
}

.footer-col h4 {
  font-size: 1.05rem;

  margin-bottom: 1.25rem;

  color: #ffffff;
}

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

  display: flex;

  flex-direction: column;

  gap: 0.6rem;
}

.footer-col ul li a {
  color: #a7afb9;

  text-decoration: none;

  font-size: 0.9rem;

  transition: color var(--transition-fast);
}

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

.footer-col p {
  font-size: 0.88rem;

  color: #a7afb9;

  margin-bottom: 0.6rem;

  word-break: break-word;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);

  padding-top: 1.75rem;

  font-size: 0.85rem;

  color: #a7afb9;
}

.footer-bottom-flex {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 1rem;

  flex-wrap: wrap;
}

.footer-terms {
  display: flex;

  gap: 1.5rem;

  flex-wrap: wrap;
}

.footer-terms a {
  color: #a7afb9;

  text-decoration: none;

  transition: color var(--transition-fast);
}

.footer-terms a:hover {
  color: var(--primary);
}


/* ==========================================================================
   MODALS
   ========================================================================== */

.modal-overlay {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.65);

  backdrop-filter: blur(16px);

  z-index: 1000;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 1.5rem;

  opacity: 0;

  pointer-events: none;

  transition: opacity var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;

  pointer-events: auto;
}

.modal-container {
  background: var(--bg-card);

  border: 1px solid var(--border-highlight);

  border-radius: var(--radius-lg);

  width: 100%;

  box-shadow: var(--shadow-md);

  overflow: hidden;

  transform: translateY(20px);

  transition: transform var(--transition-fast);

  max-height: 90vh;

  display: flex;

  flex-direction: column;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.demo-modal-box {
  max-width: 950px;

  height: 650px;

  display: flex;

  flex-direction: column;
}

.inquiry-modal-box {
  max-width: 600px;
}

.modal-header {
  padding: 1rem 1.5rem;

  background: var(--bg-main);

  border-bottom: 1px solid var(--border-color);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 1rem;

  flex-shrink: 0;
}

.modal-title {
  font-family: var(--font-secondary);

  font-weight: 700;

  font-size: 1.1rem;

  display: flex;

  align-items: center;

  gap: 0.6rem;

  min-width: 0;

  color: var(--text-main);
}

.modal-close {
  background: transparent;

  border: none;

  color: var(--text-muted);

  font-size: 1.5rem;

  cursor: pointer;

  flex-shrink: 0;

  line-height: 1;

  padding: 0.25rem;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-body {
  padding: 1.5rem;

  flex: 1;

  overflow-y: auto;
}


/* ==========================================================================
   DEMO MODAL
   ========================================================================== */

.demo-frame-bar {
  display: flex;

  justify-content: space-between;

  align-items: center;

  background: var(--bg-main);

  padding: 0.6rem 1rem;

  border-radius: var(--radius-sm);

  margin-bottom: 1rem;

  gap: 0.75rem;

  flex-wrap: wrap;
}

.demo-tabs-switch {
  display: flex;

  gap: 0.4rem;

  flex-wrap: wrap;
}

.demo-frame-tab {
  background: transparent;

  border: 1px solid var(--border-color);

  color: var(--text-muted);

  padding: 0.4rem 0.8rem;

  border-radius: var(--radius-pill);

  font-size: 0.8rem;

  font-weight: 600;

  cursor: pointer;
}

.demo-frame-tab.active {
  background: var(--primary);

  color: #fff;

  border-color: var(--primary);
}

.demo-cred-hint {
  font-size: 0.8rem;

  color: var(--text-muted);

  word-break: break-word;
}

.demo-canvas-viewport {
  height: 480px;

  background: var(--bg-main);

  border-radius: var(--radius-sm);

  border: 1px solid var(--border-color);

  padding: 1rem;

  overflow-y: auto;
}


/* ==========================================================================
   INQUIRY FORM
   ========================================================================== */

.inquiry-form {
  display: flex;

  flex-direction: column;

  gap: 1rem;
}

.form-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 1rem;
}

.form-group {
  display: flex;

  flex-direction: column;

  gap: 0.4rem;

  min-width: 0;
}

.form-group label {
  font-size: 0.85rem;

  font-weight: 600;

  color: var(--text-main);
}

.form-control {
  background: var(--bg-main);

  border: 1px solid var(--border-color);

  border-radius: var(--radius-sm);

  padding: 0.7rem 1rem;

  color: var(--text-main);

  font-family: var(--font-primary);

  font-size: 0.9rem;

  outline: none;

  transition: border-color var(--transition-fast);

  width: 100%;
}

.form-control:focus {
  border-color: var(--primary);

  box-shadow: 0 0 0 3px rgba(253, 104, 9, 0.10);
}

.form-control::placeholder {
  color: var(--text-subtle);
}

.form-success-msg {
  display: none;

  text-align: center;

  padding: 2rem 0;
}

.success-icon {
  font-size: 3rem;

  color: #10b981;

  margin-bottom: 1rem;
}


/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */

.whatsapp-float {
  position: fixed;

  bottom: 24px;
  right: 24px;

  width: 58px;
  height: 58px;

  border-radius: 50%;

  background: #25d366;

  color: #ffffff;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 1.8rem;

  text-decoration: none;

  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);

  z-index: 999;

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);

  animation: whatsappPulse 2.4s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);

  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.65);
}

@keyframes whatsappPulse {
  0% {
    box-shadow:
      0 6px 20px rgba(37, 211, 102, 0.5),
      0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  70% {
    box-shadow:
      0 6px 20px rgba(37, 211, 102, 0.5),
      0 0 0 14px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow:
      0 6px 20px rgba(37, 211, 102, 0.5),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}


/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */

.toast-container {
  position: fixed;

  bottom: 96px;

  right: 20px;
  left: 20px;

  z-index: 2000;

  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 0.5rem;

  pointer-events: none;
}

.toast {
  background: var(--bg-card);

  border: 1px solid var(--border-highlight);

  border-radius: var(--radius-md);

  padding: 0.75rem 1.25rem;

  color: var(--text-main);

  font-size: 0.85rem;

  display: flex;

  align-items: center;

  gap: 0.6rem;

  box-shadow: var(--shadow-md);

  animation: slideInToast 0.3s ease;

  max-width: 100%;
}

@keyframes slideInToast {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */


/* ---- Tablet Landscape <=1024px ---- */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 1.75rem auto;
  }

  .tech-pills,
  .hero-buttons,
  .hero-trust {
    justify-content: center;
  }

  .hero-mockup-wrapper {
    margin-top: 1rem;
  }

  .features-grid,
  .demo-cards-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 1.1rem;
  }

  .theme-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ecosystem-tabs {
    display: flex;

    grid-template-columns: none;

    overflow-x: auto;

    gap: 0.85rem;

    padding-bottom: 0.5rem;

    margin-bottom: 2rem;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
  }

  .ecosystem-tabs::-webkit-scrollbar {
    display: none;
  }

  .eco-tab {
    flex: 0 0 auto;

    width: 230px;
  }

  .pricing-grid {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 2rem;

    max-width: 100%;
  }

  .price-card {
    flex: 0 1 calc(50% - 1rem);

    min-width: 280px;
  }

  .price-card.featured {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .eco-panel-content {
    grid-template-columns: 1fr;

    gap: 2rem;
  }

  .nav-menu {
    gap: 1.1rem;
  }
}


/* ---- Tablet Portrait <=900px ---- */

@media (max-width: 900px) {
  .nav-menu {
    display: none;

    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    max-height: calc(100vh - 100%);

    overflow-y: auto;

    background: var(--navbar-bg-scrolled);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    flex-direction: column;

    align-items: flex-start;

    gap: 0.25rem;

    padding: 1rem 1.5rem 1.5rem;

    border-bottom: 1px solid var(--border-color);

    box-shadow: var(--shadow-md);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu .nav-link {
    width: 100%;

    padding: 0.75rem 0.25rem;

    border-bottom: 1px solid var(--border-color);
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .nav-menu-actions {
    margin-left: 0;

    width: 100%;

    margin-top: 0.5rem;

    padding-top: 1rem;

    border-top: 1px solid var(--border-color);
  }

  .nav-menu-actions #openDemoModalNav {
    flex: 1;
  }

  .nav-menu-actions .btn-label {
    display: inline;
  }

  .nav-actions {
    gap: 0.6rem;
  }
}


/* ---- Large Phones / Small Tablets <=768px ---- */

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero-section {
    padding-top: 7.5rem;

    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;

    max-width: 100%;
  }

  .hero-badge {
    font-size: 0.78rem;

    text-align: left;
  }

  .device-frame {
    width: 280px;

    height: 560px;
  }

  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 1.85rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-description {
    font-size: 0.95rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .features-grid,
  .demo-cards-grid {
    grid-template-columns: 1fr;

    gap: 1rem;
  }

  .feature-card {
    padding: 1.35rem;
  }

  .feature-icon {
    width: 44px;
    height: 44px;

    font-size: 1.25rem;

    margin-bottom: 1rem;
  }

  .eco-tab {
    width: 210px;
  }

  .theme-products-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 0.75rem;
  }

  .theme-banner-box {
    flex-direction: column;

    align-items: flex-start;

    gap: 1.25rem;

    padding: 1.5rem;
  }

  .theme-banner-box h2 {
    font-size: 1.4rem;
  }

  .theme-preview-content {
    padding: 1.25rem;

    min-height: unset;
  }

  .theme-preview-header {
    padding: 0.6rem 0.85rem;
  }

  .browser-address {
    order: 3;

    flex-basis: 100%;

    text-align: center;
  }

  .ecosystem-display {
    padding: 1.5rem;
  }

  .eco-details h3 {
    font-size: 1.35rem;
  }

  .eco-details > div[style*="display:flex"] {
    flex-direction: column;
  }

  .pricing-grid {
    max-width: 100%;

    gap: 1rem;
  }

  .price-card {
    padding: 1.35rem;
  }

  .price-header {
    margin-bottom: 1rem;

    padding-bottom: 1rem;
  }

  .price-features {
    gap: 0.6rem;

    margin-bottom: 1.25rem;
  }

  .price-amount {
    font-size: 2.2rem;

    margin-top: 0.6rem;
  }

  .cta-banner {
    padding: 3rem 0;
  }

  .cta-container {
    flex-direction: column;

    text-align: center;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .cta-actions {
    justify-content: center;

    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 auto;
  }

  .footer {
    padding-top: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 2.25rem;

    margin-bottom: 2.5rem;
  }

  .footer-bottom-flex {
    flex-direction: column;

    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .demo-modal-box {
    height: 85vh;
  }

  .demo-canvas-viewport {
    height: auto;

    max-height: 55vh;
  }

  .modal-body {
    padding: 1.1rem;
  }
}


/* ---- Phones <=600px ---- */

@media (max-width: 600px) {
  .whatsapp-float {
    width: 50px;

    height: 50px;

    font-size: 1.55rem;

    bottom: 16px;

    right: 16px;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .device-frame {
    width: 250px;

    height: 500px;

    border-width: 3px;

    padding: 10px;
  }

  .mockup-selector-tabs {
    justify-content: flex-start;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 1.25rem;
  }

  .stat-icon {
    width: 38px;

    height: 38px;

    font-size: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .eco-tab {
    padding: 0.85rem;

    gap: 0.75rem;
  }

  .theme-selector-wrapper {
    justify-content: flex-start;

    overflow-x: auto;

    flex-wrap: nowrap;

    padding-bottom: 0.25rem;

    -webkit-overflow-scrolling: touch;
  }

  .theme-btn {
    flex-shrink: 0;
  }

  .theme-products-grid {
    grid-template-columns: 1fr 1fr;

    gap: 0.6rem;
  }

  .features-grid,
  .demo-cards-grid {
    gap: 0.85rem;
  }

  .feature-card {
    padding: 1.15rem;
  }

  .feature-icon {
    width: 40px;

    height: 40px;

    font-size: 1.15rem;

    margin-bottom: 0.85rem;
  }

  .feature-card h3 {
    font-size: 1.05rem;

    margin-bottom: 0.4rem;
  }

  .pricing-grid {
    gap: 1rem;
  }

  .price-card {
    flex: 1 1 100%;

    max-width: 420px;

    padding: 1.35rem;
  }

  .price-header {
    margin-bottom: 1rem;

    padding-bottom: 1rem;
  }

  .price-features {
    gap: 0.6rem;

    margin-bottom: 1.25rem;
  }

  .popular-badge {
    font-size: 0.68rem;

    padding: 4px 12px;
  }

  .demo-card-header {
    padding: 1rem;
  }

  .demo-actions {
    flex-direction: column;
  }

  .demo-actions .btn {
    width: 100%;
  }

  .credential-box {
    font-size: 0.75rem;
  }

  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-title {
    font-size: 1rem;
  }

  .demo-frame-bar {
    flex-direction: column;

    align-items: flex-start;
  }

  .demo-tabs-switch {
    width: 100%;
  }

  .demo-frame-tab {
    flex: 1;

    text-align: center;
  }

  .toast-container {
    bottom: 78px;

    right: 12px;

    left: 12px;

    align-items: stretch;
  }

  .toast {
    justify-content: center;
  }
}


/* ---- Small Phones <=420px ---- */

@media (max-width: 420px) {
  .container {
    padding: 0 1rem;
  }

  .logo-title {
    font-size: 1.15rem;
  }

  .logo-badge {
    display: none;
  }

  .hero-section {
    padding-top: 6.5rem;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .hero-badge span:last-child {
    font-size: 0.72rem;
  }

  .tech-pills {
    gap: 0.4rem;
  }

  .tech-pill {
    font-size: 0.72rem;

    padding: 0.3rem 0.7rem;
  }

  .device-frame {
    width: 220px;

    height: 440px;

    border-radius: 30px;
  }

  .device-screen {
    border-radius: 22px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mock-grid {
    grid-template-columns: 1fr 1fr;
  }

  .theme-products-grid {
    grid-template-columns: 1fr;
  }

  .price-amount {
    font-size: 2rem;
  }

  .price-features li {
    font-size: 0.85rem;
  }

  .faq-question {
    padding: 1rem 1.1rem;

    font-size: 0.95rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.1rem 1.1rem 1.1rem;
  }

  .modal-header {
    padding: 0.85rem 1rem;
  }

  .modal-body {
    padding: 0.9rem;
  }

  .inquiry-modal-box .form-control {
    font-size: 0.85rem;
  }
}


/* ==========================================================================
   LIGHT MODE FINAL OVERRIDES
   ========================================================================== */

[data-theme-mode="light"] body,
[data-theme-mode="light"] .hero-section,
[data-theme-mode="light"] .section,
[data-theme-mode="light"] .stats-bar {
  background-color: #fffaf5;

  color: #1f2937;
}

[data-theme-mode="light"] h1,
[data-theme-mode="light"] h2,
[data-theme-mode="light"] h3,
[data-theme-mode="light"] h4,
[data-theme-mode="light"] h5,
[data-theme-mode="light"] h6,
[data-theme-mode="light"] .logo-title,
[data-theme-mode="light"] .stat-number,
[data-theme-mode="light"] .faq-question,
[data-theme-mode="light"] .theme-btn {
  color: #1f2937;
}

[data-theme-mode="light"] .hero-subtitle,
[data-theme-mode="light"] .section-description,
[data-theme-mode="light"] .feature-card p,
[data-theme-mode="light"] .demo-card-body p,
[data-theme-mode="light"] .price-header p,
[data-theme-mode="light"] .faq-answer,
[data-theme-mode="light"] .stat-label,
[data-theme-mode="light"] .trust-text,
[data-theme-mode="light"] .footer-col p {
  color: #667085;
}


/* ==========================================================================
   LIGHT MODE NAVBAR
   ========================================================================== */

[data-theme-mode="light"] .navbar-header {
  background: rgba(255, 255, 255, 0.94);

  border-bottom-color: rgba(15, 23, 42, 0.08);

  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

[data-theme-mode="light"] .nav-link {
  color: #475467;
}

[data-theme-mode="light"] .nav-link:hover,
[data-theme-mode="light"] .nav-link.active {
  color: #fd6809;
}


/* ==========================================================================
   LIGHT MODE CARDS
   ========================================================================== */

[data-theme-mode="light"] .feature-card,
[data-theme-mode="light"] .demo-card,
[data-theme-mode="light"] .price-card,
[data-theme-mode="light"] .faq-item,
[data-theme-mode="light"] .ecosystem-display,
[data-theme-mode="light"] .theme-preview-box,
[data-theme-mode="light"] .eco-tab,
[data-theme-mode="light"] .mockup-selector-tabs {
  background: #ffffff;

  border-color: rgba(15, 23, 42, 0.09);

  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
}

[data-theme-mode="light"] .feature-card:hover,
[data-theme-mode="light"] .demo-card:hover,
[data-theme-mode="light"] .price-card:hover,
[data-theme-mode="light"] .eco-tab:hover,
[data-theme-mode="light"] .faq-item:hover {
  background: #fffaf5;

  border-color: rgba(253, 104, 9, 0.32);
}

[data-theme-mode="light"] .eco-tab.active,
[data-theme-mode="light"] .theme-btn.active {
  background: #fff2e6;

  border-color: #fd6809;
}


/* ==========================================================================
   LIGHT MODE INPUTS
   ========================================================================== */

[data-theme-mode="light"] .form-control {
  background: #ffffff;

  color: #1f2937;

  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme-mode="light"] .form-control:focus {
  background: #ffffff;

  color: #1f2937;

  border-color: #fd6809;

  box-shadow: 0 0 0 3px rgba(253, 104, 9, 0.10);
}

[data-theme-mode="light"] .form-control::placeholder {
  color: #98a2b3;
}


/* ==========================================================================
   LIGHT MODE MODALS
   ========================================================================== */

[data-theme-mode="light"] .modal-container {
  background: #ffffff;

  color: #1f2937;

  border-color: rgba(253, 104, 9, 0.20);

  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.16);
}

[data-theme-mode="light"] .modal-header {
  background: #fffaf5;

  color: #1f2937;

  border-bottom-color: rgba(15, 23, 42, 0.08);
}


/* ==========================================================================
   LIGHT MODE DEMO SURFACES
   ========================================================================== */

[data-theme-mode="light"] .demo-frame-bar,
[data-theme-mode="light"] .demo-canvas-viewport,
[data-theme-mode="light"] .credential-box,
[data-theme-mode="light"] .eco-graphic-box {
  background: #fff7f0;

  border-color: rgba(253, 104, 9, 0.12);
}


/* ==========================================================================
   LIGHT MODE PRICING
   ========================================================================== */

[data-theme-mode="light"] .price-card.featured {
  border-color: #fd6809;

  box-shadow: 0 12px 36px rgba(253, 104, 9, 0.14);
}


/* ==========================================================================
   LIGHT MODE MOBILE MENU
   ========================================================================== */

@media (max-width: 900px) {
  [data-theme-mode="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.99);

    border-bottom-color: rgba(15, 23, 42, 0.08);

    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  }

  [data-theme-mode="light"] .nav-menu .nav-link {
    color: #475467;

    border-bottom-color: rgba(15, 23, 42, 0.07);
  }

  [data-theme-mode="light"] .nav-menu .nav-link:hover,
  [data-theme-mode="light"] .nav-menu .nav-link.active {
    color: #fd6809;
  }

  [data-theme-mode="light"] .nav-menu-actions {
    border-top-color: rgba(15, 23, 42, 0.08);
  }
}


/* ==========================================================================
   DEVICE MOCKUP ALWAYS DARK
   ========================================================================== */

.device-frame,
.device-notch {
  background-color: #000000;
}



/* ==========================================================================
   DARK MODE SPECIFIC COMPONENT OVERRIDES
   ========================================================================== */

[data-theme-mode="dark"] .footer {
  background: #06070a;
}

[data-theme-mode="dark"] .footer-col h4 {
  color: #ffffff;
}

[data-theme-mode="dark"] .footer-col ul li a,
[data-theme-mode="dark"] .footer-col p,
[data-theme-mode="dark"] .footer-bottom,
[data-theme-mode="dark"] .footer-terms a,
[data-theme-mode="dark"] .brand-col p {
  color: #a7afb9;
}

[data-theme-mode="dark"] .footer-col ul li a:hover,
[data-theme-mode="dark"] .footer-terms a:hover {
  color: #fd6809;
}

[data-theme-mode="dark"] .theme-preview-header {
  background: rgba(0, 0, 0, 0.4);
}

[data-theme-mode="dark"] .browser-address {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme-mode="dark"] .demo-frame-bar,
[data-theme-mode="dark"] .demo-canvas-viewport,
[data-theme-mode="dark"] .credential-box,
[data-theme-mode="dark"] .eco-graphic-box {
  background: var(--bg-main);
}

[data-theme-mode="dark"] .form-control {
  background: var(--bg-main);
  color: var(--text-main);
}

[data-theme-mode="dark"] .modal-header {
  background: rgba(0, 0, 0, 0.4);
}

.explore-btn a{
  color: #ffffff;
}

/* ==========================================================================
   END OF HYPERSTORE DESIGN SYSTEM
   ========================================================================== */