/* SMitBD Design System & Stylesheet
   Modern, Ultra-Fast, Sleek & Compact UI for Bangladesh's Leading eCommerce Solution Provider */

:root {
  --primary: #FF5A1F;
  --primary-hover: #E04810;
  --primary-light: rgba(255, 90, 31, 0.08);
  --primary-glow: rgba(255, 90, 31, 0.25);
  
  --secondary: #1E293B;
  --dark: #0A0F1D;
  --dark-surface: #111827;
  --dark-card: #1F2937;
  
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --bg-main: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;

  --accent-green: #10B981;
  --accent-blue: #3B82F6;
  --accent-purple: #8B5CF6;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 28px rgba(15, 23, 42, 0.09);
  --shadow-glow: 0 8px 24px rgba(255, 90, 31, 0.2);
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-bn: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #FF5A1F 0%, #FF8A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-dark {
  background: linear-gradient(135deg, #0F172A 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  padding: 0 12px;
}

.site-header .container {
  max-width: 1280px;
  padding: 0 16px;
}

.site-header.scrolled {
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
  background: rgba(255, 255, 255, 0.98);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-badge-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
  white-space: nowrap;
}

.logo-badge-text span {
  color: var(--primary);
}

.logo-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  display: inline-block;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  background: #F1F5F9;
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid var(--border-color);
}

.lang-btn {
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 4px rgba(255, 90, 31, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 3px 10px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(255, 90, 31, 0.35);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-dark:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.15);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: #20BA59;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(37, 211, 102, 0.4);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-lg {
  padding: 11px 22px;
  font-size: 14.5px;
}

/* Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  color: var(--text-main);
}

/* Mobile Menu Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav-drawer.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.mobile-nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 98px;
  padding-bottom: 45px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 90, 31, 0.05) 0%, rgba(255, 255, 255, 0) 70%),
              linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  overflow: hidden;
  text-align: center;
}

.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to right, rgba(226, 232, 240, 0.35) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(226, 232, 240, 0.35) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.5;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  z-index: 10;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(255, 90, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 860px;
  margin: 0 auto 12px;
  position: relative;
  z-index: 10;
}

.hero-subtitle {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 22px;
  line-height: 1.5;
  position: relative;
  z-index: 10;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
}

.hero-features-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.hero-feature-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-feature-pill svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Hero Showcase Mockup */
.hero-mockup-wrap {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.6);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.hero-mockup-img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

/* Floating Stats Badge */
.floating-stat-badge {
  position: absolute;
  background: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
  animation: float-anim 4s ease-in-out infinite;
}

.stat-left {
  top: 12%;
  left: -14px;
}

.stat-right {
  bottom: 16%;
  right: -14px;
  animation-delay: 2s;
}

@keyframes float-anim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.stat-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.stat-icon-wrap.orange {
  background: var(--primary-light);
  color: var(--primary);
}

.stat-icon-wrap.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
}

.stat-info h4 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.stat-info p {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Partners & Ecosystem Section */
.ecosystem-section {
  padding: 24px 0;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.ecosystem-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.ecosystem-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ecosystem-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--secondary);
  transition: var(--transition);
}

.ecosystem-pill:hover {
  background: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.ecosystem-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

/* Sections General */
.section {
  padding: 48px 0;
  position: relative;
}

.section-bg-alt {
  background: var(--bg-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
}

.section-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Portfolio / Demo Showcase */
.demo-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-tab {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  box-shadow: var(--shadow-sm);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.demo-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.demo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.demo-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #F1F5F9;
}

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

.demo-card:hover .demo-card-thumb img {
  transform: scale(1.03);
}

.demo-overlay-actions {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.25s ease;
  padding: 16px;
}

.demo-card:hover .demo-overlay-actions {
  opacity: 1;
}

.demo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
  z-index: 5;
}

.demo-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.demo-card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 5px;
}

.demo-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
  flex-grow: 1;
}

.demo-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.demo-tag-item {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.demo-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

/* Feature Grid Cards */
.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.feature-box {
  background: #fff;
  padding: 20px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.feature-box:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-box h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-box p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.feature-badge-list {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-mini-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Growth & Stats Banner */
.stats-banner {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}

.stat-item h3 span {
  color: var(--primary);
}

.stat-item p {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary-light);
  color: var(--primary);
}

.faq-answer {
  padding: 0 18px 14px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer Section */
.site-footer {
  background: #0A0F1D;
  color: #94A3B8;
  padding: 48px 0 24px;
  border-top: 1px solid #1E293B;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.5;
  max-width: 320px;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 3px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: #1E293B;
  border-radius: var(--radius-full);
  color: #F8FAFC;
  font-weight: 600;
  font-size: 11.5px;
  border: 1px solid #334155;
  transition: var(--transition);
}

.footer-badge-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Interactive Device Preview Modal */
.preview-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.preview-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content-wrap {
  background: #fff;
  width: 100%;
  max-width: 1000px;
  height: 85vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  animation: modal-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  0% { transform: scale(0.96); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-header-bar {
  background: #0F172A;
  color: #fff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-device-toggles {
  display: flex;
  gap: 6px;
  background: #1E293B;
  padding: 3px;
  border-radius: var(--radius-sm);
}

.device-btn {
  background: transparent;
  color: #94A3B8;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
}

.device-btn.active {
  background: var(--primary);
  color: #fff;
}

.modal-body-viewport {
  flex-grow: 1;
  background: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 14px;
}

.viewport-frame {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  overflow-y: auto;
  transition: width 0.25s ease, height 0.25s ease;
}

.viewport-frame.tablet {
  max-width: 768px;
}

.viewport-frame.mobile {
  max-width: 380px;
  border-radius: 20px;
  border: 6px solid #1E293B;
}

.modal-footer-bar {
  background: #fff;
  border-top: 1px solid var(--border-color);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Floating WhatsApp Quick Action */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
  width: 20px;
  height: 20px;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .btn-call { display: none; }
}

@media (max-width: 1024px) {
  .hero-title { font-size: 34px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-header { padding: 0 6px; }
  .site-header .container { padding: 0 10px; }
  .nav-wrap { height: 56px; gap: 8px; }
  .logo-tag { display: none !important; }
  .brand-logo { gap: 6px; }
  .logo-badge-text { font-size: 17px; }
  
  .nav-actions { gap: 6px; }
  .lang-switch { padding: 1.5px; }
  .lang-btn { padding: 2.5px 7px; font-size: 10.5px; }
  
  .btn-header-wa {
    padding: 6px 10px !important;
    font-size: 11.5px !important;
    gap: 4px !important;
  }
  
  .nav-links, .nav-actions .btn-call { display: none; }
  .mobile-toggle { display: none; } /* not needed since all actions fit directly */

  .hero-section { padding-top: 76px; padding-bottom: 32px; }
  .hero-title { font-size: 27px; line-height: 1.2; margin-bottom: 10px; }
  .hero-subtitle { font-size: 13.5px; margin-bottom: 16px; padding: 0 6px; }
  .hero-badge-pill { font-size: 11px; padding: 3px 10px; margin-bottom: 12px; }
  
  /* Hero buttons strictly in ONE line on mobile */
  .hero-cta-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto 18px !important;
    padding: 0 8px !important;
  }

  .hero-cta-group .btn {
    flex: 1 1 50% !important;
    min-width: 0 !important;
    padding: 9px 6px !important;
    font-size: 11.5px !important;
    gap: 4px !important;
    white-space: nowrap !important;
    letter-spacing: -0.01em;
  }

  .hero-cta-group .btn svg {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0 !important;
  }

  .hero-features-strip {
    gap: 10px 16px;
    margin-bottom: 20px;
  }
  .hero-feature-pill {
    font-size: 11.5px;
  }

  .floating-stat-badge { display: none; }
  .hero-mockup-wrap { padding: 4px; border-radius: var(--radius-md); }
  .hero-mockup-img { border-radius: 6px; }

  .section { padding: 36px 0; }
  .section-header { margin-bottom: 20px; }
  .section-title { font-size: 24px; }
  .section-subtitle { font-size: 13.5px; }

  .demo-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-grid-3 { grid-template-columns: 1fr; gap: 12px; }
  
  .stats-banner { padding: 24px 16px; gap: 16px; grid-template-columns: 1fr 1fr; }
  .stat-item h3 { font-size: 26px; }
  .stat-item p { font-size: 12px; }

  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }

  .floating-whatsapp {
    bottom: 14px;
    right: 14px;
    padding: 8px 14px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .hero-cta-group .btn {
    font-size: 10.5px !important;
    padding: 8px 4px !important;
  }
  .brand-logo svg {
    width: 30px;
    height: 30px;
  }
  .logo-badge-text {
    font-size: 15px;
  }
  .lang-btn {
    padding: 2px 5px;
    font-size: 10px;
  }
}
