/* 
   Snappy - Premium Design System
   Designed for High Performance FinTech 
*/

:root {
    --primary-color: #007AFF;
    --primary-dark: #1D3BB9;
    --primary-soft: rgba(0, 122, 255, 0.1);
    --accent-color: #00D2A0;
    --accent-soft: rgba(0, 210, 160, 0.1);
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background: var(--bg-light);
    background-image: radial-gradient(at 0% 0%, hsla(214,100%,93%,1) 0, transparent 50%), 
                      radial-gradient(at 50% 0%, hsla(187,100%,92%,1) 0, transparent 50%), 
                      radial-gradient(at 100% 0%, hsla(220,100%,94%,1) 0, transparent 50%);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 10px; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }

/* Header Premium */
.header {
    position: fixed;
    top: 0; width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(15px);
}
.header.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
}
.nav-links { 
    display: flex; 
    gap: 2.5rem; 
    list-style: none; 
    align-items: center;
    margin-bottom: 0;
}
.nav-link { 
    text-decoration: none; 
    color: var(--text-main); 
    font-weight: 500; 
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}
.nav-link:hover { color: var(--primary-color); }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    border: none;
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.2);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 122, 255, 0.3);
}

/* Sections */
section { padding: 100px 0; }

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-title span {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Cards */
.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}
.card-glass:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

/* Floating Animations */
.floating-premium {
    animation: floatingPremium 6s ease-in-out infinite;
}
@keyframes floatingPremium {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* Footer */
.footer {
    background: #0F172A;
    color: white;
    padding: 80px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}
.footer-links h4 { margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: #94A3B8; transition: var(--transition); }
.footer-links a:hover { color: white; padding-left: 5px; }

.social-links a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; color: white; margin-right: 10px;
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary-color); transform: translateY(-5px); }

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
    section { padding: 60px 0; }
}
