/* === Fonts (self-hosted, no external requests) === */

@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/google-sans-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/google-sans-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/google-sans-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/google-sans-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/google-sans-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/google-sans-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Material Symbols Rounded';
    font-style: normal;
    font-weight: 100 700;
    font-display: block;
    src: url('fonts/material-symbols-rounded.woff2') format('woff2');
}

/* === VRCN v2 Theme === */

:root[data-theme="dark"] {
    --bg-base:   #0A0A0A;
    --bg-card:   #0F0F0F;
    --bg-hover:  #1C1C1F;
    --bg-input:  #141414;
    --bg-btn:    #0F0F0F;
    --bg-btn-h:  #1C1C1F;
    --accent:    #5C76FF;
    --accent-lt: #9797B1;
    --cyan:      #8CA5FF;
    --ok:        #2DD48C;
    --tx0:       #EBEBFF;
    --tx1:       #EBEBFF;
    --tx2:       #B7B7C3;
    --tx3:       #6E6E7E;
    --brd:       #1C1C1F;
    --shot-shadow: 0 30px 80px rgba(0, 0, 0, .55);
    --glow-a: rgba(181, 193, 255, 0.2);
    --glow-b: rgba(140, 165, 255, .08);
}

:root[data-theme="light"] {
    --bg-base:   #F6F6FA;
    --bg-card:   #FFFFFF;
    --bg-hover:  #ECECF3;
    --bg-input:  #F0F0F5;
    --bg-btn:    #FFFFFF;
    --bg-btn-h:  #ECECF3;
    --accent:    #5C76FF;
    --accent-lt: #5B5B77;
    --cyan:      #5C76FF;
    --ok:        #17B877;
    --tx0:       #101018;
    --tx1:       #1A1A26;
    --tx2:       #55556B;
    --tx3:       #8B8B9F;
    --brd:       #E3E3EC;
    --shot-shadow: 0 30px 70px rgba(20, 22, 60, .16);
    --glow-a: rgba(92, 118, 255, .16);
    --glow-b: rgba(92, 118, 255, .05);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-base);
    color: var(--tx1);
    font-family: 'Google Sans', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    transition: background .25s ease, color .25s ease;
}

.msi {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-size: 18px;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    flex-shrink: 0;
}

/* Ambient accent glow */
.glow {
    position: fixed;
    top: -30vh;
    left: 50%;
    width: 120vw;
    height: 90vh;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(45% 55% at 50% 40%, var(--glow-a) 0%, transparent 70%),
        radial-gradient(35% 45% at 75% 30%, var(--glow-b) 0%, transparent 70%);
    filter: blur(20px);
}

/* === Topbar === */

.topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 32px;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--tx0);
}

.brand-logo {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    object-fit: contain;
}

/* The logo mark is white, so it needs a dark tile on light backgrounds. */
:root[data-theme="light"] .brand-logo {
    background: #0A0A0A;
    padding: 4px;
}

.brand-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* === Buttons (VRCN) === */

.vrcn-button {
    height: 34px;
    padding: 0 14px;
    border-radius: 7px;
    border: 1px solid var(--brd);
    background: var(--bg-btn);
    color: var(--tx2);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s, transform .12s;
}

.vrcn-button:hover {
    background: var(--bg-btn-h);
    color: var(--tx1);
}

.vrcn-button:active { transform: translateY(1px); }

.vrcn-button .msi { font-size: 17px; }

.vrcn-button.icon-only {
    width: 34px;
    padding: 0;
}

.vrcn-button.lg {
    height: 44px;
    padding: 0 22px;
    font-size: 14px;
    border-radius: 9px;
}

.vrcn-button.lg .msi { font-size: 19px; }

.vrcn-button.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 6px 22px rgba(92, 118, 255, .32);
}

.vrcn-button.primary:hover {
    background: #6D85FF;
    border-color: #6D85FF;
    color: #fff;
}

/* === Hero === */

.hero {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 32px 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 44px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 880px;
}

.hero-logo {
    width: 78px;
    height: 78px;
    border-radius: 18px;
    object-fit: contain;
    margin-bottom: 4px;
    filter: drop-shadow(0 8px 28px rgba(92, 118, 255, .30));
}

/* The logo mark is white, so it needs a dark tile on light backgrounds. */
:root[data-theme="light"] .hero-logo {
    background: #0A0A0A;
    padding: 12px;
}

.hero-title {
    margin: 0;
    font-size: clamp(34px, 5.4vw, 60px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.025em;
    color: var(--tx0);
}

.grad {
    background: linear-gradient(92deg, var(--accent) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    margin: 0;
    max-width: 680px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--tx2);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 6px;
}

/* === Screenshot frame === */

.hero-shot {
    width: 100%;
    display: flex;
    justify-content: center;
}

.shot-frame {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    border: 1px solid var(--brd);
    background: var(--bg-card);
    overflow: hidden;
    box-shadow: var(--shot-shadow);
}

.shot-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shot-empty {
    display: none;
    position: absolute;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--tx3);
    font-size: 13px;
    background:
        repeating-linear-gradient(45deg,
            transparent 0 12px,
            color-mix(in srgb, var(--tx3) 5%, transparent) 12px 24px);
}

.shot-frame.empty .shot-empty { display: flex; }

.shot-empty .msi { font-size: 34px; opacity: .6; }

.shot-empty code {
    font-family: 'Google Sans Mono', ui-monospace, monospace;
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--bg-input);
    color: var(--tx2);
}

/* === Testimonials === */

.testimonials {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.t-bubble {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 340px;
    padding: 5px 16px 5px 5px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 999px;
    border: 1px solid var(--brd);
    background: var(--bg-card);
    cursor: default;
    outline: none;
    transition: border-color .15s, background .15s, transform .15s;
}

.t-bubble:hover,
.t-bubble:focus-visible {
    z-index: 20;
    border-color: color-mix(in srgb, var(--accent) 55%, var(--brd));
    background: var(--bg-hover);
    transform: translateY(-2px);
}

.t-avatar {
    position: relative;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
    overflow: hidden;
}

.t-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t-letter {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.t-snippet {
    font-size: 13px;
    color: var(--tx2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Full quote on hover */
.t-pop {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    width: 340px;
    padding: 15px 17px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    text-align: left;
    border-radius: 12px;
    border: 1px solid var(--brd);
    background: var(--bg-card);
    box-shadow: 0 16px 44px rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    pointer-events: none;
}

.t-pop::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -6px;
    border: 6px solid transparent;
    border-bottom-color: var(--bg-card);
}

.t-bubble:hover .t-pop,
.t-bubble:focus-visible .t-pop {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.t-pop-quote {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--tx1);
}

.t-pop-quote::before { content: '“'; }
.t-pop-quote::after  { content: '”'; }

.t-pop-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent);
}

@media (max-width: 900px) {
    .t-bubble {
        max-width: none;
        width: 100%;
        border-radius: 14px;
        align-items: flex-start;
        padding: 12px 14px;
    }
    .t-snippet { white-space: normal; }
    .t-pop { display: none; }
}

/* === Features === */

.features {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 32px 90px;
    display: flex;
    flex-direction: column;
    gap: 96px;
}

.section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
}

.section-title {
    margin: 0;
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--tx0);
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
    gap: 56px;
}

/* Every second feature flips: image left, text right. */
.feature:nth-of-type(even) .feature-copy { order: 2; }
.feature:nth-of-type(even) .shot-frame   { order: 1; }

.feature-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-title {
    margin: 0;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--tx0);
}

.feature-text {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.68;
    color: var(--tx2);
}

.feature .shot-frame { max-width: none; }

/* === Outro === */

.outro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 56px 32px;
    border-radius: 16px;
    border: 1px solid var(--brd);
    background: var(--bg-card);
}

.outro-title {
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--tx0);
}

.outro-text {
    margin: 0;
    max-width: 620px;
    font-size: 15.5px;
    line-height: 1.68;
    color: var(--tx2);
}

.outro .vrcn-button { margin-top: 8px; }

/* === Scroll reveal === */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* === Notice === */

.notice {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-radius: 12px;
    border: 1px solid var(--brd);
    background: var(--bg-card);
}

.notice-icon {
    font-size: 20px;
    color: var(--accent);
    margin-top: 1px;
}

.notice-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: var(--tx2);
}

@media (max-width: 900px) {
    .notice { margin: 0 20px; width: auto; }
}

/* === Footer === */

.footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 32px 32px;
    font-size: 12.5px;
    color: var(--tx3);
}

.footer a {
    color: var(--tx2);
    text-decoration: none;
}

.footer a:hover { color: var(--accent); }

.footer .dot { opacity: .5; }

/* === Responsive === */

@media (max-width: 900px) {
    .feature {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .feature:nth-of-type(even) .feature-copy,
    .feature:nth-of-type(even) .shot-frame { order: 0; }
    .features { gap: 68px; padding: 12px 20px 70px; }
}

@media (max-width: 720px) {
    .topbar { padding: 16px 20px; }
    .hero { padding: 28px 20px 56px; gap: 34px; }
    .brand-name { display: none; }
    .hero-actions { width: 100%; }
    .hero-actions .vrcn-button { flex: 1; }
    .outro { padding: 40px 22px; }
}
