:root {
    --bg-dark: #000000;
    --bg-card: rgba(24, 24, 27, 0.4);
    /* Glassmorphism base */
    --bg-elevated: rgba(39, 39, 42, 0.6);
    --text-main: #ffffff;
    --text-sec: #a1a1aa;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent: #60a5fa;
    --border: rgba(255, 255, 255, 0.08);
    /* Ultra subtle borders */
    --glass-blur: blur(24px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* BACKGROUND EFFECTS - SURREAL TOPOGRAPHY */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: #000000;
}

#topo-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ambient-glow {
    position: absolute;
    top: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 60vh;
    background: radial-gradient(ellipse at top, rgba(37, 99, 235, 0.2), transparent 70%);
}

.ambient-glow-bottom {
    position: absolute;
    bottom: -20vh;
    right: -20vw;
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.1), transparent 70%);
}

/* The Animated Grain Texture */
.bg-noise {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
    animation: grain-shift 8s steps(10) infinite;
    z-index: 5;
    mix-blend-mode: overlay;
}

@keyframes grain-shift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-3%, -5%);
    }

    20% {
        transform: translate(-6%, 3%);
    }

    30% {
        transform: translate(4%, -8%);
    }

    40% {
        transform: translate(-4%, 7%);
    }

    50% {
        transform: translate(-7%, 4%);
    }

    60% {
        transform: translate(5%, 0%);
    }

    70% {
        transform: translate(0%, 6%);
    }

    80% {
        transform: translate(2%, 9%);
    }

    90% {
        transform: translate(-5%, 4%);
    }
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 9999px;
    /* Pill shape for neo-bank feel */
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 18px 0;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--primary);
}

/* HERO SECTION */
.hero {
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-sec);
    max-width: 700px;
    margin: 0 auto 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.stat h3 {
    font-size: 24px;
    color: var(--text-main);
    font-weight: 700;
}

.stat p {
    font-size: 13px;
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FEATURES GRID */
.section {
    padding: 100px 0;
}

.section-headers {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 16px;
    color: var(--text-sec);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    /* Smoother corner radius */
    padding: 32px 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: var(--glass-blur);
    /* Glassmorphism */
    -webkit-backdrop-filter: var(--glass-blur);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Deep premium shadow */
}

.f-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-sec);
}

/* CONTACT */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info p {
    margin-bottom: 15px;
    color: var(--text-sec);
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
}

.contact-card h3 {
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-sec);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
    background: var(--bg-card);
}

.footer-logo {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.copyright {
    font-size: 12px;
    color: var(--text-sec);
}

@media (max-width: 768px) {

    /* Navbar Adjustment */
    .navbar {
        padding: 12px 0;
    }

    .nav-content {
        flex-direction: row;
        /* Keep the logo and CTA in a line */
        gap: 10px;
    }

    .hide-mobile {
        display: none !important;
    }

    .nav-btn-primary {
        padding: 8px 16px;
        font-size: 11px;
    }

    /* Reusable Button adjustments for Mobile */
    .hero-cta .btn,
    .sandbox-box .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    /* Hero Shrink */
    .hero {
        padding: 120px 20px 60px;
    }

    .hero-title {
        font-size: 34px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        border-top: none;
        padding-top: 20px;
    }

    /* Layout general */
    .contact-container {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    /* Sandbox Container adjustment */
    .feature-card {
        padding: 24px 16px;
    }

    .sandbox-box {
        flex-direction: column;
        align-items: flex-start !important;
        text-align: center;
        padding: 24px 16px !important;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 18px;
    }

    .hero-title {
        font-size: 28px;
    }

    .nav-btn-primary {
        padding: 8px 12px;
        font-size: 10px;
    }
}