:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent-primary: #ffffff;
    --accent-secondary: #888888;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Custom Cursor */
.custom-cursor {
    width: 24px;
    height: 24px;
    position: fixed;
    pointer-events: none;
    z-index: 100000;
    transition: transform 0.1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

:root {
    --cursor-default: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d)'%3E%3Cpath d='M8 6L26 15L17.5 17.5L13 26L8 6Z' fill='%23333333' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d' x='0' y='0' width='32' height='32' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='2'/%3E%3CfeGaussianBlur stdDeviation='2'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E");
    --cursor-pointer: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d)'%3E%3Cpath d='M13.5 13.5V6.5C13.5 5.5 14.5 4.5 15.5 4.5C16.5 4.5 17.5 5.5 17.5 6.5V16L20 14.5C20.5 14.2 21.2 14.2 21.7 14.5L25.2 16.5C25.7 16.8 26 17.4 26 18V22C26 25 24 27.5 21 27.5H14C10.5 27.5 8 25 8 21.5V13.5C8 12.5 9 11.5 10 11.5C11 11.5 12 12.5 12 13.5V14H13.5V13.5Z' fill='%2322242b' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d' x='0' y='0' width='32' height='32' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='2'/%3E%3CfeGaussianBlur stdDeviation='2'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E");
}

.custom-cursor::after {
    content: '';
    width: 32px;
    height: 32px;
    background-image: var(--cursor-default);
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.1s ease;
}

.cursor-active .custom-cursor::after {
    background-image: var(--cursor-pointer);
}

.cursor-follower {
    display: none;
}

/* Global Cursor Lock - Prevent any system cursor reveals */
html,
body,
*,
*::before,
*::after {
    cursor: none !important;
}

/* Specific interactive elements reinforcement */
a,
button,
.nav-btn,
.gh-link,
input,
textarea,
[role="button"],
label {
    cursor: none !important;
}

*:hover,
*:active,
*:focus {
    cursor: none !important;
}

@media (max-width: 1024px) {

    html,
    body,
    *,
    *::before,
    *::after {
        cursor: auto !important;
        /* Restore for touch devices */
    }

    .custom-cursor {
        display: none;
    }
}

@media (max-width: 1024px) {

    .custom-cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.15;
    pointer-events: none;
    z-index: 9999;
}

h1,
h2,
h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.8);
    /* Darker default */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.05em;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-img {
    height: 26px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2);
    transition: var(--transition);
}

.logo:hover .logo-img {
    filter: grayscale(100%) brightness(1.5);
}

.logo span {
    color: var(--text-primary);
    margin-left: -6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
    opacity: 1;
}

.nav-links .gh-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.nav-links .gh-link:hover {
    opacity: 1;
}

/* User Profile Dropdown */
.user-menu {
    position: relative;
    display: none;
    align-items: center;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition);
}

.profile-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.profile-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ffffff, #888888);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.chevron-icon {
    opacity: 0.5;
    transition: var(--transition);
}

.user-menu:hover .chevron-icon {
    transform: rotate(180deg);
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    display: none;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    animation: dropdownAppear 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Invisible bridge to keep menu open while moving cursor from trigger to menu */
.profile-dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.user-menu:hover .profile-dropdown {
    display: flex;
}

@keyframes dropdownAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-header {
    padding: 8px 12px;
}

.dropdown-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.dropdown-email {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.dropdown-item {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.user-menu .logout-btn {
    color: #ff4b4b !important;
}

.user-menu .logout-btn:hover {
    background: rgba(255, 75, 75, 0.1) !important;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #000000;
}

.hero-cta-more {
    margin-top: 3rem;
    text-align: center;
}

.btn-ghost-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.btn-ghost-arrow:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost-arrow:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    /* Even more subtle */
    z-index: -2;
}

#vanta-canvas canvas {
    z-index: 0 !important;
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, var(--bg-color), transparent);
    z-index: -1;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 0.95;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.gradient-text {
    color: var(--text-primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    background: #eeeeee;
    color: #000000;
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.nav-links .nav-btn {
    padding: 0.6rem 1.2rem;
    background: #ffffff;
    color: #000000 !important;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
}

.nav-links .nav-btn:hover {
    background: #eeeeee;
    opacity: 1;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Features */
.features {
    padding: 10rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* How It Works */
.how-it-works {
    padding: 8rem 0;
    background: linear-gradient(to bottom, transparent, rgba(188, 19, 254, 0.05), transparent);
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.step {
    flex: 1;
}

.step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-num::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
}

.step h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-secondary);
}

/* Trust Section */
.trust {
    padding: 6rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trust p {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.trust-labels {
    display: flex;
    justify-content: center;
    gap: 4rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    opacity: 0.3;
}

/* Final CTA */
.final-cta {
    padding: 12rem 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 4rem;
    margin-bottom: 3rem;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-logo .logo-img {
    height: 24px;
    filter: grayscale(100%) brightness(1.2);
}

.footer-logo span {
    color: var(--text-primary);
    margin-left: -1px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    text-align: center;
}

/* App Frame Component */
.app-frame {
    margin-top: 5rem;
    width: 900px;
    height: 500px;
    background: #0a0a0a;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 100px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

.app-header {
    height: 40px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.app-content {
    padding: 3rem;
    height: calc(100% - 40px);
}

.app-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.app-feature-item {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: left;
    transition: var(--transition);
}

.app-feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.app-feature-tag {
    font-size: 0.6rem;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.app-feature-name {
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
}

/* See More Features tile */
.app-see-more {
    background: #ffffff !important;
    border-color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: none;
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
    width: 100%;
    padding: 1.2rem 2rem;
}

.app-see-more:hover {
    background: #f0f0f0 !important;
    transform: translateY(-2px);
}

.app-see-more-text {
    color: #000000;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.app-see-more:hover .app-see-more-text {
    gap: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps {
        flex-direction: column;
        gap: 3rem;
    }

    .app-frame {
        width: 95%;
        height: auto;
        min-height: 300px;
    }

    .trust-labels {
        gap: 2rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .nav-links {
        display: none;
    }

    .trust-labels {
        flex-wrap: wrap;
    }
}

/* Subpage Styles */
.hero-mini {
    padding: 10rem 0 6rem;
    text-align: center;
    background: #000000;
}

.hero-mini h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero-mini p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-detailed {
    padding: 6rem 0;
}

.features-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-item {
    display: flex;
    gap: 3rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: var(--transition);
}

.feature-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(10px);
}

.feature-index {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0.1;
    line-height: 1;
}

.feature-content .icon-box {
    margin-bottom: 1.5rem;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.docs-content {
    padding: 4rem 0 8rem;
}

.docs-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
}

.docs-sidebar .sidebar-section {
    margin-bottom: 3rem;
}

.docs-sidebar h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    opacity: 0.5;
    font-weight: 700;
}

.docs-sidebar ul {
    list-style: none;
}

.docs-sidebar ul li {
    margin-bottom: 0.8rem;
}

.docs-sidebar ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.docs-sidebar ul li a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

.docs-main .doc-section {
    margin-bottom: 6rem;
}

.docs-main h2 {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
}

.docs-main p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.docs-main strong {
    color: var(--text-primary);
}

.nav-links a.active {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .docs-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-item {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }

    .feature-index {
        font-size: 2rem;
    }

    .hero-mini h1 {
        font-size: 3rem;
    }
}

/* ===================== */
/* Stats Section         */
/* ===================== */
.stats-section {
    padding: 6rem 0;
    border-top: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ===================== */
/* Testimonials          */
/* ===================== */
.testimonials {
    padding: 8rem 0;
    border-top: 1px solid var(--glass-border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.testimonial-stars {
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--text-primary);
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ===================== */
/* FAQ Section           */
/* ===================== */
.faq-section {
    padding: 8rem 0;
    border-top: 1px solid var(--glass-border);
}

.faq-list {
    max-width: 800px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}

.faq-item.open {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    user-select: none;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--text-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ===================== */
/* Pricing Page          */
/* ===================== */
.pricing-section {
    padding: 6rem 0 8rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #ffffff;
    transform: translateY(-6px);
}

/* Featured card — black, highlighted */
.pricing-featured {
    background: rgba(255, 255, 255, 0.06);
    border-color: #ffffff;
    box-shadow: 0 0 0 1px #ffffff, 0 20px 60px rgba(255, 255, 255, 0.08);
    transform: scale(1.04);
}

.pricing-featured:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: scale(1.04) translateY(-6px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #000000;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 999px;
    font-family: 'Space Grotesk', sans-serif;
    white-space: nowrap;
}

.pricing-tier {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tier-plus {
    color: #ffffff;
    font-size: 1.2em;
}

.pricing-featured .tier-plus {
    color: #111111;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.price-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -2px;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1.5rem;
}

.pricing-featured .pricing-desc {
    border-color: rgba(0, 0, 0, 0.1);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}

.pricing-toggle-section {
    padding-bottom: 2rem;
}

.pricing-cylinder {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 6px;
    width: fit-content;
    margin: 0 auto;
    backdrop-filter: blur(15px);
    gap: 8px;
}

.period-btn {
    padding: 10px 24px;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.period-btn.active {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.discount-label {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-left: 6px;
    font-weight: 600;
}

.period-btn.active .discount-label {
    opacity: 0.8;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-features li.dim {
    opacity: 0.4;
}

.check {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
}

.cross {
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.pricing-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .pricing-featured {
        transform: scale(1);
        order: -1;
    }

    .pricing-featured:hover {
        transform: translateY(-6px);
    }
}

/* Custom Cursor Fix */
.custom-cursor {
    width: 24px;
    height: 24px;
    position: fixed;
    pointer-events: none;
    z-index: 200000;
    /* Extremely high to stay above modals */
    transition: transform 0.1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Full Page Auth */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.03), transparent);
    padding: 2rem;
}

/* Interactive Eyes */
.auth-character {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
    height: 50px;
    position: relative;
}

.eye-socket {
    display: flex;
    gap: 15px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.eye {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: height 0.2s ease-in-out;
}

.pupil {
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

/* Status Icons */
.status-icon {
    position: absolute;
    width: 55px;
    height: 55px;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.character-loading .status-icon-loading,
.character-success .status-icon-success,
.character-error .status-icon-error,
.character-google .status-icon-google {
    display: flex;
    animation: statusAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.character-loading .eye-socket,
.character-success .eye-socket,
.character-error .eye-socket,
.character-google .eye-socket {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

@keyframes statusAppear {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Specific Icon Styles */
.status-icon-google {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.status-icon-google svg {
    width: 26px;
    height: 26px;
    fill: #000000;
}

.status-icon-loading .spinner {
    width: 25px;
    height: 25px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.status-icon-success {
    border-color: #4ade80;
    color: #4ade80;
    outline: none;
}

.status-icon-error {
    border-color: #ff4b4b;
    color: #ff4b4b;
    outline: none;
}

/* Eyes closed state */
.auth-container.eyes-closed .eye {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px 0;
    border-radius: 2px;
}

.auth-container.eyes-closed .pupil {
    opacity: 0;
}

.auth-page .auth-container {
    animation: authModalAppear 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 100px 200px rgba(0, 0, 0, 0.8), 0 0 60px rgba(255, 255, 255, 0.01);
}

.back-home {
    position: fixed;
    top: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.back-home:hover {
    color: var(--text-primary);
    transform: translateX(-5px);
}

/* Auth Modal Redesign */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 150000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-modal.active {
    display: flex;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
}

.auth-container {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 4rem;
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 255, 255, 0.02);
    z-index: 10;
    text-align: center;
    animation: authModalAppear 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authModalAppear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.auth-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    opacity: 0.5;
}

.auth-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
    opacity: 1;
}

.auth-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    letter-spacing: -1px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Social Auth */
.social-auth {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 1rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

.google-btn:hover {
    background: #f1f1f1;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.google-btn svg {
    width: 20px;
    height: 20px;
}

.or-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.or-divider::before,
.or-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
}

.auth-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.03);
}

.auth-submit {
    margin-top: 1rem;
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

.auth-switch {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    margin-left: 5px;
}

#auth-error {
    color: #ff4b4b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 500;
    min-height: 1.4rem;
}

/* User Profile in Nav */
.user-menu {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.user-email {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.logout-btn {
    font-size: 0.85rem;
    color: var(--text-primary);
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.logout-btn:hover {
    opacity: 1;
}

/* Snowfall Effect */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes fall {
    0% {
        transform: translateY(-10px) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(105vh) translateX(20px);
        opacity: 0;
    }
}

/* Snowball Toggle Button */
.snowball-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100000;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.snowball-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

.snowball-toggle.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.snowball-toggle svg {
    width: 22px;
    height: 22px;
    transition: transform 0.6s ease;
}

.snowball-toggle.active svg {
    transform: rotate(180deg);
}

/* Tic Tac Toe section */
.tic-tac-toe-section {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.02), transparent);
}

.tic-tac-toe-game {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.tic-tac-toe-board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    width: 350px;
    height: 350px;
}

.winning-line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

#winning-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 0.5s ease-out;
}

#winning-line.active {
    stroke-dashoffset: 0;
}

.tic-tac-toe-board .cell {
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    cursor: none !important;
    transition: var(--transition);
}

.tic-tac-toe-board .cell:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.tic-tac-toe-board .cell.x {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.tic-tac-toe-board .cell.o {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.tic-tac-toe-status {
    margin-top: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-secondary);
    min-height: 30px;
}

.tic-tac-toe-reset {
    margin-top: 1.5rem;
}