:root {
  --ph-primary: #2b7fff;
  --ph-primary-dark: #1a5fd4;
  --ph-primary-light: #eef5ff;
  --ph-primary-gradient: linear-gradient(180deg, #5eb0ff 0%, #1a5fd4 100%);
  --ph-red: #d61f26;
  --ph-success: #059669;
  --ph-text: #111111;
  --ph-muted: #5c6678;
  --ph-border: #e2e8f0;
  --ph-bg: #f4f7fb;
  --ph-surface: #ffffff;
  --ph-shadow: 0 12px 40px rgba(17, 17, 17, 0.08);
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--ph-text);
  background-color: var(--ph-bg);
}

.text-muted {
  color: var(--ph-muted) !important;
}

.text-primary {
  color: var(--ph-primary) !important;
}

.navbar {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid var(--ph-border);
  transition: box-shadow 0.2s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(17, 17, 17, 0.06);
}

.navbar-brand {
  padding: 0;
}

.brand-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.brand-logo-nav {
  height: 52px;
  max-width: 220px;
}

.brand-logo-hero {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.brand-logo-footer {
  max-width: 240px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.brand-logo-about {
  max-width: 360px;
  width: 100%;
}

.powered-by {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ph-muted);
  font-weight: 600;
}

.powered-by strong {
  color: var(--ph-text);
  letter-spacing: 0.06em;
}

.powered-by .accent {
  color: var(--ph-red);
}

.btn-primary {
  --bs-btn-bg: var(--ph-primary);
  --bs-btn-border-color: var(--ph-primary);
  --bs-btn-hover-bg: var(--ph-primary-dark);
  --bs-btn-hover-border-color: var(--ph-primary-dark);
  --bs-btn-active-bg: var(--ph-primary-dark);
  --bs-btn-active-border-color: var(--ph-primary-dark);
  font-weight: 600;
  border-radius: 10px;
  padding: 0.65rem 1.25rem;
}

.btn-outline-primary {
  --bs-btn-color: var(--ph-primary);
  --bs-btn-border-color: var(--ph-border);
  --bs-btn-hover-bg: var(--ph-primary-light);
  --bs-btn-hover-border-color: var(--ph-primary);
  --bs-btn-hover-color: var(--ph-primary);
  font-weight: 600;
  border-radius: 10px;
  padding: 0.65rem 1.25rem;
}

.btn-success {
  --bs-btn-bg: var(--ph-success);
  --bs-btn-border-color: var(--ph-success);
  font-weight: 600;
  border-radius: 10px;
}

.hero {
  padding: 5.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(43, 127, 255, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--ph-primary-light);
  color: var(--ph-primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-title .hisab {
  background: var(--ph-primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subbrand {
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ph-text);
  font-weight: 700;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--ph-muted);
  max-width: 34rem;
}

.hero-card {
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: 20px;
  box-shadow: var(--ph-shadow);
  padding: 1.75rem;
}

.logo-showcase {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--ph-border);
}

.stat-pill {
  background: var(--ph-bg);
  border: 1px solid var(--ph-border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.stat-pill .value {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card {
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ph-shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature-icon.blue { background: var(--ph-primary-light); color: var(--ph-primary); }
.feature-icon.green { background: #ecfdf5; color: var(--ph-success); }
.feature-icon.red { background: #fef2f2; color: var(--ph-red); }
.feature-icon.amber { background: #fffbeb; color: #d97706; }
.feature-icon.teal { background: #ecfeff; color: #0891b2; }

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ph-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section {
  background: linear-gradient(135deg, #1a5fd4 0%, #2b7fff 55%, #1a5fd4 100%);
  border-radius: 24px;
  color: #fff;
  padding: 3rem 2rem;
}

.cta-section .lead {
  color: rgba(255, 255, 255, 0.88);
}

.footer {
  background: #111111;
  color: #94a3b8;
  padding: 3rem 0 1.5rem;
}

.footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.mock-window {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ph-border);
  background: var(--ph-surface);
  box-shadow: var(--ph-shadow);
}

.mock-titlebar {
  background: #f8fafc;
  border-bottom: 1px solid var(--ph-border);
  padding: 0.65rem 1rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mock-dot.red { background: var(--ph-red); }
.mock-dot.yellow { background: #fbbf24; }
.mock-dot.green { background: #34d399; }

.trust-card {
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
}

.trust-card i {
  font-size: 1.5rem;
  color: var(--ph-primary);
  margin-bottom: 0.75rem;
}

.download-card {
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: 20px;
  box-shadow: var(--ph-shadow);
  padding: 2rem;
}

.download-card .windows-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--ph-primary-light);
  color: var(--ph-primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

.download-meta {
  font-size: 0.9rem;
  color: var(--ph-muted);
}

.btn-download-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 4.5rem;
  }

  .brand-logo-nav {
    height: 44px;
    max-width: 180px;
  }
}
