/* ==========================================================================
   AutobotsDev - Main Design System
   Palette: Obsidian (#1A1A2E), Electric Blue (#1E6FFF), Dark Blue (#0D4FD6), 
            Black (#111111), Light Gray (#F4F6F9), Pure White (#FFFFFF)
   Typography: Outfit (Headings), Inter (Body)
   Style: Apple clean, Stripe modern, bold corporate consulting
   ========================================================================== */

:root {
  --color-obsidian: #1A1A2E;
  --color-obsidian-light: #2A2A42;
  --color-blue: #1E6FFF;
  --color-blue-dark: #0D4FD6;
  --color-blue-light: #EBF2FF;
  --color-black: #111111;
  --color-gray-dark: #4A5568;
  --color-gray: #718096;
  --color-gray-light: #E2E8F0;
  --color-bg-light: #F8FAFC;
  --color-white: #FFFFFF;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 10px 25px rgba(26, 26, 46, 0.12);
  --shadow-xl: 0 20px 40px rgba(26, 26, 46, 0.16);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-black);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.35rem; }
}

p {
  color: var(--color-gray-dark);
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--color-blue-dark);
}

ul {
  list-style: none;
}

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

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

.section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--color-white);
}

.section-gray {
  background-color: var(--color-bg-light);
}

.section-obsidian {
  background-color: var(--color-obsidian);
  color: var(--color-white);
}

.section-obsidian h1,
.section-obsidian h2,
.section-obsidian h3,
.section-obsidian h4 {
  color: var(--color-white);
}

.section-obsidian p {
  color: #A0AEC0;
}

/* Dark Hero & Glassmorphism Design System */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.07);
  transition: all var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-obsidian);
  letter-spacing: -0.03em;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
  max-width: 210px;
  display: block !important;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: nowrap;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #475569;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  position: relative;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #1E6FFF;
  background-color: #F1F5F9;
}

.nav-link.active {
  color: #1E6FFF !important;
  background-color: rgba(30, 111, 255, 0.08);
  font-weight: 700 !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 15%;
  width: 70%;
  height: 3px;
  background: #1E6FFF;
  border-radius: 9999px;
}

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

.btn-nav-cta {
  background: linear-gradient(90deg, #1E6FFF 0%, #00C6FF 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(30, 111, 255, 0.35);
  transition: all 0.25s ease;
  font-size: 0.9rem;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 111, 255, 0.55);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #1E293B;
  cursor: pointer;
}

@media (max-width: 1250px) {
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }
}

/* Hero Section - Reference Inspired Styling with Image Background & Smooth Gradient Flow */
.hero-centered {
  text-align: center;
  padding: 5rem 0 4.5rem 0;
  position: relative;
  background: 
    linear-gradient(180deg, rgba(8, 12, 22, 0.82) 0%, rgba(8, 12, 22, 0.70) 50%, rgba(255, 255, 255, 0.75) 90%, #FFFFFF 100%),
    url('../assets/images/hero-laptop-desk.jpg') no-repeat center center / cover;
  color: #FFFFFF;
  overflow: hidden;
}

/* Subtle background ambient mesh grid lines overlay */
.hero-centered::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to right, rgba(30, 111, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px, 120px 120px;
  pointer-events: none;
  opacity: 0.7;
}

/* Bottom White Gradient Overlay - Flowing seamlessly into the next section */
.hero-centered::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 40%, rgba(255, 255, 255, 0.9) 80%, #FFFFFF 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-subtitle-dash {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: #38BDF8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.hero-subtitle-dash::before,
.hero-subtitle-dash::after {
  content: '';
  display: inline-block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38BDF8);
}
.hero-subtitle-dash::after {
  background: linear-gradient(90deg, #38BDF8, transparent);
}

.hero-title-main {
  font-size: 3.8rem;
  font-weight: 800;
  max-width: 920px;
  margin: 0 auto 1.25rem auto;
  line-height: 1.12;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 2;
}

.hero-highlight {
  background: linear-gradient(135deg, #38BDF8 0%, #60A5FA 50%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-caption-text {
  font-size: 1.2rem;
  color: #94A3B8;
  max-width: 680px;
  margin: 0 auto 1.75rem auto;
  font-weight: 400;
  position: relative;
  z-index: 2;
}

/* Center Indicator Capsule Dots */
.hero-indicator-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
}

.hero-capsule {
  width: 28px;
  height: 7px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #1E6FFF, #00C6FF);
  box-shadow: 0 0 10px rgba(0, 198, 255, 0.7);
}

/* Hero Central Laptop Workspace Showcase */
.hero-mockup-wrapper {
  position: relative;
  max-width: 980px;
  margin: 0 auto 3rem auto;
  z-index: 2;
}

.hero-laptop-screen {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 
    0 30px 90px rgba(7, 12, 25, 0.9),
    0 0 50px rgba(30, 111, 255, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  position: relative;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.hero-laptop-screen img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Floating Stat Badge */
.hero-floating-stat {
  position: absolute;
  top: -16px;
  right: 5%;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.85rem 1.35rem;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(30, 111, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
  animation: floatStat 4s ease-in-out infinite;
}

@keyframes floatStat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

/* 4 Frosted Glassmorphism Feature Cards / Pills Grid */
.hero-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1040px;
  margin: 0 auto 3rem auto;
  position: relative;
  z-index: 3;
}

/* Glass Pill Base Style */
.hero-mini-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 1.6rem 1.25rem;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  cursor: pointer;
  user-select: none;
  color: #1E293B;
  position: relative;
}

.hero-mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.25),
    0 0 25px rgba(30, 111, 255, 0.25);
  border-color: rgba(56, 189, 248, 0.8);
}

.hero-mini-card .card-icon {
  margin: 0 auto 0.85rem auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 111, 255, 0.1);
  color: #1E6FFF;
  transition: all 0.35s ease;
}

.hero-mini-card h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
  transition: color 0.35s ease;
}

.hero-mini-card .pill-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 0.5rem;
}

.hero-mini-card .pill-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #94A3B8;
  transition: all 0.35s ease;
}

/* ACTIVE Highlighted Glass Pill Style (Card #2 in design image) */
.hero-mini-card.active-card {
  background: linear-gradient(145deg, #091733 0%, #0d3b84 100%);
  color: #FFFFFF !important;
  border: 1.5px solid #2563EB;
  box-shadow: 
    0 20px 45px rgba(37, 99, 235, 0.5),
    0 0 30px rgba(56, 189, 248, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
}

.hero-mini-card.active-card h4 {
  color: #FFFFFF !important;
}

.hero-mini-card.active-card .card-icon {
  background: linear-gradient(135deg, #1E6FFF, #00C6FF);
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(0, 198, 255, 0.5);
}

.hero-mini-card.active-card .pill-dots span {
  background-color: #38BDF8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.8);
}

/* Bottom Translucent Glass Stats & CTA Bar */
.hero-pill-bar {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 9999px;
  padding: 1rem 2.25rem;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 940px;
  margin: 0 auto 2.5rem auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 3;
}

.hero-stat-item strong {
  font-size: 1.45rem;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  display: block;
  line-height: 1.1;
}

.hero-stat-item span {
  font-size: 0.8rem;
  color: #94A3B8;
  font-weight: 500;
}

.hero-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
}

.btn-hero-quote {
  background: linear-gradient(90deg, #1E6FFF 0%, #00C6FF 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 8px 25px rgba(30, 111, 255, 0.45);
  transition: all 0.25s ease;
  font-size: 0.95rem;
}

.btn-hero-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(30, 111, 255, 0.65);
}

/* Tagline Bar at bottom of Hero */
.hero-tagline-accent {
  margin-top: 1.25rem;
  color: #0F172A;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 3;
}

@media (max-width: 992px) {
  .hero-title-main { font-size: 2.75rem; }
  .hero-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-pill-bar {
    flex-direction: column;
    gap: 1.25rem;
    border-radius: 24px;
    text-align: center;
    padding: 1.5rem;
  }
  .hero-divider { display: none; }
}

@media (max-width: 576px) {
  .hero-title-main { font-size: 2.2rem; }
  .hero-cards-grid { grid-template-columns: 1fr; }
}

/* Header & Typography Accents */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background-color: var(--color-blue-light);
  color: var(--color-blue);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  margin-left: 0;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray);
}

/* Flex & Grid Helpers */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===========================================================
   Page Hero Banner — Consistent dark inner-page headers
   Supports per-page background images via --hero-bg-image
   =========================================================== */
.page-hero-banner {
  text-align: center;
  padding: 6rem 0 5rem 0;
  background-color: #0F172A;
  /* background-image is set inline per-page via style attribute */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(30, 111, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.page-hero-banner .section-tag {
  background: rgba(56, 189, 248, 0.18);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  position: relative;
  z-index: 2;
}

.page-hero-banner h1 {
  color: #FFFFFF;
  font-size: 3rem;
  margin: 0.75rem auto 1rem auto;
  max-width: 860px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.page-hero-banner .section-subtitle {
  color: #CBD5E0;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.page-hero-banner > .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .page-hero-banner h1 { font-size: 2.1rem; }
  .page-hero-banner { padding: 5rem 0 4rem 0; }
}

/* Footer */
.footer {
  background-color: var(--color-obsidian);
  color: var(--color-white);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid var(--color-obsidian-light);
}

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

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  color: #E2E8F0;
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-heading {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #E2E8F0;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #38BDF8;
}

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

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: background-color var(--transition-fast);
}

.social-link:hover {
  background-color: var(--color-blue);
  color: var(--color-white);
}

/* Circular Floating Chatbot Button */
.chatbot-trigger {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 58px;
  height: 58px;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #1E6FFF 0%, #00C6FF 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(30, 111, 255, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 0 !important;
}

.chatbot-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(30, 111, 255, 0.55);
}

.chatbot-trigger span {
  display: none !important;
}

.chatbot-trigger .chatbot-avatar {
  font-size: 1.5rem;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
}
