/* ==========================================================================
   TECHELGO | Next-Gen AI & Digital Architecture CSS System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Consolas, monospace;

  /* Color Palette - Deep AI Obsidian */
  --bg-primary: #07090e;
  --bg-surface: #0d121f;
  --bg-surface-elevated: #131b2e;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(22, 33, 62, 0.85);
  --bg-glass: rgba(13, 18, 31, 0.7);

  /* Accents & Glows */
  --accent-cyan: #00f2fe;
  --accent-blue: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;

  --gradient-ai: linear-gradient(135deg, #00f2fe 0%, #38bdf8 45%, #6366f1 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-text: linear-gradient(180deg, #ffffff 20%, #94a3b8 100%);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.35);
  --border-active: rgba(99, 102, 241, 0.5);

  /* Typography */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-glow: #e0f2fe;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 50px -10px rgba(56, 189, 248, 0.25);
  --shadow-glow-purple: 0 0 50px -10px rgba(168, 85, 247, 0.25);

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
}

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

/* Background Cyber Matrix & Radial Lights */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 90% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 10% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

p {
  margin-bottom: 1.25rem;
}

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

a:hover {
  color: var(--accent-cyan);
}

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

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

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.ai-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.ai-nav.scrolled {
  background: var(--bg-glass);
  padding: 0.75rem 0;
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-brand .logo,
.nav-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.nav-brand:hover .logo,
.nav-brand:hover img {
  transform: scale(1.05);
}

.nav-brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-brand-text span {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-ai);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-cyan);
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   Buttons & UI Pills
   ========================================================================== */
.btn-ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  border: none;
  outline: none;
  text-decoration: none;
  white-space: normal;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  word-break: break-word;
}

.btn-ai-primary {
  background: var(--gradient-ai);
  color: #07090e;
  box-shadow: 0 0 25px -4px rgba(56, 189, 248, 0.5);
}

.btn-ai-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px -2px rgba(56, 189, 248, 0.7);
  color: #000;
}

.btn-ai-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-ai-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glow);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ai-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.35;
  word-break: break-word;
}

.badge-fiverr {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: rgba(29, 191, 115, 0.08);
  border: 1px solid rgba(29, 191, 115, 0.3);
  font-size: 0.8rem;
  font-weight: 700;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.35;
  color: #1dbf73;
  letter-spacing: 0.03em;
  transition: all var(--transition-fast);
  margin-bottom: 1.5rem;
}

.badge-fiverr:hover {
  background: rgba(29, 191, 115, 0.15);
  border-color: #1dbf73;
  box-shadow: 0 0 16px rgba(29, 191, 115, 0.35);
  transform: translateY(-1px);
}

.badge-fiverr-star {
  display: inline-flex;
  align-items: center;
  background: rgba(29, 191, 115, 0.18);
  color: #fff;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  margin-left: 0.2rem;
}

.badge-fiverr-hero {
  gap: 0.65rem;
  padding: 0.45rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1dbf73;
  background: rgba(29, 191, 115, 0.12);
  border: 1px solid rgba(29, 191, 115, 0.45);
  box-shadow: 0 2px 14px rgba(29, 191, 115, 0.18);
}

.badge-fiverr-hero:hover {
  background: rgba(29, 191, 115, 0.2);
  border-color: #1dbf73;
  box-shadow: 0 0 22px rgba(29, 191, 115, 0.45);
  transform: translateY(-1px);
}

.badge-fiverr-hero .badge-fiverr-star {
  background: rgba(29, 191, 115, 0.28);
  color: #ffffff;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(0, 242, 254, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-ai {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
}

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

.hero-copy {
  max-width: 650px;
}

.hero-headline {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero-headline .text-gradient {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-subhead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

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

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

.hero-metric-item h4 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: baseline;
}

.hero-metric-item h4 span {
  color: var(--accent-cyan);
  font-size: 1.5rem;
}

.hero-metric-item p {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Hero Visual / Interactive Terminal Console
   ========================================================================== */
.terminal-window {
  background: rgba(13, 18, 31, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px -10px rgba(56, 189, 248, 0.2);
  backdrop-filter: blur(20px);
  position: relative;
}

.terminal-header {
  background: rgba(7, 9, 14, 0.85);
  padding: 0.85rem 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-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-nav {
  display: flex;
  background: rgba(10, 14, 24, 0.6);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-subtle);
  padding: 0.65rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.terminal-tab:last-child {
  border-right: none;
}

.terminal-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.terminal-tab.active {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.06);
  border-bottom: 2px solid var(--accent-cyan);
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  min-height: 310px;
  background: #090d16;
}

.terminal-pane {
  display: none;
}

.terminal-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.t-prompt {
  color: var(--accent-cyan);
}

.t-cmd {
  color: #fff;
  font-weight: 600;
}

.t-log {
  color: var(--text-secondary);
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.t-status-green {
  color: var(--accent-emerald);
}

.t-status-blue {
  color: var(--accent-blue);
}

.t-status-purple {
  color: var(--accent-purple);
}

.terminal-footer-metrics {
  background: rgba(7, 9, 14, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.terminal-footer-metrics span strong {
  color: var(--accent-emerald);
}

/* ==========================================================================
   Standalone Fiverr Level 2 Seller Credential Plaque
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fiverr-credential-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 1.4rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(11, 20, 22, 0.92) 0%, rgba(7, 12, 17, 0.96) 100%);
  border: 1px solid rgba(29, 191, 115, 0.35);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.65), 0 0 24px rgba(29, 191, 115, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.fiverr-credential-card:hover {
  border-color: rgba(29, 191, 115, 0.65);
  box-shadow: 0 20px 44px -8px rgba(0, 0, 0, 0.8), 0 0 32px rgba(29, 191, 115, 0.28);
  transform: translateY(-2px);
}

.fiverr-credential-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 191, 115, 0.8), transparent);
}

.fiverr-credential-card::after {
  content: 'fi.';
  position: absolute;
  right: -6px;
  bottom: -18px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(29, 191, 115, 0.045);
  pointer-events: none;
  letter-spacing: -2px;
  z-index: 0;
}

.fiverr-cred-emblem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  z-index: 1;
}

.fiverr-cred-seal {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #27e38c, #139457);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(29, 191, 115, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: transform var(--transition-fast);
}

.fiverr-credential-card:hover .fiverr-cred-seal {
  transform: scale(1.06) rotate(3deg);
}

.fiverr-cred-lvl-pill {
  position: absolute;
  bottom: -6px;
  background: #070b10;
  border: 1px solid #1dbf73;
  color: #1dbf73;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 1px 6px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.fiverr-cred-info {
  flex: 1;
  min-width: 0;
  z-index: 1;
}

.fiverr-cred-kicker {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #1dbf73;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.fiverr-cred-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1dbf73;
  box-shadow: 0 0 8px #1dbf73;
}

.fiverr-cred-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.fiverr-cred-rating {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  line-height: 1;
}

.fiverr-cred-stars {
  display: inline-flex;
  gap: 2px;
  color: #1dbf73;
  font-size: 0.72rem;
}

.fiverr-cred-score {
  font-weight: 800;
  color: #ffffff;
}

.fiverr-cred-sep {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.fiverr-cred-meta {
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
}

.fiverr-cred-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  z-index: 1;
}

.fiverr-cred-badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background: rgba(29, 191, 115, 0.12);
  border: 1px solid rgba(29, 191, 115, 0.35);
  border-radius: 8px;
  color: #1dbf73;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: inset 0 0 12px rgba(29, 191, 115, 0.08);
}

.fiverr-cred-badge-inner i {
  font-size: 0.85rem;
}

/* ==========================================================================
   Trust / Enterprise Clients Marquee
   ========================================================================== */
.trust-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(13, 18, 31, 0.4);
}

.trust-strip-title {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-weight: 600;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.trust-logo-item {
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
  opacity: 0.65;
}

.trust-logo-item:hover {
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
}

.trust-logo-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--gradient-ai);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #07090e;
  font-weight: 800;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-ai {
  padding: 7rem 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 0.8rem;
}

.section-title-ai {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1rem;
}

.section-desc-ai {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Capabilities & Engineering Matrix (Services)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

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

.service-card-ai::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background var(--transition-fast);
}

.service-card-ai:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.8), 0 0 35px -5px rgba(56, 189, 248, 0.12);
}

.service-card-ai:hover::before {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-indigo));
}

.service-icon-ai {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(99, 102, 241, 0.12) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  transition: all var(--transition-smooth);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.08);
}

.service-card-ai:hover .service-icon-ai {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-indigo) 100%);
  color: #060913;
  border-color: transparent;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.55);
  transform: scale(1.08) rotate(1deg);
}

/* Staggered entrance animations for capabilities grid */
.services-grid .service-card-ai:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-card-ai:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card-ai:nth-child(3) { transition-delay: 0.15s; }
.services-grid .service-card-ai:nth-child(4) { transition-delay: 0.2s; }
.services-grid .service-card-ai:nth-child(5) { transition-delay: 0.25s; }
.services-grid .service-card-ai:nth-child(6) { transition-delay: 0.3s; }

.service-title-ai {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

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

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

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-blue);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Architecture & How We Build
   ========================================================================== */
.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.arch-steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.arch-step-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.arch-step-item:hover {
  border-color: var(--border-glow);
  transform: translateX(6px);
  background: var(--bg-card-hover);
}

.arch-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-cyan);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arch-info h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.arch-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.arch-preview-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.arch-preview-card::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.arch-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.arch-feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.arch-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Featured Case Studies & Work
   ========================================================================== */
.filter-tabs-ai {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn-ai {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn-ai:hover,
.filter-btn-ai.active {
  background: var(--gradient-ai);
  color: #07090e;
  border-color: transparent;
  box-shadow: 0 0 20px -3px rgba(56, 189, 248, 0.5);
}

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

.project-card-ai {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.project-card-ai:hover {
  border-color: var(--border-glow);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

.project-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0d121f;
}

.project-thumb picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

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

.project-badge-type {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(7, 9, 14, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.project-overlay-link {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(7, 9, 14, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition-fast);
}

.project-overlay-link:hover {
  background: var(--gradient-ai);
  color: #000;
  transform: scale(1.1);
}

.project-content-ai {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title-ai {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.project-desc-ai {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

/* ==========================================================================
   Interactive Project Architecture & Estimator Engine
   ========================================================================== */
.estimator-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.estimator-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-ai);
}

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

.estimator-field-group {
  margin-bottom: 2rem;
}

.estimator-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.option-pill-grid {
  display: grid;
  gap: 0.75rem;
  align-items: stretch;
}

.option-pill-grid-5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
}

.option-pill-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.option-pill-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.option-pill {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
}

.option-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.option-pill label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0.85rem 0.6rem;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  user-select: none;
}

.option-pill label i {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
  flex-shrink: 0;
}

.option-pill-grid-5 .option-pill label {
  min-height: 98px;
  font-size: 0.78rem;
  padding: 0.75rem 0.45rem;
}

.option-pill-grid-3 .option-pill label {
  min-height: 82px;
  padding: 0.85rem 0.85rem;
}

.option-pill-grid-3 .option-pill label strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.25;
}

.option-pill-grid-4 .option-pill label {
  min-height: 66px;
  font-size: 0.8rem;
  padding: 0.65rem 0.5rem;
}

.option-pill-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.2rem;
  line-height: 1.25;
}

.option-pill input:checked + label {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.option-pill input:checked + label .option-pill-sub {
  color: rgba(255, 255, 255, 0.75);
}

.estimator-output-card {
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spec-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.spec-line span:first-child {
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
  min-width: 140px;
}

.spec-line span:last-child {
  font-family: var(--font-mono);
  color: #fff;
  font-weight: 600;
  text-align: right;
  line-height: 1.45;
}

.spec-highlight {
  color: var(--accent-cyan) !important;
}

/* ==========================================================================
   Enterprise Endorsements / Testimonials
   ========================================================================== */
.testimonials-grid-ai {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card-ai {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.testimonial-card-ai:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  position: relative;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--border-glow);
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-meta h5 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.15rem;
}

.testimonial-meta p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

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

.contact-info-block h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

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

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.75rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.form-group-ai {
  margin-bottom: 1.5rem;
}

.form-label-ai {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-control-ai {
  width: 100%;
  background: rgba(7, 9, 14, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: #fff;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control-ai:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px -2px rgba(56, 189, 248, 0.3);
  background: rgba(13, 18, 31, 0.9);
}

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

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

/* Newsletter Strip */
.newsletter-card-ai {
  background: linear-gradient(135deg, rgba(13, 18, 31, 0.95) 0%, rgba(19, 27, 46, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-glow);
  text-align: center;
  max-width: 860px;
  margin: 0 auto 5rem;
}

.newsletter-form-ai {
  display: flex;
  gap: 0.75rem;
  max-width: 520px;
  margin: 2rem auto 0;
}

.newsletter-form-ai input {
  flex: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.ai-footer {
  background: #04060a;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.ai-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.4) 30%, rgba(29, 191, 115, 0.4) 70%, transparent);
}

/* Pre-Footer Action Banner */
.footer-cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(13, 20, 34, 0.75) 0%, rgba(7, 10, 18, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 20px;
  padding: 2.25rem 2.75rem;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6), 0 0 35px -10px rgba(0, 242, 254, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.footer-cta-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08), transparent 70%);
  pointer-events: none;
}

.footer-cta-text {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.footer-cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.footer-cta-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.footer-cta-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-cta-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* 5-Column Grid */
.footer-grid-ai {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.75rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: rgba(29, 191, 115, 0.08);
  border: 1px solid rgba(29, 191, 115, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  color: #1dbf73;
  margin-bottom: 1.25rem;
}

.footer-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1dbf73;
  box-shadow: 0 0 8px #1dbf73;
  animation: pulse-dot 2s infinite;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
}

.footer-contact-item i {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  width: 14px;
}

.footer-contact-item a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--accent-cyan);
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 1px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.86rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.footer-col ul a:hover {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

.social-links-ai {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-btn-ai {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-btn-ai:hover {
  background: var(--gradient-ai);
  color: #07090e;
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-bottom-ai {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--text-muted);
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ai-footer .ai-container > .footer-bottom-ai:first-child {
  border-top: none;
  padding-top: 0;
}

.footer-bottom-center {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-bottom-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #1dbf73;
  font-weight: 600;
}

.footer-bottom-dot {
  color: rgba(255, 255, 255, 0.2);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-bottom-right a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-bottom-right a:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Floating Widgets (WhatsApp & Quick Actions)
   ========================================================================== */
.floating-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.whatsapp-float-ai {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-smooth);
}

.whatsapp-float-ai:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: #fff;
}

.back-to-top-ai {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13, 18, 31, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.back-to-top-ai.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-ai:hover {
  background: var(--gradient-ai);
  color: #000;
  border-color: transparent;
  transform: translateY(-3px);
}

/* ==========================================================================
   Animations & Responsive Breakpoints
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal-ai {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-ai.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile & Tablet Styles */
@media (max-width: 1024px) {
  .hero-grid,
  .arch-grid,
  .estimator-grid,
  .contact-grid-ai {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .footer-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
  }

  .footer-cta-buttons {
    width: 100%;
    flex-wrap: wrap;
  }

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

  .footer-brand {
    max-width: 100%;
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .estimator-wrapper {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
  }
  .estimator-output-card {
    padding: 1.5rem 1.25rem;
  }
  .spec-line {
    font-size: 0.84rem;
  }
  .option-pill-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .option-pill-grid-5 .option-pill:last-child {
    grid-column: 1 / -1;
  }
  .option-pill-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(7, 9, 14, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    transition: transform var(--transition-smooth);
  }

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

  .nav-toggle {
    display: block;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-brand .logo,
  .nav-brand img {
    width: 44px;
    height: 44px;
  }

  .hero-ai {
    padding: 7rem 0 4rem;
  }

  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-metric-bar {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .services-grid,
  .projects-grid-ai,
  .testimonials-grid-ai {
    grid-template-columns: 1fr;
  }

  .newsletter-form-ai {
    flex-direction: column;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

/* ==========================================================================
   Techelgo Native AI Chatbot Widget
   ========================================================================== */
.ai-chat-launcher {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-ai);
  border: none;
  color: #07090e;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.45);
  transition: all var(--transition-smooth);
}

.ai-chat-launcher:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 35px rgba(0, 242, 254, 0.7);
}

.ai-chat-launcher.open {
  transform: rotate(90deg);
  background: #ff5f56;
  color: #fff;
  box-shadow: 0 8px 25px rgba(255, 95, 86, 0.5);
}

.ai-sparkle {
  position: absolute;
  top: -3px;
  right: -3px;
  font-size: 0.85rem;
  color: #fff;
  filter: drop-shadow(0 0 6px var(--accent-cyan));
  animation: sparkle-pulse 2s infinite ease-in-out;
}

@keyframes sparkle-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
}

.launcher-badge {
  position: absolute;
  bottom: -3px;
  right: -2px;
  background: #07090e;
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
}

/* Chat Drawer Window */
.ai-chat-window {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 550px;
  max-height: calc(100vh - 120px);
  background: rgba(13, 18, 31, 0.96);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(56, 189, 248, 0.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-chat-window.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Header */
.ai-chat-header {
  padding: 1rem 1.25rem;
  background: rgba(7, 9, 14, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-chat-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ai-avatar-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.1rem;
  position: relative;
}

.ai-status-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.ai-chat-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.ai-chat-sub {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.ai-chat-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.4rem;
  transition: color var(--transition-fast);
}

.ai-chat-close-btn:hover {
  color: #fff;
}

/* Quick Prompts */
.ai-quick-prompts {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(10, 14, 24, 0.6);
  border-bottom: 1px solid var(--border-subtle);
}

.ai-quick-prompts::-webkit-scrollbar {
  display: none;
}

.ai-prompt-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.35rem 0.8rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ai-prompt-chip:hover {
  background: var(--gradient-ai);
  color: #07090e;
  border-color: transparent;
}

/* Message Area */
.ai-chat-messages {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.ai-msg {
  display: flex;
  max-width: 86%;
}

.ai-msg-bot {
  align-self: flex-start;
}

.ai-msg-user {
  align-self: flex-end;
}

.ai-msg-bubble {
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  word-break: break-word;
}

.ai-msg-bot .ai-msg-bubble {
  background: rgba(22, 33, 62, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.ai-msg-user .ai-msg-bubble {
  background: var(--gradient-ai);
  color: #07090e;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.chat-link {
  color: var(--accent-cyan);
  text-decoration: underline;
  font-weight: 600;
}

.chat-link:hover {
  color: #fff;
}

/* Typing Indicator */
.ai-typing-indicator .ai-msg-bubble {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.75rem 1.25rem;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-6px); opacity: 1; }
}

/* Input Form */
.ai-chat-input-wrap {
  padding: 0.85rem 1rem;
  background: rgba(7, 9, 14, 0.95);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ai-chat-input-wrap input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.65rem 1.1rem;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.ai-chat-input-wrap input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}

.ai-chat-input-wrap input::placeholder {
  color: var(--text-muted);
}

.ai-chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-ai);
  border: none;
  color: #07090e;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ai-chat-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
}

@media (max-width: 480px) {
  html, body {
    overflow-x: hidden;
  }
  .ai-container {
    padding: 0 1rem;
  }
  .hero-headline {
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    word-break: break-word;
  }
  .badge-status {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
    letter-spacing: 0.02em;
  }
  .estimator-wrapper {
    padding: 1.25rem 0.85rem;
    border-radius: 14px;
  }
  .estimator-output-card {
    padding: 1.25rem 0.85rem;
    border-radius: 14px;
  }
  .spec-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.65rem 0;
  }
  .spec-line span:first-child {
    min-width: 0;
    font-size: 0.78rem;
  }
  .spec-line span:last-child {
    text-align: left;
    font-size: 0.82rem;
    word-break: break-word;
  }
  .option-pill label {
    padding: 0.65rem 0.35rem;
    font-size: 0.74rem;
  }
  .option-pill-grid-5 .option-pill label {
    min-height: 84px;
    font-size: 0.72rem;
  }
  .option-pill-grid-4 .option-pill label {
    min-height: 56px;
    font-size: 0.74rem;
  }
  .option-pill-grid-3 .option-pill label {
    min-height: 72px;
  }
  .floating-dock {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  .whatsapp-float-ai {
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
  }
  .back-to-top-ai {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .ai-chat-window {
    bottom: 80px;
    right: 12px;
    left: 12px;
    width: auto;
    height: 70vh;
  }
  .badge-fiverr-hero {
    font-size: 0.82rem;
    padding: 0.35rem 0.85rem;
    gap: 0.5rem;
  }
  .fiverr-credential-card {
    padding: 0.85rem 1rem;
    gap: 0.85rem;
  }
  .fiverr-cred-seal {
    width: 42px;
    height: 42px;
  }
  .fiverr-cred-seal svg {
    width: 20px;
    height: 20px;
  }
  .fiverr-cred-title {
    font-size: 1.02rem;
  }
  .fiverr-cred-badge {
    display: none;
  }
  .option-pill-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .option-pill-grid-5 .option-pill:last-child {
    grid-column: 1 / -1;
  }
  .option-pill-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .option-pill-grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-cta-card {
    padding: 1.5rem 1.25rem;
  }
  .footer-cta-title {
    font-size: 1.35rem;
  }
  .footer-grid-ai {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-ai {
    text-align: left;
    align-items: flex-start;
  }
  .footer-bottom-center, .footer-bottom-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .footer-bottom-dot {
    display: none;
  }
}
