:root {
    --primary: #10b981;
    --primary-light: #34d399;
    --primary-dark: #059669;
    --accent: #86efac;
    --bg: #020617;
    --text: #f8fafc;
    --text-dim: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Ultra Vibrant Mesh Background */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 0% 0%, #064e3b 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, #083344 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, #1e1b4b 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, #0f172a 0%, transparent 50%);
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: float 15s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.glow-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -300px;
    left: -200px;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(60px, -40px) scale(1.1);
    }
}

/* Container & Header */
header {
    width: 100%;
    max-width: 1200px;
    padding: 20px 5%;
    /* Reduced from 40px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.35);
    transform: rotate(-5deg);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

/* Main Content Split */
main {
    width: 100%;
    max-width: 1200px;
    padding: 60px 5% 100px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    text-align: left;
    z-index: 10;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-text .gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
}

/* Login Card - Glassmorphism Ultra */
.login-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid var(--border);
    padding: 60px 48px;
    border-radius: 40px;
    box-shadow: 0 60px 100px -30px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideIn 1s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
    max-width: 500px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.login-card p {
    color: var(--text-dim);
    margin-bottom: 40px;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #fff;
    color: #1e293b;
    text-decoration: none;
    padding: 18px 24px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.google-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    background: #f8fafc;
}

.google-btn img {
    width: 20px;
    height: 20px;
}

.google-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(1);
}

/* Features List */
.features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.feat-icon {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

.feat-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.feat-info p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin: 0;
}

/* Mobile Utility */
.mobile-only {
    display: none;
}

/* Responsive */
@media (max-width: 968px) {
    .mobile-only {
        display: flex;
    }

    main {
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: center;
        padding-top: 20px;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .login-card {
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    header {
        padding: 24px 5%;
    }
}
/* Policy Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background: #1e293b;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 24px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: white;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    color: var(--text-dim);
    line-height: 1.6;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
}

.policy-section h4 {
    color: white;
    margin: 20px 0 8px;
}

.policy-section p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.policy-section strong {
    color: var(--primary-light);
}
