/* ============ BALEY — style.css ============ */

:root {
  --dark-bg: #0a0e1a;
  --dark-bg-2: #0e1424;
  --dark-card: #141b30;
  --light-bg: #f7f8fc;
  --light-card: #ffffff;
  --accent: #4f7cff;
  --accent-2: #9b5cff;
  --accent-3: #38d9c9;
  --text-dark: #10162b;
  --text-dark-soft: #4a5474;
  --text-light: #eef1fa;
  --text-light-soft: #9aa5c4;
  --border-light: #e4e8f4;
  --border-dark: rgba(255, 255, 255, 0.08);
  --grad: linear-gradient(120deg, var(--accent), var(--accent-2));
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-h: 72px;
  --radius: 18px;
  --shadow-card: 0 10px 40px rgba(16, 22, 43, 0.08);
  --shadow-card-hover: 0 24px 60px rgba(79, 124, 255, 0.18);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }

img, svg { display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1160px, 92%); margin-inline: auto; }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); z-index: 1001;
  box-shadow: 0 0 12px rgba(79, 124, 255, 0.6);
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.navbar.scrolled {
  background: rgba(10, 14, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { display: grid; place-items: center; }
.logo-text {
  font-family: 'Archivo', var(--font-head), sans-serif; font-weight: 800; font-size: 1.28rem;
  color: var(--text-light); letter-spacing: 0.04em;
}
.footer-logo { gap: 9px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  color: var(--text-light-soft); font-weight: 500; font-size: 0.95rem;
  position: relative; transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-light); }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width 0.3s ease;
}
.nav-links a:not(.nav-cta):hover::after, .nav-links a:not(.nav-cta).active::after { width: 100%; }

.nav-cta {
  padding: 9px 22px; border-radius: 999px; background: var(--grad);
  color: #fff !important; font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79, 124, 255, 0.4); }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  background: none; border: none; color: var(--text-light-soft);
  font-weight: 600; font-size: 0.88rem; padding: 4px 6px; border-radius: 6px;
  transition: color 0.2s;
}
.lang-btn.active { color: var(--text-light); }
.lang-btn:not(.active):hover { color: var(--text-light); }
.lang-sep { color: var(--text-light-soft); opacity: 0.5; }

.hamburger { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--text-light); border-radius: 2px; transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ SECTIONS ============ */
.section { padding: 110px 0; position: relative; }
.section-dark { background: var(--dark-bg); color: var(--text-light); }
.section-light { background: var(--light-bg); color: var(--text-dark); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
  background: rgba(79, 124, 255, 0.12); color: var(--accent);
  border: 1px solid rgba(79, 124, 255, 0.25);
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; letter-spacing: -0.02em; }
.section-light .section-title {
  background: linear-gradient(115deg, var(--text-dark) 35%, var(--accent) 78%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-dark .section-title {
  background: linear-gradient(115deg, #ffffff 40%, #9db4ff 80%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* soft multi-color mesh behind the services section */
#services.section-light {
  background:
    radial-gradient(620px 420px at 88% 8%, rgba(63, 108, 245, 0.07), transparent 65%),
    radial-gradient(620px 420px at 6% 48%, rgba(0, 168, 150, 0.07), transparent 65%),
    radial-gradient(620px 420px at 90% 92%, rgba(240, 90, 40, 0.06), transparent 65%),
    var(--light-bg);
}
.section-sub { margin-top: 16px; font-size: 1.05rem; }
.section-light .section-sub { color: var(--text-dark-soft); }
.section-dark .section-sub { color: var(--text-light-soft); }

.gradient-text {
  background: linear-gradient(120deg, var(--accent), var(--accent-2), var(--accent-3));
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block; padding: 14px 34px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s;
  will-change: transform;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 28px rgba(79, 124, 255, 0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(79, 124, 255, 0.5); }
.btn-ghost {
  background: transparent; color: var(--text-light);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--accent); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3); }

/* ============ HERO ============ */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 80px;
}
#particleCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35; pointer-events: none;
}
.hero-glow-1 {
  width: 520px; height: 520px; background: var(--accent);
  top: -140px; left: -120px; animation: floatGlow 9s ease-in-out infinite;
}
.hero-glow-2 {
  width: 460px; height: 460px; background: var(--accent-2);
  bottom: -160px; right: -100px; animation: floatGlow 11s ease-in-out infinite reverse;
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
}

.hero-content { position: relative; z-index: 2; text-align: center; }

.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--text-light); background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark); backdrop-filter: blur(8px);
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800;
  color: var(--text-light); letter-spacing: -0.03em; margin-bottom: 24px;
}
.typewriter { display: inline-block; min-height: 1.15em; }
.typewriter::after {
  content: '|'; -webkit-text-fill-color: var(--accent); color: var(--accent);
  animation: blink 0.9s step-end infinite; font-weight: 400; margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  max-width: 640px; margin: 0 auto 40px; font-size: 1.15rem; color: var(--text-light-soft);
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 72px; }

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.stat-number, .stat-plus {
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--text-light);
}
.stat-plus { color: var(--accent); }
.stat-label { display: block; margin-top: 4px; font-size: 0.88rem; color: var(--text-light-soft); }
.hero-stat-divider { width: 1px; height: 48px; background: var(--border-dark); }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; }
.mouse {
  display: block; width: 26px; height: 42px; border: 2px solid var(--text-light-soft);
  border-radius: 14px; position: relative;
}
.wheel {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--accent); border-radius: 2px; animation: wheelMove 1.8s ease-in-out infinite;
}
@keyframes wheelMove {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ MARQUEE ============ */
.marquee-band { padding: 26px 0; border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); }
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--dark-bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--dark-bg), transparent); }
.marquee-track {
  display: flex; gap: 38px; width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--text-light-soft); white-space: nowrap;
}
@keyframes marqueeScroll { to { transform: translateX(-50%); } }

/* ============ SERVICES (FULL-WIDTH FEATURE BANDS) ============ */
#services { padding-bottom: 0; }

.feature-band {
  --t1: var(--accent); --t2: var(--accent-2); --trgb: 79, 124, 255;
  --lt: #9db4ff; --lt2: #c9a6ff;
  position: relative; overflow: hidden;
  padding: 92px 0; color: var(--text-light);
}
.feature-band.theme-ai {
  --t1: #3f6cf5; --t2: #8b46ff; --trgb: 63, 108, 245; --lt: #9db4ff; --lt2: #c9a6ff;
  background:
    radial-gradient(1000px 540px at 85% 10%, rgba(139, 70, 255, 0.38), transparent 62%),
    radial-gradient(820px 500px at 6% 95%, rgba(63, 108, 245, 0.32), transparent 60%),
    #111a44;
}
.feature-band.theme-mobile {
  --t1: #00a896; --t2: #2f80ed; --trgb: 0, 168, 150; --lt: #3ee6d2; --lt2: #7cb8ff;
  background:
    radial-gradient(1000px 540px at 15% 10%, rgba(47, 128, 237, 0.34), transparent 62%),
    radial-gradient(820px 500px at 92% 95%, rgba(0, 168, 150, 0.34), transparent 60%),
    #05282c;
}
.feature-band.theme-custom {
  --t1: #f05a28; --t2: #d6336c; --trgb: 240, 90, 40; --lt: #ffb08a; --lt2: #ff8fc0;
  background:
    radial-gradient(1000px 540px at 85% 10%, rgba(214, 51, 108, 0.36), transparent 62%),
    radial-gradient(820px 500px at 6% 95%, rgba(240, 90, 40, 0.3), transparent 60%),
    #2d1128;
}

/* mouse spotlight */
.spotlight::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.07), transparent 65%);
  opacity: 0; transition: opacity 0.4s ease;
}
.spotlight:hover::after { opacity: 1; }

.feature-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 70px; align-items: center;
  position: relative; z-index: 1;
}
.feature-band.reverse .feature-grid { grid-template-columns: 1fr 1.15fr; }
.feature-band.reverse .feature-text { order: 2; }
.feature-band.reverse .feature-visual { order: 1; }

/* floating color blob behind each band's visual */
.row-blob {
  position: absolute; top: -130px; right: -100px; width: 460px; height: 460px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: linear-gradient(120deg, var(--t1), var(--t2));
  filter: blur(115px); opacity: 0.42;
  animation: blobFloat 11s ease-in-out infinite;
}
.feature-band.reverse .row-blob { right: auto; left: -100px; animation-direction: reverse; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 36px) scale(1.16); }
}

.feature-kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 14px;
  background: linear-gradient(120deg, var(--lt), var(--lt2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.feature-band h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem); margin-bottom: 16px; letter-spacing: -0.01em;
  background: linear-gradient(115deg, #ffffff 30%, var(--lt) 70%, var(--lt2) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  transition: background-position 0.6s ease;
}
.feature-band:hover h3 { background-position: 90% 0; }
.feature-text > p {
  color: rgba(238, 241, 250, 0.78); font-size: 1.02rem; line-height: 1.7; margin-bottom: 28px;
}

.feature-list {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px 28px; margin-bottom: 30px;
}
.feature-list li { position: relative; padding-left: 28px; }
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--lt); border-bottom: 2.5px solid var(--lt);
  transform: rotate(-45deg) scale(0.9);
}
.feature-list strong {
  display: block; font-size: 0.95rem; font-weight: 600; color: #ffffff;
  margin-bottom: 2px;
}
.feature-list span { font-size: 0.85rem; color: rgba(238, 241, 250, 0.62); line-height: 1.45; }

.feature-link {
  display: inline-block; font-weight: 600; font-size: 0.98rem; color: var(--lt);
  transition: transform 0.3s ease, color 0.3s ease;
}
.feature-link:hover { transform: translateX(6px); color: var(--lt2); }

.feature-visual { display: flex; justify-content: center; align-items: center; }
.feature-visual.chat-demo, .feature-visual.code-demo { display: flex; }
.feature-visual.chat-demo { flex-direction: column; width: 100%; }
.feature-visual.code-demo { flex-direction: column; width: 100%; justify-content: flex-start; align-items: stretch; }

/* --- chat demo (AI card) --- */
.chat-demo {
  display: flex; flex-direction: column; gap: 10px;
  background: rgba(8, 11, 22, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 18px; padding: 24px; min-height: 200px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.chat-msg {
  max-width: 82%; padding: 11px 16px; border-radius: 15px;
  font-size: 0.88rem; line-height: 1.45; opacity: 0;
}
.chat-msg.user {
  align-self: flex-end; color: #fff;
  background: linear-gradient(120deg, var(--t1, var(--accent)), var(--t2, var(--accent-2)));
  border-bottom-right-radius: 4px;
  animation: chatUser 9s ease infinite;
}
.chat-typing {
  align-self: flex-start; display: flex; gap: 5px; align-items: center;
  background: rgba(255, 255, 255, 0.08); padding: 14px 16px;
  border-bottom-left-radius: 4px;
  animation: chatTyping 9s ease infinite;
}
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: #9aa5c4;
  animation: typingDot 1s ease infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
.chat-msg.answer {
  align-self: flex-start; background: rgba(255, 255, 255, 0.08);
  color: var(--text-light); border-bottom-left-radius: 4px;
  animation: chatBot 9s ease infinite;
}
@keyframes chatUser {
  0%, 3% { opacity: 0; transform: translateY(10px); }
  8%, 88% { opacity: 1; transform: translateY(0); }
  94%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes chatTyping {
  0%, 13% { opacity: 0; }
  17%, 38% { opacity: 1; }
  43%, 100% { opacity: 0; }
}
@keyframes chatBot {
  0%, 43% { opacity: 0; transform: translateY(10px); }
  49%, 88% { opacity: 1; transform: translateY(0); }
  94%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes typingDot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-3px); opacity: 1; }
}

/* --- phone demo (mobile card) --- */
.phone-demo { display: flex; justify-content: center; }
.phone-frame {
  width: 200px; height: 340px; position: relative; overflow: hidden;
  border: 7px solid #060a14;
  border-radius: 34px; background: rgba(8, 11, 22, 0.6);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45), 0 0 50px rgba(var(--trgb, 79, 124, 255), 0.25);
}
.phone-notch {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 7px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.12); z-index: 2;
}
.phone-screen { position: absolute; inset: 24px 11px 10px; overflow: hidden; border-radius: 0 0 20px 20px; }
.phone-scroll {
  display: flex; flex-direction: column; gap: 8px;
  animation: appScroll 9s linear infinite;
}
.app-block {
  height: 40px; border-radius: 9px; flex-shrink: 0;
  background: rgba(var(--trgb, 122, 156, 255), 0.16);
}
.app-block.app-hero {
  height: 54px; opacity: 0.65;
  background: linear-gradient(120deg, var(--t1, var(--accent)), var(--t2, var(--accent-2)));
}
.app-block.app-accent { background: rgba(var(--trgb, 56, 217, 201), 0.28); }
.app-row { display: flex; gap: 8px; flex-shrink: 0; }
.app-chip { flex: 1; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); }
.app-line { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); flex-shrink: 0; }
.app-line.w80 { width: 80%; }
.app-line.w70 { width: 70%; }
.app-line.w60 { width: 60%; }
@keyframes appScroll { to { transform: translateY(-50%); } }

/* --- code demo (custom software card) --- */
.code-demo {
  background: rgba(8, 11, 22, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.code-bar {
  display: flex; gap: 7px; padding: 13px 16px;
  background: rgba(255, 255, 255, 0.05);
}
.code-bar span { width: 11px; height: 11px; border-radius: 50%; }
.code-bar span:nth-child(1) { background: #ff5f57; }
.code-bar span:nth-child(2) { background: #febc2e; }
.code-bar span:nth-child(3) { background: #28c840; }
.code-lines { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 13px; }
.cl {
  height: 9px; border-radius: 5px; width: 0;
  background: linear-gradient(90deg, var(--t1, var(--accent)), var(--t2, var(--accent-2)));
  animation: clType 7s ease infinite;
}
.cl.cl1 { --w: 72%; }
.cl.cl2 { --w: 88%; background: linear-gradient(90deg, var(--t2, var(--accent-2)), #ffd166); animation-delay: 0.35s; }
.cl.cl3 { --w: 55%; margin-left: 8%; background: rgba(255, 255, 255, 0.22); animation-delay: 0.7s; }
.cl.cl4 { --w: 68%; margin-left: 8%; background: linear-gradient(90deg, #ffd166, var(--t1, var(--accent))); animation-delay: 1.05s; }
.cl.cl5 { --w: 42%; margin-left: 8%; background: rgba(255, 255, 255, 0.22); animation-delay: 1.4s; }
.cl.cl6 { --w: 80%; animation-delay: 1.75s; }
@keyframes clType {
  0% { width: 0; opacity: 0.9; }
  22%, 85% { width: var(--w); opacity: 0.9; }
  93%, 100% { width: var(--w); opacity: 0; }
}

/* ============ AI INTEGRATION ============ */
.integration {
  background: radial-gradient(ellipse 80% 60% at 50% -10%, #182252 0%, var(--dark-bg) 60%);
  overflow: hidden;
}
.integration-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center;
}
.int-steps { list-style: none; margin-bottom: 36px; }
.int-steps li { display: flex; gap: 18px; margin-bottom: 26px; align-items: flex-start; }
.int-num {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: #fff;
  background: var(--grad); box-shadow: 0 6px 20px rgba(79, 124, 255, 0.35);
}
.int-steps h3 { font-size: 1.08rem; margin-bottom: 5px; color: var(--text-light); }
.int-steps p { font-size: 0.93rem; color: var(--text-light-soft); }

.int-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.int-stat {
  background: rgba(20, 27, 48, 0.8); border: 1px solid var(--border-dark);
  border-radius: 15px; padding: 14px 22px; backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.int-stat:hover { transform: translateY(-4px); border-color: rgba(79, 124, 255, 0.5); }
.int-stat-val {
  display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.int-stat-label { font-size: 0.82rem; color: var(--text-light-soft); }

/* flow diagram */
.integration-visual { position: relative; }
.flow-svg { width: 100%; height: auto; }
.flow-line {
  fill: none; stroke: rgba(122, 156, 255, 0.4); stroke-width: 1.6;
  stroke-dasharray: 5 7; stroke-linecap: round;
  animation: dashFlow 1.1s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -12; } }
.flow-pulse { fill: var(--accent-3); filter: drop-shadow(0 0 6px var(--accent-3)); }
.flow-pulse.p2 { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.flow-pulse.p3 { fill: var(--accent-2); filter: drop-shadow(0 0 6px var(--accent-2)); }
.flow-pulse.p4 { fill: #ff8fd8; filter: drop-shadow(0 0 6px #ff8fd8); }
.flow-node rect {
  fill: rgba(20, 27, 48, 0.9); stroke: rgba(122, 156, 255, 0.4); stroke-width: 1.2;
  transition: stroke 0.3s ease;
}
.flow-node:hover rect { stroke: var(--accent); }
.flow-node text {
  fill: var(--text-light); font-family: var(--font-body); font-size: 14px;
  font-weight: 500; text-anchor: middle;
}
.flow-core .core-ring { fill: none; stroke: var(--accent); stroke-width: 1.4; opacity: 0.5; }
.flow-core .core-text {
  fill: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px;
  text-anchor: middle;
}

/* use-case chip marquees */
.chip-marquees { margin-top: 80px; display: flex; flex-direction: column; gap: 16px; }
.chip-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.chip-track {
  display: flex; gap: 14px; width: max-content;
  animation: marqueeScroll 38s linear infinite;
}
.chip-marquee.reverse .chip-track { animation-direction: reverse; animation-duration: 44s; }
.chip-marquee:hover .chip-track { animation-play-state: paused; }
.chip {
  padding: 11px 22px; border-radius: 999px; white-space: nowrap;
  font-size: 0.9rem; font-weight: 500; color: var(--text-light-soft);
  background: rgba(79, 124, 255, 0.08); border: 1px solid rgba(122, 156, 255, 0.22);
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s;
}
.chip:hover {
  color: #fff; border-color: var(--accent);
  background: rgba(79, 124, 255, 0.2); transform: translateY(-3px);
}

/* ============ ABOUT ============ */
.about { overflow: hidden; }
.about-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 124, 255, 0.14), transparent 65%);
  top: 50%; right: -200px; transform: translateY(-50%); pointer-events: none;
}
.about-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center;
}
.about-text .section-title { margin-bottom: 22px; }
.about-text p { color: var(--text-light-soft); margin-bottom: 18px; font-size: 1.02rem; }
.about-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.badge {
  padding: 8px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  background: rgba(56, 217, 201, 0.1); color: var(--accent-3);
  border: 1px solid rgba(56, 217, 201, 0.3);
}

/* Orbit animation */
.orbit-wrap { position: relative; width: 340px; height: 340px; margin-inline: auto; }
.orbit {
  position: absolute; top: 50%; left: 50%; border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%; transform: translate(-50%, -50%);
}
.orbit-1 { width: 160px; height: 160px; animation: spin 10s linear infinite; }
.orbit-2 { width: 250px; height: 250px; animation: spin 17s linear infinite reverse; }
.orbit-3 { width: 340px; height: 340px; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit-dot {
  position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 14px var(--accent);
}
.orbit-2 .orbit-dot { background: var(--accent-2); box-shadow: 0 0 14px var(--accent-2); }
.orbit-3 .orbit-dot { background: var(--accent-3); box-shadow: 0 0 14px var(--accent-3); }
.orbit-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: corePulse 3s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); filter: drop-shadow(0 0 18px rgba(79, 124, 255, 0.5)); }
  50% { transform: translate(-50%, -50%) scale(1.08); filter: drop-shadow(0 0 32px rgba(155, 92, 255, 0.7)); }
}

/* ============ PROCESS ============ */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative;
  padding-top: 20px;
}
.process-line {
  position: absolute; top: 46px; left: 6%; right: 6%; height: 2px;
  background: var(--border-light); border-radius: 2px;
}
.process-line-fill {
  height: 100%; width: 0; background: var(--grad); border-radius: 2px;
  transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 10px rgba(79, 124, 255, 0.5);
}
.process-step { text-align: center; position: relative; }
.step-num {
  width: 54px; height: 54px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head);
  font-weight: 700; font-size: 1rem; color: #fff; background: var(--grad);
  box-shadow: 0 8px 24px rgba(79, 124, 255, 0.35); position: relative; z-index: 1;
}
.process-step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.process-step p { font-size: 0.92rem; color: var(--text-dark-soft); }

/* ============ TESTIMONIALS ============ */
.references { overflow: hidden; }
.testimonial-slider { max-width: 780px; margin-inline: auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.testimonial {
  min-width: 100%; padding: 44px 48px; text-align: center;
  background: var(--dark-card); border: 1px solid var(--border-dark);
  border-radius: var(--radius);
}
.testimonial blockquote {
  font-size: 1.18rem; line-height: 1.7; color: var(--text-light); font-style: italic;
  margin-bottom: 26px;
}
.t-name { display: block; font-weight: 700; font-family: var(--font-head); color: var(--text-light); }
.t-role { display: block; font-size: 0.88rem; color: var(--text-light-soft); margin-top: 4px; }
.slider-dots { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.slider-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, 0.2); transition: background 0.3s, transform 0.3s;
}
.slider-dots button.active { background: var(--accent); transform: scale(1.3); }

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--grad); padding: 90px 0; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1), transparent 40%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 16px; letter-spacing: -0.02em; }
.cta-band p { max-width: 560px; margin: 0 auto 34px; opacity: 0.92; font-size: 1.08rem; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }

.contact-item { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 32px; }
.contact-icon {
  width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; color: var(--accent);
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.12), rgba(155, 92, 255, 0.12));
}
.contact-label {
  display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dark-soft); margin-bottom: 3px;
}
.contact-item a { color: var(--accent); font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }

.contact-form {
  background: var(--light-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { position: relative; margin-bottom: 22px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 16px 18px 14px; font-family: inherit; font-size: 0.97rem;
  border: 1.5px solid var(--border-light); border-radius: 12px; background: var(--light-bg);
  color: var(--text-dark); outline: none; transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px rgba(79, 124, 255, 0.12);
}
.form-field label {
  position: absolute; left: 16px; top: 15px; font-size: 0.95rem; color: var(--text-dark-soft);
  pointer-events: none; transition: 0.2s ease; background: transparent; padding: 0 4px;
}
.form-field input:focus + label, .form-field textarea:focus + label,
.form-field input:not(:placeholder-shown) + label, .form-field textarea:not(:placeholder-shown) + label {
  top: -9px; font-size: 0.75rem; color: var(--accent); background: var(--light-card);
  border-radius: 4px;
}
.form-note { margin-top: 16px; color: #14a37f; font-weight: 600; font-size: 0.95rem; }
.form-note.error { color: #d6336c; }

/* honeypot — visually hidden, bots fill it */
.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

/* ============ LEGAL PAGES (Impressum / Datenschutz) ============ */
.legal-body { background: var(--light-bg); }
.legal-nav { gap: 0; }
.legal-nav a { color: var(--text-light-soft); font-size: 0.92rem; }
.legal-nav a:hover { color: var(--text-light); }
.legal-page { padding: calc(var(--nav-h) + 60px) 0 90px; min-height: 70vh; }
.legal-container { max-width: 760px; color: var(--text-dark); }
.legal-container h1 {
  font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 34px; letter-spacing: -0.02em;
  background: linear-gradient(115deg, var(--text-dark) 35%, var(--accent) 78%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.legal-container h2 { font-size: 1.15rem; margin: 34px 0 10px; }
.legal-container p, .legal-container li { font-size: 0.97rem; color: var(--text-dark-soft); line-height: 1.75; }
.legal-container ul { padding-left: 22px; margin: 10px 0; }
.legal-container a { color: var(--accent); }
.legal-container a:hover { text-decoration: underline; }
.legal-container mark {
  background: rgba(240, 90, 40, 0.14); color: #b3400f;
  padding: 1px 6px; border-radius: 5px;
}
.legal-note { margin-top: 40px; font-size: 0.88rem; }
.legal-footer { padding-top: 0; }
.legal-footer .footer-bottom a { color: var(--accent); }

/* ============ FOOTER ============ */
.footer { padding: 64px 0 0; border-top: 1px solid var(--border-dark); }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px;
}
.footer-brand p { color: var(--text-light-soft); font-size: 0.93rem; margin-top: 10px; max-width: 280px; }
.footer-address { line-height: 1.7; }
.footer-address a { color: var(--accent); }
.footer-address a:hover { text-decoration: underline; }
.footer-links, .footer-legal { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-legal a {
  color: var(--text-light-soft); font-size: 0.93rem; transition: color 0.25s;
}
.footer-links a:hover, .footer-legal a:hover { color: var(--text-light); }
.footer-bottom {
  border-top: 1px solid var(--border-dark); padding: 22px 0;
  font-size: 0.85rem; color: var(--text-light-soft); text-align: center;
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .feature-band { padding: 66px 0; }
  .feature-grid, .feature-band.reverse .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-band.reverse .feature-text { order: 1; }
  .feature-band.reverse .feature-visual { order: 2; }
  .integration-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { order: -1; }
  .orbit-wrap { width: 280px; height: 280px; }
  .orbit-3 { width: 280px; height: 280px; }
  .orbit-2 { width: 210px; height: 210px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 44px 28px; }
  .process-line { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(10, 14, 26, 0.97); backdrop-filter: blur(16px);
    flex-direction: column; padding: 28px 6%; gap: 22px; align-items: flex-start;
    transform: translateY(-130%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-bottom: 1px solid var(--border-dark);
  }
  .nav-links.open { transform: translateY(0); }
  .hamburger { display: flex; }
  .section { padding: 80px 0; }
  .feature-list { grid-template-columns: 1fr; gap: 14px; }
  .feature-band { padding: 54px 0; }
  .hero-stats { gap: 24px; }
  .hero-stat-divider { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .testimonial { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
