/* style.css */
:root {
    --bg-color: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #2dd4bf; /* Teal */
    --accent-hover: #14b8a6;
    --card-bg: rgba(30, 41, 59, 0.7);
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

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

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

/* Hero */
.hero {
    text-align: center;
    padding: 60px 0 40px;
    background: radial-gradient(circle at top, rgba(45, 212, 191, 0.15) 0%, transparent 50%);
}

.limited-offer {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Calculator Card */
.calculator-section {
    padding: 40px 0;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    text-align: center;
}

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

.calc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-end;
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input-group label {
    margin-bottom: 8px;
    font-weight: 600;
}

.input-group input {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border);
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1rem;
    width: 250px;
    outline: none;
    transition: border 0.3s;
}

.input-group input:focus {
    border-color: var(--accent);
}

.btn-primary {
    background: var(--accent);
    color: #0f172a;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    height: 50px;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Result Area */
.result-hidden {
    display: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.result-visible {
    display: block;
    opacity: 1;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    animation: slideUp 0.5s ease;
}

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

.upsell-box {
    margin-top: 30px;
    background: rgba(45, 212, 191, 0.05);
    border: 1px dashed var(--accent);
    padding: 25px;
    border-radius: 12px;
}

.upsell-box h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.upsell-box p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-premium {
    display: inline-block;
    background: linear-gradient(135deg, #2dd4bf, #0284c7);
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(45, 212, 191, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(45, 212, 191, 0.4);
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.2);
}

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

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

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-style: italic;
}

.author {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.user-count {
    text-align: center;
    padding: 20px;
    background: rgba(45, 212, 191, 0.1);
    border-radius: 12px;
    border: 1px solid var(--accent);
}

.user-count p {
    font-size: 1.1rem;
}

.user-count strong {
    color: var(--accent);
    font-size: 1.3rem;
}

/* Showcase */
.showcase {
    padding: 60px 0;
}

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

.showcase-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.showcase-text {
    flex: 1;
}

.showcase-text ul {
    list-style: none;
}

.showcase-text li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    background: var(--card-bg);
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    border-right: none;
}

.showcase-image {
    flex: 1;
}

.showcase-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .showcase-grid {
        flex-direction: column;
    }
    .hero h1 { font-size: 2.2rem; }
    .input-group input { width: 100%; }
}

footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    margin-top: 50px;
}


/* Advanced Calc Styles */
.advanced-calc .input-group { width: 45%; }
@media (max-width: 768px) { .advanced-calc .input-group { width: 100%; } }

.score-board { display: flex; align-items: center; gap: 30px; margin-bottom: 30px; background: rgba(0,0,0,0.2); padding: 20px; border-radius: 12px; }
.score-circle { width: 100px; height: 100px; border-radius: 50%; border: 4px solid var(--border); display: flex; justify-content: center; align-items: center; font-size: 3rem; font-weight: 800; }
.score-text { flex: 1; text-align: left; }
.score-text h3 { font-size: 1.5rem; margin-bottom: 5px; }

.progress-bar-container { background: rgba(0,0,0,0.2); padding: 20px; border-radius: 12px; margin-bottom: 30px; }
.progress-labels { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 600; font-size: 0.9rem; }
.multi-progress { height: 20px; width: 100%; background: #334155; border-radius: 10px; display: flex; overflow: hidden; margin-bottom: 10px; }
.bar-segment { height: 100%; transition: width 1s ease-in-out; }
.bar-needs { background: #ef4444; }
.bar-wants { background: #f59e0b; }
.bar-savings { background: #2dd4bf; }
.ideal-text { font-size: 0.85rem; color: var(--text-muted); text-align: center; }

/* Pricing Tiers CSS */
.pricing-tiers {
    margin-top: 40px;
    text-align: center;
}
.pricing-tiers h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.pricing-intro {
    color: var(--text-muted);
    margin-bottom: 30px;
}
.pricing-grid {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}
.price-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    width: 320px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, border-color 0.3s;
}
.price-card:hover {
    transform: translateY(-5px);
}
.price-card.popular {
    border-color: var(--accent);
    background: rgba(45, 212, 191, 0.05);
    box-shadow: 0 10px 30px rgba(45, 212, 191, 0.1);
}
.price-card .badge {
    position: absolute;
    top: -12px;
    background: var(--accent);
    color: #0f172a;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 20px;
    text-transform: uppercase;
}
.price-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.price-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 15px;
}
.price-card .price-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    height: 45px;
    text-align: center;
}
.price-card .price-features {
    list-style: none;
    width: 100%;
    margin-bottom: 25px;
    text-align: left;
}
.price-card .price-features li {
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.btn-tier {
    width: 100%;
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--border);
    transition: background 0.3s, color 0.3s;
    margin-top: auto;
}
.btn-tier:hover {
    background: white;
    color: #0f172a;
}
.btn-premium-tier {
    background: linear-gradient(135deg, #2dd4bf, #0284c7);
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(45, 212, 191, 0.2);
}
.btn-premium-tier:hover {
    background: linear-gradient(135deg, #14b8a6, #0369a1);
    color: white;
    transform: scale(1.02);
}
