@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #070b18;
  --panel: #0d1326;
  --panel-2: #111a32;
  --line: rgba(190, 204, 245, .14);
  --text: #f5f5fb;
  --muted: #a5aec9;
  --pink: #ff5fa2;
  --pink-2: #ff8abb;
  --pink-soft: rgba(255, 95, 162, .12);
  --blue: #9ab2ff;
  --shadow: 0 24px 70px rgba(0,0,0,.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 79, 154, .10), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(110, 137, 255, .07), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Manrope, Inter, system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }

body::before, body::after {
  content: "✿";
  position: fixed;
  color: rgba(255, 105, 166, .10);
  font-size: 120px;
  pointer-events: none;
  z-index: -1;
}
body::before { right: 4%; top: 8%; transform: rotate(15deg); }
body::after { left: 2%; bottom: 4%; transform: rotate(-20deg); }

.installer-shell {
  width: min(1380px, calc(100vw - 42px));
  min-height: min(850px, calc(100vh - 42px));
  margin: 21px auto;
  display: grid;
  grid-template-columns: 285px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 15, 31, .92);
  box-shadow: var(--shadow);
}

.sidebar {
  display: flex;
  flex-direction: column;
  padding: 27px 22px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(20,27,52,.95), rgba(9,13,27,.98)),
    radial-gradient(circle at 10% 90%, rgba(255,95,162,.14), transparent 35%);
}

.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 38px; }
.brand-flower {
  font-size: 37px;
  line-height: 1;
  color: var(--pink-2);
  text-shadow: 0 0 20px rgba(255,95,162,.5);
}
.brand strong { display: block; font-size: 18px; letter-spacing: -.5px; }
.brand span { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }

.sidebar-caption, .eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #8f98b5;
}
.sidebar-caption { padding: 0 10px 12px; }

.steps { display: grid; gap: 7px; }
.step {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: #aeb7d1;
  transition: .2s ease;
}
.step:hover, .step:focus-visible { background: var(--pink-soft); border-color: rgba(255,95,162,.18); color: white; }
.step-number {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 12px;
}
.step b { display: block; font-size: 12px; color: inherit; }
.step small { display: block; margin-top: 2px; font-size: 10px; color: #737d9e; }

.sidebar-bottom { margin-top: auto; }
.mini-card {
  display: flex; align-items: center; gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
}
.mini-icon {
  display: grid; place-items: center;
  width: 31px; height: 31px;
  border-radius: 8px;
  background: var(--pink-soft);
  color: var(--pink-2);
}
.mini-card b { display: block; font-size: 10px; }
.mini-card small { color: #737d9e; font-size: 9px; }
.quote { margin: 18px 5px 0; color: #747e9d; font-size: 10px; line-height: 1.65; }

.content {
  position: relative;
  min-width: 0;
  padding: 0 38px 22px;
  background:
    radial-gradient(circle at 84% 18%, rgba(255,95,162,.08), transparent 28%),
    linear-gradient(140deg, rgba(19,26,50,.55), rgba(7,11,24,.25));
}

.topbar {
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.topbar > div:first-child { display: flex; align-items: center; gap: 14px; }
.status { font-size: 10px; color: #9ca6c2; }
.status i {
  display: inline-block; width: 6px; height: 6px; margin-right: 6px;
  border-radius: 50%; background: #62e5c0; box-shadow: 0 0 10px #62e5c0;
}
.top-actions { display: flex; gap: 7px; }
.icon-button {
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.025);
  color: #dbe1f2;
}

.screen {
  display: none;
  min-height: 690px;
  padding: 65px 10px 25px;
  position: relative;
}
.screen:target { display: block; }
body:not(:has(.screen:target)) #welcome { display: block; }

.hero-copy { max-width: 760px; }
.flower-large {
  color: var(--pink);
  font-size: 40px;
  line-height: .7;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(255,95,162,.45);
}
.pink { color: var(--pink-2); }
h1 {
  margin: 12px 0 15px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -2.8px;
}
h1 em { color: var(--pink-2); font-style: normal; }
.lead { max-width: 650px; color: #b3bad0; font-size: 16px; line-height: 1.8; }

.info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 48px; max-width: 900px;
}
.info-card {
  min-height: 88px; display: flex; gap: 13px; align-items: center;
  padding: 17px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(17,25,49,.6);
}
.card-icon {
  display: grid; place-items: center; width: 35px; height: 35px;
  border-radius: 9px; color: var(--pink-2);
  background: var(--pink-soft); border: 1px solid rgba(255,95,162,.15);
}
.info-card b { display: block; font-size: 11px; }
.info-card small { display: block; color: #77819e; font-size: 9px; margin-top: 5px; }

.bottom-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 48px;
}
.hint { color: #727d9b; font-size: 10px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 0 20px; border-radius: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: .1px;
  transition: .2s ease;
}
.button.primary {
  color: #190b15;
  background: linear-gradient(135deg, #ff5f9f, #ff8aba);
  box-shadow: 0 9px 28px rgba(255,95,162,.22);
}
.button.primary:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(255,95,162,.32); }
.button.ghost {
  border: 1px solid #38425f;
  color: #bfc7dc;
  background: rgba(255,255,255,.015);
}
.button.ghost:hover { border-color: rgba(255,95,162,.45); color: white; }

.section-heading { max-width: 760px; }
h2 { margin: 11px 0 10px; font-size: 32px; letter-spacing: -1.3px; }
.section-heading p { color: #8f99b6; font-size: 12px; line-height: 1.7; }

.profile-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 13px; margin-top: 35px; max-width: 950px;
}
.profile-card {
  position: relative; display: block; min-height: 190px; padding: 22px;
  border: 1px solid #293452; border-radius: 12px;
  background: rgba(17,25,49,.55); cursor: pointer;
  transition: .2s ease;
}
.profile-card:hover { border-color: #536080; transform: translateY(-1px); }
.profile-card:has(input:checked) { border-color: var(--pink); box-shadow: inset 0 0 0 1px rgba(255,95,162,.18), 0 0 28px rgba(255,95,162,.07); }
.profile-card input, .choice input { position: absolute; opacity: 0; }
.radio {
  position: absolute; right: 18px; top: 18px; width: 17px; height: 17px;
  border: 1px solid #536080; border-radius: 50%;
}
.profile-card:has(input:checked) .radio, .choice:has(input:checked) .radio {
  border-color: var(--pink);
  box-shadow: inset 0 0 0 4px #10172c;
  background: var(--pink);
}
.profile-icon {
  display: grid; place-items: center; width: 43px; height: 43px;
  border-radius: 11px; margin-bottom: 16px;
  background: rgba(140,155,255,.10); color: #aebeff; font-size: 22px;
}
.profile-card:nth-child(1) .profile-icon, .profile-card:nth-child(4) .profile-icon { color: var(--pink-2); background: var(--pink-soft); }
.profile-title { display: block; font-size: 13px; font-weight: 800; }
.profile-text { display: block; margin-top: 7px; max-width: 410px; color: #7f89a6; font-size: 10px; line-height: 1.65; }
.tags { display: flex; gap: 5px; margin-top: 13px; }
.tags i {
  font-style: normal; padding: 4px 7px; border-radius: 5px;
  color: #919bb9; background: rgba(122,145,220,.09); font-size: 8px;
}

.disk-card, .summary, .install-preview {
  max-width: 950px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(17,25,49,.58);
}
.disk-card { margin-top: 34px; padding: 20px; }
.disk-header { display: flex; align-items: center; gap: 13px; }
.disk-symbol { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; color: var(--pink-2); background: var(--pink-soft); }
.disk-header b, .disk-header small { display: block; }
.disk-header b { font-size: 12px; }
.disk-header small { color: #78839f; font-size: 9px; margin-top: 4px; }
.disk-ok { margin-left: auto; color: #6de0c4; font-size: 9px; }
.storage { margin-top: 22px; }
.storage-bar { height: 7px; border-radius: 10px; overflow: hidden; background: #252e48; }
.storage-bar span { display: block; width: 25%; height: 100%; background: linear-gradient(90deg, var(--pink), #9f9aff); }
.storage-labels { display: flex; justify-content: space-between; margin-top: 8px; color: #6f7a98; font-size: 9px; }
.storage-labels b { color: #c0c7d9; }

.choice-list { display: grid; gap: 10px; max-width: 950px; margin-top: 14px; }
.choice {
  position: relative; display: flex; gap: 15px; align-items: center;
  padding: 16px 19px; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; background: rgba(17,25,49,.35);
}
.choice:has(input:checked) { border-color: rgba(255,95,162,.55); background: var(--pink-soft); }
.choice .radio { position: relative; right: auto; top: auto; flex: 0 0 17px; }
.choice b, .choice small { display: block; }
.choice b { font-size: 11px; }
.choice small { margin-top: 4px; color: #7b86a2; font-size: 9px; }
.warning {
  max-width: 950px; margin-top: 14px; padding: 12px 15px;
  border: 1px solid rgba(244,184,82,.18); border-radius: 9px;
  color: #c9ae78; background: rgba(244,184,82,.05); font-size: 9px;
}

.user-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 15px;
  max-width: 950px; margin-top: 35px;
}
.user-form label { color: #aab3cb; font-size: 10px; font-weight: 700; }
.user-form input {
  width: 100%; margin-top: 8px; padding: 13px 14px; outline: none;
  color: white; border: 1px solid #293452; border-radius: 9px;
  background: rgba(10,16,32,.7); font: inherit; font-size: 11px;
}
.user-form input:focus { border-color: rgba(255,95,162,.65); box-shadow: 0 0 0 3px rgba(255,95,162,.08); }
.checkbox {
  display: flex; align-items: center; gap: 9px; margin-top: 18px;
  color: #8d97b3; font-size: 10px;
}
.checkbox input { accent-color: var(--pink); }

.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 34px; overflow: hidden; }
.summary div { padding: 16px 19px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.summary span, .summary b { display: block; }
.summary span { color: #727e9c; font-size: 9px; }
.summary b { margin-top: 5px; font-size: 11px; }

.install-preview { margin-top: 14px; overflow: hidden; }
.terminal-head { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-bottom: 1px solid var(--line); background: #141c34; }
.terminal-head i { width: 6px; height: 6px; border-radius: 50%; background: #606a84; }
.terminal-head span { margin-left: 8px; color: #79839f; font: 9px monospace; }
.terminal-body { padding: 16px 19px; font: 10px/1.8 monospace; color: #c3c9d8; }
.terminal-body p { margin: 0; }
.muted { color: #66718f; }
.pink-text { color: var(--pink-2); }
.cursor b { color: var(--pink-2); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

footer {
  position: absolute; bottom: 20px; left: 48px;
  color: #535e7c; font-size: 9px;
}
footer span { color: var(--pink); padding: 0 5px; }

@media (max-width: 900px) {
  .installer-shell { grid-template-columns: 1fr; width: calc(100vw - 20px); margin: 10px; }
  .sidebar { display: none; }
  .content { padding: 0 22px 22px; }
  .info-grid, .profile-grid, .user-form { grid-template-columns: 1fr; }
  .screen { min-height: 760px; padding-top: 45px; }
  footer { left: 22px; }
}
