/* === Reset & Variables === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0b;
  --bg-elevated: #111113;
  --bg-card: #16161a;
  --bg-card-hover: #1c1c21;
  --surface: #1e1e23;
  --border: #2a2a30;
  --border-light: #3a3a42;
  --text: #e4e4e7;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --primary: #22c55e;
  --primary-hover: #16a34a;
  --primary-dim: rgba(34, 197, 94, 0.1);
  --primary-glow: rgba(34, 197, 94, 0.15);
  --mobilis: #4CAF50;
  --djezzy: #F44336;
  --ooredoo: #9C27B0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #22c55e, #4ade80, #86efac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.logo-icon {
  color: var(--primary);
  font-size: 1.4rem;
}

.logo-accent {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.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: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sm { padding: 8px 16px; font-size: 0.8125rem; }
.btn-md { padding: 10px 20px; }
.btn-lg { padding: 14px 28px; font-size: 0.9375rem; }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover { color: var(--text); }

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-dim);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* === Phone Mockup === */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  background: #1a1a1f;
  border-radius: 36px;
  padding: 12px;
  border: 2px solid var(--border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.phone-screen {
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg);
}

.mock-header {
  padding: 8px 16px;
}

.mock-status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.625rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.mock-app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
}

.mock-back { color: var(--primary); }

.mock-badge {
  margin-left: auto;
  background: var(--primary-dim);
  color: var(--primary);
  font-size: 0.625rem;
  padding: 2px 8px;
  border-radius: 100px;
}

.mock-camera {
  background: linear-gradient(135deg, #0d1f0d, #0a1a1a);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mock-viewfinder {
  width: 200px;
  height: 120px;
  position: relative;
}

.corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--primary);
  border-style: solid;
  border-width: 0;
}

.corner.tl { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-radius: 4px 0 0 0; }
.corner.tr { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-radius: 0 4px 0 0; }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-radius: 0 0 0 4px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-radius: 0 0 4px 0; }

.scan-line {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: scan 2s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { top: 8px; }
  50% { top: calc(100% - 8px); }
}

.mock-hint {
  font-size: 0.625rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.mock-result {
  padding: 12px 16px 16px;
}

.mock-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.mock-operator {
  font-size: 0.6875rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.mock-operator.mobilis { color: var(--mobilis); }

.mock-pin {
  font-size: 0.875rem;
  font-weight: 600;
  font-family: monospace;
  color: var(--text);
  margin-bottom: 4px;
}

.mock-denomination {
  font-size: 0.625rem;
  color: var(--text-muted);
}

/* === Section Shared === */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

/* === Features === */
.features {
  padding: 120px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-dim);
  border-radius: var(--radius-md);
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === How It Works === */
.how-it-works {
  padding: 120px 0;
  background: var(--bg-elevated);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.step {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-top: 48px;
  flex-shrink: 0;
}

/* === Operators === */
.operators {
  padding: 120px 0;
}

.operators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.operator-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.operator-card:hover {
  transform: translateY(-4px);
}

.operator-card.mobilis:hover { border-color: var(--mobilis); }
.operator-card.djezzy:hover { border-color: var(--djezzy); }
.operator-card.ooredoo:hover { border-color: var(--ooredoo); }

.operator-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.mobilis .operator-logo { background: var(--mobilis); }
.djezzy .operator-logo { background: var(--djezzy); }
.ooredoo .operator-logo { background: var(--ooredoo); }

.operator-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.operator-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.operator-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.operator-tags span {
  background: var(--surface);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 100px;
}

/* === Download CTA === */
.download {
  padding: 120px 0;
  background: var(--bg-elevated);
}

.download-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
}

.download-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.download-card h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
}

.download-card > p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin-bottom: 32px;
  position: relative;
}

.download-actions {
  position: relative;
  margin-bottom: 16px;
}

.download-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  position: relative;
}

/* === Footer === */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 12px;
  max-width: 300px;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* === Responsive === */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero h1 { font-size: 2.75rem; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .operators-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
  }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero h1 { font-size: 2.25rem; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .operators-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.75rem; }
  .download-card { padding: 48px 24px; }
  .download-card h2 { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .btn-sm.btn-outline { display: none; }
}

/* === Contact / WhatsApp === */
.contact { padding: 100px 0; background: var(--bg-elevated); }
.contact-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  margin-bottom: 24px;
}
.contact-card h2 { font-size: 2rem; margin-bottom: 12px; }
.contact-card p { color: var(--text-secondary); margin-bottom: 32px; }
.whatsapp-btn {
  background: #25D366 !important;
  color: #fff !important;
  gap: 10px;
}
.whatsapp-btn:hover { background: #1ebd5b !important; }
.contact-phone {
  margin-top: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .contact { padding: 60px 0; }
  .contact-card { padding: 40px 20px; }
  .contact-card h2 { font-size: 1.5rem; }
}

