@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Premium Fintech Palette matching Logo */
    --primary-main: #0a1733; /* Dark Navy from Logo */
    --primary-light: #182855; 
    --primary-gradient: linear-gradient(135deg, #0a1733 0%, #1e3a8a 100%);
    
    --accent-red: #e31837; /* Vivid Red from Logo */
    --accent-gradient: linear-gradient(135deg, #e31837 0%, #ff4b5c 100%);
    
    --bg-color: #f8fafc; /* Very light slate for premium depth */
    --bg-surface: #ffffff; /* Pure white cards */
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: rgba(148, 163, 184, 0.2);
    
    /* Effects & Depths */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-glow: 0 0 25px rgba(227, 24, 55, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', system-ui, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a, button, .btn {
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}

/* Background Blobs (Premium Vibe) */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    animation: drift 20s infinite alternate ease-in-out;
}
.blob-1 { top: -20%; left: -10%; background: var(--primary-main); }
.blob-2 { bottom: -20%; right: -10%; background: var(--accent-red); opacity: 0.1; animation-delay: -10s; }

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.1); }
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: rgba(10, 23, 51, 0.1);
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-accent-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Typography */
h1, h2, h3, h4 { color: var(--primary-main); font-weight: 700; line-height: 1.2; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}
.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 8px 20px -8px rgba(227, 24, 55, 0.5);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.btn-outline {
    background: transparent;
    border-color: var(--primary-main);
    color: var(--primary-main);
}
.btn-outline:hover {
    background: var(--primary-main);
    color: white;
    box-shadow: 0 8px 20px -8px rgba(10, 23, 51, 0.4);
}

/* Global Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    box-shadow: var(--shadow-soft);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 48px;
    width: auto;
    display: block;
}
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-links-inner {
    display: flex;
    gap: 24px;
}
.nav-links-inner a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}
.nav-links-inner a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-gradient);
    transition: var(--transition);
    border-radius: 2px;
}
.nav-links-inner a:hover::after, .nav-links-inner a.active::after { width: 100%; }
.nav-links-inner a:hover, .nav-links-inner a.active { color: var(--accent-red); }

.nav-auth {
    display: flex;
    gap: 16px;
    align-items: center;
    border-left: 1px solid var(--border-color);
    padding-left: 24px;
}
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections */
section { padding: 100px 0; }
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.15rem; }

/* Forms */
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-weight: 500; margin-bottom: 8px; color: var(--primary-main); font-size: 0.95rem; }
.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-surface);
    transition: var(--transition);
    color: var(--text-main);
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 4px rgba(227, 24, 55, 0.1);
}
textarea.form-control { min-height: 140px; resize: vertical; }

/* Global Footer */
footer {
    background: var(--primary-main);
    color: #ffffff;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: var(--accent-gradient);
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand p {
    color: #94a3b8;
    margin-top: 24px;
    line-height: 1.8;
}
.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 24px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
}
.footer-links a:hover {
    color: #ffffff;
    padding-left: 6px;
}
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
}

/* Animations */
.animate-in { animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Hero Generic */
.hero-generic {
    padding: 160px 0 80px;
    text-align: center;
}
.hero-generic h1 { font-size: 3.5rem; margin-bottom: 24px; }
.hero-generic p { max-width: 700px; margin: 0 auto; color: var(--text-muted); font-size: 1.2rem; line-height: 1.8;}

/* Responsive */
@media (max-width: 992px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .hero-generic h1 { font-size: 2.8rem; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: rgba(255, 255, 255, 0.98);
        padding: 24px;
        box-shadow: var(--shadow-soft);
        align-items: center;
    }
    .nav-links.active { display: flex; }
    .nav-links-inner { flex-direction: column; text-align: center; width: 100%; gap: 16px; }
    .nav-auth { border-left: none; padding-left: 0; width: 100%; justify-content: center; margin-top: 16px; border-top: 1px solid var(--border-color); padding-top: 16px; flex-direction: column; }
    .mobile-menu-btn { display: block; }
    
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
