:root {
    --primary: #00c45c;
    --primary-light: #4cd137;
    --secondary: #20bf6b;
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius: 24px;
}

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

body {
    background-color: var(--dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==================== LAYOUT ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== NAVIGATION ==================== */
nav {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-white);
}

.btn-login {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 12px 25px;
    border-radius: 12px;
    color: var(--text-white) !important;
    backdrop-filter: blur(10px);
}

/* ==================== HERO SECTION ==================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), 
                url('../landing/perapay_hero_bg_green.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 100px;
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

h1 span {
    background: linear-gradient(to right, var(--primary-light), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 18px 36px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.5);
}

/* ==================== FEATURES ==================== */
.features {
    padding: 150px 0;
    background: var(--dark-lighter);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.feature-card {
    background: var(--dark);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    transition: border-color 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 25px;
}

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

.feature-card p {
    color: var(--text-gray);
}

/* ==================== AUTH / FORMS ==================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 20px;
}

.auth-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    width: 100%;
    max-width: 480px;
    padding: 50px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header img {
    height: 50px;
    margin-bottom: 25px;
}

.auth-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-gray);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-white);
}

.input-group-premium {
    position: relative;
    margin-bottom: 20px;
}

.input-group-premium i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    transition: color 0.3s;
}

.form-control-premium {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 15px 15px 15px 50px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control-premium:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(0, 196, 92, 0.1);
}

.form-control-premium:focus + i {
    color: var(--primary);
}

.btn-auth {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-auth:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 196, 92, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
}

/* Auth Tabs */
.auth-tabs-premium {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-gray);
    padding: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

/* Feedback Messages */
.alert-premium {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-error {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.2);
    color: #ff5252;
}

.alert-success {
    background: rgba(0, 196, 92, 0.1);
    border: 1px solid rgba(0, 196, 92, 0.2);
    color: var(--primary-light);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    h1 { font-size: 3.5rem; }
    .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    .nav-links { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .hero { text-align: center; justify-content: center; }
    .hero p { margin: 0 auto 40px; }
    .cta-group { justify-content: center; }
}
