:root {
    --primary: #26de81;
    --secondary: #fed330;
    --accent: #2bcbba;
    --dark: #0a0a0a;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #636e72;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

body {
    background-color: var(--dark);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- Layouts Base --- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 100px;
    padding-bottom: 5rem;
    /* Space for footer */
    /* Offset for fixed navbar */
}

/* --- Hero Section (index.php) --- */
.hero-section {
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    position: relative;
    overflow: visible;
    text-align: center;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #26de81, #7bed9f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 50px rgba(38, 222, 129, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.8rem);
    opacity: 0.8;
    margin-bottom: 4rem;
    max-width: 800px;
}

/* --- Features (Horizontal on PC, Vertical on Mobile) --- */
.feature-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(38, 222, 129, 0.2);
    padding: 2.5rem;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    transition: 0.4s;
}

.feature-item:hover {
    transform: translateY(-15px);
    background: rgba(38, 222, 129, 0.1);
    border-color: var(--primary);
}

.feature-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-item span {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
}

.feature-sep {
    font-size: 2rem;
    color: var(--secondary);
}

/* --- Buttons --- */
.btn-hero {
    background: linear-gradient(135deg, #26de81, #1e90ff);
    color: white;
    padding: 1.5rem 4rem;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    transition: 0.4s;
    box-shadow: 0 10px 40px rgba(38, 222, 129, 0.4);
    display: inline-block;
}

.btn-hero:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(38, 222, 129, 0.6);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 75px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    z-index: 2000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

/* --- Professional Login (Split Layout) --- */
.auth-page {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.auth-visual-side {
    flex: 1.2;
    background: linear-gradient(135deg, #10ac84 0%, #2ed573 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    color: white;
    text-align: center;
}

.auth-visual-content h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.auth-visual-content p {
    font-size: 1.4rem;
    opacity: 0.9;
    max-width: 550px;
}

.auth-form-side {
    flex: 0.8;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

.auth-container-full {
    width: 100%;
    max-width: 450px;
}

.auth-body {
    text-align: left;
}

.auth-body h2 {
    color: var(--dark);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.premium-input-group {
    margin-bottom: 1.5rem;
}

.premium-input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.premium-input-group input {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #edeff2;
    border-radius: 15px;
    font-size: 1rem;
    color: var(--dark) !important;
    background: #fdfdfe;
    transition: 0.4s;
}

.premium-input-group input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 10px 30px rgba(38, 222, 129, 0.1);
}

.btn-auth-submit {
    width: 100%;
    padding: 1.3rem;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 1rem;
}

.btn-auth-submit:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.btn-google-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 1.1rem;
    background: #fff;
    border: 2px solid #edeff2;
    border-radius: 15px;
    margin-top: 1.5rem;
    text-decoration: none;
    color: var(--dark) !important;
    font-weight: 700;
    transition: 0.3s;
}

.auth-toggle-footer {
    margin-top: 3rem;
    text-align: center;
    color: var(--gray);
}

.auth-toggle-footer a {
    color: #10ac84;
    font-weight: 700;
    text-decoration: none;
}

/* --- Responsive Adaptability (THE CORE FIX) --- */
@media (max-width: 1100px) {
    .auth-page {
        flex-direction: column;
        /* Stack vertically for tablets/mobiles */
    }

    .auth-visual-side {
        padding: 6rem 2rem 4rem;
        flex: none;
        min-height: 40vh;
    }

    .auth-visual-content h1 {
        font-size: 3rem;
    }

    .auth-form-side {
        padding: 4rem 2rem;
        flex: 1;
    }

    .auth-body h2 {
        font-size: 2rem;
        text-align: center;
    }

    .auth-subtitle {
        text-align: center;
    }

    .navbar {
        padding: 0 2rem;
    }
}

@media (max-width: 600px) {
    .auth-visual-content h1 {
        font-size: 2.2rem;
    }

    .auth-visual-content p {
        font-size: 1rem;
    }

    .auth-form-side {
        padding: 3rem 1.5rem;
    }
}

/* --- Professional Footer --- */
/* --- Professional Footer --- */
.professional-footer {
    background: #000000;
    color: #888;
    padding: 1.5rem 0;
    font-size: 0.8rem;
    border-top: 1px solid #111;
    width: 100%;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-contact-link {
    color: #1e90ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
}

.footer-contact-link:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(30, 144, 255, 0.5);
}

.footer-action-btn {
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
    margin-left: 10px;
}

.footer-action-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-right span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-right strong {
    color: #ccc;
    font-weight: 600;
}

.footer-right .sep {
    color: #444;
}

@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1rem;
    }

    .footer-right {
        justify-content: center;
        font-size: 0.75rem;
    }

    .footer-left {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .footer-action-btn {
        margin-left: 0;
        width: 100%;
        max-width: 200px;
    }
}

/* --- Buttons global --- */
.btn-ghost {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-ghost:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
}