/* Landing Page Premium Styles */
:root {
    --primary-gradient: linear-gradient(135deg, #3266AF 0%, #2a5298 100%);
    --accent-gradient: linear-gradient(135deg, #00C853 0%, #009688 100%);
    /* Green/Teal for "Money/Success" */
    --surface-light: #ffffff;
    --surface-off-white: #f8f9fa;
    --text-primary: #2C3E50;
    --text-secondary: #6c757d;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(50, 102, 175, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --radius-lg: 20px;
}

body {
    font-family: 'Public Sans', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    background-color: var(--surface-light);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 200, 83, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 83, 0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fade-in-up 0.8s ease-out forwards;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: -webkit-linear-gradient(45deg, #3266AF, #2a5298);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Navbar */
.navbar-custom {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary) !important;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.landing-hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 10% 10%, rgba(50, 102, 175, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(0, 200, 83, 0.05) 0%, transparent 40%);
    position: relative;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(50, 102, 175, 0.1);
    color: #3266AF;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(50, 102, 175, 0.1);
}

.hero-title {
    font-size: 3.75rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-image-container {
    position: relative;
    z-index: 1;
}

.hero-img {
    animation: float 6s ease-in-out infinite;
    max-height: 550px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* Buttons */
.btn-cta {
    background: var(--accent-gradient);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 200, 83, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 200, 83, 0.4);
    color: white;
}

.btn-cta.pulse {
    animation: pulse-glow 2s infinite;
}

.btn-outline-custom {
    padding: 14px 30px;
    border-radius: 50px;
    border: 2px solid #e0e0e0;
    color: var(--text-primary);
    font-weight: 600;
    background: transparent;
    transition: all 0.3s;
}

.btn-outline-custom:hover {
    border-color: #3266AF;
    color: #3266AF;
    background: rgba(50, 102, 175, 0.05);
}

/* Features Cards */
.feature-card {
    background: var(--surface-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(50, 102, 175, 0.03) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(50, 102, 175, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    background: rgba(50, 102, 175, 0.1);
    color: #3266AF;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon-box {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1);
}

/* How It Works with Connecting Lines */
.steps-section {
    position: relative;
    background: var(--surface-off-white);
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    font-size: 5rem;
    font-weight: 900;
    color: #f0f2f5;
    line-height: 1;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step-content {
    position: relative;
    z-index: 1;
    padding-top: 2.5rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #3266AF;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    margin: 0 auto 1.5rem;
    border: 4px solid var(--surface-off-white);
}

/* Trust Badges Bar */
.trust-bar {
    background: white;
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.trust-item i {
    font-size: 24px;
    color: #00C853;
    /* Success Green */
}

/* FAQ Clean */
.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 1rem;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    background: white;
}

.accordion-button:not(.collapsed) {
    background: rgba(50, 102, 175, 0.05);
    color: #3266AF;
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer Premium */
footer {
    background: #0b1120;
    /* Very dark blue/black */
    color: #94a3b8;
}

footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer a {
    color: #94a3b8;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

/* Auth Page Specifics */
.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 10% 10%, rgba(50, 102, 175, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(0, 200, 83, 0.05) 0%, transparent 40%);
    padding: 2rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(50, 102, 175, 0.1);
    width: 100%;
    max-width: 450px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.auth-card.register-card {
    max-width: 600px;
}

.auth-brand {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #3266AF;
    text-align: center;
    display: block;
    text-decoration: none;
}

.auth-welcome {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-floating>.form-control:focus,
.form-floating>.form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.input-group-text {
    background: transparent;
    border-color: #d9dee3;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.auth-footer a {
    color: #3266AF;
    font-weight: 600;
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .landing-hero {
        padding: 120px 0 60px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-image-container {
        margin-top: 3rem;
    }

    .feature-card {
        margin-bottom: 1rem;
    }
}