:root {
    --bg: #08111f;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.72);
    --panel-border: rgba(255, 255, 255, 0.08);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --primary: #60a5fa;
    --secondary: #f472b6;
    --accent: #38bdf8;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.14), transparent 30%),
        radial-gradient(circle at top right, rgba(244, 114, 182, 0.12), transparent 28%),
        linear-gradient(180deg, #050b16 0%, var(--bg) 42%, #07101f 100%);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.bg-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.45;
    animation: drift 16s ease-in-out infinite alternate;
}

.orb-1 {
    width: 320px;
    height: 320px;
    background: rgba(96, 165, 250, 0.55);
    top: -120px;
    left: -80px;
}

.orb-2 {
    width: 260px;
    height: 260px;
    background: rgba(244, 114, 182, 0.5);
    top: 14%;
    right: -60px;
    animation-delay: -6s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(56, 189, 248, 0.32);
    bottom: -120px;
    left: 28%;
    animation-delay: -10s;
}

@keyframes drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(40px, 24px, 0) scale(1.08);
    }
}

.glass-panel {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hero-shell {
    position: relative;
    z-index: 1;
    padding: 56px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr;
    gap: 28px;
    align-items: stretch;
}

.hero-copy,
.hero-card,
.section,
.author-section {
    position: relative;
}

.hero-copy {
    padding: 28px 4px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.74rem;
    color: var(--muted);
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 18px 50px rgba(59, 130, 246, 0.18);
}

h1 {
    margin: 0;
    font-size: clamp(3rem, 7vw, 5.4rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.tagline {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 55ch;
}

.hero-text {
    margin: 22px 0 0;
    max-width: 68ch;
    color: #dbe4f0;
    font-size: 1.08rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #05101d;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    box-shadow: 0 16px 32px rgba(56, 189, 248, 0.22);
}

.btn-secondary {
    background: linear-gradient(135deg, #f472b6, #fb7185);
    color: #fff;
    box-shadow: 0 16px 32px rgba(244, 114, 182, 0.18);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.hero-card {
    border-radius: 28px;
    padding: 28px;
}

.hero-card h2,
.section-heading h2,
.author-section h2 {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.quick-list {
    margin: 18px 0 0;
    padding-left: 18px;
    color: #dbe4f0;
}

.quick-list li {
    margin-bottom: 12px;
}

.page-main {
    position: relative;
    z-index: 1;
    padding: 14px 0 60px;
}

.section {
    margin-top: 34px;
}

.section-heading {
    margin-bottom: 18px;
}

.section-heading h2 {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.grid-2,
.grid-3 {
    display: grid;
    gap: 18px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-panel,
.install-panel,
.note-panel,
.author-section {
    border-radius: 24px;
    padding: 24px;
}

.feature-panel h3,
.install-panel h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.feature-panel p,
.install-panel p,
.author-section p,
.note-panel p {
    margin: 0;
    color: #d1dbe9;
}

.platform-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.platform-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #eff6ff;
}

.inline-link {
    display: inline-block;
    margin-top: 14px;
    color: #8fd3ff;
    font-weight: 700;
    text-decoration: none;
}

.inline-link:hover {
    text-decoration: underline;
}

.author-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 18px;
    align-items: center;
}

.author-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: flex-start;
}

.note-panel {
    color: #e2e8f0;
}

.footer {
    position: relative;
    z-index: 1;
    padding: 28px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 11, 22, 0.4);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .hero-grid,
    .grid-2,
    .grid-3,
    .author-layout {
        grid-template-columns: 1fr;
    }

    .brand-row {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .hero-shell {
        padding-top: 30px;
    }

    .hero-copy {
        padding: 8px 0;
    }

    .brand-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-icon {
        width: 84px;
        height: 84px;
    }

    .cta-row,
    .author-links {
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}