/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1E293B;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===========================
   UTILITIES
   =========================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: #64748B;
  line-height: 1.7;
}

.section-header.light h2 { color: #fff; }
.section-header.light p { color: rgba(255,255,255,0.75); }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3B82F6;
  background: #EFF6FF;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.bm-tag { color: #2563EB; background: #DBEAFE; }
.dsm-tag { color: #7C3AED; background: #EDE9FE; }
.tts-tag { color: #0D9488; background: #CCFBF1; }
.cfm-tag { color: #F59E0B; background: #FEF3C7; }
.white-tag { color: #fff; background: rgba(255,255,255,0.15); }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: #3B82F6;
  color: #fff;
  border-color: #3B82F6;
}
.btn-primary:hover { background: #2563EB; border-color: #2563EB; transform: translateY(-1px); box-shadow: 0 8px 25px rgba(59,130,246,0.35); }

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-1px); }

.btn-outline-blue {
  background: transparent;
  color: #3B82F6;
  border-color: #3B82F6;
}
.btn-outline-blue:hover { background: #3B82F6; color: #fff; transform: translateY(-1px); }

.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  padding: 12px 0;
}

.navbar.scrolled .nav-links a { color: #1E293B; }
.navbar.scrolled .nav-links a:hover { color: #3B82F6; }
.navbar.scrolled .nav-links a.active { color: #3B82F6; font-weight: 600; }
.navbar.scrolled .nav-logo span { color: #1E293B; }
.navbar.scrolled .hamburger span { background: #1E293B; }

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.logo-icon { display: flex; align-items: center; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.02rem; font-weight: 800; }
.brand-sub { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.7; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; font-weight: 700; border-bottom: 2px solid rgba(255,255,255,0.6); padding-bottom: 2px; }

.nav-cta {
  background: #fff !important;
  color: #3B82F6 !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}
.nav-cta:hover { background: #EFF6FF !important; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.navbar.scrolled .nav-cta { background: #3B82F6 !important; color: #fff !important; }
.navbar.scrolled .nav-cta:hover { background: #2563EB !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}


.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15,23,42,0.60) 0%, rgba(30,58,95,0.55) 40%, rgba(29,78,216,0.52) 75%, rgba(14,165,233,0.58) 100%),
    url('images/image4.jpeg') center / cover no-repeat;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.15);
}

.badge-dot {
  width: 7px; height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle strong { color: rgba(255,255,255,0.95); }

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 32px;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
}

.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero-stat span { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-indicator {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ===========================
   PRODUCTS SECTION
   =========================== */
.products {
  padding: 100px 0;
  background: #F8FAFC;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.product-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  border: 2px solid #E2E8F0;
  position: relative;
  transition: all 0.3s ease;
}

.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }

.featured-card {
  border-color: #3B82F6;
  box-shadow: 0 8px 30px rgba(59,130,246,0.15);
}

.featured-ribbon {
  position: absolute;
  top: -1px; right: 28px;
  background: #3B82F6;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 0 0 10px 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-icon { background: linear-gradient(135deg, #2563EB, #0EA5E9); }
.dsm-icon { background: linear-gradient(135deg, #7C3AED, #3B82F6); }
.tts-icon { background: linear-gradient(135deg, #0D9488, #22D3EE); }
.cfm-icon { background: linear-gradient(135deg, #F59E0B, #FBBF24); }

.product-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bm-badge { background: #DBEAFE; color: #1D4ED8; }
.dsm-badge { background: #EDE9FE; color: #7C3AED; }
.tts-badge { background: #CCFBF1; color: #0D9488; }
.cfm-badge { background: #FEF3C7; color: #B45309; }

.product-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.product-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 14px;
}

.product-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.product-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #475569;
}

.check-icon {
  color: #10B981;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.product-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.platform-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
}

/* ===========================
   FEATURES SECTIONS
   =========================== */
.features-section { padding: 100px 0; }
.bm-section { background: #fff; }
.dsm-section { background: #F8FAFC; }
.tts-section { background: #fff; }
.cfm-section { background: #F8FAFC; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.feature-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.2s ease;
}

.bm-section .feature-card { background: #F8FAFC; }
.dsm-section .feature-card { background: #fff; }
.tts-section .feature-card { background: #F0FDFA; }

.feature-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-color: #CBD5E1; }

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.blue-icon { background: #DBEAFE; color: #2563EB; }
.green-icon { background: #DCFCE7; color: #16A34A; }
.orange-icon { background: #FEF3C7; color: #D97706; }
.purple-icon { background: #EDE9FE; color: #7C3AED; }
.teal-icon { background: #CFFAFE; color: #0891B2; }
.red-icon { background: #FEE2E2; color: #DC2626; }

.feature-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.6;
}

.features-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.extra-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
}

/* ===========================
   DSM MODULES
   =========================== */
.dsm-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.module-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.2s;
}

.module-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }

.module-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.module-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.module-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
}

.module-card p {
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 14px;
}

.module-card ul { display: flex; flex-direction: column; gap: 6px; }
.module-card li { font-size: 0.8rem; color: #64748B; padding-left: 14px; position: relative; }
.module-card li::before { content: '•'; position: absolute; left: 0; color: #3B82F6; }

.dsm-extra-features {
  background: linear-gradient(135deg, #EFF6FF, #F0FDF4);
  border: 1px solid #BFDBFE;
  border-radius: 20px;
  padding: 36px;
  text-align: center;
}

.dsm-extra-features h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1E40AF;
  margin-bottom: 24px;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.included-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #1E40AF;
  background: #fff;
  border: 1px solid #BFDBFE;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}

.included-item span { font-size: 1rem; color: #16A34A; font-weight: 700; }

/* ===========================
   COMPARISON TABLE
   =========================== */
.comparison-section { padding: 100px 0; background: #fff; }

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #E2E8F0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.comparison-table thead tr {
  background: #0F172A;
}

.comparison-table th {
  padding: 20px 24px;
  text-align: left;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.feature-col { width: 45%; }
.bm-col, .dsm-col { width: 27.5%; text-align: center; }

.col-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.col-header strong { display: block; font-size: 0.95rem; }
.col-header span { font-size: 0.75rem; opacity: 0.7; font-weight: 400; }

.col-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.bm-col-icon { background: #2563EB; color: #fff; }
.dsm-col-icon { background: #7C3AED; color: #fff; }

.comparison-table tbody tr:nth-child(even) { background: #F8FAFC; }
.comparison-table tbody tr:hover { background: #EFF6FF; }

.comparison-table td {
  padding: 13px 24px;
  font-size: 0.875rem;
  color: #475569;
  border-top: 1px solid #F1F5F9;
  text-align: left;
}

.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3) { text-align: center; }

.category-row td {
  background: #F1F5F9 !important;
  font-weight: 700;
  font-size: 0.78rem;
  color: #1E293B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 24px;
}

.yes { color: #16A34A; font-weight: 700; font-size: 1.1rem; }
.no { color: #CBD5E1; font-size: 1.1rem; }

/* ===========================
   STATS SECTION
   =========================== */
.stats-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0F172A, #1E3A5F, #1D4ED8);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.stat-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #60A5FA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 6px;
}

.stat-detail {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ===========================
   HOW IT WORKS
   =========================== */
.how-it-works { padding: 100px 0; background: #F8FAFC; }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.step {
  flex: 1;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.2s;
}

.step:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }

.step-number {
  font-size: 0.75rem;
  font-weight: 800;
  color: #3B82F6;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  background: #EFF6FF;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
}

.step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 10px;
}

.step p { font-size: 0.875rem; color: #64748B; line-height: 1.6; }

.step-arrow {
  font-size: 1.5rem;
  color: #CBD5E1;
  flex-shrink: 0;
  margin-top: 36px;
}

/* ===========================
   APP PREVIEW
   =========================== */
.app-preview-section {
  padding: 80px 0 100px;
  background: #F8FAFC;
}

.app-preview-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
  border: 1px solid #E2E8F0;
  max-width: 960px;
  margin: 0 auto;
}

.app-preview-bar {
  background: #1E293B;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-preview-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.app-preview-dots span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #475569;
}

.app-preview-dots span:nth-child(1) { background: #EF4444; }
.app-preview-dots span:nth-child(2) { background: #F59E0B; }
.app-preview-dots span:nth-child(3) { background: #22C55E; }

.app-preview-url {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 4px 14px;
  flex: 1;
  text-align: center;
  font-weight: 500;
}

.app-preview-showcase {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  max-width: 1060px;
  margin: 0 auto;
}

.app-preview-showcase .app-preview-frame {
  flex: 1;
  max-width: none;
  margin: 0;
}

.app-preview-body img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-frame {
  flex-shrink: 0;
  width: 200px;
  background: #1E293B;
  border-radius: 36px;
  padding: 14px 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  border: 2px solid #334155;
  position: relative;
  margin-bottom: 16px;
}

.phone-notch {
  width: 60px;
  height: 10px;
  background: #0F172A;
  border-radius: 10px;
  margin: 0 auto 10px;
}

.phone-screen {
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .app-preview-showcase {
    flex-direction: column;
    align-items: center;
  }
  .phone-frame {
    width: 180px;
    margin-bottom: 0;
  }
}

/* ===========================
   DEPLOYMENT
   =========================== */
.deployment-section { padding: 80px 0 100px; background: #fff; }

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.deployment-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all 0.2s;
}

.deployment-card:hover { transform: translateY(-4px); box-shadow: 0 16px 50px rgba(0,0,0,0.08); border-color: #3B82F6; }

.deploy-icon { margin: 0 auto 20px; width: 64px; height: 64px; background: #EFF6FF; border-radius: 18px; display: flex; align-items: center; justify-content: center; }

.deployment-card h4 { font-size: 1.1rem; font-weight: 700; color: #0F172A; margin-bottom: 10px; }
.deployment-card p { font-size: 0.875rem; color: #64748B; line-height: 1.7; }

/* ===========================
   CTA SECTION
   =========================== */
.cta-section { padding: 100px 0; background: #F8FAFC; }

.cta-box {
  background: linear-gradient(135deg, #0F172A, #1D4ED8);
  border-radius: 28px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta-content p { font-size: 1.05rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 28px; }

.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }

.cta-note { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

.cta-features {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 240px;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.cta-feature span:first-child { font-size: 1.2rem; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #0F172A;
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 320px; }

.footer-links { display: flex; gap: 48px; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}
.footer-credit {
  margin-top: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.01em;
}
.footer-credit strong {
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .dsm-modules { grid-template-columns: repeat(2, 1fr); }
  .included-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { grid-template-columns: 1fr; }
  .cta-features { flex-direction: row; flex-wrap: wrap; min-width: unset; }
}

@media (max-width: 768px) {
  .nav-inner { position: static; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0F172A;
    padding: 8px 0 20px;
    gap: 0;
    z-index: 999;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    width: 100%;
    display: block;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta { border-radius: 0 !important; background: #1E40AF !important; color: #fff !important; text-align: center; margin-top: 8px; }
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-stats { gap: 16px; }
  .hero-stat-divider { display: none; }

  .product-cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .dsm-modules { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .steps { flex-direction: column; }
  .step-arrow { display: none; }

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

  .cta-box { padding: 36px 28px; grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 32px; }

  .comparison-table th, .comparison-table td { padding: 12px 14px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ===========================
   APP PAGE HERO (description)
   =========================== */
.app-hero {
  padding: 150px 0 64px;
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
  position: relative;
  overflow: hidden;
}

.app-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

.app-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.app-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex: 1 1 480px;
  min-width: 280px;
}

.app-hero-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.app-hero-text { flex: 1; min-width: 260px; }

.app-hero-text h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 10px 0 16px;
  letter-spacing: -0.01em;
}

.app-hero-text p.app-hero-desc {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 24px;
}

.app-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-hero-tags .platform-tag {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.15);
}

/* ===========================
   APP LAYOUT (modules + screenshots)
   =========================== */
.app-layout {
  padding: 72px 0 100px;
  background: #fff;
}

.app-layout-inner { min-width: 0; }

.app-main { min-width: 0; }

.app-block { margin-bottom: 64px; }
.app-block:last-child { margin-bottom: 0; }

.app-block-header { margin-bottom: 28px; }
.app-block-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}
.app-block-header p { font-size: 0.95rem; color: #64748B; line-height: 1.7; max-width: 620px; }

/* ===========================
   DOWNLOAD DETAILS CARD (top-right of hero)
   =========================== */
.app-hero-download {
  flex: 0 0 360px;
  width: 360px;
  max-width: 100%;
}

.download-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.download-card h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 18px;
}

.download-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.download-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}
.download-meta-row:last-child { border-bottom: none; padding-bottom: 0; }

.download-meta-label { color: #64748B; font-weight: 500; }
.download-meta-value { color: #0F172A; font-weight: 700; text-align: right; }

.download-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: #3B82F6;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border: 2px solid #3B82F6;
  transition: all 0.2s ease;
}
.download-btn:hover { background: #2563EB; border-color: #2563EB; transform: translateY(-1px); box-shadow: 0 10px 25px rgba(59,130,246,0.3); }

.download-btn.secondary {
  background: #fff;
  color: #1E293B;
  border-color: #E2E8F0;
}
.download-btn.secondary:hover { border-color: #3B82F6; color: #3B82F6; background: #EFF6FF; box-shadow: none; transform: translateY(-1px); }

.download-btn-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.download-btn.secondary .download-btn-icon { background: #F1F5F9; }

.download-btn-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.25; text-align: left; }
.download-btn-text strong { font-size: 0.88rem; }
.download-btn-text span { font-size: 0.72rem; font-weight: 500; opacity: 0.75; }

.download-card-note {
  font-size: 0.76rem;
  color: #94A3B8;
  line-height: 1.6;
  text-align: center;
}
.download-card-note a { color: #3B82F6; font-weight: 600; }

/* ===========================
   SCREENSHOT GALLERY
   =========================== */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.screenshot-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
}

.screenshot-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}
.screenshot-tile:hover img { transform: scale(1.04); }

.screenshot-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(15,23,42,0.82), transparent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.screenshot-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #94A3B8;
  text-align: center;
  padding: 16px;
}
.screenshot-placeholder span { font-size: 0.78rem; font-weight: 600; }

.screenshot-tile.img-missing img { display: none; }
.screenshot-tile.img-missing .screenshot-caption { display: none; }
.screenshot-tile.img-missing .screenshot-placeholder { display: flex; }

.screenshot-tile.wide { grid-column: span 2; }

@media (max-width: 1024px) {
  .app-hero-download { flex-basis: 320px; width: 320px; }
  .screenshot-gallery { grid-template-columns: repeat(2, 1fr); }
  .screenshot-tile.wide { grid-column: span 1; }
}

@media (max-width: 768px) {
  .app-hero { padding: 130px 0 48px; }
  .app-hero-inner { flex-direction: column; align-items: stretch; }
  .app-hero-main { flex-direction: column; align-items: center; text-align: center; }
  .app-hero-download { width: 100%; flex-basis: auto; }
  .app-hero-tags { justify-content: center; }
  .app-hero-text p.app-hero-desc { margin-left: auto; margin-right: auto; }
  .app-layout { padding: 48px 0 72px; }
  .screenshot-gallery { grid-template-columns: 1fr; }
}
