/* ============================================
   ZEESHAN SHAKEEL - Personal Brand Website
   Theme: Light Blue / Professional
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #0EA5E9;
  --primary-dark: #0369A1;
  --primary-darker: #0C4A6E;
  --primary-light: #38BDF8;
  --primary-lighter: #BAE6FD;
  --primary-bg: #E0F2FE;
  --primary-bg-subtle: #F0F9FF;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --success: #10B981;
  --danger: #EF4444;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --font-signature: 'Dancing Script', cursive;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ---------- Page Loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-content {
  text-align: center;
}
.loader-signature {
  font-family: var(--font-signature);
  font-size: 3rem;
  color: var(--white);
  letter-spacing: 2px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
.loader-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}
.loader-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-light);
  animation: dotBounce 1.2s ease-in-out infinite;
}
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}
@keyframes dotBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-12px); }
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 100px 0;
}
.section-sm {
  padding: 60px 0;
}
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.bg-light { background: var(--gray-50); }
.bg-primary-subtle { background: var(--primary-bg-subtle); }
.bg-gradient {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 60%, var(--primary) 100%);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--gray-500); line-height: 1.8; }
.signature-text {
  font-family: var(--font-signature);
  color: var(--primary-dark);
}

/* Section Header */
.section-header {
  max-width: 650px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-header .label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
}
.section-header .label::before,
.section-header .label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--primary-lighter);
}
.section-header .label::before { right: calc(100% + 12px); }
.section-header .label::after { left: calc(100% + 12px); }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--gray-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(14,165,233,0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,165,233,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(245,158,11,0.35);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header / Navbar ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-signature);
  font-size: 1.8rem;
  color: var(--white);
  transition: var(--transition);
}
.header.scrolled .logo {
  color: var(--primary-dark);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.header.scrolled .nav-links a { color: var(--gray-700); }
.header.scrolled .nav-links a:hover { color: var(--primary); }
.header.scrolled .nav-links a::after { background: var(--primary); }
.nav-links .btn-nav {
  padding: 10px 24px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-xl);
  color: var(--white);
  font-weight: 600;
}
.nav-links .btn-nav:hover {
  background: var(--white);
  color: var(--primary-dark);
}
.header.scrolled .nav-links .btn-nav {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.header.scrolled .nav-links .btn-nav:hover {
  background: var(--primary-dark);
}

/* Dropdown */
.nav-item { position: relative; }
.nav-item .dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--gray-600) !important;
}
.dropdown a:hover {
  background: var(--primary-bg-subtle);
  color: var(--primary) !important;
}
.dropdown a::after { display: none; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .menu-toggle span { background: var(--gray-700); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  color: var(--primary-lighter);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.2;
}
.hero h1 span {
  display: block;
  font-family: var(--font-signature);
  color: var(--primary-lighter);
  font-size: 0.7em;
  font-weight: 400;
}
.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.hero-shape-1 { width: 500px; height: 500px; top: -200px; right: -100px; }
.hero-shape-2 { width: 300px; height: 300px; bottom: -100px; left: -80px; }
.hero-shape-3 { width: 200px; height: 200px; top: 40%; right: 10%; }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--white);
  margin-top: -50px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-item {
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--gray-200);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 8px;
  font-weight: 500;
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lighter);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 20px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}
.service-link:hover { gap: 10px; }

/* ---------- About Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-inner img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge .number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge .text {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.9;
}
.about-content h2 { margin-bottom: 20px; }
.about-content .lead { margin-bottom: 24px; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.9rem;
}
.about-feature svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ---------- Pricing Cards ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
}
.pricing-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 4px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pricing-card:hover {
  border-color: var(--primary-lighter);
  box-shadow: var(--shadow-lg);
}
.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}
.pricing-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.pricing-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-400);
}
.pricing-features {
  margin: 28px 0;
  text-align: left;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

/* ---------- Tools Grid ---------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}
.tool-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lighter);
}
.tool-logo {
  height: 50px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.tool-logo img { max-height: 50px; width: auto; }
.tool-logo .tool-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.tool-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  margin-bottom: 12px;
  width: fit-content;
}
.tool-card h4 { margin-bottom: 8px; }
.tool-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 100%);
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='m0 40 40-40h-10l-40 40zm40 0v-10l-40 40z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}
.cta-content h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}
.contact-info h3 { margin-bottom: 16px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.contact-info-item .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-info-item .icon svg { width: 20px; height: 20px; }
.contact-info-item .label {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 500;
}
.contact-info-item .value {
  font-weight: 600;
  color: var(--gray-800);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-700);
  transition: var(--transition);
  background: var(--gray-50);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.honeypot { position: absolute; left: -9999px; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success.show { display: block; }
.form-success svg {
  width: 60px;
  height: 60px;
  color: var(--success);
  margin-bottom: 16px;
}
.form-success h3 { color: var(--success); margin-bottom: 8px; }

/* ---------- Tools Category Filter ---------- */
.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--gray-200);
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
}
.filter-tab.active,
.filter-tab:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

/* ---------- Page Header ---------- */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 60%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); margin-bottom: 16px; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.85rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--primary-lighter); font-weight: 600; }

/* ---------- Footer ---------- */
.footer {
  background: var(--gray-900);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo {
  font-size: 2rem;
  color: var(--white);
  display: inline-block;
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.8;
}
.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.footer-links a {
  display: block;
  color: var(--gray-400);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 6px;
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-bottom: 0;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}
.footer-social a svg { width: 18px; height: 18px; }

/* ---------- How It Works ---------- */
.how-it-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: step;
}
.step-card {
  text-align: center;
  padding: 40px 24px;
  counter-increment: step;
  position: relative;
}
.step-card::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-bg);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}
.step-card h4 { margin-bottom: 10px; }
.step-card p { color: var(--gray-500); font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--accent);
}
.testimonial-stars svg { width: 18px; height: 18px; }
.testimonial-text {
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.8;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial-name { font-weight: 700; color: var(--gray-800); font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--gray-400); }

/* ---------- Service Detail Page ---------- */
.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 50px;
}
.service-main h2 { margin-bottom: 16px; }
.service-main h3 { margin: 32px 0 12px; font-size: 1.4rem; }
.service-main p { margin-bottom: 16px; }
.service-main ul {
  margin: 16px 0 24px 20px;
  list-style: none;
}
.service-main ul li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--gray-600);
}
.service-main ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  background: var(--primary-bg);
  border-radius: 50%;
  border: 3px solid var(--primary);
}
.service-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}
.sidebar-card h4 { margin-bottom: 16px; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--primary-bg);
  color: var(--primary);
}
.sidebar-nav a svg { width: 18px; height: 18px; }

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid,
  .service-detail-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-item:nth-child(2)::after { display: none; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--gray-900);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transform: translateX(100%);
    transition: var(--transition);
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    color: var(--white) !important;
    font-size: 1.1rem;
  }
  .nav-links .btn-nav {
    background: var(--primary) !important;
    color: var(--white) !important;
    border: none !important;
  }
  .nav-item .dropdown {
    position: static;
    transform: none;
    background: rgba(255,255,255,0.05);
    box-shadow: none;
    min-width: 100%;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .nav-item.open .dropdown { display: block; }
  .dropdown a { color: rgba(255,255,255,0.7) !important; }
  .menu-toggle { display: flex; }
  .hero { min-height: auto; padding: 140px 0 100px; }
  .hero-btns { flex-direction: column; }
  .stats-bar { grid-template-columns: 1fr 1fr; margin-top: -30px; padding: 24px; }
  .stat-item::after { display: none !important; }
  .services-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .about-features { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .how-it-works { grid-template-columns: 1fr 1fr; }
  .hero-shape { display: none; }
  .cta-btns { flex-direction: column; align-items: center; }
  .page-header { padding: 130px 0 60px; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
  .how-it-works { grid-template-columns: 1fr; }
  .filter-tabs { gap: 8px; }
  .filter-tab { padding: 8px 16px; font-size: 0.8rem; }
}

/* ---------- Logo Gradient Line ---------- */
.logo {
  font-size: 2.2rem !important;
  position: relative;
  padding-bottom: 6px;
}
.logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent), var(--primary-light));
  border-radius: 2px;
  opacity: 0.9;
}
.header.scrolled .logo::after {
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}
.footer-brand .logo { font-size: 2.2rem !important; }
.footer-brand .logo::after {
  background: linear-gradient(90deg, var(--primary-light), var(--accent), var(--primary-light));
}

/* ---------- FAQ Section ---------- */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary-lighter); }
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.95rem;
  gap: 16px;
  user-select: none;
}
.faq-question:hover { color: var(--primary); }
.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--primary);
}
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ---------- States Grid ---------- */
.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.state-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.state-badge:hover {
  border-color: var(--primary-lighter);
  background: var(--primary-bg-subtle);
  color: var(--primary);
}
.state-badge svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

/* ---------- Client Types ---------- */
.client-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.client-type-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.client-type-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lighter);
}
.client-type-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
}
.client-type-icon svg { width: 32px; height: 32px; }
.client-type-card h4 { margin-bottom: 8px; }
.client-type-card p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Property Types ---------- */
.property-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--gray-100);
  transition: var(--transition);
}
.property-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.property-card h3 { margin-bottom: 10px; }
.property-card p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 0; }
.property-card .property-emoji { font-size: 3rem; margin-bottom: 16px; display: block; }

/* ---------- Land Section ---------- */
.land-section {
  position: relative;
  overflow: hidden;
}
.land-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.land-feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
}
.land-feature .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.land-feature .icon svg { width: 22px; height: 22px; color: var(--primary-lighter); }
.land-feature h4 { color: var(--white); font-size: 1rem; margin-bottom: 4px; font-family: var(--font-body); }
.land-feature p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 0; }

/* ---------- Tool Badge ---------- */
.tool-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--primary-bg);
  border: 1px solid var(--primary-lighter);
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* ---------- Responsive additions ---------- */
@media (max-width: 768px) {
  .property-types { grid-template-columns: 1fr; }
  .states-grid { grid-template-columns: repeat(2, 1fr); }
  .client-types { grid-template-columns: 1fr; }
  .land-features { grid-template-columns: 1fr; }
  .logo { font-size: 1.8rem !important; }
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }