:root {
    --primary: #6366f1;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background: radial-gradient(circle at top right, #1e1b4b, #0f172a);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--light);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Glassmorphism Card */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.calculator-card {
    max-width: 500px;
    margin: 0 auto;
}

/* Forms */
.form-group {
    margin-bottom: 25px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #cbd5e1;
}

input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
    border: none;
    width: 100%;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--dark);
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* Results */
.hidden {
    display: none;
}

.results {
    padding: 40px 0;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.result-content {
    margin: 20px 0;
    text-align: left;
}

/* Content Sections */
.content {
    padding: 80px 0;
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
}

/* FAQ */
.faq {
    padding-bottom: 80px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.faq-item h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* Final CTA */
.final-cta {
    padding: 80px 0;
}

.card-dark {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    padding: 60px;
    border-radius: 30px;
    text-align: center;
}

.card-dark h2 {
    margin-bottom: 15px;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: #64748b;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .glass {
        padding: 20px;
    }
    
    .card-dark {
        padding: 40px 20px;
    }
}
