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

:root {
    --primary: #10b981; /* Emerald 500 */
    --primary-dark: #059669; /* Emerald 600 */
    --secondary: #0f172a; /* Slate 900 */
    --accent: #3b82f6; /* Blue 500 */
    --background: #f8fafc; /* Slate 50 */
    --card-bg: rgba(255, 255, 255, 0.8);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --glass-border: rgba(255, 255, 255, 0.3);
}

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

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    text-align: center;
    padding: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

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

/* Header */
header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    background: radial-gradient(circle at top right, #dcfce7 0%, transparent 40%),
                radial-gradient(circle at bottom left, #e0f2fe 0%, transparent 40%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Calculator Card */
.calculator-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: -2rem auto 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .calculator-card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    .hero h1 { font-size: 2.5rem; }
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--secondary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
}

input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.results-panel {
    background: #f1f5f9;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-item {
    margin-bottom: 2rem;
}

.result-item:last-child { margin-bottom: 0; }

.result-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.savings {
    color: var(--primary);
}

.cta-button {
    width: 100%;
    padding: 1rem;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Trust Section */
.trust-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

.trust-item {
    padding: 2rem;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.trust-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Features */
.features {
    padding: 6rem 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .grid { grid-template-columns: 1fr; }
}

.feature-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: #ecfdf5;
    color: var(--primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

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

/* Guarantee Section */
.guarantee-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 4rem 0;
    text-align: center;
    border-top: 2px dashed #f59e0b;
    border-bottom: 2px dashed #f59e0b;
}

.guarantee-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.guarantee-section p {
    font-size: 1.1rem;
    color: var(--secondary);
    max-width: 700px;
    margin: 0 auto 1rem;
    line-height: 1.8;
}

.guarantee-section .subtext {
    font-size: 0.95rem;
    color: #92400e;
    font-style: italic;
}

footer {
    padding: 4rem 0;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}
