@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0f2a44;
  --primary-2: #143a5a;
  --teal: #0e7c6b;
  --teal-light: #14b8a6;
  --accent: #f59e0b;
  --accent-2: #fbbf24;
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15,42,68,0.08);
  --shadow-lg: 0 20px 50px rgba(15,42,68,0.12);
}

* { font-family: 'Vazirmatn', sans-serif; }

body {
  background: radial-gradient(1200px 600px at 80% -10%, #e6f7f5 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 10%, #fef3c7 0%, transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

/* Navbar */
.karno-navbar {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
  box-shadow: 0 4px 20px rgba(15,42,68,0.06);
  padding: 0.7rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.karno-navbar .navbar-brand {
  color: var(--primary) !important;
  font-weight: 800;
  font-size: 1.25rem;
  gap: 10px;
  display: flex;
  align-items: center;
}
.brand-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--teal) 0%, #0f2a44 100%);
  border-radius: 10px;
  display: grid; place-items: center;
  color: white;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(14,124,107,0.25);
}
.karno-navbar .nav-link {
  color: #334155 !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 14px !important;
  border-radius: 10px;
  transition: all .2s;
}
.karno-navbar .nav-link:hover {
  color: var(--teal) !important;
  background: #f0fdfa;
}
.btn-cta {
  background: linear-gradient(135deg, var(--teal) 0%, #0b6b5e 100%);
  color: white !important;
  border: none;
  border-radius: 12px;
  padding: 9px 18px !important;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(14,124,107,0.22);
  transition: all .2s;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(14,124,107,0.28); }
.btn-ghost {
  background: white;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 9px 14px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f2a44 0%, #0e4a3a 55%, #0e7c6b 100%);
  color: white;
  border-radius: 28px;
  padding: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 400px at 20% 0%, rgba(251,191,36,0.18), transparent 60%),
              radial-gradient(700px 500px at 90% 100%, rgba(20,184,166,0.22), transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: #fef3c7;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}
.hero h1 { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.4; }
.hero p.lead { color: #e2e8f0; font-weight: 400; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 12px;
}
.hero-stat {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}
.hero-stat strong { display:block; font-size: 1.35rem; font-weight:800; }
.hero-stat span { font-size: 0.78rem; opacity:.85; }
.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
  color: #0f2a44 !important;
  font-weight: 800;
  border-radius: 14px;
  padding: 13px 26px;
  border: none;
  box-shadow: 0 10px 24px rgba(245,158,11,0.3);
}
.btn-hero-secondary {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  border-radius: 14px;
  padding: 13px 22px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

/* Cards */
.stat-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all .25s cubic-bezier(.2,.8,.2,1);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cbd5e1; }
.stat-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px;
}
.stat-number { font-size: 1.9rem; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.kpi-grid .stat-card { position: relative; overflow: hidden; }
.kpi-grid .stat-card::after {
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  opacity:.0; transition:.25s;
}
.kpi-grid .stat-card:hover::after { opacity:1; }

/* Feature */
.feature-card { text-align: center; padding: 26px 18px; }
.feature-icon {
  width: 54px; height:54px; margin:0 auto 14px;
  border-radius: 14px;
  display:grid; place-items:center;
  font-size:26px;
  background: #f0fdfa;
  border:1px solid #ccfbf1;
  color: var(--teal);
}

/* Wizard */
.wizard-card {
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.wizard-head {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border);
  padding: 18px 22px;
}
.step-badge {
  background: var(--primary);
  color: white;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  display:inline-flex; align-items:center; gap:6px;
}
.progress-thin { height: 8px; background:#e2e8f0; border-radius:999px; overflow:hidden; }
.progress-thin .progress-bar { background: linear-gradient(90deg, var(--teal), var(--accent)); border-radius:999px; }
.domain-btn {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: white;
  transition: all .2s;
  cursor: pointer;
  font-weight: 600;
  color: #334155;
  text-align: right;
}
.domain-btn:hover { border-color: var(--teal-light); background:#f0fdfa; transform: translateY(-2px); }
.domain-btn.active {
  border-color: var(--teal);
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
  color: var(--primary);
  box-shadow: 0 6px 16px rgba(14,124,107,0.12);
}

/* Footer */
.karno-footer {
  background: #0f172a;
  color: #cbd5e1;
  border-top: 1px solid #1e293b;
  margin-top: 64px;
}
.karno-footer a { color:#fbbf24; text-decoration:none; }
.sep { color:#e2e8f0; letter-spacing: 4px; font-weight:300; }

/* Animations */
@keyframes float { 0%,100% { transform: translateY(0)} 50% { transform: translateY(-8px)} }
.float-card { animation: float 6s ease-in-out infinite; }

/* Responsive */
@media(max-width: 768px){
  .hero { padding: 28px 20px; border-radius: 22px; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
}
