@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700;800&display=swap");

:root {
    --text: #eef0ff;
    --muted: rgba(238, 240, 255, 0.72);
    --accent: #6b6bff;
    --accent2: #b07cff;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.40);

    --code: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }

body {
    font-family: var(--code);
    font-weight: 500;
    color: var(--text);
    min-height: 100vh;
    overflow: hidden;

    background:
            radial-gradient(1200px 700px at 52% 45%, rgba(108, 62, 255, 0.22), rgba(7, 7, 12, 1) 72%),
            radial-gradient(900px 600px at 30% 70%, rgba(160, 90, 255, 0.10), transparent 60%),
            #07070c;
}

body::before {
    content: "";
    position: fixed;
    inset: -12vh -12vw;
    pointer-events: none;
    z-index: -2;

    background:
            radial-gradient(520px 380px at 52% 52%, rgba(176, 124, 255, 0.16), transparent 62%),
            radial-gradient(620px 440px at 58% 46%, rgba(107, 107, 255, 0.11), transparent 65%),

            radial-gradient(1200px 900px at 46% 50%, transparent 40%, rgba(0, 0, 0, 0.86) 100%),
            radial-gradient(1200px 900px at 62% 56%, transparent 42%, rgba(0, 0, 0, 0.78) 100%),
            radial-gradient(1200px 900px at 40% 62%, transparent 44%, rgba(0, 0, 0, 0.74) 100%),
            radial-gradient(1200px 900px at 58% 40%, transparent 43%, rgba(0, 0, 0, 0.72) 100%),
            radial-gradient(1400px 900px at 50% 58%, transparent 46%, rgba(0, 0, 0, 0.70) 100%);

    filter: saturate(1.06);
}

#bgCanvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#topbar {
    height: 64px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: lowercase;
    color: rgba(238, 240, 255, 0.92);
    opacity: 0.95;
}

.actions { display: flex; gap: 12px; }

button,
a.demo,
a.primary,
a.plan-cta {
    font-family: var(--code);
    font-weight: 600;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(238, 240, 255, 0.92);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;

    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button:hover,
a.demo:hover,
a.primary:hover,
a.plan-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.20);
}

button.primary,
a.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 14px 34px rgba(107, 107, 255, 0.24);
}

#hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 0 56px;

    gap: 18px;
    position: relative;
    z-index: 1;
}

.logoWrap {
    width: 170px;
    height: 170px;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

#logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.title {
    margin: 0;
    font-size: clamp(30px, 4.4vw, 54px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: rgba(238, 240, 255, 0.94);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 2;
    padding: 0 6px;
}

.emph { font-weight: 900; }

.phrase {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    padding-top: 26px;
    white-space: nowrap;
}

.aWord { font-weight: 800; }

.god {
    font-weight: 900;
    background: linear-gradient(135deg, #7fb4ff, #b07cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.seam {
    position: relative;
    display: inline-block;
    width: 0;
    height: 0;
    z-index: 5;
}

.tag {
    position: absolute;
    left: 0;
    top: -72px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
    pointer-events: none;
    z-index: 10;
}

.tag-word {
    font-family: var(--code);
    font-size: 18px;
    letter-spacing: 0.10em;
    font-weight: 600;
    color: rgba(238, 240, 255, 0.62);
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.tag-arrow {
    font-family: var(--code);
    font-size: 18px;
    line-height: 1;
    margin-top: 2px;
    color: rgba(238, 240, 255, 0.46);
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.sub {
    max-width: 620px;
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 2;
}

.cta {
    display: flex;
    gap: 16px;
    margin-top: 6px;
    position: relative;
    z-index: 2;
}

.learn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--code);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(238, 240, 255, 0.92);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
    text-decoration: none;
}

.learn-link:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.20);
}

.socials-bottom {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 22px;
    z-index: 5;
}

.socials-bottom a {
    font-size: 12px;
    font-weight: 500;
    color: rgba(238, 240, 255, 0.45);
    text-decoration: none;
    transition: color 120ms ease, transform 120ms ease;
}

.socials-bottom a:hover {
    color: rgba(238, 240, 255, 0.9);
    transform: translateY(-1px);
}

.page-learn { overflow: auto; }

.page-learn #app { min-height: 100vh; }

.brand-link {
    color: inherit;
    text-decoration: none;
}

#learnMain {
    width: min(1100px, 92vw);
    margin: 0 auto;
    padding: 24px 0 96px;
    position: relative;
    z-index: 2;
}

.learn-hero {
    text-align: center;
    padding-top: 6px;
}

.learn-title {
    margin: 0;
    font-size: clamp(24px, 3.2vw, 40px);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.brand-inline {
    font-weight: 900;
    background: linear-gradient(135deg, #7fb4ff, #b07cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.learn-lede {
    margin: 14px auto 0;
    max-width: 820px;
    color: rgba(238, 240, 255, 0.68);
    font-size: 14px;
    line-height: 1.7;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.learn-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.learn-card {
    text-align: left;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(10px);
}

.learn-card-title {
    font-weight: 900;
    letter-spacing: 0.03em;
    opacity: 0.95;
}

.learn-card-body {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(238, 240, 255, 0.70);
}

.disclaimer {
    margin: 18px auto 0;
    max-width: 980px;
    text-align: left;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(176, 124, 255, 0.22);
    background: rgba(107, 107, 255, 0.08);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.disclaimer-title {
    font-weight: 900;
    letter-spacing: 0.03em;
    opacity: 0.95;
}

.disclaimer-body {
    margin: 8px 0 0;
    font-size: 12.5px;
    line-height: 1.65;
    color: rgba(238, 240, 255, 0.68);
}

.learn-jump {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

.learn-back {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.pricing {
    margin-top: 28px;
    text-align: center;
}

.pricing-title {
    margin: 0;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 900;
    letter-spacing: 0.02em;
    opacity: 0.95;
}

.pricing-sub {
    margin: 10px 0 18px;
    color: rgba(238, 240, 255, 0.58);
    font-size: 13px;
    line-height: 1.5;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.plan {
    text-align: left;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    min-height: 260px;
}

.plan.featured {
    background: linear-gradient(180deg, rgba(107, 107, 255, 0.16), rgba(255, 255, 255, 0.06));
    border-color: rgba(176, 124, 255, 0.28);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

.plan-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.plan-name {
    font-weight: 900;
    letter-spacing: 0.04em;
}

.plan-price {
    font-weight: 900;
    opacity: 0.95;
}

.plan-price .mo {
    font-weight: 700;
    opacity: 0.6;
    font-size: 12px;
}

.plan-note {
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.55;
}

.plan-list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: rgba(238, 240, 255, 0.72);
    font-size: 12.5px;
    line-height: 1.6;
}

.plan-list strong { color: rgba(238, 240, 255, 0.92); }

.plan-cta {
    margin-top: auto;
    width: 100%;
}

.pricing-fine {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

.fine {
    font-size: 11px;
    opacity: 0.45;
    max-width: 720px;
}

@media (max-width: 900px) {
    .learn-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .plan { min-height: unset; }
}

@media (max-width: 650px) {
    body { overflow: auto; }
    #topbar { padding: 0 16px; }
    #hero { padding: 0 18px; }

    .cta {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .cta button,
    .cta a { width: 100%; }

    .phrase { padding-top: 18px; gap: 10px; white-space: normal; }
    .tag { top: -62px; }
    .tag-word { font-size: 16px; }
}
