/* ==========================================================================
   LIAQAT NAVEED — CLEAN EXECUTIVE PORTFOLIO & SOFTWARE CATALOG
   Minimalist Light Architecture (Crisp Typography, Hairline Borders, Zero Bloat)
   ========================================================================== */

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-subtle: #F1F5F9;

  --border-color: #E2E8F0;
  --border-hover: #CBD5E1;

  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-soft: #EFF6FF;

  --success: #059669;
  --success-soft: #ECFDF5;

  --text-main: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 9999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--primary-hover);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.site-header.scrolled {
  box-shadow: var(--shadow-xs);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-title span:first-child {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--text-main);
  line-height: 1.15;
}

.brand-title .brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
}

.nav-links a:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  background: var(--bg-primary);
}

.icon-nav-btn:hover {
  color: var(--text-main);
  border-color: var(--border-hover);
  background: var(--bg-secondary);
}

.mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.58rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text-main);
  color: #FFFFFF !important;
}

.btn-primary:hover {
  background: var(--primary);
}

.btn-outline {
  background: var(--bg-primary);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: var(--border-hover);
  color: var(--text-main);
}

.btn-sm {
  padding: 0.42rem 0.85rem;
  font-size: 0.82rem;
}

.btn-whatsapp-clean {
  background: #16A34A;
  color: #FFFFFF !important;
}

.btn-whatsapp-clean:hover {
  background: #15803D;
}

/* ==========================================================================
   HERO SECTION (CRISP LIGHT EDITORIAL)
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 4rem;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  color: var(--text-main);
}

.text-accent {
  color: var(--primary);
}

.hero-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-stats-inline {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.stat-item strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stat-sep {
  width: 1px;
  height: 30px;
  background: var(--border-color);
}

/* Right Profile Card */
.hero-card-clean {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.profile-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.profile-avatar-clean {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.profile-card-head h3 {
  font-size: 1.05rem;
  margin: 0;
}

.clean-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.clean-tags-row span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 0.12rem 0.5rem;
  border-radius: var(--radius-sm);
}

.profile-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.quick-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  transition: border-color 0.18s ease;
}

.quick-link-row:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.link-domain {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.profile-desk-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
}

/* ==========================================================================
   SECTIONS & CATALOG
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.section-header-clean {
  margin-bottom: 2rem;
}

.catalog-search-wrap {
  position: relative;
  width: 320px;
  max-width: 100%;
}

.catalog-search-wrap i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.catalog-search-input {
  width: 100%;
  padding: 0.55rem 2.2rem 0.55rem 2.3rem;
  font-size: 0.86rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-main);
}

.catalog-search-input:focus {
  outline: none;
  border-color: var(--primary);
}

.clear-search-btn {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
}

.products-filter {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-main);
}

.filter-btn.active {
  background: var(--text-main);
  color: #FFFFFF;
  border-color: var(--text-main);
}

/* Minimal Software Cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.card-icon-soft {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.pill-trial-clean {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-soft);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.card-category-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.project-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.project-title a {
  color: var(--text-main);
}

.project-title a:hover {
  color: var(--primary);
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.pricing-clean-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
  font-size: 0.84rem;
}

.pricing-clean-row .p-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.pricing-clean-row .p-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.card-actions-clean {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-link-subtle {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.btn-link-subtle:hover {
  color: var(--primary);
}

.catalog-empty-state {
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-primary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   CASE STUDY & REPOSITORIES
   ========================================================================== */
.case-study-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.cs-points-clean {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cs-point-item {
  padding-left: 1rem;
  border-left: 2px solid var(--border-color);
}

.cs-point-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.cs-point-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
}

.repos-clean-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
}

.repos-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.repos-panel-header h4 {
  font-size: 1rem;
  margin: 0;
}

.repo-row-clean {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.55rem;
  color: var(--text-main);
}

.repo-row-clean:last-child {
  margin-bottom: 0;
}

.repo-row-clean:hover {
  border-color: var(--primary);
}

.repo-row-clean strong {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--primary);
}

.repo-row-clean p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0.1rem 0 0;
}

.repo-lang {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* ==========================================================================
   EXPERTISE 4-COLUMN GRID
   ========================================================================== */
.expertise-grid-clean {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.expertise-card-clean {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.exp-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.expertise-card-clean h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.expertise-card-clean p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   CONTACT & FORMS
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info-card,
.form-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.contact-clean-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-clean-row {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.contact-clean-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-clean-row .c-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-clean-row strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.contact-clean-row a {
  font-size: 0.86rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.62rem 0.85rem;
  font-size: 0.88rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-main);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.plan-tiles-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.plan-tile {
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 0.7rem;
  text-align: center;
  cursor: pointer;
}

.plan-tile input {
  display: none;
}

.plan-tile.active,
.plan-tile:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.plan-tile-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.plan-tile-desc {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODALS & FOOTER
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.modal-header {
  padding: 1rem 1.35rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.05rem;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 1.35rem;
}

.modal-note-bar {
  background: var(--primary-soft);
  color: var(--text-main);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  margin-bottom: 1rem;
}

.modal-footer {
  padding: 0.85rem 1.35rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.pill-soft {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
}

.pill-online {
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
}

.demo-credentials-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}

.cred-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.85rem;
}

.cred-val {
  font-family: var(--font-mono);
  color: var(--primary);
  font-weight: 600;
}

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-about-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 360px;
}

.footer-col h4 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.alert-success {
  background: var(--success-soft);
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.alert-danger {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (CLEAN LIGHT)
   ========================================================================== */
.detail-hero-section {
  padding: 3rem 0 2.5rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.detail-breadcrumb {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.5rem;
}

.detail-hero-header {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.detail-hero-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.detail-badges-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.detail-hero-text h1 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.detail-hero-text p {
  color: var(--text-muted);
  margin: 0;
  max-width: 700px;
}

.detail-layout-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: start;
}

.detail-panel-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.detail-panel-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.detail-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.detail-feature-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-purchase-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  position: sticky;
  top: 88px;
}

.pricing-tier-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
}

.tier-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.tier-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid,
  .case-study-layout,
  .contact-grid,
  .detail-layout-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid,
  .expertise-grid-clean {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .projects-grid,
  .expertise-grid-clean,
  .form-grid,
  .plan-tiles-group,
  .footer-grid,
  .detail-features-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Admin Panel Preserved */
.admin-body { background-color: #F8FAFC; color: #0F172A; min-height: 100vh; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 260px; background: #FFF; border-right: 1px solid #E2E8F0; display: flex; flex-direction: column; padding: 1.5rem 1rem; flex-shrink: 0; }
.admin-sidebar-header { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid #E2E8F0; }
.admin-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.admin-nav li a { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0.85rem; border-radius: 10px; color: #475569; font-size: 0.92rem; font-weight: 600; }
.admin-nav li a.active { background: #EFF6FF; color: #2563EB; }
.admin-content { flex: 1; padding: 2rem 2.5rem; background: #F8FAFC; overflow-y: auto; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid #E2E8F0; }
.data-table-wrap { background: #FFF; border: 1px solid #E2E8F0; border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow-xs); overflow-x: auto; }
