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

html, body {
  background: #0A0A0F;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #E8E6F0;
  width: 100%;
}

/* ================================
   GLOWS
   ================================ */
.glow { position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; }
.glow-1 { width: 800px; height: 800px; background: rgba(123,92,240,0.13); top: -250px; left: -250px; filter: blur(100px); }
.glow-2 { width: 700px; height: 700px; background: rgba(123,92,240,0.10); top: 50vh; right: -200px; filter: blur(110px); }
.glow-3 { width: 600px; height: 600px; background: rgba(123,92,240,0.08); bottom: -100px; left: 25%; filter: blur(100px); }

/* ================================
   PAGE
   ================================ */
.page-wrap { position: relative; z-index: 1; }

/* ================================
   NAV — fixe, max 1280px centré
   ================================ */
nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(10,10,15,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(232,230,240,0.1);
  z-index: 10;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 64px;
}
.logo { font-size: 15px; font-weight: 500; letter-spacing: 0.14em; color: #F0EEF8; text-transform: uppercase; text-decoration: none; }
.nav-r { display: flex; align-items: center; gap: 40px; }
.nav-link { font-size: 13px; color: rgba(232,230,240,0.72); text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
.nav-link:hover { color: #F0EEF8; }
.nav-btn { font-size: 13px; color: rgba(232,230,240,0.72); background: none; border: none; font-family: inherit; cursor: pointer; letter-spacing: 0.04em; padding: 0; transition: color 0.2s; }
.nav-btn:hover { color: #F0EEF8; }
.lang { display: flex; gap: 10px; align-items: center; border-left: 0.5px solid rgba(232,230,240,0.12); padding-left: 28px; }
.lang a { font-size: 11px; color: rgba(232,230,240,0.32); text-decoration: none; letter-spacing: 0.12em; transition: color 0.2s; }
.lang a.active { color: rgba(232,230,240,0.82); }
.lang a:hover { color: rgba(232,230,240,0.7); }

/* ================================
   HERO
   ================================ */
.hero-inner { max-width: 1280px; margin: 0 auto; padding: 72px 64px 120px; }
.h1 { font-size: 128px; font-weight: 500; line-height: 1.0; letter-spacing: -0.04em; color: #F0EEF8; margin: 0 0 72px; }
.h1-line { display: block; white-space: nowrap; }
.word-rotate-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; height: 1.2em; position: relative; top: 0.1em; }
.word-rotate { display: flex; flex-direction: column; transition: transform 0.55s cubic-bezier(0.76,0,0.24,1); }
.word-rotate span { display: block; line-height: 1.2; color: #7B5CF0; }
.divider { width: 36px; height: 0.5px; background: rgba(232,230,240,0.18); margin: 0 0 36px; }
.founder { font-size: 20px; color: rgba(232,230,240,0.82); line-height: 1.75; max-width: 560px; }
.founder strong { color: #F0EEF8; font-weight: 500; }

/* ================================
   PRODUCTS
   ================================ */
.prod-icon-img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 20px; }
.products-inner { max-width: 1280px; margin: 0 auto; padding: 80px 64px; }
.section-label { font-size: 11px; letter-spacing: 0.2em; color: rgba(232,230,240,0.5); text-transform: uppercase; margin-bottom: 40px; }

.pgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.prod { background: #0F0F1E; overflow: hidden; border: 1px solid rgba(123,92,240,0.22); border-radius: 16px; }
.prod-body { padding: 36px 40px 44px; }
.prod-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.prod-name { font-size: 30px; font-weight: 500; color: #F0EEF8; letter-spacing: -0.02em; }
.prod-cat { font-size: 10px; letter-spacing: 0.14em; color: rgba(232,230,240,0.5); text-transform: uppercase; margin-top: 6px; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #C4B0FF;
  letter-spacing: 0.08em;
  white-space: nowrap;
  background: rgba(123,92,240,0.1);
  border: 0.5px solid rgba(123,92,240,0.25);
  border-radius: 100px;
  padding: 5px 12px;
}
.livedot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7B5CF0;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.prod-reason { font-size: 13px; color: rgba(232,230,240,0.55); line-height: 1.65; margin-bottom: 14px; font-style: italic; }
.prod-desc { font-size: 15px; color: rgba(232,230,240,0.82); line-height: 1.7; }
.prod-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #C4B0FF; text-decoration: none; margin-top: 28px; letter-spacing: 0.04em; transition: color 0.2s; }
.prod-link:hover { color: #F0EEF8; }

/* ================================
   MANIFESTO
   ================================ */
.manifesto { border-bottom: 0.5px solid rgba(232,230,240,0.07); }
.manifesto-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.manifesto-block {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 40px 0;
}
.mtitle { font-size: 11px; font-weight: 500; color: rgba(232,230,240,0.45); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 28px; }
.mtext { font-size: 15px; color: rgba(232,230,240,0.78); line-height: 1.9; }
.mtext p { margin: 0 0 18px; }
.mtext p:last-child { margin: 0; }
.mhighlight { color: #F0EEF8; }

/* ================================
   FOOTER
   ================================ */
footer { border-top: 0.5px solid rgba(232,230,240,0.07); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 28px 64px; display: flex; justify-content: space-between; align-items: center; }
.fcopy { font-size: 12px; color: rgba(232,230,240,0.28); }
.footer-btn { font-size: 13px; color: rgba(232,230,240,0.72); background: none; border: none; font-family: inherit; cursor: pointer; letter-spacing: 0.04em; padding: 0; transition: color 0.2s; }
.footer-btn:hover { color: #F0EEF8; }

/* ================================
   OVERLAY
   ================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,15,0.55);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.overlay.open { opacity: 1; pointer-events: all; }

/* ================================
   PANEL CONTACT
   ================================ */
.panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 480px;
  height: 100vh;
  background: #FFFFFF;
  border-left: 1px solid rgba(0,0,0,0.08);
  padding: 52px 44px;
  overflow-y: auto;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.76,0,0.24,1);
}
.panel.open { transform: translateX(0); }
.panel-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 44px; }
.panel-title { font-size: 26px; font-weight: 500; color: #0A0A0F; letter-spacing: -0.02em; margin-bottom: 6px; }
.panel-sub { font-size: 13px; color: rgba(10,10,15,0.45); line-height: 1.6; }
.close-btn { background: none; border: 0.5px solid rgba(10,10,15,0.18); color: rgba(10,10,15,0.5); width: 36px; height: 36px; border-radius: 8px; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; }
.close-btn:hover { color: #0A0A0F; border-color: rgba(10,10,15,0.35); }

/* ================================
   FORM
   ================================ */
.form-fields { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 11px; letter-spacing: 0.12em; color: rgba(10,10,15,0.5); text-transform: uppercase; }
.opt { color: rgba(10,10,15,0.28); text-transform: none; font-size: 10px; letter-spacing: 0; }
.field input, .field textarea { background: #F7F7F9; border: 0.5px solid rgba(10,10,15,0.12); border-radius: 8px; padding: 12px 16px; font-size: 14px; color: #0A0A0F; font-family: inherit; outline: none; transition: border-color 0.2s; resize: none; width: 100%; }
.field input:focus, .field textarea:focus { border-color: rgba(123,92,240,0.5); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: rgba(10,10,15,0.28); }
.captcha-row { display: flex; align-items: center; gap: 12px; background: #F7F7F9; border: 0.5px solid rgba(10,10,15,0.12); border-radius: 8px; padding: 12px 16px; cursor: pointer; user-select: none; }
.captcha-box { width: 18px; height: 18px; border: 0.5px solid rgba(10,10,15,0.25); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; }
.captcha-box.checked { background: #7B5CF0; border-color: #7B5CF0; }
.captcha-box.checked::after { content: "✓"; font-size: 11px; color: #fff; font-weight: 600; }
.captcha-lbl { font-size: 13px; color: rgba(10,10,15,0.55); }
.submit-btn { background: #7B5CF0; border: none; border-radius: 8px; padding: 15px 32px; font-size: 14px; font-weight: 500; color: #FFFFFF; font-family: inherit; cursor: pointer; letter-spacing: 0.05em; width: 100%; transition: background 0.2s; }
.submit-btn:hover:not([disabled]) { background: #6B4CE0; }
.submit-btn[disabled] { background: #E8E4F8; color: rgba(10,10,15,0.3); cursor: not-allowed; }

/* ================================
   SUCCESS
   ================================ */
.success-msg { display: none; text-align: center; padding: 80px 0; }
.success-msg.show { display: block; }
.success-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(123,92,240,0.08); border: 0.5px solid rgba(123,92,240,0.25); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 20px; color: #7B5CF0; }
.success-title { font-size: 22px; font-weight: 500; color: #0A0A0F; margin-bottom: 10px; }
.success-sub { font-size: 14px; color: rgba(10,10,15,0.42); line-height: 1.65; }

/* ================================
   NAV DROPDOWN
   ================================ */
.nav-dropdown-wrap { position: relative; display: flex; align-items: center; }
.nav-dropdown-wrap > .nav-link::after,
.nav-dropdown-wrap > .nav-btn::after { content: " ›"; font-size: 10px; opacity: 0.45; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) scale(0.97);
  transform-origin: top center;
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  margin-top: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: -10px;
  right: -10px;
  height: 28px;
}
.nav-dropdown-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) scale(1);
}
.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(10,10,15,0.72);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown-link:hover { background: rgba(0,0,0,0.04); color: #0A0A0F; }
.nav-dropdown-img { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }

/* ================================
   MOBILE NAV — hamburger
   ================================ */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: rgba(232,230,240,0.8);
  transition: all 0.25s;
  border-radius: 1px;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mobile-menu {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 0.5px solid transparent;
  background: rgba(10,10,15,0.98);
  transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1), opacity 0.28s ease, padding 0.38s ease, border-color 0.28s ease;
}
.nav-mobile-menu.open {
  max-height: 300px;
  opacity: 1;
  padding: 8px 24px 20px;
  border-top-color: rgba(232,230,240,0.08);
}
.nav-mobile-link {
  font-size: 15px;
  color: rgba(232,230,240,0.72);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 0.5px solid rgba(232,230,240,0.06);
  letter-spacing: 0.04em;
}
.nav-mobile-btn {
  font-size: 15px;
  color: rgba(232,230,240,0.72);
  background: none;
  border: none;
  border-bottom: 0.5px solid rgba(232,230,240,0.06);
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  padding: 14px 0;
  letter-spacing: 0.04em;
  width: 100%;
}
.nav-mobile-lang {
  display: flex;
  gap: 16px;
  padding: 16px 0 4px;
}
.nav-mobile-lang a {
  font-size: 12px;
  color: rgba(232,230,240,0.35);
  text-decoration: none;
  letter-spacing: 0.12em;
}
.nav-mobile-lang a.active { color: rgba(232,230,240,0.82); }
.nav-mobile-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(232,230,240,0.28);
  text-transform: uppercase;
  padding: 14px 0 6px;
}
.nav-mobile-sublink {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(232,230,240,0.72);
  text-decoration: none;
  padding: 10px 0 10px 4px;
  border-bottom: 0.5px solid rgba(232,230,240,0.06);
  letter-spacing: 0.04em;
}
.nav-mobile-sublink img { width: 16px; height: 16px; object-fit: contain; }

/* ================================
   MOBILE
   ================================ */
@media (max-width: 768px) {
  .nav-inner { padding: 18px 24px; }
  .nav-r { display: none; }
  .nav-hamburger { display: flex; }
  .hero-inner { padding: 72px 24px; }
  .h1 { font-size: 40px; margin-bottom: 48px; white-space: normal; }
  .h1-line { white-space: normal; }
  .products-inner { padding: 56px 24px; }
  .pgrid { grid-template-columns: 1fr; }
  .prod-body { padding: 28px 24px 32px; }
  .manifesto-inner { padding: 56px 24px; grid-template-columns: 1fr; gap: 16px; }
  .manifesto-block { padding: 28px; }
  .footer-inner { padding: 24px; }
  .panel { width: 90vw; padding: 40px 24px; }
}
