:root {
    --bg: #0b0c10;
    --bg-card: #15171f;
    --border: #262a36;
    --border-soft: #1d202a;
    --border-focus: #7c8cff;
    --text: #f3f4f8;
    --text-muted: #9a9db0;
    --text-dim: #6b6e80;
    --accent-a: #6c7bff;
    --accent-b: #a06cff;
    --accent-grad: linear-gradient(135deg, var(--accent-a), var(--accent-b));
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

body.about-body {
    margin: 0;
    background:
        radial-gradient(1100px 480px at 15% -10%, rgba(108, 123, 255, 0.16), transparent 60%),
        radial-gradient(900px 420px at 100% 0%, rgba(160, 108, 255, 0.12), transparent 55%),
        var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------- Topbar */

.about-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 28px;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(11, 12, 16, 0.72);
    border-bottom: 1px solid var(--border-soft);
}

.about-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -.01em;
}

.about-logo .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--accent-grad);
    color: #fff;
    font-size: 13px;
}

.about-topnav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0 auto 0 32px;
}

.about-topnav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.about-topnav a:hover { color: var(--text); }

.about-back-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    white-space: nowrap;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.about-back-link:hover { color: var(--text); border-color: var(--border-focus); background: rgba(124, 140, 255, 0.08); }

/* ---------------------------------------------------------- Layout */

.about-main {
    max-width: 980px;
    margin: 0 auto;
    padding: 56px 24px 100px;
}

.about-hero {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}

.about-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -.02em;
}

.about-hero p {
    margin: 0;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.about-section {
    max-width: 720px;
    margin: 0 auto 56px;
}

.about-section h2 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 800;
}

.about-section p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ---------------------------------------------------------- Feature grid */

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 64px;
}

.about-grid article {
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: var(--accent-grad);
    color: #fff;
    font-size: 15px;
}

.about-grid h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
}

.about-grid p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.about-grid a {
    color: var(--accent-a);
    text-decoration: none;
    font-weight: 600;
}
.about-grid a:hover { text-decoration: underline; }

/* ---------------------------------------------------------- CTA */

.about-cta {
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 32px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.about-cta h2 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
}

.about-cta p {
    margin: 0 0 22px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.about-cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.about-cta-primary,
.about-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.about-cta-primary {
    background: var(--accent-grad);
    color: #fff;
}
.about-cta-primary:hover { opacity: .92; }

.about-cta-secondary {
    border: 1px solid var(--border);
    color: var(--text);
}
.about-cta-secondary:hover { border-color: var(--border-focus); background: rgba(124, 140, 255, 0.08); }

/* ---------------------------------------------------------- Footer */

.about-footer {
    padding: 28px 24px 48px;
    text-align: center;
}

.footer-copy {
    margin: 0 0 10px;
    color: var(--text-dim);
    font-size: 12px;
}

.about-footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.about-footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 12px;
}
.about-footer-links a:hover { color: var(--text-muted); }

@media (max-width: 620px) {
    .about-topnav { display: none; }
}
