:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #10b981; /* Fresh mint/teal for financial growth */
    --accent-hover: #059669;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --bg-color: #020617;
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --radius-lg: 24px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    border-radius: 50%;
    opacity: 0.5;
}

.blob-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: #4f46e5; /* Indigo */
}

.blob-2 {
    top: 200px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: #0284c7; /* Blue */
}

.blob-3 {
    bottom: -200px;
    left: 20%;
    width: 600px;
    height: 600px;
    background: #0f766e; /* Teal */
}

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

/* Header */
header {
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.logo-text {
    color: var(--accent);
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

nav a:not(.button):hover {
    color: var(--accent);
}

/* Buttons */
.button {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.button-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.button-full {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    margin-top: 16px;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 80px 24px;
    min-height: calc(100vh - 80px);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #10b981, #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-actions {
    margin-bottom: 48px;
}

.trust-stats {
    display: flex;
    gap: 40px;
}

.stat strong {
    display: block;
    font-size: 1.75rem;
    color: var(--text-main);
    line-height: 1.2;
}

.stat span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Calculator Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.calculator-card h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.calculator-card .subtitle {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.input-group {
    margin-bottom: 32px;
}

.input-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}

.amount-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.currency-symbol {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
}

.amount-wrapper input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 20px 20px 20px 50px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.amount-wrapper input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    margin-top: -10px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    border: 2px solid #fff;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.result-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.result-item.highlight {
    grid-column: span 2;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.result-item.highlight .result-label {
    color: var(--accent);
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.result-item.highlight .result-value {
    font-size: 2rem;
    color: var(--accent);
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-style: italic;
    opacity: 0.8;
}

/* Benefits Section */
.benefits-section {
    padding: 100px 24px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 64px;
}

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

.benefit-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(30, 41, 59, 0.8);
}

.benefit-card .icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.benefit-card p {
    color: var(--text-muted);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-container p {
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 40px 24px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 40px;
    }
    
    .trust-stats {
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
        gap: 16px;
    }
    .trust-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .glass-card {
        padding: 24px;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .result-item.highlight {
        grid-column: span 1;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        align-items: center; /* keep everything centered */
    }
    
    .hero {
        padding: 24px 16px;
    }
    
    .benefits-section {
        padding: 60px 16px;
    }
}
