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

:root {
    --dark: #1a1a1a;
    --darker: #111111;
    --accent: #f5a623;
    --green: #4a9b5e;
    --light: #f5f5f7;
    --gray: #6c7a89;
    --muted: #95a5a6;
    --white: #ffffff;
    --radius: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ========== HERO ========== */
.hero {
    background: var(--darker);
    color: white;
    padding: 0 24px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(245,166,35,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-nav {
    padding: 24px 0;
    position: relative;
    z-index: 1;
}

.hero-logo {
    height: 32px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    border: 1px solid rgba(245,166,35,0.3);
    padding: 6px 16px;
    border-radius: 50px;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 em {
    color: var(--accent);
    font-style: normal;
}

.hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 32px;
    background: var(--accent);
    border-radius: 50px;
    transition: all 0.3s;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,166,35,0.3);
}

/* ========== STATS BAR ========== */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 0;
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.stat {
    flex: 1;
    max-width: 200px;
    text-align: center;
    padding: 24px 16px;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.stat:last-child {
    border-right: none;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
}

/* ========== CALCULATOR SECTION ========== */
.calc-section {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 20px 64px;
}

.calc-card {
    background: var(--white);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.06);
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
}

.step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8ecef;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    transition: all 0.3s;
}

.step.active { color: var(--dark); }
.step.active span { background: var(--accent); color: white; }
.step.completed span { background: var(--green); color: white; }

.step-line {
    width: 40px;
    height: 2px;
    background: #e8ecef;
    margin: 0 10px;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeUp 0.35s ease-out;
}

.form-step.active { display: block; }

.form-step h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    text-align: center;
}

/* Option Grid */
.option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 12px;
    border: 2px solid #e8ecef;
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.option-btn span {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.option-btn i {
    font-size: 26px;
    color: var(--muted);
    transition: all 0.2s;
}

.option-btn:hover {
    border-color: var(--accent);
    background: rgba(245, 166, 35, 0.03);
}

.option-btn.selected {
    border-color: var(--accent);
    background: rgba(245, 166, 35, 0.06);
}

.option-btn.selected i { color: var(--accent); }

/* Option Pills */
.option-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.option-pill {
    flex: 1;
    min-width: 100px;
    padding: 12px 16px;
    border: 2px solid #e8ecef;
    border-radius: 50px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

.option-pill:hover { border-color: var(--accent); }

.option-pill.selected {
    border-color: var(--accent);
    background: var(--accent);
    color: white;
}

/* Form Group */
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Input Field */
.input-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 2px solid #d0d7de;
    border-radius: var(--radius);
    padding: 4px 16px;
    transition: all 0.3s;
}

.input-field:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.12);
}

.input-field-icon { font-size: 20px; color: var(--muted); }
.input-field:focus-within .input-field-icon { color: var(--accent); }

.input-field input {
    flex: 1;
    border: none;
    font-size: 16px;
    padding: 14px 4px;
    background: transparent;
    font-family: inherit;
    color: var(--dark);
    outline: none;
}

.input-field input::placeholder { color: #b0bec5; }

/* Modal inputs */
.modal .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8ecef;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    color: var(--dark);
    outline: none;
    transition: border-color 0.3s;
}

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

/* Buttons */
.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px;
    background: #d0d7de;
    color: var(--muted);
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: default;
    transition: all 0.3s;
    margin-top: 8px;
}

.btn-primary.active {
    background: var(--accent);
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.3);
}

.btn-primary.active:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(245, 166, 35, 0.4);
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: transparent;
    color: var(--gray);
    border: 2px solid #e8ecef;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--dark);
    color: var(--dark);
}

/* Loading */
.loading { text-align: center; padding: 48px 36px; }

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(245, 166, 35, 0.15);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 24px;
}

#loadingText { font-size: 14px; color: var(--gray); margin-bottom: 20px; }

@keyframes spin { to { transform: rotate(360deg); } }

.progress-bar {
    height: 4px;
    background: #e8ecef;
    border-radius: 2px;
    overflow: hidden;
    max-width: 300px;
    margin: 0 auto;
}

.progress-fill {
    height: 100%;
    border-radius: 2px;
    background: var(--accent);
    transition: width 0.5s;
}

/* ========== RESULTS ========== */
.result-hero {
    text-align: center;
    background: var(--darker);
    border-radius: 16px;
    padding: 36px 20px;
    margin-bottom: 28px;
}

.result-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 8px;
}

.result-amount {
    font-size: clamp(32px, 6vw, 44px);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    letter-spacing: -1px;
}

.result-amount span {
    font-size: 16px;
    color: rgba(255,255,255,0.4);
    font-weight: 400;
    letter-spacing: 0;
}

.result-sub {
    font-size: 14px;
    color: var(--accent);
    margin-top: 8px;
    font-weight: 600;
}

.result-summary {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 28px;
}

/* Comparison */
.comparison {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8ecef;
}

.comp-col {
    flex: 1;
    padding: 24px 16px;
    text-align: center;
}

.comp-col.budget { background: #fef5f5; }
.comp-col.wrks { background: #f0faf9; }

.comp-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 8px;
}

.comp-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
}

.budget .comp-amount { color: #c0392b; }
.wrks .comp-amount { color: var(--green); }

.comp-detail { font-size: 12px; color: var(--gray); margin-top: 2px; }
.comp-meta { font-size: 11px; color: #b0bec5; margin-top: 6px; }

.comp-vs {
    font-size: 10px;
    font-weight: 800;
    color: #b0bec5;
    background: var(--white);
    border: 1px solid #e8ecef;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 -16px;
    z-index: 1;
    position: relative;
}

/* Section */
.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
}

.pack-desc {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.product-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    background: #fafbfc;
    transition: border-color 0.2s;
}

.product-card:hover { border-color: var(--accent); }

.product-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    flex-shrink: 0;
}

.product-img-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: #e8ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 24px;
    flex-shrink: 0;
}

.product-info { flex: 1; min-width: 0; }

.product-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.product-detail {
    font-size: 13px;
    color: var(--gray);
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    margin-top: 4px;
}

.product-link:hover { text-decoration: underline; }

.pack-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #f8f9fb;
    border-radius: 10px;
    margin-bottom: 28px;
    font-size: 14px;
    color: var(--gray);
}

.pack-total strong { font-size: 18px; color: var(--dark); }

.args-section { margin-bottom: 24px; }

.arg-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #4a5568;
}

.arg-item i { color: var(--green); font-size: 16px; margin-top: 2px; flex-shrink: 0; }

.tip-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #92400e;
    margin-bottom: 24px;
}

.tip-box i { color: #f59e0b; margin-right: 4px; }

.result-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
}

/* ========== WHY SECTION ========== */
.why-section {
    background: var(--darker);
    padding: 64px 24px;
    text-align: center;
}

.why-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.why-card {
    padding: 28px 20px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
}

.why-icon {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
}

.why-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.5);
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal {
    background: white;
    border-radius: 20px;
    padding: 36px;
    max-width: 440px;
    width: 100%;
    position: relative;
    animation: fadeUp 0.3s ease-out;
}

.modal h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.modal > p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.5;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--gray);
    cursor: pointer;
    padding: 4px;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--gray);
    margin: 16px 0;
    cursor: pointer;
}

.checkbox-label input { margin-top: 2px; accent-color: var(--accent); }

/* Footer */
footer {
    text-align: center;
    padding: 48px 20px;
    font-size: 13px;
    color: #b0bec5;
}

footer a {
    color: var(--gray);
    text-decoration: none;
}

footer a:hover { color: var(--dark); }

footer p { margin-top: 8px; }

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hidden */
.hidden { display: none !important; }

/* Mobile */
@media (max-width: 600px) {
    .hero { padding: 0 16px 48px; }
    .hero h1 { font-size: 28px; }
    .hero-badges { flex-wrap: wrap; }
    .stats-bar { flex-wrap: wrap; }
    .stat { min-width: 33%; }
    .calc-card { padding: 24px 16px; }
    .option-grid { gap: 8px; }
    .option-btn { padding: 18px 8px; }
    .option-btn i { font-size: 22px; }
    .option-pill { font-size: 12px; padding: 10px 12px; }
    .comparison { flex-direction: column; }
    .comp-vs { margin: -16px 0; }
    .result-amount { font-size: 32px; }
    .step { font-size: 10px; }
    .why-section { padding: 48px 16px; }
    .why-section h2 { font-size: 22px; }
}
