/* ============================================
   ATLAS GLOBAL LOGISTICS — Dark Slate Gold
   Style 1: Deep Charcoal / Amber Gold Accent
   ============================================ */

/* --- Custom Properties --- */
:root {
  --primary: #2A1F3D;
  --bg: #1A1A2E;
  --bg-light: #22223A;
  --card: #252540;
  --card-hover: #2E2E4A;
  --accent: #F0A500;
  --accent-dim: rgba(240, 165, 0, 0.15);
  --accent-glow: rgba(240, 165, 0, 0.4);
  --text: #E8E4F0;
  --text-muted: #9A95AA;
  --text-bright: #FFFFFF;
  --border: rgba(240, 165, 0, 0.12);
  --border-hover: rgba(240, 165, 0, 0.3);
  --gradient-start: #1A1A2E;
  --gradient-end: #2A1F3D;
  --danger: #FF4D6A;
  --success: #00E676;
  --warning: #FFB300;

  /* Light section palette */
  --bg-white: #FFFFFF;
  --bg-cream: #F8F6F2;
  --bg-warm-gray: #F2F0EC;
  --text-dark: #1A1A2E;
  --text-dark-body: #4A4A5A;
  --text-dark-muted: #6B7280;
  --card-light: #FFFFFF;
  --border-light: rgba(0, 0, 0, 0.08);
  --shadow-light: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-light-lg: 0 8px 32px rgba(0, 0, 0, 0.08);

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
  --glow: 0 0 20px rgba(240, 165, 0, 0.25);
  --glow-strong: 0 0 40px rgba(240, 165, 0, 0.35);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--text-bright);
}

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

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-bright);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 28px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--accent);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(240, 165, 0, 0.3);
}

.btn-primary:hover {
  background: #33DFFF;
  color: var(--bg);
  box-shadow: var(--glow-strong);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-dim);
  color: var(--text-bright);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: 1px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 32px;
  height: 32px;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-bright);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

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

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

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

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

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(240, 165, 0, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(0, 100, 200, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(240, 165, 0, 0.04) 0%, transparent 50%),
    var(--bg);
  animation: heroShift 20s ease-in-out infinite alternate;
}

@keyframes heroShift {
  0% {
    background:
      radial-gradient(ellipse 80% 60% at 20% 40%, rgba(240, 165, 0, 0.08) 0%, transparent 60%),
      radial-gradient(ellipse 60% 50% at 80% 30%, rgba(0, 100, 200, 0.06) 0%, transparent 50%),
      radial-gradient(ellipse 50% 40% at 50% 80%, rgba(240, 165, 0, 0.04) 0%, transparent 50%),
      var(--bg);
  }
  50% {
    background:
      radial-gradient(ellipse 70% 55% at 60% 50%, rgba(240, 165, 0, 0.1) 0%, transparent 60%),
      radial-gradient(ellipse 50% 45% at 30% 60%, rgba(0, 100, 200, 0.07) 0%, transparent 50%),
      radial-gradient(ellipse 60% 35% at 70% 20%, rgba(240, 165, 0, 0.05) 0%, transparent 50%),
      var(--bg);
  }
  100% {
    background:
      radial-gradient(ellipse 60% 50% at 40% 60%, rgba(240, 165, 0, 0.09) 0%, transparent 60%),
      radial-gradient(ellipse 70% 40% at 70% 40%, rgba(0, 100, 200, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse 40% 45% at 20% 30%, rgba(240, 165, 0, 0.06) 0%, transparent 50%),
      var(--bg);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 165, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 165, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-bright) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-group {
  justify-content: center;
}

/* --- AI Agent Demo Section (LIGHT) --- */
.ai-demo {
  background: var(--bg-cream);
}

.ai-demo h2 {
  color: var(--text-dark);
}

.ai-demo .section-subtitle {
  color: var(--text-dark-muted);
}

.chat-window {
  max-width: 680px;
  margin: 48px auto 0;
  background: var(--card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-light-lg);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: #F3F1ED;
  border-bottom: 1px solid var(--border-light);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0080FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bg);
}

.chat-header-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.chat-header-info span {
  font-size: 0.75rem;
  color: var(--success);
}

.chat-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 340px;
}

.chat-msg {
  display: flex;
  gap: 12px;
  max-width: 90%;
  animation: msgIn 0.4s ease-out both;
}

.chat-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.chat-msg.ai .chat-msg-avatar {
  background: linear-gradient(135deg, var(--accent), #0080FF);
  color: var(--bg);
}

.chat-msg.user .chat-msg-avatar {
  background: #D6DEE8;
  color: #4A5568;
}

.chat-bubble {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.6;
}

.chat-msg.ai .chat-bubble {
  background: #FFF8EE;
  border: 1px solid rgba(240, 165, 0, 0.2);
  color: var(--text-dark-body);
}

.chat-msg.user .chat-bubble {
  background: #EEF2F7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-dark-body);
}

/* AI Generated UI Card inside chat */
.ai-card {
  margin-top: 12px;
  background: #FAFAF8;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.ai-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.85rem;
}

.ai-card-row:last-child { border-bottom: none; }

.ai-card-row .label {
  color: var(--text-dark-muted);
}

.ai-card-row .value {
  color: var(--text-dark);
  font-weight: 600;
}

.ai-card-row .value.accent {
  color: var(--accent);
}

.checklist {
  margin-top: 8px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.82rem;
  color: var(--text-dark-body);
}

.checklist-item .check {
  color: var(--success);
  font-weight: 700;
}

.checklist-item .pending {
  color: var(--warning);
  font-weight: 700;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
}

.typing-indicator span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: typingDot 1.4s infinite;
}

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

@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.4; transform: scale(1); }
  30% { opacity: 1; transform: scale(1.2); }
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Services Section (DARK with rich gradient) --- */
#services {
  background: linear-gradient(180deg, #141428 0%, #1A1A2E 50%, #1E1E36 100%);
}

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

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  background: var(--card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--glow);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(240, 165, 0, 0.25);
  box-shadow: 0 0 20px rgba(240, 165, 0, 0.2);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

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

/* --- Light Section Styles --- */
.section-light-warm {
  background: var(--bg-warm-gray) !important;
}

.section-light-cream {
  background: var(--bg-cream) !important;
}

.section-light-warm h2,
.section-light-cream h2 {
  color: var(--text-dark);
}

.section-light-warm .section-subtitle,
.section-light-cream .section-subtitle {
  color: var(--text-dark-muted);
}

.section-light-warm p,
.section-light-cream p {
  color: var(--text-dark-body);
}

/* --- How AI Works (LIGHT) --- */
.section-light-warm .step-number {
  background: var(--card-light);
  box-shadow: var(--shadow-light);
}

.section-light-warm .ai-step h3 {
  color: var(--text-dark);
}

.section-light-warm .ai-step p {
  color: var(--text-dark-muted);
}

.section-light-warm .ai-steps::before {
  opacity: 0.5;
}

.ai-steps {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
  position: relative;
}

.ai-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.ai-step {
  text-align: center;
  max-width: 260px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  box-shadow: 0 0 24px rgba(240, 165, 0, 0.15);
  transition: all var(--transition);
}

.ai-step:hover .step-number {
  background: var(--accent);
  color: var(--bg);
  box-shadow: var(--glow-strong);
}

.ai-step h3 {
  margin-bottom: 10px;
}

.ai-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Stats Section (DARK accent band) --- */
.stats-section {
  background: linear-gradient(135deg, #1A1A2E 0%, #2A1F3D 50%, #1A1A2E 100%);
  border-top: 2px solid rgba(240, 165, 0, 0.15);
  border-bottom: 2px solid rgba(240, 165, 0, 0.15);
}

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

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

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Client Logos (WHITE) --- */
.logos-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 40px;
  align-items: center;
}

.logos-section .section-label {
  color: var(--accent);
}

.logo-box {
  height: 64px;
  background: #F5F4F0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition);
}

.logo-box:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-light);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(240, 165, 0, 0.3);
  box-shadow: var(--shadow-light-lg);
  transform: translateY(-4px);
}

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

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-dark-body);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F0A500, #D4920A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.testimonial-author-info span {
  font-size: 0.78rem;
  color: var(--text-dark-muted);
}

/* --- CTA Section (DARK dramatic) --- */
.cta-section {
  background: linear-gradient(135deg, #1A1A2E 0%, #2A1F3D 40%, #1A1A2E 100%);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(240, 165, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* --- Footer --- */
.footer {
  background: #060E1A;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 16px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 12px rgba(240, 165, 0, 0.2);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: var(--text-bright);
}

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

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: all var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

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

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

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 32, 53, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 20px 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-muted);
  min-width: 280px;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.cookie-btn.accept {
  background: var(--accent);
  color: var(--bg);
}

.cookie-btn.accept:hover {
  background: #33DFFF;
}

.cookie-btn.decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn.decline:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

/* --- Floating Chat Button --- */
.chat-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(240, 165, 0, 0.4);
  z-index: 9998;
  transition: all var(--transition);
  animation: fabPulse 3s ease-in-out infinite;
}

.chat-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 32px rgba(240, 165, 0, 0.6);
  animation: none;
}

.chat-fab svg {
  width: 26px;
  height: 26px;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(240, 165, 0, 0.4); }
  50% { box-shadow: 0 4px 36px rgba(240, 165, 0, 0.6); }
}

/* --- Chat Panel Overlay --- */
.chat-panel {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 380px;
  max-height: 520px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 9997;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(240, 165, 0, 0.05);
  border-bottom: 1px solid var(--border);
}

.chat-panel-header h4 {
  font-size: 0.95rem;
}

.chat-panel-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px;
  transition: color var(--transition);
}

.chat-panel-close:hover {
  color: var(--text-bright);
}

.chat-panel-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-panel-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  padding: 40px 20px;
}

.chat-panel-input {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid var(--border);
}

.chat-panel-input input {
  flex: 1;
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition);
}

.chat-panel-input input:focus {
  border-color: var(--accent);
}

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

.chat-panel-input button {
  padding: 10px 16px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font);
  transition: all var(--transition);
}

.chat-panel-input button:hover {
  background: #33DFFF;
}

/* --- Mobile Navigation --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-10px);
  opacity: 0;
  transition: all var(--transition);
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.mobile-menu a:hover {
  background: var(--accent-dim);
  color: var(--accent);
}

/* --- Policy Pages --- */
.policy-page {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 80vh;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h1 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.policy-content .last-updated {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 40px;
}

.policy-content h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--accent);
}

.policy-content h3 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

.policy-content p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.policy-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.policy-content ul li {
  list-style: disc;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.7;
}

.policy-content a {
  color: var(--accent);
  text-decoration: underline;
}

.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.policy-content table th,
.policy-content table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.policy-content table th {
  color: var(--text-bright);
  font-weight: 600;
  background: var(--card);
}

.policy-content table td {
  color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .ai-steps {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .ai-steps {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .ai-steps::before {
    display: none;
  }

  .hero .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .chat-panel {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 96px;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .chat-window {
    margin-top: 32px;
  }
}
