:root {
    --primary: #4a58d1;
    --accent: #d65d0c;
    --bg-dark: #090002;
    --bg-card: #1D3242;
    --text: #ffffff;
    --text-dim: #a0aec0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

h1, h2, .logo {
    font-family: 'Outfit', sans-serif;
}

/* Background Animations */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.4;
}

.blob {
    position: absolute;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
}

.blob-1 {
    background: var(--primary);
    top: -10%;
    right: -10%;
    animation: move 20s infinite alternate;
}

.blob-2 {
    background: var(--accent);
    bottom: -10%;
    left: -10%;
    animation: move 25s infinite alternate-reverse;
}

@keyframes move {
    from { transform: translate(0, 0); }
    to { transform: translate(100px, 100px); }
}

/* Layout */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    height: 60px;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* Card & Form */
.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: relative;
    backdrop-filter: blur(10px);
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--glass-border);
    z-index: 0;
}

.step {
    width: 36px;
    height: 36px;
    background: var(--bg-dark);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 1;
    transition: 0.3s;
    color: var(--text-dim);
}

.step.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 15px var(--primary);
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

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

h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dim);
    font-weight: 500;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
}

/* Range Slider */
.range-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

input[type="range"] {
    flex: 1;
    accent-color: var(--primary);
}

#hours-value {
    font-weight: bold;
    color: var(--primary);
    min-width: 40px;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: rgba(0,0,0,0.2);
    padding: 1rem;
    border-radius: 12px;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    cursor: pointer;
}

/* Buttons */
.actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
    flex: 1;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 88, 209, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
}

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

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3);
}

.form-step-actions-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.form-step-actions-vertical .btn {
    width: 100%;
}

.btn-accent:hover {
    background: #f06a0e;
    transform: scale(1.02);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(214, 93, 12, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(214, 93, 12, 0); }
    100% { box-shadow: 0 0 0 0 rgba(214, 93, 12, 0); }
}

/* Results Section */
.results-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 2rem;
}

.roi-score {
    margin-top: 1rem;
}

.roi-score .label {
    display: block;
    color: var(--text-dim);
}

.roi-score .value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent);
    display: block;
}

.results-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.stat-box {
    text-align: center;
}

.stat-box span {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.cta-text {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Step 5: Success */
.success-header {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    color: white;
    font-size: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.confirmation-details {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px dashed var(--glass-border);
    line-height: 1.8;
}

.contact-delivery {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.contact-delivery li {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reminder {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 1.5rem;
    font-style: italic;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Footer */
footer {
    margin-top: 4rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #10b981;
    color: white;
    padding: 1rem 2rem;
    border-radius: 99px;
    font-weight: bold;
    transition: 0.5s;
    z-index: 1000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 600px) {
    .card { padding: 1.5rem; }
    h1 { font-size: 1.8rem; }
    .checkbox-grid { grid-template-columns: 1fr; }
    .results-stats { flex-direction: column; gap: 1rem; }
}

/* Intl Tel Input Overrides */
.iti {
    width: 100%;
    display: block;
}
.iti__country-list {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--glass-border) !important;
    color: white !important;
    border-radius: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}
.iti__country {
    padding: 10px 10px !important;
}
.iti__country.iti__highlight {
    background-color: rgba(255,255,255,0.1) !important;
}
.iti__selected-flag {
    padding: 0 1rem !important;
    border-radius: 12px 0 0 12px;
}
.iti__flag-container {
    z-index: 10;
}
.iti input[type="tel"] {
    padding-left: 90px !important;
}
