:root{
  --bg:#0b0f19;
  --card:#111827;
  --card2:#0f172a;
  --text:#e5e7eb;
  --muted:#9ca3af;
  --stroke:rgba(255,255,255,.12);
  --accent:#7c3aed;
  --accent2:#22c55e;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1100px;
}

/* RESET */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
html,body{height:100%}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(1000px 500px at 20% 10%, rgba(124,58,237,.28), transparent 55%),
    radial-gradient(800px 500px at 80% 20%, rgba(34,197,94,.18), transparent 60%),
    var(--bg);
  background-repeat:no-repeat;
  background-attachment:fixed;
  color:var(--text);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.wrap{max-width:var(--max);margin:0 auto;padding:22px 18px}

/* ================= NAV ================= */
.nav{
  position:sticky;top:0;z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,15,25,.85);
  border-bottom:1px solid var(--stroke);
}
.nav-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  transition:.2s ease;
}
.brand:hover{opacity:.8}
.brand-logo{
  width:32px;
  height:32px;
  border-radius:8px;
  border:1px solid var(--stroke);
  background:#fff;
  padding:4px;
  object-fit:contain;
}
.footer-logo{
  width:24px;
  height:24px;
  border-radius:6px;
  border:1px solid var(--stroke);
  background:#fff;
  padding:3px;
  object-fit:contain;
}
.brand-mark{
  width:10px;height:10px;border-radius:999px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
}
.nav-links{display:flex;gap:16px;color:var(--muted);font-size:14px}
.nav-links a{
  padding:8px 10px;
  border-radius:10px;
  transition:.2s ease;
}
.nav-links a:hover{background:rgba(255,255,255,.06);color:var(--text)}
.nav-links a:focus{
  outline:2px solid var(--accent);
  outline-offset:2px;
}

/* Mobile menu */
.menu-toggle{
  display:none;
  background:rgba(255,255,255,.06);
  border:1px solid var(--stroke);
  border-radius:10px;
  padding:8px 12px;
  color:var(--text);
  cursor:pointer;
  font-size:20px;
}
.menu-toggle:hover{background:rgba(255,255,255,.10)}
.lang-toggle{
  margin-left:12px;
  width:36px;
  height:36px;
  border-radius:10px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
  font-size:18px;
  display:grid;
  place-items:center;
  transition:.2s ease;
}
.lang-toggle:hover{background:rgba(255,255,255,.10)}
.lang-flag{
  width:20px;
  height:20px;
  display:block;
  object-fit:contain;
}

/* ================= BUTTONS ================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:12px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition:.2s ease;
  white-space:nowrap;
}
.btn:hover{
  background:rgba(255,255,255,.10);
  transform:translateY(-1px);
}
.btn:focus{
  outline:2px solid var(--accent);
  outline-offset:2px;
}
.btn.primary{
  border-color:rgba(124,58,237,.55);
  background:linear-gradient(135deg,rgba(124,58,237,.95),rgba(34,197,94,.55));
  box-shadow:0 10px 30px rgba(124,58,237,.18);
}
.btn.primary:hover{
  box-shadow:0 15px 40px rgba(124,58,237,.25);
}

/* ================= HERO ================= */
.hero{padding:54px 0 34px}
.hero-grid{
  display:grid;
  grid-template-columns:1fr .43fr;
  gap:32px;
  align-items:start;
}
.kicker{
  display:inline-flex;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.05);
  color:var(--muted);
  font-size:13px;
  margin-bottom:16px;
}
h1{
  margin:0 0 16px;
  font-size:44px;
  line-height:1.1;
  letter-spacing:-.02em;
}
.sub{
  margin:0 0 24px;
  color:var(--muted);
  font-size:17px;
  max-width:52ch;
}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.micro{font-size:13px;color:var(--muted)}
.micro strong{color:var(--text)}

/* ================= PANEL ================= */
.panel{
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(17,24,39,.92),rgba(15,23,42,.70));
  box-shadow:var(--shadow);
  padding:20px;
}
.profile-panel{
  max-width:360px;
  width:100%;
  justify-self:end;
}
.panel-top{
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:16px;
}
.panel-top.center{
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.logo{
  width:48px;
  height:48px;
  border-radius:12px;
  border:1px solid var(--stroke);
  background:#fff;
  display:grid;
  place-items:center;
  padding:4px;
}
.logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.panel-title{margin:0;font-weight:800;font-size:16px}
.panel-sub{margin:2px 0 0;font-size:13px;color:var(--muted)}

/* ================= CARDS ================= */
.cards{display:grid;gap:12px}
.profile-cards{
  grid-template-columns:repeat(3, minmax(0, 1fr));
  align-items:stretch;
}
.carousel{
  display:block;
  overflow:hidden;
}
.carousel-track{
  display:flex;
  gap:0;
  transition:transform .35s ease;
  will-change:transform;
}
.carousel-track .card{
  flex:0 0 100%;
}
.carousel-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:14px;
}
.carousel-btn{
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-size:18px;
  cursor:pointer;
  transition:.2s ease;
}
.carousel-btn:hover{background:rgba(255,255,255,.12)}
.carousel-dots{
  display:flex;
  align-items:center;
  gap:8px;
}
.carousel-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:transparent;
  cursor:pointer;
}
.carousel-dot.is-active{
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  border-color:transparent;
}
.card{
  border:1px solid var(--stroke);
  border-radius:16px;
  background:rgba(255,255,255,.04);
  padding:16px;
  transition:.2s ease;
  cursor:pointer;
}
.card:hover{
  background:rgba(255,255,255,.06);
  transform:translateY(-2px);
}
.card.selected{
  border-color:rgba(124,58,237,.65);
  background:rgba(124,58,237,.10);
  box-shadow:0 8px 24px rgba(124,58,237,.15);
}
.card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}
.role{display:flex;gap:10px;align-items:center;font-weight:900}
.emoji{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:12px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
  font-size:18px;
}
.tag{
  font-size:12px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  color:var(--muted);
  background:rgba(255,255,255,.03);
}
ul{margin:12px 0;padding-left:20px;color:var(--muted);font-size:14px}
li{margin:6px 0}
.card .btn{margin-top:14px;width:100%}
.divider{height:1px;background:var(--stroke);margin:16px 0}
.cta-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.note{font-size:13px;color:var(--muted);margin-top:12px;text-align:center}
.note span{color:var(--text);font-weight:800}

/* ================= SECTION ================= */
.section{margin:48px 0;padding:32px 0}
h2{
  font-size:36px;
  margin:0 0 12px;
  letter-spacing:-.02em;
}

/* ================= PROCESS ================= */
.process-head{
  text-align:center;
  max-width:600px;
  margin:0 auto 40px;
}
.process-intro{
  color:var(--muted);
  font-size:16px;
  margin-top:8px;
}
.process-track{
  display:grid;
  gap:20px;
  margin-bottom:32px;
}
.process-card{
  border:1px solid var(--stroke);
  border-radius:16px;
  background:rgba(255,255,255,.04);
  padding:20px;
  transition:.2s ease;
}
.process-card:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(124,58,237,.35);
  transform:translateY(-2px);
}
.process-top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.process-step{
  font-size:14px;
  font-weight:900;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:linear-gradient(135deg,rgba(124,58,237,.2),rgba(34,197,94,.2));
  color:var(--text);
}
.process-icon{
  font-size:24px;
}
.process-card h3{
  margin:0 0 8px;
  font-size:18px;
}
.process-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
.process-cta{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

/* ================= FAQ ================= */
#faq .cards{
  max-width:800px;
  margin:24px auto;
}
#faq .card{
  cursor:default;
}
#faq .card:hover{
  transform:none;
}

/* ================= MODAL ================= */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:1000;
  align-items:center;
  justify-content:center;
}
.modal.is-open{display:flex}
.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.7);
  backdrop-filter:blur(8px);
}
.modal-card{
  position:relative;
  max-width:640px;
  width:90%;
  max-height:90vh;
  overflow-y:auto;
  border-radius:20px;
  border:1px solid var(--stroke);
  background:linear-gradient(180deg,rgba(17,24,39,.98),rgba(15,23,42,.95));
  padding:24px;
  box-shadow:0 25px 50px rgba(0,0,0,.5);
}
.modal-head{
  display:flex;
  justify-content:space-between;
  align-items:start;
  margin-bottom:20px;
}
.modal-head h3{
  font-size:24px;
  margin:0;
}
.modal-head p{
  font-size:14px;
  color:var(--muted);
  margin:4px 0 0;
}
.modal-close{
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
  font-size:18px;
  transition:.2s ease;
}
.modal-close:hover{
  background:rgba(255,255,255,.10);
}

/* FORM */
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.form-grid label{
  font-size:14px;
  font-weight:600;
  color:var(--text);
  display:flex;
  flex-direction:column;
  gap:8px;
}
.form-grid input,
.form-grid textarea{
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.04);
  color:var(--text);
  font-family:inherit;
  font-size:14px;
  transition:.2s ease;
}
.form-grid input::placeholder,
.form-grid textarea::placeholder{
  color:var(--muted);
}
.form-grid input:focus,
.form-grid textarea:focus{
  outline:none;
  border-color:rgba(124,58,237,.55);
  box-shadow:0 0 0 4px rgba(124,58,237,.12);
}
.form-grid .full{grid-column:1/-1}
.form-actions{
  margin-top:20px;
  display:flex;
  gap:12px;
}
.form-note{
  font-size:12px;
  color:var(--muted);
  margin-top:12px;
}
.form-success{
  display:none;
  padding:16px;
  background:rgba(34,197,94,.1);
  border:1px solid rgba(34,197,94,.3);
  border-radius:12px;
  color:var(--accent2);
  text-align:center;
  margin-bottom:16px;
}
.form-success.show{display:block}

/* ================= FOOTER ================= */
.footer-mini{
  padding:32px 0 60px;
  text-align:center;
  font-size:13px;
  color:var(--muted);
  border-top:1px solid var(--stroke);
  margin-top:60px;
}

/* ================= RESPONSIVE ================= */
@media (min-width:768px){
  .process-track{
    grid-template-columns:repeat(2,1fr);
  }
}
@media (min-width:1024px){
  .process-track{
    grid-template-columns:repeat(3,1fr);
  }
}
@media (max-width:920px){
  .hero-grid{grid-template-columns:1fr}
  h1{font-size:32px}
  .profile-cards{grid-template-columns:1fr}
  .nav-links{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:rgba(11,15,25,.98);
    border-bottom:1px solid var(--stroke);
    flex-direction:column;
    padding:12px 18px;
  }
  .nav-links.active{display:flex}
  .menu-toggle{display:block}
  .cta-row{grid-template-columns:1fr}
}
@media (max-width:720px){
  .form-grid{grid-template-columns:1fr}
  h1{font-size:28px}
  h2{font-size:28px}
  .actions{flex-direction:column}
  .actions .btn{width:100%}
}
