.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

:root {
  --primary: #FF6B35;
  --cyan: #0088AA;
  --yellow: #CC9900;
  --bg: #F0F0F2;
  --bg-card: #F0F0F2;
  --bg-elevated: #E8E8EA;
  --text: #1A1A2E;
  --text-muted: rgba(0,0,0,0.5);
  --font: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A1A1F;
    --bg-card: #242429;
    --bg-elevated: #2E2E34;
    --text: #F0F0F2;
    --text-muted: rgba(255,255,255,0.55);
  }
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--cyan); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
  box-shadow: 0 0 30px rgba(255,107,53,0.3);
}

.btn-primary:hover {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 40px rgba(0,240,255,0.4);
  transform: translateY(-3px) scale(1.02);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(0,0,0,0.15);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 30px rgba(255,107,53,0.15);
  transform: translateY(-3px);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
  background: transparent;
}

.header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--bg);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.logo span { color: var(--primary); }

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

.nav a {
  padding: 10px 20px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav a:hover, .nav a.active { color: var(--text); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.terminal-toggle {
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  color: var(--cyan);
  transition: all 0.3s ease;
  margin-left: 12px;
}

.terminal-toggle:hover {
  background: rgba(0,240,255,0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,240,255,0.15);
}

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

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: transparent;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 80px;
}

.hero-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.8;
  animation: fadeSlideUp 0.8s ease forwards;
}

.hero h1 {
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -3px;
  max-width: 900px;
  margin: 0 auto 24px;
  animation: fadeSlideUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero h1 .orange { color: var(--primary); }
.hero h1 .cyan { color: var(--cyan); }
.hero h1 .outline {
  -webkit-text-stroke: 1.5px var(--text);
  -webkit-text-fill-color: transparent;
}

@media (prefers-color-scheme: dark) {
  .hero h1 .outline {
    -webkit-text-stroke: 1.5px #F0F0F2;
  }
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeSlideUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s ease 0.5s forwards;
  opacity: 0;
}

.hero-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan), var(--yellow), var(--primary));
  background-size: 300% 100%;
  animation: stripMove 3s linear infinite;
}

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

@keyframes stripMove {
  0% { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  margin-bottom: 64px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  color: var(--primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(255,107,53,0.2);
  padding: 6px 16px;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  max-width: 600px;
  margin: 0 auto;
}

.section-header p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1200px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
  cursor: default;
  transform-style: preserve-3d;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(255,107,53,0.03), transparent, rgba(0,240,255,0.03), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

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

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

.service-card:hover {
  border-color: rgba(255,107,53,0.2);
  box-shadow: 0 20px 60px rgba(255,107,53,0.08);
}

.card-tech-reveal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease 0.1s, margin-top 0.4s ease 0.05s;
  position: relative;
  z-index: 1;
  min-height: 0;
}

.service-card .card-tech-reveal {
  min-height: 120px;
  align-items: flex-start;
}

.service-card:hover .card-tech-reveal {
  max-height: 200px;
  opacity: 1;
  margin-top: 16px;
}

.tech-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  background: rgba(255,107,53,0.06);
  border: 1px solid rgba(255,107,53,0.15);
  color: var(--primary);
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.service-card:hover .tech-tag {
  transform: translateY(0);
  opacity: 1;
}

.service-card:hover .tech-tag:nth-child(1) { transition-delay: 0.08s; }
.service-card:hover .tech-tag:nth-child(2) { transition-delay: 0.14s; }
.service-card:hover .tech-tag:nth-child(3) { transition-delay: 0.20s; }
.service-card:hover .tech-tag:nth-child(4) { transition-delay: 0.26s; }

.tech-tag:hover {
  background: rgba(255,107,53,0.12);
  border-color: var(--primary);
}

.service-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(255,107,53,0.15);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1200px;
}

.services-grid-large {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  perspective: 1200px;
  margin-bottom: 64px;
}

.services-grid-small {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1200px;
}

.service-card-small {
  padding: 32px 24px;
}

.service-card-small h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.service-card-small p {
  font-size: 0.85rem;
  line-height: 1.5;
}

.tech-cards-grid .service-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tech-cards-grid .service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  flex-shrink: 0;
  color: var(--text);
}

.tech-cards-grid .service-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  display: block;
}

.tech-cards-grid .service-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.tech-cards-grid .service-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.tech-cards-grid .service-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

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

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tech-badge {
  background: var(--bg-card);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 10px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  transition: all 0.3s ease;
  font-family: 'Space Grotesk', sans-serif;
}

.tech-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(255,107,53,0.08);
}

.location-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.location-icon {
  font-size: 1.1rem;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,107,53,0.08), transparent 70%);
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

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

.btn-cta {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 40px rgba(255,107,53,0.25);
}

.btn-cta:hover {
  background: #ff8a47;
  box-shadow: 0 0 50px rgba(255,107,53,0.4);
  transform: translateY(-3px);
}

.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; max-width: 300px; }

.footer h4 {
  font-size: 0.7rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(0,0,0,0.4); font-size: 0.85rem; }
.footer-links a:hover { color: var(--cyan); }

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: rgba(0,0,0,0.4);
}

.footer-contact a { color: rgba(0,0,0,0.4); }
.footer-contact a:hover { color: var(--cyan); }

.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(0,0,0,0.3);
  font-family: 'Space Grotesk', sans-serif;
}

.page-header {
  padding: 160px 0 60px;
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--cyan); }

.content-section { padding: 80px 0; }

.content-card {
  background: var(--bg-card);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 48px;
  margin-bottom: 24px;
}

.content-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.content-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 28px;
  color: var(--cyan);
}

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

.content-card ul { margin-bottom: 16px; }

.content-card ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.content-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0 20px;
  max-width: 100%;
}

.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.contact-info-item { margin-bottom: 28px; }

.contact-info-item h4 {
  font-size: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}

.contact-info-item p { color: var(--text-muted); font-size: 0.95rem; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(0,0,0,0.1);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--bg-card);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,240,255,0.06);
}

.contact-form textarea { min-height: 150px; resize: vertical; }

.form-group { margin-bottom: 24px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-muted);
}

/* RG Download Card Form */
.rg-card {
  cursor: pointer;
}

.rg-card-default {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rg-card-form {
  display: none;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.rg-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rg-form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.rg-form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.1);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  background: var(--bg-card);
  color: var(--text);
  transition: all 0.2s ease;
}

.rg-form-group input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,240,255,0.06);
}

.rg-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.rg-form-actions .btn {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.8rem;
}

.rg-form-message {
  min-height: 20px;
  font-size: 0.8rem;
  margin-top: 8px;
}

.rg-form-message.success {
  color: #00c864;
}

.rg-form-message.error {
  color: #ff3355;
}

@media (max-width: 768px) {
  .rg-form-actions {
    flex-direction: column;
  }
  .rg-form-actions .btn {
    width: 100%;
  }
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.faq-toolbar {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.faq-search {
  padding: 10px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  background: var(--bg-card);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  min-width: 260px;
  flex: 0 0 auto;
}

.faq-search:focus {
  outline: none;
  border-color: var(--primary);
}

.faq-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.faq-search-wrap .faq-search {
  width: 100%;
  min-width: 260px;
  padding-right: 38px;
}

.faq-search-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: #fff;
  border: none;
  width: 24px;
  height: 24px;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  padding: 0;
}

.faq-search-clear:hover {
  background: var(--cyan);
}

.faq-search-clear[hidden] {
  display: none;
}

.faq-entry {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.faq-entry:last-child {
  border-bottom: none;
}

.faq-entry h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.faq-entry p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-toolbar { flex-direction: column; align-items: stretch; }
  .faq-search { min-width: auto; width: 100%; }
}

.faq-chip {
  padding: 8px 16px;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid rgba(0,0,0,0.12);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.faq-chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.faq-category {
  margin-bottom: 48px;
}

.faq-category-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 12px;
}

.faq-question {
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  transition: color 0.3s ease;
}

.faq-question:hover { color: var(--primary); }

.faq-question .icon {
  transition: transform 0.4s ease;
  flex-shrink: 0;
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
}

.faq-item.active .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer { max-height: 400px; }

/* FAQ Cards (card layout like Leistungen) */
.faq-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.faq-card .service-icon {
  margin-bottom: 16px;
  flex-shrink: 0;
}

.faq-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.faq-accordion {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.faq-accordion .faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.faq-accordion .faq-item:last-child {
  border-bottom: none;
}

.faq-accordion .faq-question {
  padding: 16px 0;
  font-size: 0.9rem;
}

.faq-accordion .faq-answer {
  padding: 0 0 16px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.faq-price-list,
.faq-email-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-price-list li,
.faq-email-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-price-list li strong,
.faq-email-list li strong {
  color: var(--text);
}

.faq-email-list li a {
  color: var(--primary);
  text-decoration: none;
}

.faq-email-list li a:hover {
  color: var(--cyan);
  text-decoration: underline;
}

.advantage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.advantage-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

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

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-grid-large { grid-template-columns: 1fr; }
  .services-grid-small { grid-template-columns: 1fr; }
  .tech-cards-grid { grid-template-columns: 1fr; }
  .faq-accordion .faq-question { font-size: 0.85rem; }
}

.terminal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  font-family: 'Space Grotesk', sans-serif;
}

.terminal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.terminal-bar span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-close {
  background: none;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--primary);
  cursor: pointer;
  padding: 8px 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.terminal-close:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255,107,53,0.1);
}

.terminal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.terminal-body .line-green { color: #00ff88; }
.terminal-body .line-cyan { color: var(--cyan); }
.terminal-body .line-orange { color: var(--primary); }
.terminal-body .line-error { color: #ff3355; }
.terminal-body .line-dim { color: rgba(0,0,0,0.3); }
.terminal-body .cursor { animation: blink 1s step-end infinite; }

@keyframes blink {
  50% { opacity: 0; }
}

@media (max-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; letter-spacing: -0.5px; }
  .hero h1 .outline { -webkit-text-stroke: 0.75px var(--text); }
  .hero p { font-size: 0.95rem; }
  .section { padding: 80px 0; }
  .section-header h2 { font-size: 2rem; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .tech-cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px 24px; }
  .service-card:hover { transform: none !important; }

  .tech-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-header { padding: 130px 0 40px; }
  .page-header h1 { font-size: 2.2rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .content-card { padding: 28px; }

  .mobile-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
  }

  .nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav a { width: 100%; padding: 14px 18px; }
  .nav a::after { display: none; }
  .terminal-toggle { display: none; }

  .cta-section h2 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .container { padding: 0 20px; }
  .section-header h2 { font-size: 1.4rem; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
}

/* CHAT WIDGET */
.chat-widget-wrap {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.chat-widget {
  background: var(--bg-card);
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  height: 520px;
  overflow: hidden;
}

.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.chat-header-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.chat-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.chat-header-name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.chat-header-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.chat-header-status {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-top: 4px;
}

.chat-header-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  border-radius: 0;
  margin-top: 0;
}

.chat-header-btn:hover {
  background: var(--cyan);
  transform: translateY(-1px);
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  background: #00c864;
  display: inline-block;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chat-msg {
  display: flex;
}

.chat-msg-user {
  justify-content: flex-end;
}

.chat-msg-bot {
  justify-content: flex-start;
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  word-wrap: break-word;
}

.chat-msg-user .chat-bubble {
  background: var(--primary);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
}

.chat-msg-bot .chat-bubble {
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 16px 16px 16px 4px;
  border: 1px solid rgba(0,0,0,0.06);
}

.chat-typing {
  padding: 0 20px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chat-typing-dots {
  display: flex;
  gap: 3px;
}

.chat-typing-dots span {
  width: 5px;
  height: 5px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingDot 1.2s ease-in-out infinite;
}

.chat-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.chat-input-form {
  display: flex;
  padding: 12px 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
  gap: 8px;
}

.chat-input-form input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid rgba(0,0,0,0.1);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.3s ease;
}

.chat-input-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.chat-input-form input:disabled {
  opacity: 0.5;
}

.chat-input-form button {
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.chat-input-form button:hover {
  background: var(--cyan);
  transform: scale(1.05);
}

.chat-input-form button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.chat-quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0;
}

.chat-quick-btn {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.chat-quick-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,107,53,0.2);
}

@media (max-width: 1024px) {
  .chat-widget {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .chat-widget {
    height: 400px;
    margin-top: 24px;
  }
}
