* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f8f9ff;
    --text: #161c34;
    --muted: #626a88;
    --line: rgba(121, 136, 186, 0.26);
    --accent: #8c52ff;
    --accent-2: #bb76ff;
    --shadow: 0 18px 44px rgba(20, 28, 52, 0.14);
}

body {
    font-family: "Instrument Sans", "Segoe UI", sans-serif;
    font-size: 16px;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(66, 86, 144, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 86, 144, 0.1) 1px, transparent 1px);
    background-size: 52px 52px;
    opacity: 0.34;
    pointer-events: none;
    z-index: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.navbar {
    width: min(1180px, calc(100% - 32px));
    margin: 16px auto 0;
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(247, 250, 255, 0.95), rgba(234, 240, 255, 0.9));
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.04rem;
}

.brand-text small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.78rem;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: 100%;
    max-width: 560px;
    gap: 18px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2e3859;
    opacity: 0.95;
    transition: color 0.2s, opacity 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #5a33d1;
    opacity: 1;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: end;
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid rgba(172, 184, 220, 0.62);
    background: rgba(255, 255, 255, 0.65);
    color: #384264;
}

.nav-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(172, 184, 220, 0.7);
    background: rgba(255, 255, 255, 0.95);
    transition: transform 0.2s, color 0.2s, background 0.2s;
}

.nav-socials a:hover {
    color: #101733;
    background: #ffffff;
    transform: translateY(-1px);
}

.nav-cta {
    padding: 8px 13px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 22px rgba(155, 95, 255, 0.33);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(155, 95, 255, 0.45);
}

.page {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 30px;
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
}

.card {
    border-radius: 28px;
    border: 1px solid var(--line);
    background: linear-gradient(150deg, #6a3ff0 0%, #4f2cb8 56%, #3a1f8e 100%);
    box-shadow: var(--shadow);
    color: #f8f2ff;
}

.hero {
    padding: 34px 34px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 24px;
    align-items: center;
    overflow: hidden;
}

.hero-copy {
    transform: translateY(-10px);
}

.eyebrow {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(241, 233, 255, 0.36);
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.82rem;
    margin-bottom: 16px;
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.94;
    font-size: clamp(2.5rem, 5.7vw, 4.1rem);
    max-width: 11ch;
    color: #ffffff;
    text-shadow: 0 8px 24px rgba(46, 20, 120, 0.32);
}

.hero h1 span {
    background: linear-gradient(135deg, #d8a6ff 0%, #b884ff 42%, #8f5dff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    margin-top: 14px;
    color: rgba(238, 231, 255, 0.92);
    font-size: 1rem;
    max-width: 66ch;
    line-height: 1.6;
}

.hero-render-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: end;
    min-height: 320px;
    position: relative;
    isolation: isolate;
}

.hero-render-wrap::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: 20px;
    bottom: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(176, 132, 255, 0.56) 0%, rgba(176, 132, 255, 0.16) 48%, rgba(176, 132, 255, 0) 80%);
    filter: blur(8px);
    z-index: 0;
}

.hero-render {
    width: min(100%, 460px);
    max-height: 520px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 12px 34px rgba(33, 16, 78, 0.5));
    transform: translateY(8px);
    position: relative;
    z-index: 1;
}

.tool-section {
    padding: 6px 0 0;
    border: none;
    background: transparent;
    box-shadow: none;
    color: var(--text);
}

.section-head h2 {
    position: relative;
    display: inline-block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.75rem;
    letter-spacing: -0.03em;
    color: #1f2850;
}

.section-head h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: min(620px, calc(100vw - 64px));
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(102, 63, 226, 0.95) 0%, rgba(143, 93, 255, 0.45) 68%, rgba(143, 93, 255, 0) 100%);
}

.section-head p {
    margin-top: 22px;
    color: var(--muted);
    line-height: 1.55;
    max-width: 70ch;
}

.tool-grid {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.tool-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-grid.cols-1 {
    grid-template-columns: minmax(0, 1fr);
}

.tool-card {
    border: 1px solid rgba(137, 112, 216, 0.35);
    background: linear-gradient(150deg, #6a3ff0 0%, #4f2cb8 56%, #3a1f8e 100%);
    box-shadow: 0 12px 30px rgba(33, 16, 78, 0.16);
    border-radius: 18px;
    padding: 18px;
    display: grid;
    gap: 10px;
}

.tool-tag {
    width: fit-content;
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(241, 233, 255, 0.38);
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(246, 240, 255, 0.98);
}

.tool-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.28rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.tool-card p {
    color: rgba(238, 231, 255, 0.93);
    line-height: 1.6;
}

.tool-btn {
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 10px 14px;
    border-radius: 11px;
    border: 1px solid rgba(241, 233, 255, 0.4);
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-weight: 700;
    font-size: 0.86rem;
    transition: transform 0.2s, background 0.2s;
}

.tool-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 30px 24px 10px;
    }

    .hero-copy {
        transform: translateY(-4px);
    }

    .hero-render-wrap {
        justify-content: center;
        min-height: 0;
    }

    .hero-render {
        width: min(100%, 360px);
        max-height: 420px;
        transform: translateY(8px);
    }

    .hero-render-wrap::before {
        width: 280px;
        height: 280px;
        right: auto;
        bottom: -54px;
    }

    .tool-grid.cols-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .navbar {
        grid-template-columns: auto auto;
        padding: 8px 10px;
    }

    .nav-logo img {
        width: 38px;
        height: 38px;
    }

    .brand-text strong {
        font-size: 0.9rem;
    }

    .brand-text small {
        font-size: 0.68rem;
    }

    .nav-socials a {
        width: 24px;
        height: 24px;
    }

    .nav-cta {
        padding: 7px 10px;
        font-size: 0.7rem;
    }

    .nav-links {
        display: none;
    }

    .section-head h2 {
        font-size: 1.45rem;
    }

    .section-head h2::after {
        width: min(380px, calc(100vw - 64px));
        bottom: -10px;
    }

    .tool-card h3 {
        font-size: 1.1rem;
    }
}