/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080c10;
  --bg-2: #0d1117;
  --bg-3: #111822;
  --surface: #131c28;
  --surface-2: #1a2535;
  --border: rgba(99, 160, 255, 0.1);
  --border-hover: rgba(99, 160, 255, 0.25);
  --accent: #3b82f6;
  --accent-2: #06b6d4;
  --accent-glow: rgba(59, 130, 246, 0.3);
  --text: #e8edf4;
  --text-muted: #6b7e96;
  --text-dim: #3d5068;
  --success: #10b981;
  --error: #ef4444;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.2s, width 0.2s, height 0.2s;
  mix-blend-mode: screen;
}
.cursor-trail {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(59,130,246,0.4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease;
}
body:hover .cursor { opacity: 1; }
a, button { cursor: none; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; }
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; font-weight: 600; }

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: none;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.12));
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary.large { padding: 16px 32px; font-size: 1rem; border-radius: 14px; }
.btn-primary.full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: none;
  transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-ghost.large { padding: 16px 32px; font-size: 1rem; border-radius: 14px; }

/* ── FORM ELEMENTS ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.form-group select { appearance: none; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-message { font-size: 0.85rem; padding: 8px 12px; border-radius: 8px; display: none; }
.form-message.success { background: rgba(16,185,129,0.1); color: var(--success); border: 1px solid rgba(16,185,129,0.2); display: block; }
.form-message.error { background: rgba(239,68,68,0.1); color: var(--error); border: 1px solid rgba(239,68,68,0.2); display: block; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(8,12,16,0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  position: relative;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.35s var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute; top: 20px; right: 20px;
  background: var(--surface); border: none;
  color: var(--text-muted);
  width: 32px; height: 32px; border-radius: 8px;
  cursor: none; font-size: 0.85rem;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--surface-2); color: var(--text); }

.modal-tabs {
  display: flex; gap: 4px;
  background: var(--surface);
  padding: 4px; border-radius: 10px;
  margin-bottom: 28px;
}
.modal-tab {
  flex: 1; padding: 9px;
  background: transparent; border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 600;
  border-radius: 8px;
  cursor: none; transition: var(--transition);
}
.modal-tab.active { background: var(--bg-2); color: var(--text); }

.modal-form { display: flex; flex-direction: column; gap: 18px; }
.modal-form h2 { font-size: 1.6rem; }
.modal-sub { color: var(--text-muted); font-size: 0.9rem; margin-top: -10px; }
.modal-form.hidden { display: none; }
.form-footer { text-align: center; font-size: 0.85rem; color: var(--text-muted); }
.link-text { color: var(--accent); cursor: pointer; }
.link-text:hover { text-decoration: underline; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 5%;
  transition: background 0.3s, padding 0.3s, border-bottom 0.3s;
}
.nav.scrolled {
  background: rgba(8,12,16,0.9);
  backdrop-filter: blur(20px);
  padding: 14px 5%;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 800;
  color: var(--text); text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1.5px;
  background: var(--accent); transform: scaleX(0);
  transition: transform 0.3s var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: none; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 5% 80px;
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,160,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,160,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: pulseGlow 6s ease-in-out infinite;
}
.glow-1 { width: 500px; height: 500px; background: rgba(59,130,246,0.15); top: -100px; right: -100px; }
.glow-2 { width: 400px; height: 400px; background: rgba(6,182,212,0.08); bottom: -100px; left: -100px; animation-delay: 3s; }
@keyframes pulseGlow { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 860px; }
.hero-badge {
  display: inline-block;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title { margin-bottom: 24px; }
.hero-sub { color: var(--text-muted); font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.7; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-bottom: 60px; flex-wrap: wrap; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--text); }
.stat > span { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.scroll-indicator {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-dim); font-size: 0.75rem; letter-spacing: 0.1em;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; transform: scaleY(0.8); } 50% { opacity: 1; transform: scaleY(1); } }

/* ── SECTIONS ── */
section { padding: 100px 5%; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* ── SOLUTIONS ── */
.solutions { background: var(--bg-2); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
.solution-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative; overflow: hidden;
  transition-delay: var(--delay);
}
.solution-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0; transition: opacity 0.3s;
}
.solution-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.solution-card:hover::before { opacity: 1; }
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.solution-card h3 { margin-bottom: 10px; }
.solution-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }
.card-arrow {
  margin-top: 20px;
  color: var(--accent);
  font-size: 1.2rem;
  transition: transform 0.3s;
}
.solution-card:hover .card-arrow { transform: translateX(6px); }

/* ── PORTFOLIO ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px; margin: 0 auto;
}
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  transition-delay: var(--delay);
}
.portfolio-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.portfolio-icon { font-size: 2.4rem; margin-bottom: 12px; }
.portfolio-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(6,182,212,0.1);
  border-radius: 6px; padding: 4px 10px;
  margin-bottom: 14px;
}
.portfolio-card h3 { margin-bottom: 10px; }
.portfolio-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; margin-bottom: 20px; }
.portfolio-metrics { display: flex; gap: 12px; flex-wrap: wrap; }
.portfolio-metrics span {
  font-size: 0.8rem; font-weight: 600;
  color: var(--success);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  padding: 4px 12px; border-radius: 20px;
}

/* ── TEAM ── */
.team { background: var(--bg-2); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px; margin: 0 auto;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.team-avatar {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  color: #fff;
  margin: 0 auto 20px;
}
.team-card h3 { margin-bottom: 6px; }
.team-role { font-size: 0.85rem; color: var(--accent); font-weight: 500; margin-bottom: 14px; }
.team-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; margin-bottom: 20px; }
.team-links { display: flex; justify-content: center; gap: 12px; }
.team-link {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.85rem; padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 8px; transition: var(--transition);
}
.team-link:hover { border-color: var(--accent); color: var(--text); }

/* ── CONTACT ── */
.contact-section { background: var(--bg); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  max-width: 1100px; margin: 0 auto;
  align-items: start;
}
.contact-left .section-tag { margin-bottom: 12px; }
.contact-left h2 { margin-bottom: 16px; }
.contact-left > p { color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-detail { color: var(--text-muted); font-size: 0.92rem; }

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--border); }
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 5% 48px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 10px; max-width: 260px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 36px; height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; text-decoration: none;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-col a, .footer-col span {
  color: var(--text-dim); text-decoration: none;
  font-size: 0.88rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 5%;
  border-top: 1px solid var(--border);
  color: var(--text-dim); font-size: 0.82rem;
  flex-wrap: wrap; gap: 8px;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── CHATBOT ── */
.chat-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 58px; height: 58px; border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  box-shadow: 0 8px 32px rgba(59,130,246,0.4);
  transition: var(--transition);
}
.chat-fab:hover { transform: scale(1.08); }
.chat-fab svg { color: #fff; }
.chat-fab-icon, .chat-fab-close { color: #fff; font-size: 1rem; transition: var(--transition); }
.chat-fab-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--error); color: #fff;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 0.72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}
.chat-fab-badge.hidden { display: none; }

.chat-widget {
  position: fixed; bottom: 100px; right: 28px; z-index: 499;
  width: 360px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
  transform: translateY(20px) scale(0.96);
  opacity: 0; pointer-events: none;
  transition: var(--transition);
  max-height: 520px;
}
.chat-widget.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }

.chat-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; color: #fff;
}
.chat-name { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; }
.chat-status { font-size: 0.76rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.dot { width: 7px; height: 7px; background: var(--success); border-radius: 50%; }
.chat-close { background: var(--surface); border: none; color: var(--text-muted); width: 28px; height: 28px; border-radius: 8px; cursor: none; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; transition: var(--transition); }
.chat-close:hover { color: var(--text); }

.chat-messages { flex: 1; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { display: flex; flex-direction: column; gap: 4px; }
.chat-msg.user { align-items: flex-end; }
.chat-msg.bot { align-items: flex-start; }
.msg-bubble {
  max-width: 80%; padding: 10px 14px;
  font-size: 0.88rem; line-height: 1.55; border-radius: 14px;
}
.chat-msg.bot .msg-bubble { background: var(--surface); border-bottom-left-radius: 4px; }
.chat-msg.user .msg-bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg-time { font-size: 0.72rem; color: var(--text-dim); padding: 0 4px; }

.chat-suggestions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.suggestion-chip {
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-muted); border-radius: 20px;
  padding: 6px 14px; font-size: 0.8rem; cursor: none;
  transition: var(--transition);
}
.suggestion-chip:hover { border-color: var(--accent); color: var(--text); }

.chat-input-area {
  display: flex; gap: 10px; align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}
#chatInput {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: border-color 0.2s;
}
#chatInput:focus { outline: none; border-color: var(--accent); }
#chatSend {
  width: 38px; height: 38px;
  background: var(--accent);
  border: none; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: none; transition: var(--transition);
  flex-shrink: 0;
}
#chatSend:hover { transform: scale(1.08); }
#chatSend svg { color: #fff; }

/* Typing indicator */
.typing-dots { display: flex; gap: 4px; align-items: center; padding: 4px 0; }
.typing-dots span {
  width: 6px; height: 6px; background: var(--text-dim); border-radius: 50%;
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }

.hidden { display: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .chat-widget { width: calc(100vw - 40px); right: 20px; }
  .modal { padding: 28px 20px; margin: 0 16px; }
}

/* ── LOADING STATE ── */
.btn-loading { opacity: 0.7; pointer-events: none; }
.btn-loading::before {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px;
  z-index: 800;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  max-width: 480px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  transform: translateY(0);
  transition: var(--transition);
  flex-wrap: wrap;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-content {
  display: flex; align-items: flex-start; gap: 12px; flex: 1;
}
.cookie-content span { font-size: 1.4rem; flex-shrink: 0; }
.cookie-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn-ghost { padding: 8px 16px; font-size: 0.85rem; }
.cookie-actions .btn-primary { padding: 8px 16px; font-size: 0.85rem; }
@media (max-width: 600px) {
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; max-width: 100%; }
}
