/* ========================================
   SALDOFREE 2026 - LOGIN PAGE STYLES
   ======================================== */

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --secondary: #06b6d4;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --glass: rgba(255, 255, 255, 0.95);
    --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f0f2f5 0%, #f8f9fc 100%);
    background-attachment: fixed;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- TOP BAR --- */
.top-bar {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 12px 0;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(79, 70, 229, 0.2);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.top-bar i {
    color: var(--warning);
    margin-right: 8px;
    font-size: 1rem;
}

/* --- HEADER --- */
header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #f0f2f5;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.02);
}

.logo i {
    color: var(--primary);
    font-size: 1.3rem;
}

.logo span {
    color: var(--primary);
    font-weight: 800;
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--primary);
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* --- CONTAINER --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HERO GRID --- */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    padding: 80px 0;
    align-items: center;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge */
.badge-new {
    display: inline-block;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    border: 1px solid rgba(79, 70, 229, 0.2);
    transition: all 0.3s ease;
}

.badge-new:hover {
    background: rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.4);
}

/* Hero Text */
.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--dark);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.15rem;
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.8;
}

.trust-icons {
    display: flex;
    gap: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--success);
    flex-wrap: wrap;
}

.trust-icons span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-icons i {
    font-size: 1.1rem;
    color: var(--success);
}

/* --- CLAIM CARD --- */
.claim-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    animation: slideUp 0.8s ease 0.2s both;
    position: sticky;
    top: 100px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.claim-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 800;
}

.claim-card p {
    text-align: center;
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 30px;
}

/* Google Button */
.google-btn-wrapper {
    margin-bottom: 25px;
}

.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    background: var(--white);
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-google::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(79, 70, 229, 0.05);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-google:hover::before {
    left: 0;
}

.btn-google img {
    width: 24px;
    height: 24px;
}

.btn-google:hover {
    background: #f8fafc;
    border-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.btn-google:active {
    transform: translateY(0);
}

/* Security Info */
.security-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
}

.security-info i {
    color: var(--success);
}

/* --- FEATURES SECTION --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 0;
    animation: slideUp 0.8s ease 0.4s both;
}

.feat-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feat-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.feat-card:hover i {
    transform: scale(1.1);
}

.feat-card h4 {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 700;
}

.feat-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

/* --- LIVE POPUP NOTIFICATION --- */
.live-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2000;
    border: 1px solid #e2e8f0;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.live-popup.active {
    transform: translateY(0);
}

.user-avatar {
    font-size: 2rem;
    color: var(--primary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
}

.notif-text {
    font-size: 0.9rem;
}

.notif-text strong {
    color: var(--dark);
    display: block;
    margin-bottom: 2px;
}

.notif-amount {
    display: block;
    color: var(--success);
    font-weight: 800;
    font-size: 0.95rem;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }

    .claim-card {
        position: static;
        top: 0;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .desktop-nav {
        display: none;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .claim-card {
        padding: 25px;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }

    .trust-icons {
        gap: 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    body {
        padding: 0;
    }

    .container {
        padding: 0 12px;
    }

    header {
        padding: 12px 0;
    }

    .nav-container {
        padding: 0 10px;
    }

    .logo {
        font-size: 1rem;
    }

    .hero-grid {
        padding: 40px 0;
        gap: 30px;
    }

    .badge-new {
        font-size: 0.65rem;
        padding: 6px 15px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .hero-text p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .trust-icons {
        flex-direction: column;
        gap: 10px;
        font-size: 0.75rem;
    }

    .claim-card {
        padding: 20px;
        position: static;
        margin-top: 20px;
    }

    .claim-card h3 {
        font-size: 1.2rem;
    }

    .claim-card p {
        font-size: 0.85rem;
    }

    .btn-google {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .btn-google img {
        width: 20px;
    }

    .security-info {
        font-size: 0.65rem;
    }

    .feat-card {
        padding: 20px;
    }

    .feat-card i {
        font-size: 2rem;
    }

    .feat-card h4 {
        font-size: 0.95rem;
    }

    .feat-card p {
        font-size: 0.8rem;
    }

    .live-popup {
        bottom: 10px;
        left: 10px;
        padding: 12px 16px;
        border-radius: 40px;
    }

    .user-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .notif-text {
        font-size: 0.75rem;
    }
}

/* Loading Spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    border: 4px solid #f0f2f5;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}