/* ==========================================================================
   GoDoz Technology & Digital Solutions - Elite Master Stylesheet
   Brand: GoDoz (Founder: RS GULSHAN PRAJAPATI)
   Mobile First, Ultra-Optimized Header (Non-intrusive sticky), Responsive Grids
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&family=Noto+Sans+Devanagari:wght@400;600;700&display=swap');

:root {
  /* Brand Palette */
  --primary: #1266e8;
  --primary-dark: #0a46ab;
  --primary-light: #438bff;
  --accent: #ff6900;
  --accent-hover: #e55a00;
  --accent-light: #fff2e8;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --purple: #8b5cf6;
  --teal: #06b6d4;

  /* Theme - Light (Default) */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-color-hover: #cbd5e1;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(226, 232, 240, 0.85);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(18, 102, 232, 0.25);

  --font-heading: 'Outfit', 'Noto Sans Devanagari', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Noto Sans Devanagari', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg-body: #090e1a;
  --bg-surface: #10192e;
  --bg-surface-elevated: #16223e;
  --bg-surface-alt: #1a2849;
  --border-color: #1e2e4f;
  --border-color-hover: #2d426d;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  
  --glass-bg: rgba(16, 25, 46, 0.94);
  --glass-border: rgba(30, 46, 79, 0.85);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(67, 139, 255, 0.3);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(18, 102, 232, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid rgba(18, 102, 232, 0.2);
}

.section-badge.accent {
  background: rgba(255, 105, 0, 0.1);
  color: var(--accent);
  border-color: rgba(255, 105, 0, 0.2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* Typography & Badges */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #00b4d8 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.gradient-text-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c38 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(18, 102, 232, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(18, 102, 232, 0.45);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #e05400 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 105, 0, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 105, 0, 0.45);
}

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

.btn-outline:hover {
  background: var(--bg-surface-alt);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Header & Sleek Compact Sticky Navbar
   ========================================================================== */
.top-notice-bar {
  background: linear-gradient(90deg, #07112c 0%, #0f2b68 50%, #07112c 100%);
  color: #e2e8f0;
  padding: 6px 16px;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-notice-badge {
  background: var(--accent);
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
}

/* SLEEK COMPACT NAVBAR (Only this stays sticky, ~58px height) */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-base);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px; /* Ultra-compact height */
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
}

.brand-name .go { color: var(--primary); }
.brand-name .doz { color: var(--accent); }

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-link {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-link:hover {
  background: var(--bg-surface-alt);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle-btn {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--border-color);
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  color: var(--text-main);
  cursor: pointer;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

/* Off-Canvas Mobile Drawer Menu */
.mobile-nav-drawer {
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  padding: 16px 20px 24px;
  z-index: 999;
  display: none;
  flex-direction: column;
  gap: 8px;
  animation: slideDown 0.25s ease forwards;
}

.mobile-nav-drawer.open {
  display: flex;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-drawer .nav-link {
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   NATURALLY SCROLLABLE Search & Filter Bar (NOT STICKY - Won't block view)
   ========================================================================== */
.search-filter-section {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 22px 0;
  position: relative; /* Scrolls naturally with page! */
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.search-bar-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-surface-alt);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 4px 16px;
  transition: all var(--transition-fast);
}

.search-bar-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(18, 102, 232, 0.15);
  background: var(--bg-surface);
}

.search-bar-icon {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-right: 10px;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--text-main);
  padding: 10px 0;
}

.search-clear-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 6px;
  display: none;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  justify-content: center;
}

.category-pill {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.category-pill:hover, .category-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Visual Search Highlights */
mark.search-highlight {
  background: #ffeb3b !important;
  color: #000000 !important;
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 800;
  box-shadow: 0 0 8px rgba(255, 235, 59, 0.8);
  display: inline;
}

[data-theme="dark"] mark.search-highlight {
  background: #f59e0b !important;
  color: #000000 !important;
}

mark.search-highlight.active-match {
  background: #ff6900 !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(255, 105, 0, 0.9);
  outline: 2px solid #ff6900;
}

.matched-item-focused {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(18, 102, 232, 0.4), var(--shadow-xl) !important;
  animation: pulseMatchedCard 0.8s ease;
}

@keyframes pulseMatchedCard {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Search Match Navigation Bar */
.search-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  margin-top: 14px;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 10px;
}

.search-nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-nav-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.search-nav-btn:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.search-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Live Search Suggestions Dropdown */
.search-results-dropdown {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-height: 360px;
  overflow-y: auto;
  margin-top: 12px;
  padding: 8px;
  display: none;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast);
  border-bottom: 1px solid var(--border-color);
  gap: 12px;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover, .search-result-item.active {
  background: var(--bg-surface-alt);
  color: var(--primary);
}

.search-result-title {
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-result-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(18, 102, 232, 0.1);
  color: var(--primary);
  font-weight: 600;
  flex-shrink: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: clamp(50px, 8vw, 85px) 0;
  background: radial-gradient(circle at 85% 20%, rgba(18, 102, 232, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(255, 105, 0, 0.06) 0%, transparent 40%);
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  max-width: 650px;
}

.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.hero-brand-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
}

.hero-brand-badge span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.hero-stat-item h4 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-item p {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.hero-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.founder-quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.founder-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.founder-info h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.founder-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tech-stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

.tech-badge {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(18, 102, 232, 0.1) 0%, rgba(67, 139, 255, 0.2) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.service-card.accent-card .service-icon-wrap {
  background: linear-gradient(135deg, rgba(255, 105, 0, 0.1) 0%, rgba(255, 140, 56, 0.2) 100%);
  color: var(--accent);
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  margin-bottom: 20px;
}

.service-features-list li {
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-list li i {
  color: var(--success);
  font-size: 0.8rem;
}

/* ==========================================================================
   Interactive Cost Estimator
   ========================================================================== */
.estimator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow-lg);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.estimator-form-group {
  margin-bottom: 20px;
}

.estimator-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.option-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.option-card-label {
  display: block;
  position: relative;
  cursor: pointer;
}

.option-card-label input {
  position: absolute;
  opacity: 0;
}

.option-card-ui {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.82rem;
  transition: all var(--transition-fast);
}

.option-card-label input:checked + .option-card-ui {
  background: rgba(18, 102, 232, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}

.estimator-summary-card {
  background: linear-gradient(145deg, #0d1a38 0%, #060b18 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.estimator-total-price {
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: #ffb703;
  margin: 8px 0 16px;
}

/* ==========================================================================
   Product Showcase
   ========================================================================== */
.product-showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 32px);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
  align-items: center;
}

.product-showcase-card.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.product-meta-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.badge-green { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.badge-blue { background: rgba(18, 102, 232, 0.15); color: var(--primary); }
.badge-orange { background: rgba(255, 105, 0, 0.15); color: var(--accent); }
.badge-purple { background: rgba(139, 92, 246, 0.15); color: var(--purple); }

.product-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}

.product-pill {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==========================================================================
   Micro-Tools Suite
   ========================================================================== */
.tools-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.tool-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.tool-tab-btn.active, .tool-tab-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.tool-panel {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-md);
}

.tool-panel.active {
  display: block;
}

.tool-input-textarea {
  width: 100%;
  min-height: 110px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
  margin-bottom: 12px;
}

.tool-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0;
}

.tool-stat-badge {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
}

.tool-stat-badge strong {
  color: var(--primary);
  font-size: 1rem;
}

/* ==========================================================================
   Directory Grids
   ========================================================================== */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.directory-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.directory-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  background: var(--bg-surface-alt);
}

.directory-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.directory-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(18, 102, 232, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.directory-title {
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.directory-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
}

.directory-external-icon {
  color: var(--text-light);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.directory-favicon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

/* ==========================================================================
   Pricing Grid
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), 0 0 0 2px var(--accent);
}

.pricing-badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 3px 14px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-tier-name {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.pricing-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin: 12px 0 20px;
}

.pricing-features-list {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.pricing-features-list li {
  font-size: 0.88rem;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features-list li i {
  color: var(--success);
}

/* ==========================================================================
   Founder Showcase
   ========================================================================== */
.founder-dossier-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow-md);
}

.founder-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  align-items: center;
}

.founder-photo-col {
  text-align: center;
}

.founder-full-photo {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--primary);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  padding: 16px 18px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question i {
  transition: transform var(--transition-fast);
  color: var(--primary);
  font-size: 0.85rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 18px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Contact & Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-info-card {
  background: linear-gradient(145deg, #09132e 0%, #10192e 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 32px);
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 0.92rem;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--bg-surface);
}

/* ==========================================================================
   Floating Widgets & Footer
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-smooth);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) rotate(10deg);
}

.back-to-top-btn {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 998;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.site-footer {
  background: #060b18;
  color: #cbd5e1;
  padding: 50px 0 90px; /* Extra bottom padding so floating WhatsApp btn doesn't overlap footer content */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 6px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.86rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 8px;
  text-align: center;
}

/* ==========================================================================
   Mobile Responsiveness (Phones & Tablets)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .estimator-grid { grid-template-columns: 1fr; }
  .product-showcase-card, .product-showcase-card.reverse { grid-template-columns: 1fr; }
  .founder-layout { grid-template-columns: 1fr; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 860px) {
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: flex; }
  .hide-mobile { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  .top-notice-bar { display: none; }
  .hero-stats-bar { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .directory-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; }

  /* Fix inline grids inside sections on mobile */
  [style*="grid-template-columns: 1.2fr 0.8fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1.1fr 1fr"],
  [style*="grid-template-columns: 1fr 1.1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Footer bottom text center on mobile */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    font-size: 0.78rem;
  }

  /* Floating WhatsApp button — make smaller on mobile */
  .floating-whatsapp-btn {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    bottom: 16px;
    right: 16px;
  }

  .back-to-top-btn {
    bottom: 74px;
    right: 16px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .section { padding: 40px 0; }
  .section-title { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-col h4 { font-size: 0.95rem; }
  .footer-links a { font-size: 0.82rem; }

  /* Tool inner grids on very small phones */
  [style*="grid-template-columns: 1.2fr 0.8fr"],
  [style*="grid-template-columns: 1fr 1.1fr"],
  [style*="grid-template-columns: 1.1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* ==========================================================================
   SPECIAL A4 MULTI-PAGE PRINT ENGINE (20 to 30+ Pages on Print/PDF)
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 15mm 15mm 15mm;
  }

  *, *::before, *::after {
    background: transparent !important;
    color: #000000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    background: #ffffff !important;
    color: #111111 !important;
    font-size: 11pt;
    line-height: 1.5;
    font-family: 'Times New Roman', Times, serif, Arial, sans-serif;
  }

  .top-notice-bar,
  .navbar,
  .mobile-nav-drawer,
  .search-filter-section,
  .floating-whatsapp-btn,
  .back-to-top-btn,
  .mobile-menu-toggle,
  .theme-toggle-btn,
  .tool-tab-btn,
  .btn-print-hide,
  .social-buttons,
  #loading-overlay {
    display: none !important;
  }

  .print-page-header {
    display: block !important;
    border-bottom: 2pt solid #1266e8;
    padding-bottom: 6pt;
    margin-bottom: 14pt;
    font-size: 9pt;
    color: #444444 !important;
    font-family: Arial, sans-serif;
  }

  .print-page-footer {
    display: block !important;
    border-top: 1pt solid #cccccc;
    padding-top: 6pt;
    margin-top: 16pt;
    font-size: 8pt;
    text-align: center;
    color: #666666 !important;
  }

  .print-page-break {
    page-break-after: always !important;
    break-after: page !important;
  }

  .print-avoid-break {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .section {
    padding: 10pt 0 !important;
    page-break-inside: avoid !important;
  }

  .section-title {
    font-size: 18pt !important;
    color: #0b2f82 !important;
    border-bottom: 1.5pt solid #1266e8;
    padding-bottom: 4pt;
    margin-top: 10pt;
    margin-bottom: 8pt;
  }

  .section-subtitle {
    font-size: 10pt !important;
    color: #333333 !important;
    margin-bottom: 10pt;
  }

  .service-card,
  .product-showcase-card,
  .pricing-card,
  .directory-card,
  .faq-item,
  .estimator-box,
  .founder-dossier-card {
    border: 1pt solid #bbbbbb !important;
    border-radius: 4pt !important;
    padding: 10pt !important;
    margin-bottom: 10pt !important;
    page-break-inside: avoid !important;
  }

  .services-grid,
  .directory-grid,
  .pricing-grid,
  .faq-grid {
    display: block !important;
  }

  .service-card,
  .pricing-card,
  .directory-card {
    margin-bottom: 12pt !important;
    display: block !important;
  }

  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #555555 !important;
  }

  .tool-panel {
    display: block !important;
    margin-bottom: 14pt !important;
  }
}
