/* ==========================================================================
   AHS TECHNOLOGIES - DESIGN SYSTEM & STYLESHEET
   Aesthetic: Deep Space Obsidian, Vibrant Cyan/Indigo Glow, Glassmorphism
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #07090e;
  --bg-secondary: #0d111c;
  --bg-card: rgba(18, 24, 38, 0.65);
  --bg-card-hover: rgba(26, 35, 56, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(99, 102, 241, 0.35);
  --border-cyan: rgba(6, 182, 212, 0.4);

  /* Accents */
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --cyan: #06b6d4;
  --cyan-bright: #38bdf8;
  --purple: #a855f7;
  --emerald: #10b981;
  --amber: #f59e0b;

  /* Text Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px -5px rgba(99, 102, 241, 0.35);
  --shadow-glow-cyan: 0 0 35px -5px rgba(6, 182, 212, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.45;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.8) 0%, rgba(99, 102, 241, 0) 70%);
  top: -100px;
  left: -150px;
}

.orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.7) 0%, rgba(6, 182, 212, 0) 70%);
  top: 30%;
  right: -200px;
}

.orb-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.6) 0%, rgba(168, 85, 247, 0) 70%);
  bottom: 5%;
  left: 20%;
}

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

/* Typography Utilities */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #a5b4fc 45%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-cyan {
  color: var(--cyan-bright) !important;
}

.text-center {
  text-align: center;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-glow);
}

/* Badges & Pills */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 100px;
  color: #a5b4fc;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(6, 182, 212, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.btn-secondary:hover {
  background: rgba(6, 182, 212, 0.22);
  border-color: rgba(6, 182, 212, 0.6);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse-glow 1.8s infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.brand-suffix {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--cyan-bright);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-item:hover {
  color: #ffffff;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan-bright);
  transition: width var(--transition-fast);
}

.nav-item:hover::after {
  width: 100%;
}

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

.mobile-only {
  display: none;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 170px 0 90px;
  position: relative;
}

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

.hero-content {
  max-width: 640px;
}

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

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 24px;
  line-height: 1.12;
}

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

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

.hero-tags {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.tag-item {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkmark {
  color: var(--emerald);
  font-weight: 700;
}

/* Hero Visual & Float Cards */
.hero-visual {
  position: relative;
}

.visual-card-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.visual-backdrop-glow {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(6, 182, 212, 0.25) 45%, transparent 75%);
  filter: blur(40px);
  z-index: 0;
  border-radius: 30px;
}

.hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  transition: transform var(--transition-smooth);
}

.hero-visual:hover .hero-image {
  transform: translateY(-6px) scale(1.02);
}

.floating-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  animation: float-badge 4s ease-in-out infinite alternate;
}

.badge-top-left {
  top: 10%;
  left: -20px;
  animation-delay: 0s;
}

.badge-bottom-right {
  bottom: 8%;
  right: -15px;
  animation-delay: 2s;
}

@keyframes float-badge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.badge-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.badge-icon-wrap.gold {
  background: rgba(245, 158, 11, 0.18);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-icon-wrap.cyan {
  background: rgba(6, 182, 212, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.badge-info strong {
  display: block;
  font-size: 1rem;
  color: #ffffff;
}

.badge-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
  padding: 30px 0 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  padding: 28px 24px;
  text-align: center;
}

.stat-number-wrap {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-suffix {
  color: var(--cyan-bright);
}

.stat-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.stat-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   TECH TICKER
   ========================================================================== */
.tech-ticker-section {
  padding: 24px 0 60px;
}

.ticker-title {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 24px;
}

.ticker-track {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.ticker-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.ticker-chip:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTION COMMON
   ========================================================================== */
.section-header {
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

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

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services-section {
  padding: 80px 0;
}

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

.service-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
  transition: all var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 25px var(--accent);
  transform: scale(1.08) rotate(3deg);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-points {
  list-style: none;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-points li {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

.service-points li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--cyan-bright);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

/* ==========================================================================
   PORTFOLIO / SHOWCASE
   ========================================================================== */
.portfolio-section {
  padding: 80px 0;
}

.portfolio-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

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

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.filter-btn.active {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #000000;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.project-platform-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-tag.fintech { color: #38bdf8; }
.project-tag.ai { color: #a855f7; }
.project-tag.health { color: #10b981; }

.project-rating {
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 600;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.highlight-item {
  text-align: center;
}

.highlight-item strong {
  display: block;
  font-size: 1rem;
  color: #ffffff;
}

.highlight-item span {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ==========================================================================
   ESTIMATOR WIDGET
   ========================================================================== */
.estimator-section {
  padding: 80px 0;
}

.estimator-wrapper {
  padding: 50px;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 50%), var(--bg-card);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.estimator-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.estimator-title {
  font-size: 2.3rem;
  margin-bottom: 12px;
}

.estimator-sub {
  color: var(--text-muted);
  font-size: 1rem;
}

.estimator-group {
  margin-bottom: 36px;
}

.group-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.options-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.option-card {
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-main);
  outline: none;
}

.option-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.option-card.active {
  background: rgba(99, 102, 241, 0.18);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.35);
}

.option-icon {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.option-note {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.option-card.active .option-note {
  color: #a5b4fc;
}

/* Features Checkboxes */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.feature-checkbox input {
  display: none;
}

.checkbox-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: transparent;
  transition: all var(--transition-fast);
}

.feature-checkbox.active {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.4);
}

.feature-checkbox.active .checkbox-box {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #07090e;
}

.feature-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

/* Calculation Result Output */
.estimator-result-card {
  margin-top: 40px;
  padding: 28px 36px;
  background: rgba(7, 9, 14, 0.7);
  border: 1px solid var(--border-highlight);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.result-details {
  display: flex;
  align-items: center;
  gap: 36px;
}

.result-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
}

.result-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.result-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
}

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.process-section {
  padding: 80px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-step {
  padding: 30px 22px;
  position: relative;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.stars {
  color: var(--amber);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

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

.author-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */
.contact-section {
  padding: 80px 0 100px;
}

.contact-card-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  padding: 56px;
  gap: 48px;
  border: 1px solid var(--border-highlight);
}

.contact-headline {
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.contact-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.perk-icon {
  font-size: 1.3rem;
}

.perk-item strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
}

.perk-item span {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.direct-contact-box {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.direct-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.25);
}

.form-group select option {
  background-color: var(--bg-secondary);
  color: #ffffff;
}

.form-status {
  padding: 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040609;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 70px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 16px 0 20px;
  max-width: 320px;
}

.footer-badge-item {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--cyan-bright);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 4px 12px;
  border-radius: 100px;
}

.footer-links-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col ul li {
  margin-bottom: 10px;
}

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

.footer-links-col ul li a:hover {
  color: var(--cyan-bright);
}

.social-links {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.social-btn {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.4);
}

.footer-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

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

.bottom-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.bottom-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.bottom-links a:hover {
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-cta-group, .hero-tags {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 30px;
  }

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

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

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

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

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

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

  .contact-card-wrapper {
    grid-template-columns: 1fr;
    padding: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(7, 9, 14, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    transition: transform var(--transition-smooth);
    z-index: 99;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-only {
    display: block;
  }

  .nav-estimate-btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

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

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

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

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

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

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

  .options-grid-3 {
    grid-template-columns: 1fr;
  }

  .estimator-wrapper {
    padding: 24px;
  }

  .estimator-result-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .result-details {
    flex-direction: column;
    gap: 16px;
  }

  .result-divider {
    display: none;
  }

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

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

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

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

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