/* Clariva Digital Marketing Agency - 3D White & Brand Colors Master Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Clariva Royal Branding Colors */
  --primary-purple: #5B0EAB;
  --primary-purple-hover: #4A0B8C;
  --electric-violet: #8B2FC9;
  --deep-indigo: #1A0E30;
  --lavender-soft: #F5EDFF;
  --lavender-border: #E4CCFF;
  --accent-glow: #9D36E7;
  
  /* 3D Pure White Theme System */
  --bg-white: #FFFFFF;
  --card-border: #E8DEFA;
  --card-border-active: #8B2FC9;
  
  /* 3D Realistic Layered Shadows */
  --shadow-3d-sm: 0 4px 12px rgba(91, 14, 171, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-3d-md: 0 12px 30px rgba(91, 14, 171, 0.1), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-3d-lg: 0 22px 50px rgba(91, 14, 171, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-3d-hover: 0 28px 60px rgba(139, 47, 201, 0.22), 0 6px 18px rgba(91, 14, 171, 0.12);

  /* Text Colors */
  --text-main: #120726;
  --text-sub: #3E2F59;
  --text-muted: #6E5C8A;
  
  /* Radii & Transitions */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  --transition-3d: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #FFFFFF !important;
  background: #FFFFFF !important;
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body {
  line-height: 1.6;
  background-color: #FFFFFF !important;
  background: #FFFFFF !important;
  min-height: 100vh;
  padding-bottom: 75px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* Utilities */
.desktop-only { display: flex !important; }
.mobile-only { display: none !important; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* 3D Glass Elevation Card */
.glass-panel {
  background: #FFFFFF !important;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3d-md);
  transition: var(--transition-3d);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}

.glass-panel:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--card-border-active);
  box-shadow: var(--shadow-3d-hover);
}

/* 3D Floating Badge */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--lavender-soft);
  border: 1px solid var(--lavender-border);
  color: var(--primary-purple);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(91, 14, 171, 0.08);
  animation: float3D 4s ease-in-out infinite;
}

@keyframes float3D {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

/* Text Highlight */
.text-gradient {
  color: var(--primary-purple) !important;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: var(--transition-fast);
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 20px rgba(91, 14, 171, 0.05);
}

.header.scrolled {
  padding: 0.75rem 0;
  box-shadow: 0 8px 30px rgba(91, 14, 171, 0.1);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-main);
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  padding: 3px;
  border: 2px solid var(--primary-purple);
  box-shadow: 0 4px 15px rgba(91, 14, 171, 0.2);
}

.logo span {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-purple);
  line-height: 1;
}

.logo small {
  display: block;
  font-size: 0.62rem;
  color: var(--electric-violet);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  background: var(--lavender-soft);
  border: 1px solid var(--lavender-border);
  color: var(--primary-purple);
  font-size: 1.4rem;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-sub);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-purple);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* 3D Solid Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition-3d);
  transform-style: preserve-3d;
}

.btn-primary {
  background: var(--primary-purple) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(91, 14, 171, 0.3);
}

.btn-primary:hover {
  background: var(--primary-purple-hover) !important;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(91, 14, 171, 0.4);
}

.btn-outline {
  background: var(--lavender-soft);
  color: var(--primary-purple);
  border: 1px solid var(--lavender-border);
}

.btn-outline:hover {
  background: var(--lavender-border);
}

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

.btn-whatsapp:hover {
  background: #1FAD53 !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* Hero Section with 3D Perspective */
.hero {
  padding: 8.5rem 0 4rem;
  background: #FFFFFF !important;
  perspective: 1200px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 900;
  margin: 1rem 0;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-sub);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.contact-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.3rem;
  background: #FFFFFF;
  border: 2px solid var(--lavender-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3d-sm);
  transition: var(--transition-3d);
}

.contact-quick-pill:hover {
  transform: translateY(-3px);
  border-color: var(--primary-purple);
  box-shadow: var(--shadow-3d-md);
}

.contact-quick-pill .phone-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-purple);
}

.hero-card-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--card-border);
  box-shadow: var(--shadow-3d-lg);
  transform: rotateY(-4deg) rotateX(3deg);
  transition: var(--transition-3d);
}

.hero-card-preview:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: var(--shadow-3d-hover);
}

.hero-card-preview img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: rgba(18, 7, 38, 0.9);
  color: #fff;
}

/* Happy Clients Section */
.clients-section {
  padding: 4.5rem 0;
  background: #FFFFFF !important;
  border-bottom: 1px solid var(--card-border);
}

.clients-header {
  text-align: center;
  margin-bottom: 3rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.client-logo-card {
  padding: 1.8rem 1.4rem;
  text-align: center;
  border-radius: var(--radius-md);
  background: #FFFFFF !important;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-3d-sm);
  transition: var(--transition-3d);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.client-logo-card:hover {
  transform: translateY(-8px) scale(1.04);
  border-color: var(--primary-purple);
  box-shadow: var(--shadow-3d-hover);
}

.client-logo-img-wrapper {
  width: 130px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  padding: 8px;
  background: #FFFFFF;
}

.client-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(91, 14, 171, 0.08));
}

.client-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.client-category {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary-purple);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.client-stars {
  color: #F59E0B;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
  display: flex;
  gap: 2px;
  justify-content: center;
}

.client-result-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.client-trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--lavender-soft);
  border: 1px solid var(--lavender-border);
  text-align: center;
  box-shadow: var(--shadow-3d-sm);
}

.stat-number {
  display: block;
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--primary-purple);
  font-family: 'Outfit', sans-serif;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-sub);
}

/* Service Ecosystem Section */
.ecosystem-section {
  padding: 4.5rem 0;
  background: #FFFFFF !important;
}

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-title h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.section-title p {
  color: var(--text-sub);
  font-size: 1.05rem;
}

/* 3D Hub Diagram */
.hub-wrapper {
  position: relative;
  width: 100%;
  max-width: 850px;
  height: 580px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF !important;
  border: 2px solid var(--card-border);
  box-shadow: var(--shadow-3d-md);
  border-radius: var(--radius-lg);
}

.hub-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hub-line {
  stroke: #D1D5DB;
  stroke-dasharray: 6 6;
  stroke-width: 2.5;
  transition: var(--transition-fast);
}

.hub-line.active {
  stroke: var(--primary-purple);
  stroke-dasharray: none;
  stroke-width: 3.5;
}

.center-node {
  position: absolute;
  z-index: 10;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #FFFFFF !important;
  border: 4px solid var(--primary-purple);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 10px 35px rgba(91, 14, 171, 0.2);
  cursor: pointer;
  animation: float3D 5s ease-in-out infinite;
}

.center-logo-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  padding: 5px;
  margin-bottom: 0.4rem;
  border: 2px solid var(--primary-purple);
}

.center-node h3 {
  font-size: 1.1rem;
  color: var(--primary-purple);
  line-height: 1.1;
}

.center-node span {
  font-size: 0.65rem;
  color: var(--electric-violet);
  letter-spacing: 1.5px;
  font-weight: 800;
}

.service-node {
  position: absolute;
  z-index: 5;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: #FFFFFF !important;
  border: 2px solid var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.6rem;
  cursor: pointer;
  transition: var(--transition-3d);
  box-shadow: var(--shadow-3d-sm);
}

.service-node:hover, .service-node.active {
  transform: scale(1.15) translateY(-5px);
  border-color: var(--primary-purple);
  box-shadow: var(--shadow-3d-hover);
}

.node-icon {
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
  color: var(--primary-purple);
}

.node-label {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  text-transform: uppercase;
}

.node-pill {
  position: absolute;
  bottom: -10px;
  background: var(--primary-purple) !important;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(91, 14, 171, 0.3);
}

/* Mobile Tabs */
.mobile-tabs-container {
  margin-bottom: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.mobile-tabs-container::-webkit-scrollbar { display: none; }

.mobile-tabs-scroll {
  display: flex;
  gap: 0.6rem;
  padding: 0.4rem 0.2rem;
  width: max-content;
}

.mobile-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  color: var(--text-sub);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.mobile-tab-btn.active {
  background: var(--primary-purple) !important;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(91, 14, 171, 0.3);
}

/* Node Detail Card */
.node-detail-card {
  max-width: 720px;
  margin: 2rem auto 0;
  padding: 2rem;
  display: none;
  background: #FFFFFF !important;
  border: 2px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3d-md);
  animation: fadeIn 0.35s ease-out forwards;
}

.node-detail-card.show { display: block; }

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

.node-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.node-detail-header h3 {
  font-size: 1.6rem;
  color: var(--primary-purple);
}

.node-detail-body p {
  color: var(--text-sub);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.node-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  list-style: none;
}

.node-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-main);
  font-weight: 600;
}

.node-features-list li i {
  color: var(--primary-purple);
}

/* Services Grid Section */
.services-grid-section {
  padding: 4.5rem 0;
  background: #FFFFFF !important;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.service-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: #FFFFFF !important;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-3d-sm);
  transition: var(--transition-3d);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-purple);
  box-shadow: var(--shadow-3d-hover);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--lavender-soft);
  border: 1px solid var(--lavender-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-purple);
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-sub);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

/* Live Industry Demos Section */
.demos-section {
  padding: 4.5rem 0;
  background: #FFFFFF !important;
}

.demo-card {
  padding: 1.8rem;
  border-radius: var(--radius-md);
  position: relative;
  background: #FFFFFF !important;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-3d-sm);
  transition: var(--transition-3d);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.demo-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-purple);
  box-shadow: var(--shadow-3d-hover);
}

.demo-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-purple);
  background: var(--lavender-soft);
  border: 1px solid var(--lavender-border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.demo-icon {
  font-size: 2.2rem;
  color: var(--primary-purple);
  margin-bottom: 0.8rem;
}

.demo-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.demo-card p {
  color: var(--text-sub);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.demo-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.demo-features span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-sub);
  background: var(--lavender-soft);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--lavender-border);
}

.demo-features span i {
  color: var(--primary-purple);
  margin-right: 4px;
}

/* Estimator Section */
.estimator-section {
  padding: 4.5rem 0;
  background: #FFFFFF !important;
}

.estimator-box {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: #FFFFFF !important;
  border: 2px solid var(--card-border);
  box-shadow: var(--shadow-3d-md);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

.service-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  cursor: pointer;
  transition: var(--transition-fast);
}

.checkbox-item.checked {
  background: var(--lavender-soft);
  border-color: var(--primary-purple);
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-purple);
}

.checkbox-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.checkbox-price-tag {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary-purple);
  background: #FFFFFF;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid var(--lavender-border);
}

.estimate-summary {
  padding: 1.8rem;
  border-radius: var(--radius-md);
  background: var(--lavender-soft);
  border: 1px solid var(--lavender-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.price-display {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary-purple);
  margin: 0.5rem 0;
  font-family: 'Outfit', sans-serif;
}

.price-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact-section {
  padding: 4.5rem 0 5rem;
  background: #FFFFFF !important;
}

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

.contact-info h2 {
  font-size: 2.6rem;
  margin-bottom: 0.8rem;
}

.contact-methods {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  background: #FFFFFF !important;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-3d-sm);
  transition: var(--transition-3d);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-purple);
  box-shadow: var(--shadow-3d-md);
}

.contact-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
}

.contact-form {
  padding: 2.2rem;
  background: #FFFFFF !important;
  border: 2px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3d-md);
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-sub);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.98rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-purple);
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(91, 14, 171, 0.15);
}

/* Full-Screen Live Demo Modal Showcase */
.demo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  background: rgba(18, 7, 38, 0.88);
  backdrop-filter: blur(12px);
  display: none !important;
  overflow: hidden;
}

.demo-modal-overlay.active {
  display: flex !important;
  animation: fadeIn 0.3s ease-out forwards;
}

.demo-modal-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.demo-modal-topbar {
  padding: 0.9rem 1.5rem;
  background: #FFFFFF;
  border-bottom: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.demo-close-btn {
  background: var(--lavender-soft);
  border: 1px solid var(--lavender-border);
  color: var(--primary-purple);
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.demo-close-btn:hover {
  background: var(--primary-purple);
  color: #fff;
}

.demo-modal-title strong {
  display: block;
  font-size: 1.15rem;
  color: var(--primary-purple);
}

.demo-modal-title span {
  font-size: 0.75rem;
  color: var(--electric-violet);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}

.demo-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 1rem;
  background: #FFFFFF !important;
}

/* Sub-Demo Rendered Content */
.subdemo-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-3d-lg);
  border: 2px solid var(--card-border);
}

.subdemo-hero img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.subdemo-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: rgba(18, 7, 38, 0.88);
  color: #fff;
}

.subdemo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.subdemo-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: #FFFFFF !important;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-3d-sm);
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--card-border);
  padding: 8px 12px;
  gap: 10px;
}

.mobile-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mobile-bar-btn.btn-call { background: var(--primary-purple) !important; }
.mobile-bar-btn.btn-wa { background: #25D366 !important; }

/* Desktop Floating Action Buttons */
.floating-bar {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 8px 25px rgba(91, 14, 171, 0.25);
  transition: var(--transition-3d);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-4px);
}

.floating-wa { background: #25D366 !important; }
.floating-call { background: var(--primary-purple) !important; }

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--card-border);
  background: #FFFFFF !important;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* MOBILE RESPONSIVE RULES (< 768px) */
@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
  .mobile-sticky-bar { display: flex; }

  /* Ensure header CTAs ("Get Free Quote") are 100% hidden on mobile */
  .header-ctas { display: none !important; }

  body { padding-bottom: 80px; }

  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: #FFFFFF !important;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 2px solid var(--card-border);
    display: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }

  .nav-links.open { display: flex; }

  .hero { padding: 6.5rem 0 3rem; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .hero-content h1 { font-size: 2.3rem; }
  .hero-content p { font-size: 0.98rem; }

  .hero-buttons { justify-content: center; }

  .section-title h2 { font-size: 2rem; }

  .grid-3 { grid-template-columns: 1fr; gap: 1.2rem; }

  .estimator-grid, .contact-grid { grid-template-columns: 1fr; }

  .client-trust-stats { grid-template-columns: 1fr; gap: 1rem; }
  .clients-grid { grid-template-columns: 1fr; }

  .service-checkboxes { grid-template-columns: 1fr; }

  .demo-modal-topbar {
    padding: 0.6rem 0.8rem;
    flex-wrap: wrap;
  }
  
  .subdemo-grid { grid-template-columns: 1fr; }
  .subdemo-hero img { height: 260px; }
}
