/* ==========================================================================
   DIGITURBO DESIGN SYSTEM & STYLESHEET (Vanilla CSS)
   Target: Small Business Websites, Landing Pages & Care across India
   Aesthetics: Luxury Dark Mode, Modern Glassmorphism, Responsive Micro-Interactions
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #070a13;
  --bg-secondary: #0d1424;
  --bg-card: rgba(16, 24, 43, 0.75);
  --bg-card-hover: rgba(22, 34, 60, 0.9);
  --bg-elevated: #162035;
  --bg-glass: rgba(13, 20, 36, 0.7);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(16, 185, 129, 0.35);
  --border-cyan: rgba(6, 182, 212, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-white: #ffffff;

  --brand-emerald: #10b981;
  --brand-emerald-dark: #059669;
  --brand-emerald-light: #34d399;
  --brand-cyan: #06b6d4;
  --brand-cyan-light: #38bdf8;
  --brand-indigo: #6366f1;
  --brand-amber: #f59e0b;
  --brand-rose: #f43f5e;

  /* Gradients */
  --grad-hero-text: linear-gradient(135deg, #ffffff 0%, #d1fae5 50%, #10b981 100%);
  --grad-cyan-text: linear-gradient(135deg, #ffffff 0%, #cffafe 50%, #06b6d4 100%);
  --grad-primary: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --grad-card-glow: linear-gradient(180deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.03) 100%);
  --grad-badge: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  --glow-emerald: 0 0 35px -5px rgba(16, 185, 129, 0.3);
  --glow-cyan: 0 0 35px -5px rgba(6, 182, 212, 0.25);

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(6, 182, 212, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Skip link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--brand-emerald);
  color: #000;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 99999;
  text-decoration: none;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 20px;
  outline: 3px solid #fff;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #062b20 0%, #0d1424 50%, #08212e 100%);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-pill {
  background: rgba(16, 185, 129, 0.18);
  color: var(--brand-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.top-bar a {
  color: var(--brand-emerald-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.top-bar a:hover {
  color: #fff;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 19, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  transition: transform var(--transition-smooth);
}
.brand-logo-svg {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  transition: transform var(--transition-smooth), filter 0.3s ease;
  display: block;
}
.brand-logo:hover .brand-logo-svg {
  transform: rotate(4deg) scale(1.06);
  filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.6));
}
.brand-logo:hover .brand-icon {
  transform: rotate(5deg) scale(1.05);
}
.header-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-emerald-light);
  letter-spacing: 0.03em;
}
.header-status-pill .status-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-emerald-light);
  box-shadow: 0 0 8px var(--brand-emerald-light);
  animation: pulseDot 1.8s infinite ease-in-out;
}
@media (max-width: 1120px) {
  .header-status-pill {
    display: none;
  }
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}
.brand-name span {
  color: var(--brand-emerald-light);
}
.brand-tagline {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  padding: 6px 0;
  position: relative;
}
.nav-link:hover, .nav-link:focus-visible {
  color: #fff;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-emerald);
  border-radius: 2px;
}
.nav-badge {
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--brand-cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.3);
  margin-left: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.admin-link-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}
.admin-link-btn:hover {
  color: var(--text-main);
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.04);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 13px 26px;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-emerald);
  color: #061811;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}
.btn-primary:hover {
  background: var(--brand-emerald-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45);
}
.btn-secondary {
  background: var(--bg-elevated);
  color: #fff;
  border: 1px solid var(--border-medium);
}
.btn-secondary:hover {
  border-color: var(--brand-emerald-light);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: #25d366;
  color: #072612;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover {
  background: #1eb956;
  color: #000;
  transform: translateY(-2px);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}
.btn-block {
  width: 100%;
}

/* Text Gradients */
.text-grad-emerald {
  background: var(--grad-hero-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-grad-cyan {
  background: var(--grad-cyan-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--grad-badge);
  border: 1px solid var(--border-accent);
  color: var(--brand-emerald-light);
  margin-bottom: 20px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-emerald-light);
  box-shadow: 0 0 10px var(--brand-emerald-light);
  animation: pulseDot 2s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Hero Section - Ultra Modern Split Layout */
.hero-section {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}
.hero-glow-1 {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 90vw);
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  max-width: 100%;
}
.hero-glow-2 {
  position: absolute;
  top: 20%;
  right: 5%;
  width: min(500px, 80vw);
  height: 380px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  max-width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-title {
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.12;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.65;
  max-width: 600px;
}
.hero-subtitle strong {
  color: #fff;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust-bullets {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--text-dim);
}
.hero-trust-bullets span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-trust-bullets svg {
  color: var(--brand-emerald-light);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Hero Showcase Frame & Mockup */
.hero-visual {
  position: relative;
  perspective: 1000px;
}
.hero-mockup-frame {
  position: relative;
  background: rgba(14, 21, 37, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 50px -10px rgba(16, 185, 129, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.hero-mockup-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.95), 0 0 60px -5px rgba(16, 185, 129, 0.35);
}
.browser-top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(7, 10, 19, 0.92);
  border-bottom: 1px solid var(--border-subtle);
}
.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #f59e0b; }
.browser-dot.green { background: #10b981; }
.browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 5px 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Floating Glass Badges */
.floating-stat-badge {
  position: absolute;
  background: rgba(10, 16, 29, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(16, 185, 129, 0.45);
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7), 0 0 20px rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}
.badge-float-1 {
  top: -16px;
  right: -14px;
  animation: floatSlow 4.5s ease-in-out infinite;
}
.badge-float-2 {
  bottom: -18px;
  left: -14px;
  animation: floatReverse 5s ease-in-out infinite;
}
.badge-float-3 {
  bottom: 30px;
  right: -16px;
  animation: floatSlow 5.5s ease-in-out infinite 0.8s;
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes floatReverse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(9px); }
}
.floating-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--brand-emerald-light);
}
.floating-icon-wrap.cyan {
  background: rgba(6, 182, 212, 0.18);
  border-color: rgba(6, 182, 212, 0.35);
  color: var(--brand-cyan-light);
}
.floating-badge-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.floating-badge-sub {
  font-size: 0.72rem;
  color: var(--brand-emerald-light);
  font-weight: 600;
}
.floating-badge-sub.cyan {
  color: var(--brand-cyan-light);
}

/* Quick Metrics Bar */
.metrics-strip {
  margin-top: 54px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-md);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.metric-item {
  position: relative;
}
.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}
.metric-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.metric-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-emerald-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
}
.metric-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ==========================================================================
   PORTFOLIO & WORK SHOWCASE SECTION
   ========================================================================== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn:hover {
  color: #fff;
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.05);
}
.filter-btn.active {
  background: var(--brand-emerald);
  color: #041a12;
  border-color: var(--brand-emerald);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(16, 185, 129, 0.18);
}
.portfolio-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #090e1a;
}
.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-card:hover .portfolio-img {
  transform: scale(1.05);
}
.portfolio-category-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 10, 19, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.portfolio-speed-pill {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(16, 185, 129, 0.92);
  color: #03140d;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.portfolio-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.portfolio-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}
.portfolio-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.portfolio-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  color: var(--text-dim);
  padding: 3px 9px;
  border-radius: 6px;
}
.portfolio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

/* ==========================================================================
   BEFORE VS AFTER SPEED COMPARISON SECTION
   ========================================================================== */
.compare-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.compare-banner-wrap {
  width: 100%;
  background: #060913;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.compare-banner-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 36px;
  gap: 30px;
}
.compare-col {
  padding: 26px;
  border-radius: var(--radius-md);
}
.compare-col.old {
  background: rgba(244, 63, 94, 0.05);
  border: 1px solid rgba(244, 63, 94, 0.25);
}
.compare-col.new {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.12);
}
.compare-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.compare-col-badge {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.compare-col.old .compare-col-badge {
  background: rgba(244, 63, 94, 0.18);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}
.compare-col.new .compare-col-badge {
  background: rgba(16, 185, 129, 0.18);
  color: var(--brand-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.compare-col-title {
  font-size: 1.2rem;
  font-weight: 700;
}
.compare-col.old .compare-col-title { color: #f43f5e; }
.compare-col.new .compare-col-title { color: var(--brand-emerald-light); }
.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.92rem;
}
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  line-height: 1.5;
}
.compare-list strong { color: #fff; }
.compare-list svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md), 0 0 25px rgba(16, 185, 129, 0.12);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-quote {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-dim);
}
.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--brand-emerald-light);
  font-weight: 600;
  margin-top: 2px;
}

/* Sections Common */
.section {
  padding: 95px 0;
  position: relative;
}
.section-alt {
  background: rgba(13, 20, 36, 0.45);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}
.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-emerald-light);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.18;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-emerald), var(--brand-cyan));
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), var(--glow-emerald);
  background: var(--bg-card-hover);
}
.service-card:hover::before {
  opacity: 1;
}

.service-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: var(--brand-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 16px;
}
.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}
.service-title {
  font-size: 1.45rem;
  margin-bottom: 10px;
}
.service-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 22px;
  color: var(--text-muted);
}
.service-price-pill {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(7, 10, 19, 0.6);
  border: 1px solid var(--border-subtle);
  margin-bottom: 22px;
}
.service-price-label {
  font-size: 0.76rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}
.service-price-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-emerald-light);
}

.service-features {
  list-style: none;
  margin-bottom: 26px;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.service-features svg {
  color: var(--brand-emerald-light);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-smooth);
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg);
}
.pricing-card.popular {
  border: 2px solid var(--brand-emerald);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(13, 20, 36, 0.95) 100%);
  box-shadow: var(--glow-emerald);
}
.popular-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-emerald);
  color: #041f15;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.plan-type {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-emerald-light);
}
.plan-name {
  font-size: 1.4rem;
  margin: 6px 0 12px;
}
.plan-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  min-height: 48px;
  margin-bottom: 20px;
}
.plan-price-wrap {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.plan-price {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.plan-price-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 6px;
}

.plan-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.plan-features svg {
  color: var(--brand-emerald-light);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-notes {
  margin-top: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Interactive Estimator */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.calculator-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
}

.control-group {
  margin-bottom: 28px;
}
.control-label-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.control-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
}
.control-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-emerald-light);
}

/* Custom Range Slider */
.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1e293b;
  outline: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-emerald);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.7);
  border: 2px solid #fff;
  transition: transform var(--transition-fast);
}
.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Checkbox Add-ons */
.addons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
.addon-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}
.addon-label:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-medium);
}
.addon-label input:checked + span {
  color: #fff;
  font-weight: 600;
}
.addon-label:has(input:checked) {
  border-color: var(--brand-emerald);
  background: rgba(16, 185, 129, 0.08);
}

/* Estimator Result Box */
.calc-result-box {
  background: linear-gradient(180deg, #091322 0%, #070d18 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--glow-emerald);
}
.calc-result-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.calc-price-display {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--brand-emerald-light);
  line-height: 1;
  margin-bottom: 12px;
}
.calc-breakdown {
  list-style: none;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
}
.calc-breakdown li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: transform var(--transition-smooth);
}
.process-step:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
}
.step-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  line-height: 1;
}
.step-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.step-time {
  margin-top: 16px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-emerald-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Dedicated D2C Callout Section */
.d2c-section {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.06) 0%, rgba(99, 102, 241, 0.06) 100%);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-xl);
  padding: 50px;
  margin-top: 40px;
  position: relative;
}
.d2c-badge {
  background: rgba(6, 182, 212, 0.15);
  color: var(--brand-cyan-light);
  border: 1px solid var(--border-cyan);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 14px;
}
.d2c-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}
.d2c-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}
.d2c-pillar-item {
  display: flex;
  gap: 12px;
  background: rgba(7, 10, 19, 0.6);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-size: 0.86rem;
}
.d2c-pillar-item strong {
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item:hover {
  border-color: var(--border-medium);
}
.faq-btn {
  width: 100%;
  padding: 22px 24px;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand-emerald-light);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 24px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.faq-item.open .faq-body {
  max-height: 400px;
  padding: 0 24px 22px;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Contact & Form Section */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}
.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--brand-emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-detail-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.contact-detail-val {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-top: 3px;
}

/* Form Styles */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 7px;
}
.form-label span.req {
  color: var(--brand-rose);
}
.form-control {
  width: 100%;
  background: rgba(7, 10, 19, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--brand-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.form-control::placeholder {
  color: var(--text-dim);
}
textarea.form-control {
  resize: vertical;
  min-height: 110px;
}
.form-phone-wrapper {
  display: flex;
}
.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #111827;
  border: 1px solid var(--border-subtle);
  border-right: none;
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.form-phone-wrapper .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.form-feedback {
  font-size: 0.76rem;
  color: var(--brand-rose);
  margin-top: 5px;
  display: none;
}
.form-group.has-error .form-control {
  border-color: var(--brand-rose);
}
.form-group.has-error .form-feedback {
  display: block;
}

.form-success-box {
  display: none;
  text-align: center;
  padding: 36px 20px;
}
.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--border-accent);
  color: var(--brand-emerald-light);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

/* Footer */
.site-footer {
  background: #05070c;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  font-size: 0.86rem;
  color: var(--text-dim);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-size: 0.94rem;
  color: #fff;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--text-dim);
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--brand-emerald-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Accessibility Focus States */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand-emerald-light);
  outline-offset: 2px;
}

/* ==========================================================================
   CROSS-DEVICE RESPONSIVE SYSTEM (PC, TABLET, MOBILE)
   ========================================================================== */

/* --- 1. TABLET & LAPTOP TIER (Screens <= 1024px) --- */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .calculator-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .d2c-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* --- 2. TABLET PORTRAIT TIER (Screens <= 992px) --- */
@media (max-width: 992px) {
  .header-inner {
    height: 70px;
  }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(9, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-medium);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.7);
    z-index: 999;
  }
  .nav-links.mobile-open {
    display: flex;
    animation: fadeInDown 0.2s ease-out;
  }
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-link {
    font-size: 1.05rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .metric-item:nth-child(2)::after,
  .metric-item:last-child::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }
  .badge-float-1 {
    top: -12px;
    right: 6px;
  }
  .badge-float-2 {
    bottom: -12px;
    left: 6px;
  }
  .badge-float-3 {
    bottom: 20px;
    right: 6px;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-trust-bullets {
    justify-content: center;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .calculator-card {
    padding: 32px 24px;
  }
}

/* --- 3. MOBILE SMARTPHONE TIER (Screens <= 640px) --- */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .top-bar {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
  .top-pill {
    font-size: 0.65rem;
  }

  .hero-section {
    padding: 42px 0 60px;
  }
  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 18px;
  }
  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 28px;
    line-height: 1.6;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 24px;
  }
  .hero-ctas .btn {
    width: 100%;
    min-height: 48px;
    font-size: 0.94rem;
  }

  .hero-trust-bullets {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.8rem;
  }

  /* Compact Metrics Grid */
  .metrics-strip {
    margin-top: 36px;
    padding: 20px 14px;
    border-radius: var(--radius-md);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .metric-item::after {
    display: none !important;
  }
  .metric-number {
    font-size: 1.65rem;
  }
  .metric-label {
    font-size: 0.72rem;
    margin-top: 4px;
  }
  .metric-desc {
    font-size: 0.68rem;
  }

  /* Mobile Showcase Adjustments */
  .hero-grid {
    gap: 32px;
  }
  .floating-stat-badge {
    padding: 7px 12px;
    gap: 8px;
    border-radius: 10px;
  }
  .floating-icon-wrap {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
  }
  .floating-badge-title {
    font-size: 0.78rem;
  }
  .floating-badge-sub {
    font-size: 0.65rem;
  }
  .badge-float-1 {
    top: -10px;
    right: -6px;
  }
  .badge-float-2 {
    bottom: -10px;
    left: -6px;
  }
  .badge-float-3 {
    display: none;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .compare-grid {
    padding: 18px 14px;
    gap: 16px;
  }
  .compare-col {
    padding: 18px 14px;
  }

  /* Sections */
  .section {
    padding: 60px 0;
  }
  .section-header {
    margin-bottom: 38px;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .section-desc {
    font-size: 0.92rem;
  }

  /* Cards */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    padding: 24px 18px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pricing-card {
    padding: 28px 20px;
  }
  .plan-desc {
    min-height: auto;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-step {
    padding: 24px 18px;
  }

  /* Estimator */
  .calculator-card {
    padding: 22px 16px;
    border-radius: var(--radius-lg);
  }
  .calc-result-box {
    padding: 24px 18px;
  }
  .calc-price-display {
    font-size: 2.6rem;
  }
  .addons-grid {
    grid-template-columns: 1fr;
  }

  /* Form & Inputs: 16px Font Prevents iOS Auto-Zoom */
  .contact-info-card,
  .form-card {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }
  .form-group {
    margin-bottom: 14px;
  }
  .form-control {
    font-size: 16px !important;
    min-height: 48px;
    padding: 10px 14px;
  }
  .phone-prefix {
    font-size: 15px;
    padding: 0 12px;
  }

  /* FAQ Touch Targets */
  .faq-btn {
    padding: 18px 16px;
    font-size: 0.98rem;
  }
  .faq-body {
    padding: 0 16px;
    font-size: 0.88rem;
  }
  .faq-item.open .faq-body {
    padding: 0 16px 18px;
  }

  /* D2C */
  .d2c-section {
    padding: 28px 18px;
    border-radius: var(--radius-lg);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding-top: 22px;
  }
}

/* --- 4. EXTRA COMPACT SMARTPHONES (Screens <= 380px) --- */
@media (max-width: 380px) {
  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }
  .brand-name {
    font-size: 1.2rem;
  }
  .brand-tagline {
    font-size: 0.62rem;
  }
  .badge {
    font-size: 0.72rem;
    padding: 4px 10px;
  }
  .metric-number {
    font-size: 1.45rem;
  }
}

/* --- 5. LEGAL POLICIES MODAL (Razorpay & RBI Compliance) --- */
.legal-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.legal-modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.25s ease-out;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.legal-modal-card {
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  width: 100%;
  max-width: 760px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.legal-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal-modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.legal-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s;
}
.legal-modal-close:hover {
  background: rgba(244, 63, 94, 0.2);
  color: #f43f5e;
}
.legal-nav-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
}
.legal-tab-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.legal-tab-btn.active {
  background: var(--brand-emerald);
  color: #03140d;
  border-color: var(--brand-emerald);
}
.legal-modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.legal-modal-body h3 {
  color: #fff;
  font-size: 1.05rem;
  margin: 18px 0 8px;
}
.legal-modal-body p {
  margin-bottom: 14px;
}
.legal-modal-body ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.legal-modal-body li {
  margin-bottom: 6px;
}

/* --- 6. MOBILE LANDSCAPE ORIENTATION (Short viewports: max-height <= 500px and landscape) --- */
@media (max-height: 500px) and (orientation: landscape) {
  .top-bar {
    display: none; /* Hide top notice bar in mobile landscape to save vertical viewport */
  }
  .site-header {
    position: relative; /* Release sticky on short mobile landscape so it doesn't block 35% of the screen */
  }
  .header-inner {
    height: 54px;
  }
  .hero-section {
    padding: 30px 0 45px;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr; /* 2 columns in landscape since width is 700px-900px */
    gap: 28px;
    text-align: left;
  }
  .hero-content {
    align-items: flex-start;
    text-align: left;
  }
  .hero-title {
    font-size: 1.85rem;
    margin-bottom: 12px;
  }
  .hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: 18px;
    max-width: 100%;
  }
  .hero-ctas {
    gap: 10px;
    margin-bottom: 16px;
    justify-content: flex-start;
  }
  .hero-ctas .btn {
    padding: 9px 18px;
    font-size: 0.85rem;
  }
  .hero-trust-bullets {
    gap: 14px;
    justify-content: flex-start;
  }
  .floating-stat-badge {
    padding: 6px 12px;
    font-size: 0.74rem;
    border-radius: 10px;
  }
  .floating-icon-wrap {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }
  .badge-float-1 {
    top: -8px;
    right: 4px;
  }
  .badge-float-2 {
    bottom: -8px;
    left: 4px;
  }
  .badge-float-3 {
    display: none;
  }
  .legal-modal-card {
    max-height: 94vh;
  }
  .legal-modal-body {
    padding: 16px 20px;
    max-height: 55vh;
  }
}


