/* ============================================================
   Moonworld - Main Stylesheet
   Green/White Theme with Dark Mode
   ============================================================ */

/* --- CSS Variables (Light Theme) --- */
:root {
  --primary:        #16A34A;
  --primary-dark:   #15803D;
  --primary-light:  #22C55E;
  --primary-50:     #F0FDF4;
  --primary-100:    #DCFCE7;
  --primary-200:    #BBF7D0;
  --primary-300:    #86EFAC;
  --accent:         #4ADE80;
  --gold:           #F59E0B;

  --bg:             #FFFFFF;
  --bg-secondary:   #F9FAFB;
  --bg-card:        #FFFFFF;
  --bg-input:       #FFFFFF;
  --bg-hero:        linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 60%, #DCFCE7 100%);

  --text-primary:   #111827;
  --text-secondary: #4B5563;
  --text-muted:     #9CA3AF;
  --text-inverse:   #FFFFFF;

  --border:         #E5E7EB;
  --border-focus:   #16A34A;
  --divider:        #F3F4F6;

  --shadow-sm:      0 1px 3px rgba(22,163,74,0.08);
  --shadow-md:      0 4px 16px rgba(22,163,74,0.12);
  --shadow-lg:      0 8px 32px rgba(22,163,74,0.18);
  --shadow-xl:      0 20px 60px rgba(22,163,74,0.2);

  --radius-sm:      8px;
  --radius:         12px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --radius-full:    9999px;

  --nav-bg:         rgba(255,255,255,0.95);
  --nav-border:     rgba(22,163,74,0.1);

  --transition:     all 0.2s ease;
  --transition-slow: all 0.35s ease;
}

/* --- Dark Theme --- */
[data-theme="dark"] {
  --primary:        #22C55E;
  --primary-dark:   #16A34A;
  --primary-light:  #4ADE80;
  --primary-50:     #052e16;
  --primary-100:    #14532d;
  --primary-200:    #166534;
  --primary-300:    #15803d;
  --accent:         #4ADE80;

  --bg:             #050d08;
  --bg-secondary:   #071210;
  --bg-card:        #0a1a0d;
  --bg-input:       #0d2014;
  --bg-hero:        linear-gradient(135deg, #071210 0%, #050d08 60%, #0a1a0d 100%);

  --text-primary:   #F9FAFB;
  --text-secondary: #D1D5DB;
  --text-muted:     #6B7280;

  --border:         #166534;
  --border-focus:   #22C55E;
  --divider:        #0d2014;

  --shadow-sm:      0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.6);
  --shadow-xl:      0 20px 60px rgba(0,0,0,0.7);

  --nav-bg:         rgba(5,13,8,0.95);
  --nav-border:     rgba(22,163,74,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* --- Typography --- */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--text-primary); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* --- Navbar --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; padding: 0 24px; max-width: 1200px; margin: 0 auto;
}

.navbar-brand { display: flex; align-items: center; gap: 10px; }
.navbar-brand img { height: 40px; width: auto; }
.navbar-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.navbar-brand-name { font-size: 16px; font-weight: 800; color: var(--text-primary); }
.navbar-brand-sub  { font-size: 9px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.navbar-logo-svg { display: flex; align-items: center; }
.logo-mark { color: var(--primary); }

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

.navbar-nav a {
  display: block; padding: 8px 16px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active { color: var(--primary); background: var(--primary-100); }

.navbar-actions { display: flex; align-items: center; gap: 10px; }

.navbar-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--text-primary); font-size: 20px;
}

.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: var(--primary-100); color: var(--primary);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: var(--transition);
}
.theme-toggle:hover { background: var(--primary-200); }

/* Mobile nav */
.navbar-mobile {
  display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 999; padding: 24px;
  flex-direction: column; gap: 8px; overflow-y: auto;
}
.navbar-mobile.open { display: flex; }
.navbar-mobile a {
  display: block; padding: 14px 20px; border-radius: var(--radius);
  font-size: 16px; font-weight: 500; color: var(--text-secondary);
  border: 1px solid var(--border); transition: var(--transition);
}
.navbar-mobile a:hover,
.navbar-mobile a.active { color: var(--primary); background: var(--primary-50); border-color: var(--primary-200); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-full); font-size: 15px;
  font-weight: 600; border: 2px solid transparent; cursor: pointer;
  transition: var(--transition); white-space: nowrap; text-decoration: none;
}

.btn-primary {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(22,163,74,0.35); }

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

.btn-ghost {
  background: transparent; color: var(--text-muted); border-color: transparent;
  padding: 10px 20px;
}
.btn-ghost:hover { color: var(--primary); background: var(--primary-50); }

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

.btn-block { width: 100%; }

.btn:disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; }

/* --- Cards --- */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transition: var(--transition-slow);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card-sm { padding: 20px; border-radius: var(--radius); }

/* --- Badge --- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-primary   { background: var(--primary-100); color: var(--primary); }
.badge-success   { background: #DCFCE7; color: #16A34A; }
.badge-warning   { background: #FEF9C3; color: #CA8A04; }
.badge-info      { background: #DBEAFE; color: #2563EB; }
.badge-danger    { background: #FEE2E2; color: #DC2626; }
.badge-secondary { background: var(--bg-secondary); color: var(--text-muted); }

/* --- Section Label --- */
.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: var(--radius-full);
  background: var(--primary-100); color: var(--primary);
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); display: block;
}

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px;
}
.form-control {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius); background: var(--bg-input);
  color: var(--text-primary); font-size: 15px; transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(22,163,74,0.12); }
.form-control::placeholder { color: var(--text-muted); }
.form-control.is-invalid { border-color: #DC2626; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.form-error { font-size: 12px; color: #DC2626; margin-top: 5px; }
.form-required { color: #DC2626; margin-left: 2px; }

/* --- Alerts --- */
.alert {
  padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px;
  font-size: 14px; font-weight: 500; border: 1px solid transparent;
}
.alert-success { background: #DCFCE7; color: #166534; border-color: #BBF7D0; }
.alert-error   { background: #FEE2E2; color: #991B1B; border-color: #FECACA; }
.alert-info    { background: var(--primary-100); color: var(--primary-dark); border-color: var(--primary-200); }
.alert-warning { background: #FEF9C3; color: #854D0E; border-color: #FDE047; }

/* --- Hero Section --- */
.hero {
  background: var(--bg-hero);
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
}

.hero::before {
  content: '';
  position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}

.hero-content { max-width: 600px; }

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 24px;
}
.hero-subtitle { font-size: 17px; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.7; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-trust {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
}
.hero-trust-item svg { color: var(--primary); width: 14px; height: 14px; }

/* Hero Visual */
.hero-visual {
  display: flex; flex-direction: column; gap: 16px;
  align-items: flex-end; position: relative;
}

.app-preview-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 24px;
  box-shadow: var(--shadow-lg); min-width: 260px;
  display: flex; align-items: center; gap: 16px;
  transition: var(--transition-slow);
}
.app-preview-card:hover { transform: translateX(-8px); box-shadow: var(--shadow-xl); }

.app-preview-info { flex: 1; }
.app-preview-name { font-size: 16px; font-weight: 700; }
.app-preview-sub  { font-size: 12px; color: var(--text-muted); }
.app-preview-price {
  font-size: 13px; font-weight: 600; color: var(--primary); margin-top: 6px;
  display: flex; align-items: baseline; gap: 4px;
}
.app-preview-price .label { font-size: 11px; font-weight: 400; color: var(--text-muted); }

.app-preview-badge {
  width: 44px; height: 4px; border-radius: 2px; margin-top: 6px;
}
.badge-taka  { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.badge-infr  { background: linear-gradient(90deg, #22C55E, #4ADE80); }

.hero-center-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 11px; font-weight: 800; letter-spacing: 0.05em;
  box-shadow: var(--shadow-lg);
}

/* --- Stats Section --- */
.stats-section {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 48px 0;
}

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

.stat-item { text-align: center; }
.stat-icon {
  width: 48px; height: 48px; border-radius: var(--radius); margin: 0 auto 12px;
  background: var(--primary-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.stat-number {
  font-size: 2.25rem; font-weight: 800; color: var(--primary); line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* --- Apps Section --- */
.apps-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}

.app-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px;
  transition: var(--transition-slow); overflow: hidden; position: relative;
}
.app-card:hover { border-color: var(--primary-200); box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.app-card-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.app-card-icon { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; flex-shrink: 0; }
.app-card-title { font-size: 1.5rem; font-weight: 800; }
.app-card-sub   { font-size: 13px; color: var(--primary); font-weight: 600; margin-top: 2px; }

.app-card-desc { color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; line-height: 1.6; }

.app-features { list-style: none; margin-bottom: 28px; }
.app-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-secondary); padding: 6px 0;
  border-bottom: 1px solid var(--divider);
}
.app-features li:last-child { border-bottom: none; }
.app-features li::before {
  content: '✓'; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary-100); color: var(--primary);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* --- How It Works --- */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute; top: 36px; left: calc(12.5% + 36px); right: calc(12.5% + 36px);
  height: 2px; background: linear-gradient(90deg, var(--primary-200), var(--primary-200));
  z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--primary-100); color: var(--primary);
  font-size: 1.5rem; font-weight: 800; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--bg); box-shadow: 0 0 0 3px var(--primary-200);
}
.step-icon-wrap {
  width: 52px; height: 52px; border-radius: var(--radius); margin: 0 auto 12px;
  background: var(--primary-50); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.step-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p  { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* --- Why Choose Us --- */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--primary-200); box-shadow: var(--shadow-sm); }
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--primary-100); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature-card h4 { font-size: 15px; margin-bottom: 6px; }
.feature-card p  { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* --- CTA Section --- */
.cta-section {
  background: var(--bg-secondary); padding: 80px 0;
}
.cta-box {
  background: linear-gradient(135deg, var(--primary-50), var(--bg-card));
  border: 1px solid var(--primary-200); border-radius: var(--radius-xl);
  padding: 64px; text-align: center; max-width: 700px; margin: 0 auto;
}
.cta-box h2 { font-size: 2.25rem; margin-bottom: 16px; }
.cta-box p  { color: var(--text-secondary); margin-bottom: 36px; font-size: 16px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- Footer --- */
.footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-desc { font-size: 14px; color: var(--text-secondary); margin: 16px 0 20px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-100); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: white; }

.footer h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '•'; color: var(--primary); font-size: 10px; }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-icon {
  width: 32px; height: 32px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: var(--primary-100); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.footer-contact-text { font-size: 13px; color: var(--text-secondary); }
.footer-contact-label { font-size: 11px; color: var(--text-muted); display: block; }

.footer-bottom {
  border-top: 1px solid var(--border); padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-bottom a { color: var(--primary); }

/* --- Page Header --- */
.page-header {
  padding: 140px 0 60px; text-align: center;
  background: var(--bg-hero);
}
.page-header h1 { margin-bottom: 16px; }
.page-header p  { font-size: 17px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* --- Auth Pages --- */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg-hero); padding: 100px 20px 40px;
}
.auth-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; max-width: 1000px; width: 100%; }
.auth-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 48px;
  box-shadow: var(--shadow-xl);
}
.auth-card h2 { font-size: 1.75rem; margin-bottom: 8px; }
.auth-card .sub  { color: var(--text-secondary); margin-bottom: 32px; font-size: 14px; }

.auth-info { }
.auth-info h2 { font-size: 2rem; margin-bottom: 16px; }
.auth-info p  { color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }

.auth-benefit {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px;
}
.auth-benefit-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary-100); color: var(--primary);
  font-size: 13px; font-weight: 700; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.auth-benefit-text { font-size: 14px; color: var(--text-secondary); }

.divider-text {
  display: flex; align-items: center; gap: 12px; margin: 20px 0;
  color: var(--text-muted); font-size: 13px;
}
.divider-text::before, .divider-text::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* --- Topup Wizard --- */
.topup-page {
  min-height: calc(100vh - 70px); padding: 110px 0 60px;
  background: var(--bg-hero);
}

.topup-container { max-width: 860px; margin: 0 auto; }

.wizard-header { text-align: center; margin-bottom: 40px; }
.wizard-header h1 { margin-bottom: 12px; }
.wizard-header p  { color: var(--text-secondary); }

/* Stepper */
.stepper {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin: 32px 0 40px;
}
.stepper-item { display: flex; align-items: center; }
.stepper-dot {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2.5px solid var(--border); background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--text-muted);
  transition: var(--transition); position: relative; z-index: 1;
}
.stepper-dot.active { border-color: var(--primary); background: var(--primary); color: white; }
.stepper-dot.done   { border-color: var(--primary); background: var(--primary-100); color: var(--primary); }
.stepper-line { width: 60px; height: 2px; background: var(--border); }
.stepper-line.done { background: var(--primary); }

/* Step panels */
.step-panel { display: none; }
.step-panel.active { display: block; }

/* App selector */
.app-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.app-select-card {
  background: var(--bg-card); border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 16px;
}
.app-select-card:hover  { border-color: var(--primary-300); }
.app-select-card.active { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 3px rgba(22,163,74,0.12); }
.app-select-info h3 { font-size: 18px; margin-bottom: 4px; }
.app-select-info p  { font-size: 12px; color: var(--text-muted); }

/* Package grid */
.packages-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.packages-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 32px;
}
.pkg-card {
  background: #0f2a18; border: 2px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 18px;
  cursor: pointer; transition: var(--transition); position: relative;
  display: flex; flex-direction: column; align-items: center;
}
[data-theme="dark"] .pkg-card { background: #041009; }
.pkg-card:hover { border-color: var(--primary-300); transform: translateY(-2px); }
.pkg-card.selected { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,163,74,0.2); }
.pkg-popular-tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: var(--radius-full); white-space: nowrap;
}
.pkg-coin-icon { font-size: 2rem; margin-bottom: 8px; }
.pkg-coins { font-size: 1.2rem; font-weight: 800; color: white; margin-bottom: 4px; }
.pkg-coin-label { font-size: 10px; color: #9CA3AF; font-weight: 500; margin-bottom: 10px; }
.pkg-price { font-size: 1.4rem; font-weight: 800; color: #F59E0B; }

/* Package image */
.pkg-img-wrap { width: 64px; height: 64px; border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; border: 2px solid rgba(255,255,255,0.12); }
.pkg-img { width: 100%; height: 100%; object-fit: cover; }

/* Unavailable package */
.pkg-card.pkg-unavailable {
  opacity: 0.5; filter: grayscale(0.6); cursor: not-allowed;
  border-color: rgba(255,255,255,0.04) !important;
}
.pkg-card.pkg-unavailable:hover { transform: none; border-color: rgba(255,255,255,0.04) !important; }
.pkg-unavailable-tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: #6B7280; color: white; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: var(--radius-full); white-space: nowrap;
}

/* Step 2 form */
.step2-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px;
}

.uid-preview {
  background: var(--primary-50); border: 1px solid var(--primary-200);
  border-radius: var(--radius); padding: 14px 16px; margin-top: 8px;
  font-size: 14px; color: var(--text-secondary); min-height: 46px;
}

/* Step 3 review */
.review-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px;
}
.review-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--divider); font-size: 14px;
}
.review-row:last-child { border-bottom: none; }
.review-row .label { color: var(--text-muted); font-weight: 500; }
.review-row .value { font-weight: 700; text-align: right; }
.review-total { font-size: 1.25rem; color: var(--primary); }

.wizard-nav { display: flex; gap: 14px; margin-top: 28px; }

/* Trust badges */
.trust-badges {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 40px;
}
.trust-badge {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; text-align: center;
}
.trust-badge .trust-icon { font-size: 2rem; margin-bottom: 10px; }
.trust-badge h4 { font-size: 15px; margin-bottom: 4px; }
.trust-badge p  { font-size: 12px; color: var(--text-muted); }

/* --- My Account --- */
.account-page { padding: 110px 0 60px; }
.account-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }

.profile-card  { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; }
.orders-card   { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; }

.profile-field { margin-bottom: 20px; }
.profile-field .label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 4px; }
.profile-field .value { font-size: 15px; font-weight: 600; }

.orders-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.order-count-badge {
  background: var(--bg-secondary); border: 1px solid var(--border);
  padding: 4px 14px; border-radius: var(--radius-full); font-size: 13px; font-weight: 600;
}

.order-item {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; margin-bottom: 14px;
  transition: var(--transition);
}
.order-item:hover { border-color: var(--primary-200); }
.order-item-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.order-app-name { font-size: 15px; font-weight: 700; }
.order-id { font-size: 12px; color: var(--text-muted); }
.order-details { display: flex; gap: 20px; flex-wrap: wrap; }
.order-detail  { font-size: 13px; color: var(--text-secondary); }
.order-detail strong { color: var(--text-primary); }

.empty-orders { text-align: center; padding: 48px 24px; }
.empty-orders .empty-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-orders h3 { margin-bottom: 8px; }
.empty-orders p  { color: var(--text-secondary); margin-bottom: 24px; font-size: 14px; }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--primary-100); color: var(--primary); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-info-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-item p  { font-size: 14px; color: var(--text-secondary); }

/* --- About Page --- */
.about-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.value-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; text-align: center;
  transition: var(--transition-slow);
}
.value-card:hover { border-color: var(--primary-200); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 60px; height: 60px; border-radius: var(--radius-lg);
  background: var(--primary-100); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 16px;
}
.value-card h3 { font-size: 18px; margin-bottom: 10px; }
.value-card p  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

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

/* --- Services Page --- */
.services-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.service-item {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px;
  transition: var(--transition-slow); display: flex; gap: 24px;
}
.service-item:hover { border-color: var(--primary-300); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-icon-wrap {
  width: 64px; height: 64px; border-radius: var(--radius-lg); flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center; color: white; font-size: 28px;
}
.service-item h3 { font-size: 20px; margin-bottom: 4px; }
.service-item .service-subtitle { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.service-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* --- WhatsApp Support Button --- */
.wa-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  background: #25D366; color: white; border-radius: var(--radius-full);
  padding: 12px 20px; display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition); text-decoration: none;
}
.wa-btn:hover { background: #1ebe5d; color: white; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
.wa-icon { font-size: 20px; }

/* --- App Icon Styles --- */
.app-icon { display: flex; align-items: center; justify-content: center; border-radius: 12px; overflow: hidden; }
.app-icon svg { width: 100%; height: 100%; }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--text-muted); }
.text-primary-color { color: var(--primary); }
.fw-bold { font-weight: 700; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.d-flex   { display: flex; }
.gap-2    { gap: 16px; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* --- Animations --- */
@keyframes fadeInUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.04); } }

.fade-in-up { animation: fadeInUp 0.5s ease forwards; }
.pulse { animation: pulse 2s infinite; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-200); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =================================================================
   RESPONSIVE
================================================================= */
@media (max-width: 1024px) {
  .hero-grid     { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual   { align-items: center; }
  .hero-content  { max-width: 100%; text-align: center; }
  .hero-cta      { justify-content: center; }
  .hero-trust    { justify-content: center; }
  .hero-center-badge { display: none; }

  .why-grid      { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid   { grid-template-columns: repeat(2,1fr); }
  .steps-grid    { grid-template-columns: repeat(2,1fr); }
  .steps-grid::before { display: none; }
  .auth-grid     { grid-template-columns: 1fr; }
  .auth-info     { display: none; }
}

@media (max-width: 768px) {
  .navbar-nav    { display: none; }
  .navbar-actions .btn { display: none; }
  .navbar-toggle { display: block; }

  .hero { padding: 110px 0 60px; }
  .hero-title { font-size: 2rem; }
  .section { padding: 56px 0; }

  .stats-grid    { grid-template-columns: repeat(2,1fr); }
  .apps-grid     { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: repeat(2,1fr); }
  .app-selector  { grid-template-columns: 1fr; }
  .trust-badges  { grid-template-columns: 1fr; }
  .about-values  { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .account-grid  { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .cta-box       { padding: 40px 24px; }

  .auth-card { padding: 32px 24px; }
  .review-card, .step2-card { padding: 24px 16px; }
  .wizard-nav { flex-direction: column; }
  .team-grid  { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
  .packages-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .hero-cta      { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
