:root {
  /* Gray palette */
  --gray-950:#1b1b1b; --gray-900:#1e1e1e; --gray-850:#252525;
  --gray-820:#2b2b2b; --gray-800:#2b2f33; --gray-780:#2f3439; --gray-750:#3a3f44;
  --gray-500:#8a8f95; --gray-480:#9aa0a6; --gray-460:#9e9e9e;
  --gray-380:#bdbdbd; --gray-360:#cfcfcf; --gray-340:#d0d0d0;
  --gray-200:#e0e0e0; --gray-100:#f0f0f0; --gray-050:#f5f5f5;

  /* Theme mapped to grays */
  --bg: var(--gray-950);
  --bg-elev: var(--gray-900);
  --card: var(--gray-850);
  --text: var(--gray-100);
  --muted: var(--gray-480);
  --accent: #ff4655;
  --accent-2: #ff7a85;
  --outline: var(--gray-750);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(255, 70, 85, 0.14), transparent 60%),
              radial-gradient(800px 400px at 0% 10%, rgba(255, 122, 133, 0.12), transparent 50%),
              var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(27, 27, 27, 0.6);
  border-bottom: 1px solid var(--outline);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand-name { font-weight: 700; letter-spacing: 0.2px; }
.brand-mark { filter: drop-shadow(0 2px 8px rgba(180, 180, 180, 0.25)); border-radius: 10px; }

.nav { display: flex; align-items: center; gap: 18px; }
.nav-link { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-link:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--outline);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: transform .08s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(180deg, var(--accent), #d83846); border-color: rgba(255, 70, 85, 0.4); box-shadow: 0 8px 20px rgba(255, 70, 85, 0.25); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(255, 70, 85, 0.35); }
.btn-ghost { background: transparent; }

.section { padding: 80px 0; }
.section-title { font-size: 28px; line-height: 1.2; margin: 0 0 24px; letter-spacing: 0.2px; }

.hero { padding-top: 96px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.hero-title { font-size: 56px; line-height: 1.05; margin: 0 0 12px; letter-spacing: -0.02em; }
.hero-tagline { color: var(--muted); font-size: 18px; margin: 0 0 20px; }
.hero-actions { display: flex; gap: 12px; }
.hero-visual { position: relative; height: 280px; background: var(--bg-elev); border: 1px solid var(--outline); border-radius: 16px; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.hero-glow { position: absolute; inset: -1px; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255,122,133,0.12), 0 50px 120px rgba(255, 70, 85, 0.25); pointer-events: none; }
.
.hero-maximize {
  position: absolute;
  z-index: 2;
  right: 8px;
  top: 8px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--outline);
  background: rgba(43, 43, 43, 0.75);
  color: var(--text);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.hero-maximize:hover { background: rgba(43, 43, 43, 0.95); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox[aria-hidden="false"] { display: flex; }

.lightbox-image {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 12px;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--outline);
  background: rgba(43, 43, 43, 0.85);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover { background: rgba(43, 43, 43, 1); }

.grid { display: grid; gap: 20px; }
.features-grid { grid-template-columns: repeat(4, 1fr); }
.demo-grid { grid-template-columns: repeat(2, 1fr); }

.card { background: linear-gradient(180deg, var(--card), var(--bg-elev)); border: 1px solid var(--outline); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; }
.feature-card .icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--accent); background: rgba(255,70,85,0.12); border: 1px solid rgba(255,70,85,0.2); border-radius: 10px; margin-bottom: 12px; }
.card-title { font-size: 18px; margin: 0 0 6px; }
.card-text { color: var(--muted); margin: 0; }

.demo-card { padding: 0; overflow: hidden; }
.demo-media { width: 100%; height: 240px; object-fit: cover; display: block; background: var(--bg-elev); }
.demo-caption { margin: 8px 12px 12px; color: var(--muted); font-size: 14px; }

.about .legal { margin-top: 12px; display: grid; gap: 8px; }
.legal-text { color: var(--muted); font-size: 12px; }
details.legal-details { border: 1px solid var(--outline); border-radius: 10px; padding: 10px 12px; background: var(--bg-elev); }
details.legal-details > summary { cursor: pointer; font-weight: 600; color: var(--text); }
.legal-pre { white-space: pre-wrap; margin: 8px 0 0; color: var(--muted); font-size: 12px; }

.contact-lead { color: var(--muted); margin-bottom: 16px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; }
.contact-card { padding: 16px; }
.form-row { display: grid; gap: 6px; margin-bottom: 12px; }
label { font-weight: 600; color: var(--text); font-size: 14px; }
input, textarea {
  background: var(--bg-elev);
  border: 1px solid var(--outline);
  border-radius: 10px;
  color: var(--text);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
}
input::placeholder, textarea::placeholder { color: var(--gray-500); }
.form-status { margin-top: 8px; font-size: 14px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--outline); padding: 18px 0; background: rgba(27,27,27,0.7); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.footer-meta { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.footer-link { color: var(--muted); text-decoration: none; }
.footer-link:hover { color: var(--text); }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .demo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .hero-title { font-size: 38px; }
  .features-grid { grid-template-columns: 1fr; }
}


