/* ==========================================================================
   Power Soft Global Solutions - Master Design System & Stylesheet
   Modern, Ultra-Premium, Glassmorphic Enterprise Aesthetic
   Supports Both Clean Light Mode (Default) and Sleek Dark Mode
   ========================================================================== */

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

/* --- Root Design Tokens (Light Mode Default) --- */
:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color Palette - Clean Light Mode Default */
  --bg-main: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-heavy: rgba(255, 255, 255, 0.98);
  --bg-input: #f8fafc;

  /* Primary Brand Gradients & Accents in Light Mode */
  --accent-cyan: #0284c7;
  --accent-blue: #2563eb;
  --accent-indigo: #4f46e5;
  --accent-purple: #7c3aed;
  --accent-violet: #9333ea;
  --accent-pink: #db2777;
  --accent-emerald: #059669;
  --accent-amber: #d97706;

  --gradient-primary: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --gradient-accent: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
  --gradient-glow: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(79, 70, 229, 0.08) 50%, rgba(219, 39, 119, 0.06) 100%);
  --gradient-dark-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --gradient-text: linear-gradient(135deg, #090d16 0%, #1e293b 50%, #334155 100%);
  --gradient-text-accent: linear-gradient(135deg, #0284c7 0%, #4f46e5 50%, #7c3aed 100%);

  /* Text & Border Colors */
  --text-main: #090d16;
  --text-muted: #334155;
  --text-dim: #64748b;
  --text-inverse: #ffffff;

  --border-light: rgba(15, 23, 42, 0.09);
  --border-focus: rgba(2, 132, 199, 0.5);
  --border-glow: rgba(79, 70, 229, 0.25);

  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
  --shadow-glow-cyan: 0 10px 40px rgba(2, 132, 199, 0.15);
  --shadow-glow-purple: 0 10px 40px rgba(124, 58, 237, 0.15);

  /* Geometry & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  --max-width: 1280px;
  --header-height: 80px;
}

/* Explicit Dark Mode Overrides (when user toggles to Dark) */
[data-theme="dark"] {
  --bg-main: #060911;
  --bg-secondary: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(26, 38, 66, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.6);
  --bg-glass-heavy: rgba(10, 16, 30, 0.92);
  --bg-input: rgba(15, 23, 42, 0.8);

  --accent-cyan: #00f2fe;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-violet: #a855f7;
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-accent: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.25) 0%, rgba(99, 102, 241, 0.2) 50%, rgba(236, 72, 153, 0.15) 100%);
  --gradient-dark-card: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  --gradient-text-accent: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #090d16;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(56, 189, 248, 0.5);
  --border-glow: rgba(99, 102, 241, 0.4);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow-cyan: 0 0 30px rgba(0, 242, 254, 0.35);
  --shadow-glow-purple: 0 0 35px rgba(139, 92, 246, 0.35);
}

/* Explicit Light Mode (matches :root) */
[data-theme="light"] {
  --bg-main: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-heavy: rgba(255, 255, 255, 0.98);
  --bg-input: #f8fafc;

  --accent-cyan: #0284c7;
  --accent-blue: #2563eb;
  --accent-indigo: #4f46e5;
  --accent-purple: #7c3aed;
  --accent-pink: #db2777;
  --accent-emerald: #059669;
  --accent-amber: #d97706;

  --gradient-primary: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --gradient-accent: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
  --gradient-glow: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(79, 70, 229, 0.08) 50%, rgba(219, 39, 119, 0.06) 100%);
  --gradient-dark-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --gradient-text: linear-gradient(135deg, #090d16 0%, #1e293b 50%, #334155 100%);
  --gradient-text-accent: linear-gradient(135deg, #0284c7 0%, #4f46e5 50%, #7c3aed 100%);

  --text-main: #090d16;
  --text-muted: #334155;
  --text-dim: #64748b;
  --text-inverse: #ffffff;

  --border-light: rgba(15, 23, 42, 0.09);
  --border-focus: rgba(2, 132, 199, 0.5);
  --border-glow: rgba(79, 70, 229, 0.25);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
  --shadow-glow-cyan: 0 10px 40px rgba(2, 132, 199, 0.15);
  --shadow-glow-purple: 0 10px 40px rgba(124, 58, 237, 0.15);
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scroll progress indicator */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--accent-cyan);
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

ul, ol {
  list-style: none;
}

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

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

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

.section-spacing {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.section-alternate {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 55px auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.22);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

[data-theme="dark"] .badge-tag {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.25);
  color: var(--accent-cyan);
}

.badge-tag svg {
  width: 15px;
  height: 15px;
}

.badge-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald, #059669);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.text-gradient {
  background: var(--gradient-text-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
  font-weight: 700;
}

[data-theme="dark"] .btn-primary {
  color: #060911;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
}

[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.55);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-light);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

[data-theme="dark"] .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-accent {
  background: var(--gradient-accent);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
  font-weight: 700;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

[data-theme="dark"] .btn-icon {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.btn-icon:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Ambient Background Glow Orbs */
.bg-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
}

[data-theme="dark"] .bg-ambient-orb {
  opacity: 0.16;
}

.orb-1 {
  top: 5%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.35) 0%, rgba(99, 102, 241, 0) 70%);
}

.orb-2 {
  top: 40%;
  left: -8%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(236, 72, 153, 0) 70%);
}

.orb-3 {
  bottom: 10%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, rgba(5, 150, 105, 0) 70%);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 8px 0;
  position: relative;
  z-index: 101;
}

[data-theme="dark"] .top-bar {
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(10px);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
}

.status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

/* Main Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: all var(--transition-normal);
}

[data-theme="dark"] .main-header {
  background: rgba(6, 9, 17, 0.75);
}

.main-header.scrolled {
  height: 70px;
  background: var(--bg-glass-heavy);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.logo-symbol {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast, 0.2s ease);
}

.logo-symbol img,
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-logo:hover .logo-symbol {
  transform: scale(1.05);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-text-img {
  height: 32px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.mobile-drawer .logo-text-img {
  height: 26px;
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--text-main);
}

.logo-subtitle {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  padding: 8px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-main);
  border-left: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mobile-nav-link:hover {
  color: var(--accent-cyan);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 80px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 30%, rgba(2, 132, 199, 0.05) 0%, transparent 60%);
}

[data-theme="dark"] .hero-section {
  background: transparent;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.hero-subtext {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-inline-link {
  color: var(--accent-cyan);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.hero-inline-link:hover {
  color: var(--accent-blue);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  background: var(--gradient-text-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 500;
}

/* Hero Visual Showcase - Human Studio Frame */
.hero-visual-wrapper {
  position: relative;
}

.hero-card-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(15, 23, 42, 0.04);
  background: var(--bg-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

[data-theme="dark"] .hero-card-frame {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-card-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -12px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.06);
}

[data-theme="dark"] .hero-card-frame:hover {
  box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hero-card-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* Studio Bottom Caption Bar */
.hero-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  z-index: 2;
}

[data-theme="dark"] .hero-card-caption {
  background: rgba(11, 17, 32, 0.92);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.caption-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-main);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald, #059669);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.25);
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.caption-tag {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ==========================================================================
   Trust Bar & Clients
   ========================================================================== */
.trust-bar-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-secondary);
}

.trust-title {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.client-logos-marquee {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.client-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.75;
  transition: all var(--transition-fast);
}

.client-badge:hover {
  opacity: 1;
  color: var(--accent-cyan);
  transform: scale(1.05);
}

.client-badge svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   Services Section (Filterable, Interactive)
   ========================================================================== */
.services-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-main);
  border-color: rgba(2, 132, 199, 0.4);
}

.filter-btn.active {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
}

[data-theme="dark"] .filter-btn.active {
  color: #060911;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.03);
}

[data-theme="dark"] .service-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
  background: rgba(2, 132, 199, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(2, 132, 199, 0.18);
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
  transform: translateY(-2px);
}

[data-theme="dark"] .service-card:hover .service-icon-box {
  color: #060911;
  box-shadow: 0 6px 16px rgba(0, 242, 254, 0.3);
}

.service-category {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.service-title {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

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

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-main);
}

.service-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.service-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.learn-more-link {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.learn-more-link:hover {
  gap: 10px;
}

/* ==========================================================================
   Interactive Cost & Scope Estimator
   ========================================================================== */
.estimator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 45px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
  position: relative;
}

[data-theme="dark"] .estimator-card {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(20px);
}

.estimator-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: start;
}

.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.estimator-group-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.estimator-group-title span.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-indigo);
  color: #fff;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Checkbox Chip Selector */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.chip-option {
  position: relative;
}

.chip-option input[type="checkbox"],
.chip-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip-option input:checked + .chip-label {
  background: rgba(2, 132, 199, 0.08);
  border-color: var(--accent-cyan);
  color: var(--text-main);
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.15);
}

[data-theme="dark"] .chip-option input:checked + .chip-label {
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.chip-indicator {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(15, 23, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  transition: all var(--transition-fast);
}

[data-theme="dark"] .chip-indicator {
  border-color: rgba(255, 255, 255, 0.3);
}

.chip-option input:checked + .chip-label .chip-indicator {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

[data-theme="dark"] .chip-option input:checked + .chip-label .chip-indicator {
  color: #060911;
}

/* Slider Controls */
.slider-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-val-badge {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(2, 132, 199, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.custom-range {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.1);
  outline: none;
  cursor: pointer;
}

[data-theme="dark"] .custom-range {
  background: rgba(255, 255, 255, 0.1);
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.4);
  transition: transform 0.1s ease;
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Estimator Live Output Summary Box */
.estimator-summary-panel {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 100px;
}

[data-theme="dark"] .estimator-summary-panel {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.95) 0%, rgba(10, 16, 30, 0.95) 100%);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md);
}

.summary-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.summary-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-emerald);
  font-weight: 700;
}

.estimated-price-range {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-top: 8px;
  color: var(--text-main);
}

.summary-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.94rem;
}

.breakdown-label {
  color: var(--text-muted);
}

.breakdown-val {
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-mono);
}

/* ==========================================================================
   Showcase / About Advantage Section
   ========================================================================== */
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.advantage-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.advantage-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  position: relative;
}

.advantage-img-card.large {
  grid-column: span 2;
  height: 260px;
}

.advantage-img-card.small {
  height: 220px;
}

.advantage-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.advantage-img-card:hover img {
  transform: scale(1.05);
}

.advantage-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 9, 17, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.advantage-card-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}

.pillar-item {
  display: flex;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-fast);
}

[data-theme="dark"] .pillar-item {
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
}

.pillar-item:hover {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: translateX(6px);
}

[data-theme="dark"] .pillar-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(56, 189, 248, 0.3);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(79, 70, 229, 0.1);
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-text h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.pillar-text p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Technology Stack Matrix
   ========================================================================== */
.tech-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.tech-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.tech-tab-btn:hover {
  color: var(--text-main);
  border-color: rgba(2, 132, 199, 0.3);
}

.tech-tab-btn.active {
  background: var(--gradient-accent);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.tech-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-fast);
}

[data-theme="dark"] .tech-item {
  box-shadow: none;
}

.tech-item:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.15);
}

.tech-icon-svg {
  width: 44px;
  height: 44px;
  color: var(--accent-cyan);
}

.tech-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.tech-category-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Case Studies & Real Impact
   ========================================================================== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), 0 0 25px rgba(79, 70, 229, 0.12);
}

[data-theme="dark"] .case-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.2);
}

.case-header {
  padding: 24px 28px 16px 28px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-client-tag {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.case-industry {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.case-body {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.case-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.case-metric-highlight {
  background: rgba(2, 132, 199, 0.06);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border: 1px solid rgba(2, 132, 199, 0.18);
}

.metric-big-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.metric-context {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: right;
  max-width: 150px;
}

.case-footer {
  padding: 18px 28px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Testimonials & Ratings
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.stars-rating {
  display: flex;
  gap: 4px;
  color: var(--accent-amber);
  margin-bottom: 18px;
}

.testimonial-quote {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 24px;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

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

/* ==========================================================================
   FAQ Accordions
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.12);
}

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

.faq-icon-arrow {
  width: 22px;
  height: 22px;
  transition: transform var(--transition-fast);
  color: var(--accent-cyan);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 24px;
}

/* ==========================================================================
   Consultation & Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
}

.contact-direct-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}

.contact-direct-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-direct-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.08);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-direct-detail h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-direct-detail p, .contact-direct-detail a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-direct-detail a:hover {
  color: var(--accent-cyan);
}

.office-locations {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.office-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.office-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px 38px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Service Multi-Select Checkboxes inside Contact Form */
.form-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.form-service-checkbox {
  position: relative;
}

.form-service-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form-service-checkbox span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.form-service-checkbox input:checked + span {
  background: rgba(2, 132, 199, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  padding: 80px 0 30px 0;
  position: relative;
  color: #334155;
}

[data-theme="dark"] .main-footer {
  background: #04060c;
  color: #f8fafc;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin: 18px 0 24px 0;
  max-width: 320px;
  font-size: 0.95rem;
  color: #475569;
}

[data-theme="dark"] .footer-brand p {
  color: #94a3b8;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: #475569;
  font-size: 0.94rem;
}

[data-theme="dark"] .footer-col ul a {
  color: #94a3b8;
}

.footer-col ul a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  outline: none;
}

[data-theme="dark"] .newsletter-input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.newsletter-input:focus {
  border-color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--text-main);
}

/* ==========================================================================
   Modals, Toasts & Overlays
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-normal);
  position: relative;
}

[data-theme="dark"] .modal-box {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-secondary);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(2, 132, 199, 0.15);
  color: var(--accent-cyan);
  transform: rotate(90deg);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast-msg {
  background: var(--bg-card);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-size: 0.94rem;
  font-weight: 600;
  animation: slide-in-toast 0.3s ease forwards;
}

@keyframes slide-in-toast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Back to Top floating button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent-cyan);
  color: #ffffff;
  transform: translateY(-4px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-primary {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .top-bar {
    display: none;
  }

  .form-group-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-card-image {
    height: 340px;
  }

  .chip-top-left, .chip-bottom-right {
    display: none;
  }

  .estimator-card {
    padding: 16px;
  }

  .chip-grid {
    grid-template-columns: 1fr;
  }
}
