/* ==========================================================================
   KRISHA TECH - Next-Gen Digital Agency Design System (Indigo / Violet SaaS)
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@600;700;800;900&display=swap');

/* --- Root CSS Variables --- */
:root {
  --bg-dark: #070913;
  --bg-card: rgba(15, 20, 38, 0.75);
  --bg-card-hover: rgba(26, 34, 61, 0.9);
  --bg-glass: rgba(13, 18, 36, 0.7);
  --bg-glass-border: rgba(99, 102, 241, 0.25);
  
  --primary-indigo: #6366f1;
  --primary-indigo-glow: rgba(99, 102, 241, 0.45);
  --accent-magenta: #d946ef;
  --accent-magenta-glow: rgba(217, 70, 239, 0.35);
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 9999px;
  
  --shadow-indigo: 0 10px 35px rgba(99, 102, 241, 0.3);
  --shadow-magenta: 0 10px 35px rgba(217, 70, 239, 0.25);
  --shadow-glass: 0 12px 40px rgba(0, 0, 0, 0.45);
}

/* --- Animated Preloader --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #050713;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

#preloader.preloader-hide {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.preloader-spinner-box {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.preloader-logo {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  animation: logoPulse 2s ease-in-out infinite;
}

.spinner-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--primary-indigo);
  border-right-color: var(--accent-magenta);
  animation: spinRing 1.2s linear infinite;
}

.spinner-ring::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: var(--accent-cyan);
  animation: spinRingReverse 2.4s linear infinite;
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spinRingReverse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.8)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 25px rgba(217, 70, 239, 0.9)); }
}

.preloader-counter {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-indigo), var(--accent-magenta), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.preloader-progress-track {
  width: 220px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.2);
  margin-bottom: 14px;
}

.preloader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-indigo), var(--accent-magenta), var(--accent-cyan));
  border-radius: var(--radius-pill);
  transition: width 0.1s linear;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.8);
}

.preloader-status-text {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* --- Scroll Reveal Animations --- */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-down"] { transform: translateY(-40px); }
[data-animate="fade-left"] { transform: translateX(50px); }
[data-animate="fade-right"] { transform: translateX(-50px); }
[data-animate="scale-up"] { transform: scale(0.88); }
[data-animate="stagger"] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].animated,
[data-animate="stagger"].animated > * {
  opacity: 1;
  transform: translate(0) scale(1);
}

[data-animate="stagger"].animated > *:nth-child(1) { transition-delay: 0.1s; }
[data-animate="stagger"].animated > *:nth-child(2) { transition-delay: 0.2s; }
[data-animate="stagger"].animated > *:nth-child(3) { transition-delay: 0.3s; }
[data-animate="stagger"].animated > *:nth-child(4) { transition-delay: 0.4s; }
[data-animate="stagger"].animated > *:nth-child(5) { transition-delay: 0.5s; }
[data-animate="stagger"].animated > *:nth-child(6) { transition-delay: 0.6s; }

/* Light Theme Variables */
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-border: rgba(99, 102, 241, 0.2);
  
  --primary-indigo: #4f46e5;
  --primary-indigo-glow: rgba(79, 70, 229, 0.2);
  --accent-magenta: #c084fc;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --shadow-indigo: 0 8px 25px rgba(79, 70, 229, 0.15);
  --shadow-glass: 0 8px 30px rgba(0, 0, 0, 0.08);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient SaaS Glow Orbs */
body::before {
  content: "";
  position: fixed;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  bottom: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

#agency-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Container & Typography --- */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.text-gradient-indigo {
  background: linear-gradient(135deg, #a5b4fc, var(--primary-indigo), var(--accent-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-indigo);
  margin-bottom: 14px;
}

[data-theme="light"] .section-tag {
  color: var(--primary-indigo);
  background: rgba(79, 70, 229, 0.1);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}

[data-theme="light"] .section-title { color: #0f172a; }

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 48px;
}

.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
  transition: all var(--transition-normal);
  box-sizing: border-box;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  white-space: normal;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

.btn-indigo {
  background: linear-gradient(135deg, var(--primary-indigo), #4338ca);
  color: #fff;
  box-shadow: var(--shadow-indigo);
}

.btn-indigo:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
}

.btn-magenta {
  background: linear-gradient(135deg, var(--accent-magenta), #c026d3);
  color: #fff;
  box-shadow: var(--shadow-magenta);
}

.btn-magenta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(217, 70, 239, 0.6);
}

.btn-outline {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid var(--bg-glass-border);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary-indigo);
  color: #fff;
}

/* --- Header Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(7, 9, 19, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-fast);
}

[data-theme="light"] .site-header {
  background: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}

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

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

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
  flex-shrink: 0;
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

[data-theme="light"] .brand-title { color: #0f172a; }

.brand-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--accent-magenta);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(99, 102, 241, 0.12);
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(217, 70, 239, 0.25));
  border: 1px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
  font-weight: 700;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-pill);
  color: #10b981;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.phone-badge:hover {
  background: rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}

.mobile-phone-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Theme Toggle Button */
.theme-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid var(--bg-glass-border);
  color: var(--primary-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-btn:hover {
  background: rgba(99, 102, 241, 0.25);
  transform: scale(1.08) rotate(15deg);
}

.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .sun-icon { display: none; }
.theme-btn .moon-icon { display: block; }
[data-theme="light"] .theme-btn .sun-icon { display: block; color: #d97706; }
[data-theme="light"] .theme-btn .moon-icon { display: none; }

.menu-toggle-btn {
  display: none;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid var(--bg-glass-border);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.menu-toggle-btn:hover {
  background: rgba(99, 102, 241, 0.3);
  border-color: var(--primary-indigo);
}

[data-theme="light"] .menu-toggle-btn {
  color: #0f172a;
}

/* --- Hero Section --- */
.hero-section {
  padding-top: 170px;
  padding-bottom: 100px;
  position: relative;
  z-index: 2;
}

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

.hero-pill-announcement {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), rgba(217, 70, 239, 0.15));
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-pill);
  font-size: clamp(0.72rem, 3.5vw, 0.85rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="light"] .hero-pill-announcement { color: #0f172a; }

.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
  color: #fff;
}

[data-theme="light"] .hero-main-title { color: #0f172a; }

.hero-lead-text {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 95%;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Hero Live Calculator Card */
.hero-calc-card {
  padding: 32px;
  border: 1px solid var(--primary-indigo);
  box-shadow: var(--shadow-indigo);
  position: relative;
  overflow: hidden;
}

.calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

[data-theme="light"] .calc-title { color: #0f172a; }

.calc-price-display {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent-magenta);
  line-height: 1;
  margin-bottom: 6px;
}

.calc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.calc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.calc-list li svg { color: var(--accent-emerald); }

/* --- Services & Value Proposition --- */
.services-section {
  padding: 90px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

.service-card {
  padding: 36px 28px;
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid var(--bg-glass-border);
  color: var(--primary-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

[data-theme="light"] .service-title { color: #0f172a; }

.service-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.portfolio-single-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.portfolio-card-featured {
  padding: 40px;
  border: 1px solid var(--primary-indigo);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.75));
  border-radius: var(--radius-md);
}

.portfolio-card-featured::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.25;
}

[data-theme="light"] .portfolio-title { color: #0f172a; }

.portfolio-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.portfolio-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.portfolio-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #f1f5f9;
}

[data-theme="light"] .portfolio-feature-list li { color: #334155; }

.portfolio-feature-list li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.btn-hero-live {
  font-size: 1.05rem;
  padding: 16px 36px;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

/* --- Pricing Breakdown --- */
.pricing-section {
  padding: 90px 0;
}

.pricing-box {
  max-width: 620px;
  margin: 0 auto;
  padding: 48px 40px;
  border: 2px solid var(--primary-indigo);
  box-shadow: var(--shadow-indigo);
  text-align: center;
}

.pricing-main-val {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--accent-magenta);
  line-height: 1;
  margin-bottom: 10px;
}

.pricing-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
  margin: 32px 0;
}

.pricing-features-grid div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--text-main);
}

.pricing-features-grid svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* --- Contact & Lead Form --- */
.contact-section {
  padding: 90px 0 110px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
}

.contact-card { padding: 36px; }

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  margin-top: 16px;
  transition: all var(--transition-fast);
}

.contact-channel:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: var(--primary-indigo);
  transform: translateX(4px);
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  word-break: break-all;
}

[data-theme="light"] .channel-val { color: #0f172a; }

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(5, 8, 18, 0.85);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

[data-theme="light"] .form-input {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(99, 102, 241, 0.25);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-indigo);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.35);
}

/* Floating Actions */
.floating-actions-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
}

.float-whatsapp {
  background: #25d366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.float-whatsapp:hover { transform: scale(1.1); }

.float-call {
  background: var(--primary-indigo);
  box-shadow: var(--shadow-indigo);
}

.float-call:hover { transform: scale(1.1); }

.float-btn svg { width: 24px; height: 24px; }

/* --- Footer --- */
.site-footer {
  background: #03050c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  position: relative;
  z-index: 2;
}

[data-theme="light"] .site-footer {
  background: #e2e8f0;
  border-top-color: rgba(99, 102, 241, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

[data-theme="light"] .footer-col-title { color: #0f172a; }

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--primary-indigo); }

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* --- Agency Counter Stats Bar --- */
.stats-counter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
  padding: 24px 32px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-indigo), var(--accent-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Interactive 7-Day Process Timeline --- */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  position: relative;
  margin-top: 40px;
}

.timeline-card {
  padding: 32px 24px;
  position: relative;
  transition: all var(--transition-normal);
}

.timeline-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-indigo);
  box-shadow: var(--shadow-indigo);
}

.timeline-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-indigo), var(--accent-magenta));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.timeline-step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

[data-theme="light"] .timeline-step-title { color: #0f172a; }

.timeline-step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Portfolio Category Filter Buttons --- */
.portfolio-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bg-glass-border);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-indigo), var(--accent-magenta));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-indigo);
}

/* --- Interactive Cost Estimator / Calculator --- */
.calculator-box {
  padding: 40px;
  border: 1px solid var(--primary-indigo);
  box-shadow: var(--shadow-indigo);
  border-radius: var(--radius-md);
  margin-top: 30px;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.calc-option-card {
  padding: 18px 20px;
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition-fast);
}

.calc-option-card.selected {
  border-color: var(--accent-magenta);
  background: rgba(217, 70, 239, 0.12);
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.3);
}

.calc-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-magenta);
}

/* --- FAQ Accordion --- */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
}

[data-theme="light"] .faq-question { color: #0f172a; }

.faq-icon {
  font-size: 1.4rem;
  transition: transform var(--transition-fast);
  color: var(--primary-indigo);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-magenta);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px 24px;
}

/* --- Responsive Media Queries Extensions --- */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-header { padding: 12px 0; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; overflow: visible; }
  .site-header .container { width: 92%; padding: 0 4px; box-sizing: border-box; overflow: visible; }
  
  .brand-logo-img { width: 36px; height: 36px; }
  .brand-title { font-size: 1.05rem; }
  .brand-sub { font-size: 0.58rem; letter-spacing: 0.8px; }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(7, 9, 19, 0.96);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    padding: 0 20px;
    gap: 8px;
    border-bottom: 2px solid var(--primary-indigo);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(-8px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    z-index: 999;
  }

  .nav-menu.open {
    max-height: 380px;
    padding: 16px 20px 20px 20px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: flex !important;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu .nav-link {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    box-sizing: border-box;
  }

  .menu-toggle-btn { display: flex !important; margin-left: 2px; }
  .phone-badge { display: none !important; }
  .mobile-phone-btn { display: flex !important; }
  
  .hero-section { padding-top: 100px; padding-bottom: 40px; }
  
  .hero-layout > div:first-child {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    padding: 24px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
  }
  
  .hero-main-title {
    font-size: clamp(1.8rem, 6.5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 16px;
  }
  
  .portfolio-card-featured {
    padding: 24px 16px;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .btn-hero-live {
    width: 100%;
    font-size: 0.95rem;
    padding: 14px 16px;
    box-sizing: border-box;
  }

  .pricing-features-grid { grid-template-columns: 1fr; }
  .pricing-box { padding: 32px 18px; max-width: 100%; box-sizing: border-box; }
  .contact-card { padding: 24px 16px; max-width: 100%; box-sizing: border-box; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .stats-counter-bar { grid-template-columns: 1fr 1fr; padding: 20px 16px; }
  .calculator-box { padding: 24px 16px; }
}

@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; width: 100%; }
  .hero-cta-row .btn { width: 100%; box-sizing: border-box; }
  .floating-actions-bar { bottom: 16px; right: 16px; gap: 10px; z-index: 1000; }
  .float-btn { width: 46px; height: 46px; }
  .stats-counter-bar { grid-template-columns: 1fr; }
}

