:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-1: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    color: var(--text-main);
    background-color: #0f172a;
    height: 100vh;
    overflow: hidden;
    /* Prevent scrolling for the single page feel */
    display: flex;
    flex-direction: column;
}

/* Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('assets/images/background_global.png');
    background-size: cover;
    background-position: center;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.sphere-1 {
    width: 60vh;
    height: 60vh;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(59, 130, 246, 0) 70%);
    top: -10vh;
    left: -10vw;
}

.sphere-2 {
    width: 70vh;
    height: 70vh;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(139, 92, 246, 0) 70%);
    bottom: -15vh;
    right: -10vw;
    animation-delay: -5s;
}

@keyframes float {

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

    50% {
        transform: translate(20px, -30px);
    }
}

/* Layout */
.main-wrapper {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

/* Header */
.header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 48px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Center Content */
.hero-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 800;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Actions */
.action-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 10px;
}

.btn-lg {
    padding: 16px 48px;
    font-size: 1.1rem;
    width: 100%;
    max-width: 300px;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

/* Shine Effect */
.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    20% {
        transform: translateX(100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.sub-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-ghost {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 8px 16px;
}

.btn-ghost:hover {
    color: white;
}

.divider {
    color: rgba(255, 255, 255, 0.1);
}

/* Footer */
.simple-footer {
    text-align: center;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.2);
    /* Very subtle */
    font-size: 0.8rem;
}

/* Animation */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .header {
        justify-content: center;
        padding-top: 15px;
    }

    .brand-logo {
        height: 36px;
        /* Smaller logo */
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .glass-card {
        padding: 40px 20px;
        min-height: auto;
        /* Fit content better */
        width: 90%;
        /* Take up more width */
        max-width: none;
        margin: 20px auto;
        border-radius: 20px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
        /* Prevent text hitting edges */
    }

    .btn-lg {
        padding: 14px 20px;
        /* Slightly smaller button padding */
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
        /* Full width button */
    }

    .sphere-1 {
        width: 80vw;
        height: 80vw;
        left: -20vw;
        top: -10vh;
        filter: blur(80px);
        /* Reduce blur slightly for performance */
    }

    .sphere-2 {
        width: 90vw;
        height: 90vw;
        right: -20vw;
        bottom: -15vh;
        filter: blur(80px);
    }

    .main-wrapper {
        padding: 16px;
    }
}

@media (max-height: 700px) {

    /* For smaller height screens */
    .glass-card {
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-desc {
        margin-bottom: 24px;
    }
}