/* -------------------------------------------------------------------------- */
/* GOLDEN DESK LABS - RESPONSIVE DESIGN SYSTEM & FLUID STYLES                 */
/* -------------------------------------------------------------------------- */

:root {
  /* Fresh Light Color Palette */
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-subtle: #F1F5F9;
  
  --border-light: rgba(226, 232, 240, 0.9);
  --border-hover: rgba(217, 119, 6, 0.4);
  
  /* Brand Colors & Accents */
  --amber-50: #FFFBEB;
  --amber-100: #FEF3C7;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --amber-700: #B45309;

  --indigo-50: #EEF2FF;
  --indigo-100: #E0E7FF;
  --indigo-500: #6366F1;
  --indigo-600: #4F46E5;
  --indigo-700: #4338CA;

  --emerald-50: #ECFDF5;
  --emerald-500: #10B981;
  --emerald-600: #059669;

  --sky-50: #F0F9FF;
  --sky-500: #0EA5E9;
  --sky-600: #0284C7;

  --purple-500: #8B5CF6;
  --rose-500: #F43F5E;

  /* Typography Colors */
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --text-faint: #94A3B8;
  
  /* Modern Soft Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.1), 0 10px 15px -5px rgba(15, 23, 42, 0.05);
  --shadow-amber: 0 10px 25px -5px rgba(245, 158, 11, 0.25);
  --shadow-indigo: 0 10px 25px -5px rgba(79, 70, 229, 0.25);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Radii & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(245, 158, 11, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 50%, rgba(79, 70, 229, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Background Subtle Pattern */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.orb-1 {
  width: 380px;
  height: 380px;
  top: -80px;
  left: -80px;
  background: var(--amber-100);
}

.orb-2 {
  width: 420px;
  height: 420px;
  top: 35%;
  right: -120px;
  background: var(--indigo-100);
}

.orb-3 {
  width: 320px;
  height: 320px;
  bottom: 10%;
  left: 10%;
  background: var(--emerald-50);
}

/* Layout Utilities */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Fluid Typography Utilities */
h1, .h1-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

h2, .h2-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

h3, .h3-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.text-gradient-amber {
  background: linear-gradient(135deg, var(--amber-600) 0%, var(--amber-500) 50%, var(--amber-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-indigo {
  background: linear-gradient(135deg, var(--indigo-600) 0%, var(--sky-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-amber {
  color: var(--amber-600);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: var(--amber-50);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--amber-700);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.tag-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--amber-500);
  box-shadow: 0 0 10px var(--amber-500);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem) auto;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
}

/* Buttons & Touch Targets (Min height 44px for accessibility) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 48px;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1.35rem;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber-500) 0%, var(--amber-600) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-amber);
}

.btn-primary:hover, .btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, var(--amber-400) 0%, var(--amber-600) 100%);
}

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

.btn-secondary:hover, .btn-secondary:focus {
  background: var(--indigo-50);
  border-color: var(--indigo-500);
  color: var(--indigo-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-indigo);
}

/* Header & Mobile Navigation Overlay */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: var(--transition-normal);
}

.site-header.scrolled {
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
}

.logo-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
  background: linear-gradient(135deg, var(--amber-500) 0%, var(--amber-600) 100%);
}

.site-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.45);
  transform-origin: center;
  display: block;
}

.header-logo-img {
  background: transparent;
}

.footer-logo-img {
  background: transparent;
}

.brand-accent {
  color: var(--amber-600);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--amber-600);
}

.mobile-toggle {
  display: none;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  border-color: var(--amber-500);
  color: var(--amber-600);
}

.mobile-toggle-icon {
  width: 22px;
  height: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.mobile-toggle-icon span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: currentColor;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-toggle.active .mobile-toggle-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .mobile-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .mobile-toggle-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem) 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Hero Visual Studio Window */
.hero-visual {
  position: relative;
  width: 100%;
}

.visual-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 25px rgba(245, 158, 11, 0.08);
  transition: var(--transition-normal);
}

.visual-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-4px);
}

.visual-header {
  background: var(--bg-subtle);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.window-dots {
  display: flex;
  gap: 0.4rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

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

.visual-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-500);
  box-shadow: 0 0 8px var(--emerald-500);
}

.automation-stream {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stream-node {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: var(--transition-fast);
}

.stream-node:hover, .active-node {
  background: var(--amber-50);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-sm);
}

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

.node-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-amber { background: var(--amber-100); color: var(--amber-700); }
.icon-indigo { background: var(--indigo-100); color: var(--indigo-700); }
.icon-emerald { background: var(--emerald-50); color: var(--emerald-600); }
.icon-sky { background: var(--sky-50); color: var(--sky-600); }

.node-info h5 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: var(--text-main);
}

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

.node-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge-green { background: var(--emerald-50); color: var(--emerald-600); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-amber { background: var(--amber-100); color: var(--amber-700); border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-indigo { background: var(--indigo-50); color: var(--indigo-700); border: 1px solid rgba(79, 70, 229, 0.3); }

.terminal-footer {
  background: var(--bg-subtle);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.775rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.terminal-prompt {
  color: var(--amber-600);
  font-weight: 700;
}

.terminal-text {
  color: var(--text-light);
}

/* Core Services Section */
.services-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

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

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--amber-500);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

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

.service-features svg {
  color: var(--amber-600);
  flex-shrink: 0;
}

/* Impact Spotlight Section */
.projects-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.project-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--indigo-500);
  box-shadow: var(--shadow-lg);
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.project-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-subtitle {
  display: block;
  font-size: 0.85rem;
  color: var(--indigo-600);
  font-weight: 700;
  margin-bottom: 1rem;
}

.project-body p {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.highlight-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  color: var(--text-main);
  font-weight: 600;
  background: var(--bg-light);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.highlight-chip svg {
  color: var(--emerald-600);
  flex-shrink: 0;
}

/* Audience Section & Horizontally Swipeable Tabs */
.audience-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.audience-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem 0.75rem 0.25rem;
  scrollbar-width: none; /* Firefox */
}

.audience-tabs::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.tab-btn {
  flex-shrink: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.925rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  touch-action: manipulation;
}

.tab-btn:hover, .tab-btn:focus {
  border-color: var(--amber-500);
  color: var(--amber-700);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--amber-500) 0%, var(--amber-600) 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: var(--shadow-amber);
}

.audience-content-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.audience-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.use-case-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.use-case-item {
  display: flex;
  gap: 1rem;
}

.use-case-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--amber-100);
  color: var(--amber-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.use-case-text h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.use-case-text p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.audience-visual-box {
  background: var(--text-main);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
}

.blueprint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.metric-badge {
  color: var(--emerald-500);
  font-weight: 700;
}

.code-preview-box pre {
  font-family: var(--font-mono);
  font-size: clamp(0.775rem, 1.5vw, 0.85rem);
  color: var(--amber-400);
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
}

/* Calculator Section & Touch Range Sliders */
.calculator-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.calc-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.slider-group {
  margin-bottom: 2rem;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 0.975rem;
  color: var(--text-main);
}

.slider-val {
  color: var(--amber-700);
}

input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-subtle);
  accent-color: var(--amber-500);
  cursor: pointer;
  touch-action: manipulation;
}

input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

.calc-results {
  background: var(--amber-50);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}

.calc-results h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-number {
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.result-subtext {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.result-divider {
  border-top: 1px dashed rgba(245, 158, 11, 0.3);
  padding-top: 1.5rem;
}

.result-cost {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--emerald-600);
}

/* Process Section */
.process-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.process-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber-500);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--amber-600);
  margin-bottom: 0.85rem;
}

.process-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

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

/* FAQ Accordion Section */
.faq-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.faq-question {
  width: 100%;
  min-height: 52px;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: clamp(0.975rem, 2vw, 1.05rem);
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  touch-action: manipulation;
}

.faq-question svg {
  transition: var(--transition-normal);
  color: var(--amber-600);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.5rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  padding-bottom: 1.25rem;
}

.faq-item.active {
  border-color: var(--amber-500);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

/* Contact Section */
.contact-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  box-shadow: var(--shadow-lg);
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-title {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.detail-link {
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  min-height: 48px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

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

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--amber-500);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.toast-msg {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.toast-success {
  background: var(--emerald-50);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald-600);
  font-weight: 600;
}

/* Site Footer */
.site-footer {
  background: var(--text-main);
  color: #FFFFFF;
  padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3.5rem;
}

.footer-brand .brand-logo {
  color: #FFFFFF;
}

.footer-brand p {
  color: var(--text-faint);
  font-size: 0.925rem;
  margin-top: 1rem;
  max-width: 300px;
}

.footer-col h5 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

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

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

.footer-links a:hover {
  color: var(--amber-400);
}

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

.footer-email {
  color: var(--amber-600);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-email:hover {
  color: var(--amber-700);
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVE MEDIA QUERIES & BREAKPOINT OPTIMIZATIONS                        */
/* -------------------------------------------------------------------------- */

/* iPad Pro / Small Laptops (1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    max-width: 680px;
    margin: 0 auto;
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

/* iPads & Tablets (768px - 1023px) */
@media (max-width: 1023px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .audience-content-card {
    grid-template-columns: 1fr;
  }

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

/* Mobile Devices & Small Tablets (< 768px) */
@media (max-width: 767px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.15rem;
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }

  .mobile-toggle {
    display: flex;
  }

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

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

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-trust-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

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

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

/* Small Mobile Phones (< 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

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

  .audience-tabs {
    justify-content: flex-start;
  }

  .stream-node {
    flex-direction: column;
    align-items: flex-start;
  }

  .node-badge {
    align-self: flex-end;
  }
}
