/**
 * D-Soft Solutions & KhabarPress Commercial Storefront Styles
 */
:root {
  --ds-primary: #4f46e5;
  --ds-primary-hover: #4338ca;
  --ds-secondary: #06b6d4;
  --ds-dark: #0f172a;
  --ds-light: #f8fafc;
  --ds-card-bg: #ffffff;
  --ds-text: #1e293b;
  --ds-muted: #64748b;
  --ds-border: #e2e8f0;
  --ds-success: #10b981;
  --ds-danger: #ef4444;
  --ds-warning: #f59e0b;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Devanagari', sans-serif;
  color: var(--ds-text);
  background-color: #f1f5f9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar-ds {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar-brand .brand-logo {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-link {
  color: #cbd5e1 !important;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: #38bdf8 !important;
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at 50% 0%, #1e1b4b 0%, #0f172a 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 0.875rem;
  font-weight: 600;
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
}
.hero-lead {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 700px;
  margin: 0 auto;
}

/* Feature Cards */
.feature-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--ds-border);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}
.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* Pricing Card */
.pricing-card {
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid var(--ds-primary);
  box-shadow: 0 20px 40px -15px rgba(79, 70, 229, 0.25);
  overflow: hidden;
  position: relative;
}
.pricing-popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pricing-header {
  padding: 32px 32px 20px;
  background: #faf5ff;
  border-bottom: 1px solid #f3e8ff;
}
.price-display {
  font-size: 3rem;
  font-weight: 800;
  color: var(--ds-dark);
}
.price-currency {
  font-size: 1.6rem;
  font-weight: 600;
  vertical-align: super;
}
.price-period {
  font-size: 1rem;
  color: var(--ds-muted);
  font-weight: normal;
}

/* Marketplace Theme Cards */
.theme-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.theme-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}
.theme-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #0f172a;
}
.theme-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.theme-card:hover .theme-img-wrap img {
  transform: scale(1.05);
}
.theme-price-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: #38bdf8;
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
}

/* Dashboard & Cards */
.ds-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--ds-border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  padding: 24px;
  margin-bottom: 24px;
}
.stat-widget {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--ds-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ds-dark);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--ds-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Key display block */
.key-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Courier New', monospace;
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Footer */
.footer-ds {
  background: #0f172a;
  color: #94a3b8;
  margin-top: auto;
  padding: 50px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-heading {
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #38bdf8;
}

/* Print Invoice styles */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: #fff !important;
  }
  .invoice-box {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }
}
