@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@700;800&display=swap');

:root {
  --bg: #080d08;
  --bg2: #0c150c;
  --purple: #15803d;
  --purple-light: #4ade80;
  --cyan: #22c55e;
  --cyan-light: #86efac;
  --text: #f0fdf4;
  --text-muted: #86a386;
  --card-bg: #0f1a0f;
  --border: rgba(34,197,94,0.15);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --nav-h: 70px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* NAV */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(8,13,8,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
  padding: 0.3rem 0;
}

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

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.lang-btn {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: color 0.2s;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  color: var(--cyan);
}

.lang-switcher > span {
  color: rgba(148,163,184,0.3);
}

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 2rem) 2rem 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(21,128,61,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 85% 60%, rgba(34,197,94,0.07) 0%, transparent 55%),
    var(--bg);
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(21,128,61,0.03) 39px, rgba(21,128,61,0.03) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(21,128,61,0.03) 39px, rgba(21,128,61,0.03) 40px);
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--purple-light) 45%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 0 30px rgba(21,128,61,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 50px rgba(21,128,61,0.6);
}

.hero-robot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-eyecatcher {
  position: relative;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.5rem 0;
}

.ec-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(74,222,128,.15), rgba(21,128,61,.07) 60%, transparent 100%);
  filter: blur(40px);
  pointer-events: none;
}

.ec-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 40px;
  background: rgba(12,21,12,.88);
  border: 1px solid rgba(34,197,94,.22);
  color: var(--text);
  font-size: .875rem;
  font-weight: 500;
  width: fit-content;
  backdrop-filter: blur(8px);
  animation: floatPill 4s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.ec-r {
  align-self: flex-end;
}

.ec-icon {
  font-size: 1rem;
  line-height: 1;
}

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

.h-eye {
  animation: eyePulse 2s ease-in-out infinite;
}

.h-antenna {
  animation: antennaPulse 1.5s ease-in-out infinite;
}

.h-mouth {
  animation: mouthLight 1.8s ease-in-out infinite;
}

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

@keyframes eyePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes antennaPulse {
  0%, 100% { fill: #22c55e; }
  50% { fill: #4ade80; }
}

@keyframes mouthLight {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* SECTIONS */
section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 3rem;
  text-align: center;
  background: linear-gradient(90deg, var(--purple-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.noscript-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: #15803d;
  color: white;
  text-align: center;
  padding: .65rem 1rem;
  font-size: .88rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SERVICES */
#services {
  background: var(--bg2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--purple);
  box-shadow: 0 10px 40px rgba(21,128,61,0.2);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  border: 2px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.12), 0 20px 60px rgba(0, 0, 0, 0.5);
  display: block;
}

.about-text h2 {
  text-align: left;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 1.05rem;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.2s;
}

.stat:hover {
  border-color: var(--purple);
}

.stat-value {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--purple-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.3rem;
}

/* USE CASES */
#usecases {
  background: var(--bg2);
}

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

.usecase-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.25s, border-color 0.25s;
}

.usecase-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
}

.usecase-icon {
  font-size: 2rem;
}

.usecase-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
}

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

.usecase-tag {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  align-self: flex-start;
  background: rgba(21,128,61,0.12);
  border: 1px solid rgba(21,128,61,0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--purple-light);
  font-weight: 500;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-light);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.contact-item p,
.contact-item a {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

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

.contact-cta-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--border);
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* CHATBOT WIDGET */
#chatbot-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

#chat-toggle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 28px rgba(21,128,61,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: chatPulse 3s ease-in-out infinite;
  padding: 3px;
  overflow: hidden;
}

#chat-toggle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

#chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(21,128,61,0.7);
}

@keyframes chatPulse {
  0%, 100% { box-shadow: 0 0 28px rgba(21,128,61,0.5); }
  50% { box-shadow: 0 0 48px rgba(34,197,94,0.6), 0 0 80px rgba(21,128,61,0.25); }
}

#chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  height: 520px;
  min-height: 380px;
  max-height: calc(100dvh - 160px);
  min-width: 280px;
  max-width: min(640px, calc(100vw - 2rem));
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transform-origin: bottom right;
  transition: opacity 0.25s, transform 0.25s;
}

#chat-window.hidden {
  opacity: 0;
  transform: scale(0.93) translateY(8px);
  pointer-events: none;
}

.chat-header {
  padding: 1rem 1.2rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple) 0%, #14532d 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

#voice-mode-btn, #close-chat {
  color: rgba(255,255,255,0.6); transition: color 0.2s;
  padding: 0.2rem 0.3rem; border-radius: 4px;
}
#voice-mode-btn:hover, #close-chat:hover { color: white; }
#close-chat { font-size: 1rem; }
#voice-mode-btn.active { color: var(--cyan); }

.msg-tts-btn {
  display: inline-flex; align-items: center; gap: 0.25rem;
  margin-top: 0.35rem; padding: 0.15rem 0.5rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px; color: var(--text-muted); font-size: 0.7rem;
  cursor: pointer; transition: all 0.15s;
}
.msg-tts-btn:hover { background: rgba(21,128,61,0.15); border-color: var(--purple); color: var(--text); }
.msg-tts-btn.playing { color: var(--cyan); border-color: var(--cyan); }

#chat-messages {
  flex: 1;
  min-height: 0;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

#chat-messages::-webkit-scrollbar {
  width: 4px;
}

#chat-messages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.chat-msg {
  max-width: 85%;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  word-break: break-word;
}

.chat-msg.user {
  background: var(--purple);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg.bot {
  background: rgba(255,255,255,0.07);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.bot.typing::after {
  content: '▌';
  animation: blink 1s step-end infinite;
}

/* markdown inside bot messages */
.chat-msg p { margin: 0 0 0.4em; }
.chat-msg p:last-child { margin-bottom: 0; }
.chat-msg h2, .chat-msg h3, .chat-msg h4 {
  font-family: var(--font-head); font-weight: 700;
  margin: 0.6em 0 0.2em; line-height: 1.2;
}
.chat-msg h2 { font-size: 1rem; }
.chat-msg h3 { font-size: 0.93rem; }
.chat-msg h4 { font-size: 0.88rem; }
.chat-msg ul, .chat-msg ol {
  padding-left: 1.2em; margin: 0.3em 0;
}
.chat-msg li { margin: 0.15em 0; }
.chat-msg code {
  background: rgba(255,255,255,0.1); border-radius: 4px;
  padding: 0.1em 0.35em; font-size: 0.82em; font-family: monospace;
}
.chat-msg pre {
  background: rgba(0,0,0,0.35); border-radius: 8px;
  padding: 0.7em 0.9em; overflow-x: auto; margin: 0.4em 0;
}
.chat-msg pre code {
  background: none; padding: 0; font-size: 0.8em;
}
.chat-msg strong { font-weight: 700; color: var(--text); }
.chat-msg em { font-style: italic; opacity: 0.9; }

.chat-msg.florian {
  background: rgba(21,128,61,0.15);
  border: 1px solid rgba(21,128,61,0.35);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-sender-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 0.2rem;
}

.chat-status-line {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 0.1rem 0;
}

#chat-florian-bar {
  padding: 0.3rem 0.8rem 0;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

#request-florian {
  font-size: 0.75rem;
  color: var(--purple-light);
  border: 1px solid rgba(21,128,61,0.3);
  border-radius: 20px;
  padding: 0.25rem 0.9rem;
  transition: all 0.2s;
  background: transparent;
}

#request-florian:hover {
  background: rgba(21,128,61,0.12);
  border-color: var(--purple);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.chat-input-row {
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.chat-input-top {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

#chat-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}

#chat-input:focus {
  border-color: var(--purple);
}

#chat-send {
  width: 100%;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: white;
  border-radius: 10px;
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  font-size: 0.88rem;
  transition: opacity 0.2s;
}

#chat-send:hover {
  opacity: 0.88;
}

#chat-resize-grip {
  height: 8px; flex-shrink: 0; cursor: n-resize;
  display: flex; align-items: center; justify-content: center;
  background: transparent; transition: background 0.2s;
}
#chat-resize-grip::after {
  content: ''; width: 36px; height: 3px;
  background: rgba(255,255,255,0.12); border-radius: 2px;
  transition: background 0.2s;
}
#chat-resize-grip:hover::after { background: rgba(34,197,94,0.5); }
#chat-window.hidden #chat-resize-grip { display: none; }

#chat-resize-left {
  position: absolute;
  top: 8px; left: 0;
  width: 7px; height: calc(100% - 8px);
  cursor: ew-resize; z-index: 10;
}
#chat-resize-left::after {
  content: '';
  position: absolute;
  top: 50%; left: 2px;
  transform: translateY(-50%);
  width: 3px; height: 32px;
  background: rgba(255,255,255,.1); border-radius: 2px;
  transition: background .2s;
}
#chat-resize-left:hover::after { background: rgba(34,197,94,.5); }
#chat-window.hidden #chat-resize-left { display: none; }

#mic-btn {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: 1px solid var(--border);
  color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; position: relative;
}
#mic-btn:hover { background: rgba(21,128,61,0.15); color: var(--text); border-color: var(--purple); }
#mic-btn.recording {
  background: rgba(239,68,68,0.2); border-color: #ef4444; color: #ef4444;
  box-shadow: 0 0 0 calc(var(--mic-level, 0) * 10px) rgba(239,68,68,0.25);
  transition: box-shadow 0.1s;
}
#mic-btn.processing { opacity: 0.5; pointer-events: none; }
#mic-btn.recording::after {
  content: 'Sprich jetzt…';
  position: absolute; bottom: calc(100% + 6px); left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem; white-space: nowrap;
  background: #1a1a1a; color: #ef4444;
  padding: 2px 7px; border-radius: 4px;
  pointer-events: none;
}
@keyframes micPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

#img-upload-btn {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: 1px solid var(--border);
  color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
#img-upload-btn:hover { background: rgba(21,128,61,0.15); color: var(--text); border-color: var(--purple); }

.chat-img-preview {
  max-width: 180px; max-height: 160px;
  border-radius: 8px; display: block;
  margin-bottom: 0.3rem; object-fit: cover;
  border: 1px solid var(--border);
}
.chat-img-desc {
  font-size: 0.78rem; opacity: 0.75; margin-top: 0.2rem; line-height: 1.4;
}

#chat-messages.drag-over {
  outline: 2px dashed var(--purple);
  outline-offset: -4px;
  background: rgba(21,128,61,0.04);
}

#screen-share-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  background: rgba(34,197,94,0.07);
  border-top: 1px solid rgba(34,197,94,0.2);
  font-size: 0.8rem; flex-shrink: 0;
}
#screen-share-bar.hidden { display: none; }
#screen-share-txt { flex: 1; color: var(--cyan); }
#screen-share-accept {
  padding: 0.25rem 0.7rem; border-radius: 8px; cursor: pointer;
  background: rgba(34,197,94,0.18); border: 1px solid var(--cyan);
  color: var(--cyan); font-size: 0.76rem;
}
#screen-share-decline {
  padding: 0.25rem 0.7rem; border-radius: 8px; cursor: pointer;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.76rem;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-robot {
    display: none;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-photo img {
    width: 200px;
    aspect-ratio: 3 / 4;
    margin: 0 auto;
  }
  .about-text h2 {
    text-align: center;
  }
  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .stat {
    flex: 1;
    min-width: 140px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .usecases-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  #chat-window {
    width: calc(100vw - 4rem);
    right: 0;
  }
  .about-stats {
    flex-direction: column;
  }
}
