/* ==========================================================================
   MADURAI M3 TECHNOLOGIES - Official Design System & Stylesheet
   Theme: Sophisticated Dark Navy, Crisp White, Subtle Radiant Orange Accent
   ========================================================================== */

:root {
  /* Color Palette - Dark Navy Foundation */
  --bg-deep: #070B19;
  --bg-surface: #0C142B;
  --bg-card: #111C3D;
  --bg-card-hover: #16244D;
  --bg-glass: rgba(12, 20, 43, 0.85);
  --bg-glass-elevated: rgba(17, 28, 61, 0.7);

  /* Orange Accent System */
  --accent-orange: #F97316;
  --accent-orange-hover: #EA580C;
  --accent-orange-light: #FB923C;
  --accent-orange-glow: rgba(249, 115, 22, 0.25);
  --accent-orange-subtle: rgba(249, 115, 22, 0.1);

  /* Supporting System Colors */
  --accent-cyan: #38BDF8;
  --accent-cyan-subtle: rgba(56, 189, 248, 0.12);
  --accent-emerald: #10B981;
  --accent-emerald-subtle: rgba(16, 185, 129, 0.15);

  /* Typography Colors */
  --text-white: #FFFFFF;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dark: #64748B;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-focus: rgba(249, 115, 22, 0.6);
  --border-glow: 0 0 0 2px rgba(249, 115, 22, 0.2);

  /* Elevations & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-subtle);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border-subtle);
  --shadow-orange: 0 10px 30px -5px rgba(249, 115, 22, 0.35);

  /* Layout & Geometry */
  --max-width: 1240px;
  --header-height: 80px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Base Reset & Modern Typography
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--bg-deep);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(249, 115, 22, 0.08), transparent 70%),
    radial-gradient(circle 600px at 90% 20%, rgba(56, 189, 248, 0.04), transparent 70%),
    radial-gradient(circle 500px at 10% 80%, rgba(249, 115, 22, 0.04), transparent 70%);
  background-attachment: fixed;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Accessible Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background-color: transparent;
  transition: background-color var(--transition-normal), backdrop-filter var(--transition-normal), border-bottom var(--transition-normal);
}

.site-header.scrolled {
  background-color: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 48px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-orange);
  transition: width var(--transition-normal);
  border-radius: var(--radius-pill);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   Buttons & Interactive Pills
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-hover));
  color: #FFFFFF;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-orange-light), var(--accent-orange));
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(249, 115, 22, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-medium);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-orange);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #25D366;
  color: #070B19;
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.9rem 1.85rem;
}

.btn-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-toggle:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 11, 25, 0.98);
  backdrop-filter: blur(20px);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
  border-bottom: 1px solid var(--border-subtle);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent-orange);
}

/* ==========================================================================
   Section Headers & Badges
   ========================================================================== */

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-hero {
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 5rem;
  overflow: hidden;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-orange-light);
  background: var(--accent-orange-subtle);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.radar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange);
  position: relative;
}

.radar-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent-orange);
  animation: radarPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPing {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* ==========================================================================
   Hero Section Layout & Architecture Terminal Card
   ========================================================================== */

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

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h4 {
  font-size: 1.5rem;
  color: var(--text-white);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Hero Interactive Architecture Card */
.hero-visual {
  position: relative;
}

.hero-terminal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(249, 115, 22, 0.08);
  position: relative;
}

.terminal-header {
  background: #090F21;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background-color: #EF4444; }
.dot-yellow { background-color: #F59E0B; }
.dot-green { background-color: #10B981; }

.terminal-title {
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pipeline-node {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.pipeline-node:hover {
  border-color: rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.04);
}

.node-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.node-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-text h5 {
  font-size: 0.9375rem;
  margin-bottom: 0.15rem;
}

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

.status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.badge-active {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-sync {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-ready {
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.terminal-code-snippet {
  background: #060A17;
  border-radius: var(--radius-md);
  padding: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #A5B4FC;
  line-height: 1.6;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.code-keyword { color: #F472B6; }
.code-fn { color: #38BDF8; }
.code-string { color: #34D399; }
.code-comment { color: #64748B; }

/* Tech Stack Banner */
.tech-banner {
  margin-top: 4rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.tech-banner-label {
  text-align: center;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.tech-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.tech-pill:hover {
  border-color: var(--accent-orange);
  color: var(--text-white);
  background: rgba(249, 115, 22, 0.06);
  transform: translateY(-1px);
}

/* ==========================================================================
   About Section & Engineering Philosophy
   ========================================================================== */

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

.about-content h2 {
  font-size: 2.35rem;
  margin-bottom: 1.25rem;
}

.about-lead {
  font-size: 1.125rem;
  color: var(--text-white);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-paragraph {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.about-pillar-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-3px);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--accent-orange-subtle);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.about-pillar-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.about-pillar-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Sole Proprietorship Transparency Card */
.business-profile-card {
  background: linear-gradient(145deg, var(--bg-surface), #0F1A3A);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.business-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid rgba(249, 115, 22, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
}

.profile-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.profile-badge {
  font-size: 0.775rem;
  color: var(--accent-cyan);
  background: var(--accent-cyan-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  display: inline-block;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.spec-item .label {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-item .value {
  color: var(--text-white);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
}

/* ==========================================================================
   Services Section - Comprehensive 9 Service Offerings
   ========================================================================== */

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

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(249, 115, 22, 0.1);
  background: var(--bg-card);
}

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

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-orange-subtle);
  border: 1px solid rgba(249, 115, 22, 0.2);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-icon-box {
  transform: scale(1.08);
  background: var(--accent-orange);
  color: #FFFFFF;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--text-white);
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-features-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-features-list li svg {
  color: var(--accent-orange);
  flex-shrink: 0;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.service-tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
}

.service-cta-btn {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-orange-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-cta-btn:hover {
  color: var(--text-white);
  gap: 0.65rem;
}

/* ==========================================================================
   Interactive Scope & Architecture Estimator
   ========================================================================== */

.estimator-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.estimator-wrapper::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12), transparent 70%);
  pointer-events: none;
}

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

.estimator-step {
  margin-bottom: 2rem;
}

.estimator-step-label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-orange-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.estimator-chip {
  cursor: pointer;
}

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

.chip-content {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.estimator-chip input:checked + .chip-content {
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--accent-orange);
  color: var(--text-white);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}

.chip-content:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-white);
}

/* Estimator Live Output Card */
.estimator-summary-card {
  background: #080E23;
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.summary-card-header h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.summary-card-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

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

.summary-row .val {
  font-weight: 600;
  color: var(--text-white);
  text-align: right;
}

.val-highlight {
  color: var(--accent-orange) !important;
}

/* ==========================================================================
   Portfolio / System Blueprints Section
   ========================================================================== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.blueprint-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.blueprint-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(249, 115, 22, 0.1);
}

.blueprint-preview {
  background: #090F24;
  height: 220px;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}

.blueprint-schema-diagram {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.schema-box {
  background: rgba(17, 28, 61, 0.9);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.775rem;
  color: var(--text-white);
  text-align: center;
  width: 110px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.schema-box span {
  display: block;
  font-size: 0.65rem;
  color: var(--accent-orange-light);
  margin-top: 0.2rem;
}

.schema-connector {
  flex-grow: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan));
  position: relative;
  margin: 0 0.5rem;
}

.schema-connector::after {
  content: '';
  position: absolute;
  top: -4px;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.blueprint-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blueprint-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.blueprint-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--text-white);
}

.blueprint-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.blueprint-specs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.blueprint-spec-row {
  display: flex;
  gap: 0.5rem;
}

.blueprint-spec-row strong {
  color: var(--text-secondary);
  min-width: 100px;
}

.blueprint-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  transition: all var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-orange);
  background: var(--bg-card);
}

.why-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', monospace;
  transition: color var(--transition-normal);
}

.why-card:hover .why-num {
  color: var(--accent-orange);
}

.why-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Development Process Section (Engineered Roadmap)
   ========================================================================== */

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan));
  z-index: 1;
  opacity: 0.4;
}

.process-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  position: relative;
  z-index: 2;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.process-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

.step-marker {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-orange);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
}

.process-step-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.process-step-card p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Contact Section & Interactive Consultation Booking Form
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

.contact-info-col h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.contact-info-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-channel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all var(--transition-fast);
}

.contact-channel-card:hover {
  border-color: var(--accent-orange);
  transform: translateX(4px);
  background: var(--bg-card);
}

.channel-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--accent-orange-subtle);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon-box.whatsapp-bg {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
}

.channel-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.channel-text p,
.channel-text a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.channel-text a:hover {
  color: var(--accent-orange-light);
}

.channel-action-btn {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--accent-orange-light);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Location Card */
.location-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.location-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.location-header h4 {
  font-size: 1rem;
}

.location-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Contact Form Styling */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.form-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-card-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

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

.form-label span {
  color: var(--accent-orange);
}

.form-control {
  width: 100%;
  background: #070B1A;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  color: var(--text-white);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
  background: #090F24;
}

.form-control::placeholder {
  color: var(--text-dark);
}

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

.form-notice {
  font-size: 0.775rem;
  color: var(--text-dark);
  margin-top: 1rem;
  line-height: 1.5;
}

/* Toast Notification */
.toast-alert {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0F1F3D;
  border: 1px solid var(--accent-orange);
  color: var(--text-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2000;
  transform: translateY(150%);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-alert.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--accent-orange);
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #050814;
  border-top: 1px solid var(--border-subtle);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  max-width: 340px;
}

.footer-ownership-badge {
  display: inline-block;
  font-size: 0.775rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--text-white);
  text-transform: uppercase;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-orange-light);
  transform: translateX(3px);
}

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

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

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

/* ==========================================================================
   Dedicated Legal & Subpage Styles (Privacy Policy, Terms, etc.)
   ========================================================================== */

.subpage-hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 3.5rem;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(249, 115, 22, 0.1), transparent 70%);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.subpage-hero h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.subpage-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.legal-content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  margin: 3.5rem auto 5rem auto;
  max-width: 920px;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.45rem;
  color: var(--text-white);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-section h3 {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-section p,
.legal-section li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.highlight-box {
  background: rgba(249, 115, 22, 0.08);
  border-left: 4px solid var(--accent-orange);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-timeline::before {
    display: none;
  }

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

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

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

  .mobile-toggle {
    display: block;
  }

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

  .hero-title {
    font-size: 2.35rem;
  }

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

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-pillars-grid {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

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

  .form-card {
    padding: 1.75rem;
  }

  .legal-content-card {
    padding: 2rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
