:root {
    --bg: #050506;
    --bg-alt: #0e0e11;
    --text: #abb2ba;
    --text-bright: #e5e5e5;
    --accent: #6261ef;
    --accent-warm: #e5c07b;
    --accent-green: #98c379;
    --border: #1e1e24;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER */
header {
    background: rgba(14, 14, 17, 0.65);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
header .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 3px;
    min-width: 100px;
    text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo span { color: var(--accent-warm); }

nav { display: flex; gap: 8px; flex-wrap: wrap; }
nav a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
    transition: background 0.2s;
}
nav a:hover { background: var(--border); text-decoration: none; }
nav a.active { color: var(--text-bright); background: rgba(97, 175, 239, 0.12); }

/* HERO */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}
.hero h1 {
    font-size: 42px;
    color: var(--text-bright);
    margin-bottom: 24px;
    line-height: 1.3;
}
.hero p {
    font-size: 20px;
    max-width: 640px;
    margin: 0 auto 40px;
    color: var(--text);
}
.hero-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    transition: background 0.2s, transform 0.15s;
}
.hero-btn:hover { background: #4f4ed0; text-decoration: none; transform: translateY(-1px); }


/* SECTIONS */
section { padding: 30px 0; }
section h1 {
    font-size: 38px;
    color: var(--text-bright);
    margin-bottom: 20px;
}
section h2 {
    font-size: 32px;
    color: var(--text-bright);
    margin-bottom: 20px;
}
section h3 {
    font-size: 22px;
    color: var(--accent-warm);
    margin: 32px 0 12px;
}
section > p { margin-bottom: 20px; }

/* LIGHT BOX */
.light-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 40px;
    margin: 24px 0;
}
.light-box p { margin-bottom: 14px; }
.light-box h3 {
    color: var(--accent-warm);
    font-size: 20px;
    margin: 28px 0 12px;
}
.light-box h3:first-child { margin-top: 0; }

/* ELEVATOR STORY */
.story {
    padding-left: 28px;
    margin: 30px 0;
}
.story h3 {
    color: var(--accent);
    margin-top: 0;
    font-size: 20px;
}

/* CODE */
code {
    background: #1e1e24;
    color: var(--accent-warm);
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 16px;
}

/* SIMPLE LIST */
ul.simple { padding-left: 28px; margin-top: 16px; margin-bottom: 20px; }
ul.simple li { margin-bottom: 8px; }
ol.simple { padding-left: 40px; margin-top: 16px; margin-bottom: 20px; }
ol.simple li { margin-bottom: 8px; padding-left: 8px; text-indent: -8px; }

/* BADGES */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.badge-green { background: rgba(152,195,121,0.15); color: var(--accent-green); }
.badge-blue  { background: rgba(97,175,239,0.15); color: var(--accent); }
.badge-warm  { background: rgba(229,192,123,0.15); color: var(--accent-warm); }

/* STORY BOXES */
/*.story {
    border-left: 3px solid var(--accent);
    padding: 20px 28px;
    margin: 30px 0;
    background: rgba(97, 175, 239, 0.04);
    border-radius: 0 12px 12px 0;
}
.story h3 {
    color: var(--accent);
    margin-top: 0;
    font-size: 20px;
}*/

.nav-story {
    padding-left: 28px;
    margin: 30px 0;
}
.nav-story h3 {
    color: var(--accent-warm);
    margin-top: 0;
    font-size: 20px;
}

.story-box {
    border-left: 3px solid var(--accent);
    padding: 20px 28px;
    margin: 30px 0;
    background: rgba(97,175,239,0.04);
    border-radius: 0 12px 12px 0;
}
.story-box h3 {
    color: var(--accent);
    margin-top: 0;
    font-size: 20px;
}
.story-box p { margin-bottom: 10px; }

.privacy-box {
    border-left: 3px solid var(--accent-green);
    padding: 20px 28px;
    margin: 30px 0;
    background: rgba(152,195,121,0.04);
    border-radius: 0 12px 12px 0;
}
.privacy-box h3 {
    color: var(--accent-green);
    margin-top: 0;
    font-size: 20px;
}

/* OPTION BOX */
.option-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 36px;
    margin: 24px 0;
}
.option-box h3 { color: var(--text-bright); margin-top: 0; }

/* CARDS (from index page) */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}
.card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 30px;
    transition: border-color 0.2s;
}
.card:hover { border-color: var(--accent); }
.card h3 {
    color: var(--text-bright);
    font-size: 20px;
    margin: 0 0 12px;
}
.card .icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

/* CTA BOX */
.cta-box {
    background: var(--accent);
    color: #fff;
    border-radius: 14px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}
.cta-box h2 { color: #fff; font-size: 28px; margin-bottom: 16px; }
.cta-box p { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 24px; }
.cta-box a {
    display: inline-block;
    background: #fff;
    color: #1a1a2e;
    padding: 14px 36px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 17px;
    transition: background 0.2s;
}
.cta-box a:hover { background: #f0f0f0; text-decoration: none; }

/* CONTACT BOX */
.contact-box {
    background: var(--accent);
    color: #fff;
    border-radius: 14px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}
.contact-box h3 { color: #fff; font-size: 24px; margin-bottom: 12px; }
.contact-box p { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 20px; }
.contact-box a {
    display: inline-block;
    background: #fff;
    color: #1a1a2e;
    padding: 14px 36px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 17px;
    transition: background 0.2s;
}
.contact-box a:hover { background: #f0f0f0; text-decoration: none; }

/* STEP LISTS */
.steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
}
.steps li {
    counter-increment: step;
    padding: 16px 0 16px 56px;
    position: relative;
    border-bottom: 1px solid var(--border);
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
    content: counter(step) ".";
    position: absolute;
    left: 0;
    top: 16px;
    width: 38px;
    height: 38px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.step-list {
    list-style: none;
    counter-reset: step;
    padding: 0;
}
.step-list li {
    counter-increment: step;
    padding: 24px 0 24px 64px;
    position: relative;
    border-bottom: 1px solid var(--border);
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
    content: counter(step) ".";
    position: absolute;
    left: 0;
    top: 24px;
    width: 42px;
    height: 42px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

/* VALUES LIST */
.values-list {
    list-style: none;
    padding: 0;
}
.values-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.values-list li:last-child { border-bottom: none; }
.values-list .icon {
    font-size: 24px;
    min-width: 32px;
    text-align: center;
}

/* TABLES */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    margin: 20px 0;
}
th {
    background: var(--bg-alt);
    color: var(--text-bright);
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid var(--border);
}
td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
}
tr:last-child td { border-bottom: none; }

/* FOOTER */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    margin-top: 40px;
    text-align: center;
    color: var(--text);
    font-size: 15px;
}
footer a { color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 640px) {
    section h2 { font-size: 26px; }
    nav { gap: 4px; }
    nav a { padding: 6px 10px; font-size: 13px; }
    .light-box { padding: 24px; }
    table { display: block; overflow-x: auto; }
}
