/* Fonts loaded via HTML header for performance */

:root {
    --bg: #050505;
    --text: #ffffff;
    --accent: #00E5FF;
    --glow: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.05)
}

body.v2-home {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden
}

h1,
h2,
h3 {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: -2px
}

.full-screen {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden
}

.absolute-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.hero {
    z-index: 10
}

.hero-text-container {
    perspective: 1000px;
    text-align: center
}

.big-text {
    font-size: 12vw;
    line-height: .85;
    font-weight: 800;
    opacity: 0;
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.hero-sub {
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 300;
    color: #888;
    opacity: 0
}

.story-wrapper {
    height: 300vh;
    position: relative
}

.story-pin {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #080808
}

.story-text {
    font-size: 5vw;
    position: absolute;
    opacity: 0;
    transform: translateY(50px);
    text-align: center;
    max-width: 80%;
    visibility: hidden
}

.story-text span {
    color: var(--accent)
}

.agents-section {
    background: #0a0a0a;
    padding: 10vh 0
}

.cards-container {
    display: flex;
    justify-content: space-around;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    height: 80vh
}

.agent-card {
    width: 30vw;
    height: 50vh;
    background: linear-gradient(145deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    transform-style: preserve-3d;
    transform: translateY(100px);
    opacity: 0
}

.agent-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(0, 255, 157, .2)
}

.agent-num {
    font-size: 10rem;
    position: absolute;
    top: -2rem;
    right: 1rem;
    color: rgba(255, 255, 255, .03);
    font-weight: 900
}

.agent-title {
    font-size: 2.5rem;
    margin-bottom: 1rem
}

.agent-desc {
    font-size: 1rem;
    color: #aaa;
    line-height: 1.6
}

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background-image: linear-gradient(rgba(0, 229, 255, .15) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 255, .15) 1px, transparent 1px);
    background-size: 50px 50px;
    perspective: 500px;
    transform-style: preserve-3d;
    opacity: .6;
    pointer-events: none
}

#neuro-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: .8;
    pointer-events: none
}

.pricing-section {
    background: rgba(8, 8, 8, .6);
    backdrop-filter: blur(10px);
    padding: 15vh 0;
    position: relative
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(30px)
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem
}

.price-card {
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    transition: .3s;
    opacity: 0;
    transform: translateY(50px);
    display: flex;
    flex-direction: column;
    min-height: 600px
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(0, 229, 255, .2)
}

.price-card.popular {
    background: rgba(0, 229, 255, .05);
    border-color: var(--accent)
}

.pop-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #000;
    font-weight: 700;
    padding: 4px 12px;
    font-size: .8rem;
    border-radius: 20px
}

.plan-name {
    font-size: 1.5rem;
    color: #888;
    margin-bottom: 1rem
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem
}

.price span {
    font-size: 1rem;
    color: #666;
    font-weight: 400
}

.features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1
}

.features li {
    margin-bottom: 1rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px
}

.features li::before {
    content: "✓";
    color: var(--accent)
}

.features li.disabled {
    color: #555
}

.features li.disabled::before {
    content: "✕";
    color: #555
}

.btn-price {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s
}

.btn-outline {
    background: 0 0;
    border: 1px solid #333;
    color: #fff
}

.btn-outline:hover {
    border-color: #fff
}

.btn-filled {
    background: var(--accent);
    border: none;
    color: #000
}

.btn-filled:hover {
    box-shadow: 0 0 20px var(--accent)
}

.testimonials-section {
    padding: 10vh 0;
    overflow: hidden;
    background: #080808;
    position: relative
}

.marquee-wrapper {
    display: flex;
    width: fit-content;
    gap: 2rem
}

.testimonial-card {
    width: 400px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .05);
    padding: 2rem;
    border-radius: 16px;
    flex-shrink: 0;
    transition: .3s
}

.testimonial-card:hover {
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(0, 229, 255, .1);
    background: rgba(0, 229, 255, .02)
}

.t-text {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic
}

.t-author {
    display: flex;
    align-items: center;
    gap: 1rem
}

.t-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #333
}

.t-info h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: .2rem
}

.t-info p {
    color: var(--accent);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase
}

footer {
    background: #020202;
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding: 4rem 2rem;
    position: relative;
    z-index: 10
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem
}

.f-brand h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff
}

.f-brand p {
    color: #888;
    max-width: 300px;
    line-height: 1.6
}

.f-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem
}

.f-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem
}

.f-col ul {
    list-style: none
}

.f-col li {
    margin-bottom: .8rem
}

.f-col a {
    color: #666;
    text-decoration: none;
    transition: .3s
}

.f-col a:hover {
    color: var(--accent);
    padding-left: 5px
}

.outro {
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center
}

.outro h2 {
    font-size: 8vw;
    color: #fff;
    mix-blend-mode: difference
}

.btn-giant {
    margin-top: 3rem;
    padding: 1.5rem 4rem;
    font-size: 1.5rem;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 100px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .3s
}

.btn-giant:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px var(--accent)
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    opacity: .05;
    background: url('https://grainy-gradients.vercel.app/noise.svg')
}