
:root {
    --bg:        #0b1230;  /* page */
    --bg-alt:    #0e1637;  /* alternate sections */
    --surface:   #131c45;  /* cards, mockups */
    --surface-2: #1a2454;  /* raised / hover */
    --border:    #24306a;
    --border-soft: #1e2a5e;
    --text:      #eef2ff;
    --muted:     #a6b2d8;
    --faint:     #7f8bb5;
    --accent:    #9cc3ff;  /* logo periwinkle */
    --blue:      #3b6ef5;
    --blue-dark: #2f5fe0;
    --ok:        #4ade80;
    --amber:     #fcd9a8;
    --radius:    14px;
    --radius-lg: 20px;
    --font:      "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono:      "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p  { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px; padding: 12px 22px;
    font: 600 .95rem/1 var(--font);
    color: #fff; background: var(--blue);
    border: 1px solid var(--blue); border-radius: 10px;
    transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn i { font-size: .9em; }
.btn-small  { min-height: 42px; padding: 10px 18px; font-size: .9rem; }
.btn-large  { min-height: 52px; padding: 15px 26px; font-size: 1rem; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { background: var(--surface); border-color: var(--accent); }

/* ---------- Header (static) ---------- */
.site-header { position: static; background: var(--bg); border-bottom: 1px solid var(--border-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand img { width: 124px; height: auto; }
.nav-links { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .15s; }
.nav-links a:hover { color: var(--text); }

/* ---------- Eyebrow ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 18px;
}

/* ---------- Hero ---------- */
.hero { padding: 92px 0 104px; border-bottom: 1px solid var(--border-soft); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.accent { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: .92rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points i { color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Overview cards */
.overview-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.overview-card {
    display: flex; flex-direction: column;
    padding: 24px; color: var(--text);
    background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius);
    transition: border-color .15s, background .15s;
}
.overview-card:hover { border-color: var(--accent); background: var(--surface-2); }
.overview-card h3 { margin: 18px 0 6px; }
.overview-card p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: .88rem; }
.icon-box {
    width: 46px; height: 46px; border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(156, 195, 255, .1); border: 1px solid rgba(156, 195, 255, .2);
    color: var(--accent); font-size: 1.1rem;
}

/* Detail sections */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.detail.reverse .detail-copy { order: 2; }
.detail-copy > p { color: var(--muted); font-size: 1.07rem; margin-bottom: 28px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list li > i {
    flex: none; width: 38px; height: 38px; border-radius: 10px;
    display: grid; place-items: center;
    background: var(--surface); border: 1px solid var(--border-soft);
    color: var(--accent); font-size: .95rem;
}
.feature-list strong { display: block; font-size: 1rem; }
.feature-list span { color: var(--muted); font-size: .95rem; }

/* ---------- Mockups (shared) ---------- */
.mock {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6);
    overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border-soft); }
.mock-bar-title { display: flex; flex-direction: column; line-height: 1.3; }
.mock-bar-title strong { font-size: .95rem; }
.mock-bar-title small { color: var(--faint); font-size: .78rem; display: flex; align-items: center; gap: 6px; }
.bar-icons { margin-left: auto; display: flex; gap: 16px; color: var(--faint); font-size: .85rem; }
.accent-icon { color: var(--accent); font-size: 1.1rem; }
.online-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); display: inline-block; flex: none; }
.pill {
    margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
    font-size: .74rem; font-weight: 600; color: var(--accent);
    background: rgba(156, 195, 255, .1); padding: 5px 10px; border-radius: 999px;
}
.pill-ok { color: var(--ok); background: rgba(74, 222, 128, .1); }

.avatar {
    flex: none; width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 700; font-size: .9rem; color: var(--bg);
}
.avatar-xs { width: 18px; height: 18px; font-size: .6rem; }
.avatar-sm { width: 30px; height: 30px; font-size: .8rem; }
.avatar-lg { width: 52px; height: 52px; font-size: 1.2rem; }
.avatar-xl { width: 76px; height: 76px; font-size: 1.7rem; border: 4px solid var(--surface); }
.av-amber { background: var(--amber); }
.av-blue  { background: var(--accent); }

.chat-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 10px; align-items: flex-start; }
.msg b { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--text); }
.msg p { margin: 4px 0 0; padding: 9px 13px; background: var(--surface-2); border-radius: 4px 12px 12px 12px; font-size: .92rem; color: #dbe3fa; }
.msg.mine { justify-content: flex-end; text-align: right; }
.msg.mine p { background: var(--blue); color: #fff; border-radius: 12px 4px 12px 12px; display: inline-block; }
.tag-vip { font-size: .65rem; font-weight: 700; color: #f6c453; background: rgba(246, 196, 83, .12); padding: 2px 7px; border-radius: 999px; }
.receipt, .ptime { display: block; font-size: .72rem; color: var(--faint); margin-top: 4px; }
.receipt i { color: var(--accent); }
.mock-input {
    display: flex; align-items: center; gap: 12px;
    margin: 0 16px 16px; padding: 8px 8px 8px 16px;
    background: var(--bg); border: 1px solid var(--border-soft); border-radius: 999px;
    color: var(--faint); font-size: .9rem;
}
.mock-input span:nth-child(2) { flex: 1; }
.send { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: .8rem; }
.mbtn {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    padding: 9px 14px; border-radius: 9px; font-size: .85rem; font-weight: 600;
    background: var(--blue); color: #fff;
}
.mbtn-alt { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.mbtn-sm { margin-left: auto; padding: 6px 12px; font-size: .78rem; }
.muted-sm { color: var(--faint); font-size: .82rem; display: flex; align-items: center; gap: 6px; }

/* Profile View mock */
.profile-mock { max-width: 440px; margin-inline: auto; width: 100%; }
.pm-cover { height: 120px; background: #26336e; position: relative; border-bottom: 1px solid var(--border); }
.pm-cover-icon { position: absolute; right: 16px; top: 14px; color: rgba(156, 195, 255, .4); font-size: 2.2rem; }
.pm-head { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 14px; padding: 0 22px; margin-top: -38px; }
.pm-name { font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.verified { color: var(--accent); font-size: .9rem; }
.pm-rank { color: #f6c453; font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.pm-mood { padding: 14px 22px 0; margin: 0; color: var(--muted); font-style: italic; font-size: .92rem; }
.pm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px 22px; }
.pm-stats div { background: var(--bg); border: 1px solid var(--border-soft); border-radius: 10px; padding: 12px; text-align: center; }
.pm-stats i { color: var(--accent); display: block; margin-bottom: 4px; }
.pm-stats span { font-size: .78rem; color: var(--muted); }
.pm-badges { display: flex; gap: 8px; padding: 0 22px 18px; }
.pm-badges span { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); }
.pm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 22px 22px; }

/* Read receipts mock */
.pmchat-mock { max-width: 440px; margin-inline: auto; width: 100%; }
.seen-row { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 4px; }
.seen-row .ptime { margin: 0; }
.seen { font-size: .72rem; color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.typing-row { display: flex; align-items: center; gap: 8px; }
.typing { display: inline-flex; gap: 4px; padding: 8px 12px; background: var(--surface-2); border-radius: 999px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

/* Profile Music mock */
.music-mock { max-width: 440px; margin-inline: auto; width: 100%; padding: 24px; }
.mm-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.mm-player { display: flex; gap: 16px; align-items: center; background: var(--bg); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 16px; }
.mm-art { flex: none; width: 72px; height: 72px; border-radius: 12px; display: grid; place-items: center; background: #26336e; color: var(--accent); font-size: 2rem; }
.mm-info { flex: 1; min-width: 0; }
.mm-info strong { display: block; }
.mm-info > span { color: var(--muted); font-size: .85rem; }
.mm-progress { height: 5px; border-radius: 999px; background: var(--surface-2); margin-top: 12px; overflow: hidden; }
.mm-progress span { display: block; width: 33%; height: 100%; background: var(--accent); }
.mm-times { display: flex; justify-content: space-between; font-size: .72rem; color: var(--faint); margin-top: 4px; }
.mm-controls { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 20px; color: var(--muted); font-size: 1.05rem; position: relative; }
.mm-play { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; }
.eq { position: absolute; right: 0; display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.eq span { width: 4px; background: var(--accent); border-radius: 2px; animation: eq 1s infinite ease-in-out; }
.eq span:nth-child(1) { animation-delay: 0s; }
.eq span:nth-child(2) { animation-delay: .2s; }
.eq span:nth-child(3) { animation-delay: .4s; }
.eq span:nth-child(4) { animation-delay: .1s; }
.eq span:nth-child(5) { animation-delay: .3s; }
@keyframes eq { 0%, 100% { height: 6px; } 50% { height: 22px; } }

/* Profile Styler mock */
.styler-mock { max-width: 480px; margin-inline: auto; width: 100%; }
.st-body { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 20px; }
.st-preview { background: var(--bg); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; text-align: center; padding-bottom: 16px; }
.st-cover { height: 70px; background: #3b2f6e; }
.st-av { margin: -26px auto 8px; border: 3px solid var(--bg); }
.st-name { font-weight: 800; color: #c9b6ff; }
.st-preview .muted-sm { justify-content: center; }
.st-label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 0 0 8px; }
.st-label:not(:first-child) { margin-top: 16px; }
.st-covers, .st-swatches, .st-toggle { display: flex; gap: 8px; }
.st-covers span { width: 44px; height: 28px; border-radius: 6px; border: 2px solid transparent; }
.st-covers .c1 { background: #3b2f6e; } .st-covers .c2 { background: #1f4a5e; } .st-covers .c3 { background: #5e2a3f; }
.st-swatches span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; }
.st-swatches .s1 { background: #c9b6ff; } .st-swatches .s2 { background: var(--accent); } .st-swatches .s3 { background: #7ee0c3; } .st-swatches .s4 { background: #ffb38a; }
.st-covers .on, .st-swatches .on { border-color: #fff; }
.st-toggle span { width: 40px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); font-size: .85rem; }
.st-toggle .on { background: var(--blue); color: #fff; }

/* Security mock */
.security-mock { max-width: 460px; margin-inline: auto; width: 100%; }
.sec-rows { list-style: none; margin: 0; padding: 10px 20px 20px; }
.sec-rows li { display: grid; grid-template-columns: 1fr auto 20px; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); font-size: .92rem; }
.sec-rows li:last-child { border-bottom: 0; }
.sec-rows li > span { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.sec-rows li > span i { width: 18px; text-align: center; color: var(--accent); }
.sec-rows code { font-family: var(--mono); font-size: .82rem; color: var(--text); background: var(--bg); border: 1px solid var(--border-soft); padding: 3px 8px; border-radius: 6px; }
.ok { color: var(--ok); }

/* Extras */
.extras-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.extra { padding: 26px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); }
.extra h3 { margin: 18px 0 8px; }
.extra p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- CTA ---------- */
.cta { padding: 100px 0; }
.cta-box {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
    padding: 48px 52px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.cta-box h2 { margin-bottom: .3em; }
.cta-box p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer { background: #070b1f; border-top: 1px solid var(--border-soft); color: var(--faint); padding: 44px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner img { width: 100px; height: auto; }
.footer-inner p { margin: 0; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 24px; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .overview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .extras-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .hero-grid, .detail { grid-template-columns: 1fr; gap: 48px; }
    .detail.reverse .detail-copy { order: 0; }
    .nav-links { display: none; }
    .hero { padding: 64px 0 80px; }
    .section, .cta { padding: 76px 0; }
    .cta-box { padding: 36px 28px; }
}
@media (max-width: 600px) {
    .overview-grid, .extras-grid { grid-template-columns: 1fr; }
    .brand img { width: 104px; }
    .btn-small { padding: 10px 14px; }
    .hero-actions .btn { width: 100%; }
    .st-body { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
