:root {
  --bg-main: #07090e;
  --bg-card: rgba(16, 22, 36, 0.75);
  --bg-card-hover: rgba(22, 30, 48, 0.9);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.3);
  
  --primary-cyan: #00f2fe;
  --primary-purple: #9d4edd;
  --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #9d4edd 100%);
  --accent-green: #10b981;
  --accent-gold: #f59e0b;
  --accent-red: #ef4444;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.15);
  --shadow-purple: 0 0 25px rgba(157, 78, 221, 0.2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(157, 78, 221, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(157, 78, 221, 0.2));
  border: 1px solid rgba(0, 242, 254, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.brand-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--primary-cyan);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #07090e;
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.45);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-cyan);
  margin-bottom: 24px;
  box-shadow: var(--shadow-glow);
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--primary-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-cyan);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

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

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Feature Badges under CTA */
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge-item i {
  color: var(--primary-cyan);
  font-size: 1.1rem;
}

/* App Screenshot Mockup */
.mockup-wrap {
  margin-top: 60px;
  position: relative;
}

.mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 85%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(157, 78, 221, 0.12) 50%, transparent 80%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.mockup-card {
  position: relative;
  z-index: 2;
  background: rgba(13, 17, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), var(--shadow-glow);
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }

.mockup-title {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-body {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  position: relative;
  cursor: pointer;
}

.mockup-body img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.mockup-body:hover img {
  transform: scale(1.01);
}

.mockup-overlay-hint {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(0, 242, 254, 0.3);
}

/* ============================================================
   AUTHENTIC APP SIMULATOR (Pixel-matched with actual Desktop App)
   ============================================================ */
.app-sim-window {
  background: #080c16;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  color: #e2e8f0;
  font-family: var(--font-sans);
  text-align: left;
}

.app-sim-titlebar {
  background: #04060b;
  padding: 6px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: #94a3b8;
  font-family: var(--font-mono);
}
.app-sim-titlebar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-sim-titlebar-left img {
  width: 16px;
  height: 16px;
}
.app-sim-titlebar-controls {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
}
.app-sim-titlebar-controls span {
  cursor: pointer;
  padding: 0 4px;
}
.app-sim-titlebar-controls span.close-btn:hover {
  color: #ef4444;
}

.app-sim-topbar {
  background: #090e1a;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}
.app-sim-brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}
.app-sim-brand-title .lightning {
  color: #00f2fe;
}
.app-sim-brand-sub {
  font-size: 0.68rem;
  color: #64748b;
  letter-spacing: 0.8px;
  margin-top: 2px;
  font-family: var(--font-mono);
}

.app-sim-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
}
.app-sim-badge.online {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.app-sim-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.app-sim-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.app-sim-badge-pill.green {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.app-sim-port-box {
  background: #050810;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: #94a3b8;
}
.app-sim-port-box span {
  color: #00f2fe;
  font-weight: 600;
}
.app-sim-timer-box {
  background: #050810;
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 700;
}
.app-sim-logout-btn {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.app-sim-tabs {
  background: #0a0f1d;
  padding: 8px 16px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}
.app-sim-tab {
  background: #050811;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.app-sim-tab.active {
  background: rgba(0, 180, 216, 0.15);
  border-color: #00b4d8;
  color: #00f2fe;
}
.app-sim-tab.stop {
  margin-left: auto;
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.app-sim-body {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 420px;
}
@media (max-width: 900px) {
  .app-sim-body {
    grid-template-columns: 1fr;
  }
}

.app-sim-left {
  background: #080c16;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-sim-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.app-sim-btn {
  width: 100%;
  padding: 11px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  transition: all 0.2s;
}
.app-sim-btn.btn-cyan {
  background: #00b4d8;
  color: #050811;
  font-weight: 800;
}
.app-sim-btn.btn-cyan:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.app-sim-btn.btn-purple {
  background: #7928ca;
  color: #fff;
}
.app-sim-btn.btn-pink {
  background: #e0246a;
  color: #fff;
}
.app-sim-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.app-sim-btn.btn-outline {
  background: transparent;
  border: 1px solid #00b4d8;
  color: #00b4d8;
  font-size: 0.76rem;
  justify-content: center;
}
.app-sim-btn.btn-purple-outline {
  background: transparent;
  border: 1px solid #7928ca;
  color: #c084fc;
}

.app-sim-safety-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.app-sim-safety-box .safety-icon i {
  color: #10b981;
  font-size: 1.2rem;
}
.app-sim-safety-box .safety-text strong {
  display: block;
  font-size: 0.74rem;
  color: #10b981;
  margin-bottom: 2px;
}
.app-sim-safety-box .safety-text p {
  font-size: 0.68rem;
  color: #94a3b8;
  line-height: 1.35;
  margin: 0;
}

.app-sim-right {
  background: #030509;
  display: flex;
  flex-direction: column;
}
.app-sim-log-header {
  background: #060912;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.device-status-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.device-pill {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}
.device-meta strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
}
.device-meta span {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  font-family: var(--font-mono);
}

.app-sim-mini-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.app-sim-mini-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.app-sim-mini-btn.replay {
  border-color: #00b4d8;
  color: #00b4d8;
}

.app-sim-terminal {
  flex: 1;
  padding: 16px;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #cbd5e1;
  overflow-y: auto;
  max-height: 380px;
  min-height: 340px;
  white-space: pre-wrap;
  word-break: break-all;
  display: flex;
  flex-direction: column;
}
.app-sim-terminal::-webkit-scrollbar {
  width: 6px;
}
.app-sim-terminal::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
.app-sim-log-stream {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.log-line-success { color: #10b981; font-weight: 600; }
.log-line-info { color: #38bdf8; }
.log-line-warn { color: #f59e0b; }
.log-line-sec { color: #00f2fe; }
.log-line-dim { color: #475569; }
.log-line-final {
  color: #10b981;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 6px 0;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.app-sim-cursor {
  display: inline-block;
  color: #00f2fe;
  font-weight: 800;
  animation: blinkCursor 0.8s infinite;
}
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.app-sim-progress-container {
  height: 6px;
  background: #090e1a;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.app-sim-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00b4d8 0%, #00f2fe 100%);
  box-shadow: 0 0 10px #00f2fe;
  transition: width 0.15s ease-out;
}

.app-sim-footer {
  background: #050810;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: #64748b;
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 8px;
}
.app-sim-footer-left {
  display: flex;
  gap: 12px;
}
.app-sim-footer-right {
  display: flex;
  gap: 12px;
}

/* Features Section */
.features {
  padding: 100px 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-head .sub {
  color: var(--primary-cyan);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
  background: var(--primary-gradient);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-cyan);
  margin-bottom: 20px;
}

.feature-card.purple .feature-icon {
  background: rgba(157, 78, 221, 0.1);
  border-color: rgba(157, 78, 221, 0.3);
  color: var(--primary-purple);
}

.feature-card.green .feature-icon {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Reseller Section */
.resellers {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 24, 0.6) 50%, transparent 100%);
}

.reseller-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  background: var(--bg-card);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1.1rem;
}

.search-input {
  width: 100%;
  background: rgba(7, 9, 14, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px 10px 40px;
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

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

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.reseller-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}

.reseller-card {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 20px 26px;
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.reseller-card:hover {
  border-color: rgba(0, 242, 254, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 242, 254, 0.08);
}

/* Rounded Square Logo / Avatar */
.reseller-logo-wrap {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: #161b22;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
  position: relative;
}

.reseller-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reseller-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  user-select: none;
}

/* Name & Verified Badge */
.reseller-name-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.reseller-name-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.2px;
}

.verified-icon {
  color: #10b981;
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
}

/* Subtitle / Region / Role */
.reseller-role-sub {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 24px;
  font-weight: 400;
}

/* Social & Contact Actions Row (WhatsApp, Telegram, Facebook, Website) */
.reseller-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
}

.social-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #161b22;
  border: 1px solid #30363d;
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-action-btn:hover {
  background: #21262d;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.social-action-btn.wa:hover {
  border-color: #25d366;
  color: #25d366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.social-action-btn.tg:hover {
  border-color: #0088cc;
  color: #0088cc;
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.3);
}

.social-action-btn.fb:hover {
  border-color: #1877f2;
  color: #1877f2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.3);
}

.social-action-btn.web:hover {
  border-color: #00f2fe;
  color: #00f2fe;
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.3);
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: #0f172a;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 540px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-cyan);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #fff;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: #07090e;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

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

/* Download Section */
.download-section {
  padding: 100px 0;
  position: relative;
}

.download-box {
  background: linear-gradient(135deg, rgba(16, 22, 36, 0.95), rgba(20, 28, 48, 0.85));
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.download-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.download-text p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.download-specs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.download-specs span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.download-specs i {
  color: var(--primary-cyan);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  background: #040609;
  color: var(--text-dim);
  font-size: 0.9rem;
  text-align: center;
}

footer a {
  color: var(--primary-cyan);
  text-decoration: none;
}

/* Lightbox Image Preview */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Pulse animation */
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

@media (max-width: 900px) {
  .hero h1 { font-size: 2.6rem; }
  .nav-links { display: none; }
  .download-box { text-align: center; justify-content: center; padding: 32px 20px; }
}
/* Tested Devices Section */
.tested-devices {
  padding: 100px 0;
  position: relative;
}

.device-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  background: var(--bg-card);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.device-search-wrap {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.device-search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

.device-search-wrap input {
  width: 100%;
  background: rgba(7, 9, 14, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px 10px 40px;
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
}

.device-search-wrap input:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.device-brand-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.brand-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-pill:hover,
.brand-pill.active {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.device-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.device-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.device-table th {
  background: rgba(13, 17, 28, 0.95);
  padding: 16px 20px;
  color: var(--text-dim);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 1px;
}

.device-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  vertical-align: middle;
}

.device-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.device-model-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-badge {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-cyan);
}

.device-name-title {
  font-weight: 600;
  color: var(--text-main);
}

.device-name-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.chipset-badge {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.03);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.os-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
}

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
}

.method-tag {
  font-size: 0.8rem;
  color: var(--primary-purple);
  background: rgba(157, 78, 221, 0.1);
  border: 1px solid rgba(157, 78, 221, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
}

/* Sheet badge on Reseller header */
.sheet-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

.sheet-badge.connected {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.sheet-badge.demo {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.loading-state, .error-state, .empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.loading-state i, .error-state i, .empty-state i {
  font-size: 2.5rem;
  color: var(--primary-cyan);
  margin-bottom: 12px;
  display: block;
}

.error-state i {
  color: var(--accent-red);
}

@media (max-width: 768px) {
  .device-table th:nth-child(3),
  .device-table td:nth-child(3) {
    display: none;
  }
}
