/* =====================================================
   OLTREVITA - DESIGN 2025
   Modern, Clean, Trust-inspiring
   ===================================================== */

/* =====================================================
   CSS VARIABLES - 2025 PALETTE
   ===================================================== */
:root {
    /* Primary - Warm Gold/Amber */
    --primary: #D4A853;
    --primary-light: #F5E6C8;
    --primary-dark: #B8922F;
    --primary-glow: rgba(212, 168, 83, 0.3);
    
    /* Accent - Modern Teal */
    --accent: #0D9488;
    --accent-light: #CCFBF1;
    --accent-dark: #0F766E;
    
    /* Success - Fresh Green */
    --success: #22C55E;
    --success-light: #DCFCE7;
    --success-glow: rgba(34, 197, 94, 0.2);
    
    /* Warning/Urgency - Vibrant Orange */
    --warning: #F97316;
    --warning-light: #FFEDD5;
    
    /* Error - Soft Red */
    --error: #EF4444;
    --error-light: #FEE2E2;
    
    /* Neutrals - Cool Gray */
    --bg-primary: #FAFBFC;
    --bg-secondary: #F1F5F9;
    --bg-white: #FFFFFF;
    --bg-dark: #0F172A;
    
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --text-white: #FFFFFF;
    
    --border-light: #E2E8F0;
    --border-medium: #CBD5E1;
    
    /* Shadows - Layered */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 0 40px rgba(212, 168, 83, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    
    /* Glass effect */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(12px);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font-sans);
    
    /* Spacing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.quote-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #FAFBFC 0%, #F1F5F9 50%, #E8F4F8 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.quote-wrapper::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.quote-wrapper::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* =====================================================
   HEADER - Dark for white logo
   ===================================================== */
.quote-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.quote-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem;
    margin: -0.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.header-back:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.header-back svg {
    width: 20px;
    height: 20px;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo img {
    height: 150px;
    width: auto;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 168, 83, 0.15);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.header-contact:hover {
    background: rgba(212, 168, 83, 0.25);
}

.header-contact svg {
    stroke: var(--primary);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.quote-hero {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--success-light);
    color: var(--accent-dark);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    animation: fadeInUp 0.5s ease;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.quote-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.quote-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* =====================================================
   STEP PANELS
   ===================================================== */
.quote-body {
    padding: 0 0 3rem;
    position: relative;
    z-index: 1;
}

.step-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

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

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

/* =====================================================
   STEPPER / PROGRESS
   ===================================================== */
.stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.stepper-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--bg-secondary);
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.stepper-item.active .stepper-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px var(--primary-glow);
    transform: scale(1.1);
}

.stepper-item.completed .stepper-number {
    background: var(--success);
    color: white;
}

.stepper-item.completed .stepper-number svg {
    width: 18px;
    height: 18px;
    stroke-width: 3;
}

.stepper-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
}

.stepper-item.active .stepper-label {
    color: var(--primary-dark);
}

.stepper-item.completed .stepper-label {
    color: var(--success);
}

.stepper-line {
    width: 40px;
    height: 3px;
    background: var(--border-light);
    border-radius: 2px;
    margin: 0 0.5rem;
    margin-top: 17px;
    transition: all var(--transition-base);
}

.stepper-line.completed {
    background: var(--success);
}

/* =====================================================
   SECTION BOX (Cards)
   ===================================================== */
.section-box {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all var(--transition-base);
}

.section-box:hover {
    box-shadow: var(--shadow-lg);
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #FFF9ED 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-dark);
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.section-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* =====================================================
   TIMER BANNER - 2025 Style
   ===================================================== */
.timer-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.timer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 168, 83, 0.1) 50%, transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.timer-icon {
    font-size: 1.75rem;
    animation: pulse 2s infinite;
}

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

.timer-content {
    flex: 1;
}

.timer-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.timer-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.timer-countdown {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    letter-spacing: 1px;
}

.timer-countdown.urgent {
    background: var(--error);
    animation: blink 0.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.timer-bar-wrap {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-top: 0.75rem;
    overflow: hidden;
}

.timer-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--warning) 100%);
    border-radius: 2px;
    transition: width 1s linear;
}

/* =====================================================
   PRICE BOX - 2025 Premium Style
   ===================================================== */
.price-box {
    background: linear-gradient(145deg, #FFFDF8 0%, #FFF9ED 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius-2xl);
    overflow: visible;
    margin: 1.5rem 0;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    position: relative;
}

.price-discount-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 0.5rem 1.25rem;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: 0 4px 12px var(--primary-glow);
    z-index: 10;
}

.price-content {
    padding: 2rem;
    text-align: center;
}

.price-original {
    margin-bottom: 0.5rem;
}

.price-original .price-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.price-strikethrough {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: var(--error);
    text-decoration-thickness: 2px;
}

.price-final {
    margin: 1.25rem 0;
}

.price-final .price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-value-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-value {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-savings {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--success-light);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-full);
    padding: 0.625rem 1.25rem;
    margin-top: 0.5rem;
}

.savings-icon {
    font-size: 1.25rem;
}

.savings-text {
    font-size: 0.95rem;
    color: #166534;
    font-weight: 500;
}

.savings-text strong {
    font-weight: 700;
}

.price-urgency {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-top: 1px solid rgba(212, 168, 83, 0.2);
    padding: 0.875rem 1.25rem;
}

.urgency-icon {
    font-size: 1.25rem;
    animation: pulse 1.5s infinite;
}

.urgency-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.urgency-text span {
    font-weight: 700;
    color: var(--error);
}

/* =====================================================
   SLIDERS - Modern Style
   ===================================================== */
.slider-group {
    margin-bottom: 1.5rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.slider-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.slider-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
}

.slider-wrapper {
    position: relative;
    padding: 0.5rem 0;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary) 50%, #E2E8F0 50%, #E2E8F0 100%);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    background: var(--bg-white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    cursor: grab;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-lg), 0 0 0 8px var(--primary-glow);
}

input[type="range"]::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
}

input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: var(--bg-white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    cursor: grab;
    box-shadow: var(--shadow-md);
}

.slider-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding: 0 0.25rem;
}

.slider-markers span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* =====================================================
   FORM ELEMENTS - 2025 Style
   ===================================================== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    outline: none;
    transition: all var(--transition-fast);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:hover {
    background: var(--bg-white);
    border-color: var(--border-medium);
}

.form-input:focus {
    background: var(--bg-white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

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

.form-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Radio & Checkbox */
.radio-group-inline {
    display: flex;
    gap: 1rem;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem 1.25rem;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.radio-option:hover,
.checkbox-option:hover {
    background: var(--bg-white);
    border-color: var(--border-medium);
}

.radio-option input,
.checkbox-option input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.radio-label,
.checkbox-label {
    font-weight: 500;
    color: var(--text-primary);
}

.checkbox-label a {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* =====================================================
   BUTTONS - 2025 Style
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-white);
    border-color: var(--border-medium);
}

.btn-text {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
}

.btn-text:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.btn-full {
    width: 100%;
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* =====================================================
   BENEFITS GRID
   ===================================================== */
.benefit-hero {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--accent-light) 0%, #E0F7F5 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.benefit-hero-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.benefit-hero-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 0.5rem;
}

.benefit-hero-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

.benefit-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.benefit-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.benefit-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.benefit-text strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
}

.benefit-text span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* =====================================================
   INFO BANNER
   ===================================================== */
.info-banner {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
    border-left: 4px solid #3B82F6;
}

.info-icon {
    font-size: 1.5rem;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.info-content strong {
    color: var(--text-primary);
}

/* =====================================================
   MODAL / POPUP - Glass Style
   ===================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9) translateY(20px);
    transition: all var(--transition-bounce);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--error-light);
    color: var(--error);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.modal-icon.expired {
    filter: grayscale(0.5);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.modal-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-buttons .btn {
    width: 100%;
}

/* =====================================================
   RESPONSIVE - MOBILE
   ===================================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .quote-hero {
        padding: 1.5rem 0 1rem;
    }
    
    .quote-hero h1 {
        font-size: 1.5rem;
    }
    
    .quote-hero p {
        font-size: 0.95rem;
    }
    
    .stepper {
        padding: 0.75rem;
        gap: 0;
        overflow-x: auto;
        justify-content: center;
        align-items: center;
    }
    
    .stepper-item {
        flex-shrink: 0;
    }
    
    .stepper-line {
        width: 24px;
        min-width: 24px;
        margin: 0 0.25rem;
        margin-top: 0;
    }
    
    .stepper-label {
        display: none;
    }
    
    .stepper-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .section-box {
        padding: 1.25rem;
        border-radius: var(--radius-lg);
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-icon {
        margin: 0 auto;
    }
    
    .timer-banner {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .timer-countdown {
        font-size: 1.25rem;
    }
    
    .price-box {
        border-radius: var(--radius-xl);
    }
    
    .price-content {
        padding: 1.5rem 1rem;
    }
    
    .price-value {
        font-size: 3rem;
    }
    
    .price-period {
        font-size: 1.25rem;
    }
    
    .price-strikethrough {
        font-size: 1.25rem;
    }
    
    .slider-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .slider-value {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group-inline {
        flex-direction: column;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-hero {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-group {
        flex-direction: column-reverse;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: var(--radius-xl);
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .modal-icon {
        font-size: 3rem;
    }
}

@media (max-width: 380px) {
    .price-value {
        font-size: 2.5rem;
    }
    
    .slider-value {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.hidden {
    display: none !important;
}

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

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

.link {
    color: var(--primary-dark);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.link:hover {
    color: var(--primary);
}

/* =====================================================
   LOADING STATES
   ===================================================== */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 0.5rem;
}

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

/* =====================================================
   DUAL PROTECTION CARDS
   ===================================================== */
.dual-protection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.protection-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
}

.protection-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.protection-card.highlight {
    background: linear-gradient(145deg, #FFFDF8 0%, #FFF9ED 100%);
    border: 2px solid var(--primary);
}

.protection-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.protection-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.protection-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.protection-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.protection-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.4;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border-light);
}

@media (max-width: 768px) {
    .dual-protection {
        grid-template-columns: 1fr;
    }
    
    .protection-card.highlight {
        order: -1;
    }
    
    .protection-badge {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        display: inline-block;
        margin-bottom: 0.75rem;
    }
}

/* =====================================================
   FOOTER - Dark & Complete
   ===================================================== */
.footer {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: #fff;
    padding: 3rem 0 2rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.footer-logo img {
    height: 120px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-company p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.footer-company strong {
    color: var(--primary);
}

.footer-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contacts p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-contacts a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contacts a:hover {
    color: var(--primary);
}

.footer-ivass {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.footer-ivass p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

.footer-ivass a {
    color: var(--primary);
    text-decoration: underline;
}

.footer-ivass strong {
    color: rgba(255, 255, 255, 0.9);
}

.footer-legal {
    padding-top: 1rem;
}

.footer-legal p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--primary);
}

.footer-legal .copyright {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-contacts {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-company p,
    .footer-ivass p,
    .footer-legal p {
        font-size: 0.8rem;
    }
}

/* =====================================================
   QUESTIONARIO SALUTE - STEP 3
   ===================================================== */
.question-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all var(--transition-base);
}

.question-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

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

.question-text {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.question-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.question-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-answer {
    flex: 1;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-answer:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-answer.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-answer[data-value="yes"].selected {
    border-color: var(--error);
    background: var(--error);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-answer[data-value="no"].selected {
    border-color: var(--success);
    background: var(--success);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Info Banner */
.info-banner {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1px solid #93C5FD;
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.info-content .link {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 500;
}

.info-content .link:hover {
    color: var(--primary);
}

/* Section Box per questionario */
.section-box {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(212, 168, 83, 0.2) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.section-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .question-item {
        padding: 1rem;
    }
    
    .question-buttons {
        flex-direction: row;
    }
    
    .btn-answer {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .section-box {
        padding: 1.25rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .section-icon {
        width: 40px;
        height: 40px;
    }
    
    .section-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* =====================================================
   BENEFICIARI - STEP 4
   ===================================================== */

/* Radio Cards per scelta beneficiari */
.beneficiary-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-card {
    display: block;
    cursor: pointer;
    position: relative;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.radio-card:hover .radio-card-content {
    border-color: var(--primary);
    background: var(--bg-secondary);
}

.radio-card.selected .radio-card-content,
.radio-card input[type="radio"]:checked + .radio-card-content {
    border-color: var(--primary);
    background: linear-gradient(135deg, #FFFDF8 0%, #FFF9ED 100%);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.radio-card-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.radio-card.selected .radio-card-icon,
.radio-card input[type="radio"]:checked + .radio-card-content .radio-card-icon {
    background: var(--primary-light);
}

.radio-card-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.radio-card-text strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.radio-card-text span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Form beneficiari specifici */
.specific-beneficiaries {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border-light);
}

.specific-beneficiaries.hidden {
    display: none;
}

.beneficiary-form {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.beneficiary-form h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.btn-add-beneficiary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    border: 2px dashed var(--primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-add-beneficiary:hover {
    background: var(--primary);
    color: white;
    border-style: solid;
}

/* Checkbox conferme */
.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    transition: all var(--transition-fast);
}

.checkbox-option:last-child {
    margin-bottom: 0;
}

.checkbox-option:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.checkbox-option input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-label strong {
    color: var(--text-primary);
}

/* Button Group */
.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-secondary);
    border: 2px solid var(--border-medium);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-full {
    flex: 1;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-card-content {
        padding: 1rem;
    }
    
    .radio-card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-secondary {
        order: 1;
    }
    
    .checkbox-option {
        padding: 0.875rem;
    }
}

/* =====================================================
   STEP 1 - SLIDER E RADIO INLINE
   ===================================================== */

/* Slider */
.slider-group {
    margin-bottom: 1.5rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.slider-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.slider-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.slider-wrapper {
    position: relative;
    padding: 0.5rem 0;
}

/* Range slider già definito sopra */

.slider-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Radio Inline */
.radio-group-inline {
    display: flex;
    gap: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.75rem 1.25rem;
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.radio-option:hover {
    border-color: var(--primary);
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.radio-option input[type="radio"]:checked + .radio-label {
    color: var(--primary);
    font-weight: 600;
}

.radio-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Stepper già definito sopra */

/* =====================================================
   FORM ELEMENTS EXTRA
   ===================================================== */
.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

select.form-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Link styled */
.link {
    color: var(--accent);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.link:hover {
    color: var(--primary);
}

/* =====================================================
   STEP 6 - SUMMARY / CHECKOUT
   ===================================================== */
.section-box.highlight {
    background: linear-gradient(135deg, #FFFDF8 0%, #FFF9ED 100%);
    border: 2px solid var(--primary);
    box-shadow: 0 8px 24px var(--primary-glow);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
}

.summary-item .summary-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.summary-item .summary-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.summary-price {
    text-align: center;
    padding: 1.5rem;
    background: var(--primary);
    border-radius: var(--radius-lg);
    color: white;
}

.summary-price-value {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.summary-price-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* File Upload */
.file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed var(--border-medium);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.file-upload:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.file-upload-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.file-upload-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
}

.file-upload-text strong {
    color: var(--primary);
}

/* =====================================================
   STEP 7 - SUCCESS / THANK YOU
   ===================================================== */
.success-container {
    text-align: center;
    padding: 2rem 1rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--success) 0%, #16A34A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPop 0.5s ease;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 3;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.success-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.summary-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.summary-card .summary-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row .summary-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.summary-row .summary-value {
    font-weight: 600;
    color: var(--text-primary);
}

.success-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.success-note strong {
    color: var(--primary);
}

/* =====================================================
   MODALS
   ===================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all var(--transition-bounce);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--error-light);
    color: var(--error);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-icon.expired {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.modal-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #FFFDF8 0%, #FFF9ED 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    text-align: left;
}

.modal-highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.modal-highlight-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.75rem;
    transition: color var(--transition-fast);
}

.btn-text:hover {
    color: var(--text-primary);
}

/* =====================================================
   STEP 2 - TIMER & PRICE BOX
   ===================================================== */
.timer-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.timer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 168, 83, 0.1) 50%, transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.timer-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.timer-content {
    flex: 1;
}

.timer-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.timer-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.timer-text span {
    font-family: var(--font-display);
    font-weight: 700;
    color: white;
}

.timer-bar-wrap {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.timer-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    width: 100%;
    transition: width 1s linear;
}

/* Price Box */
.price-box {
    background: linear-gradient(145deg, #FFFDF8 0%, #FFF9ED 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px var(--primary-glow);
    position: relative;
    overflow: visible;
}

.price-discount-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: 0 4px 12px var(--primary-glow);
    z-index: 10;
}

.price-content {
    text-align: center;
    padding-top: 0.5rem;
}

.price-original {
    margin-bottom: 0.5rem;
}

.price-original .price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.price-strikethrough {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-final {
    margin-bottom: 1rem;
}

.price-final .price-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.25rem;
}

.price-value-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.price-period {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-savings {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--success-light);
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.savings-icon {
    font-size: 1rem;
}

.savings-text {
    font-size: 0.9rem;
    color: var(--success);
}

.savings-text strong {
    font-weight: 700;
}

.price-urgency {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-md);
}

.urgency-icon {
    font-size: 1rem;
    animation: pulse 2s infinite;
}

.urgency-text {
    font-size: 0.85rem;
    color: var(--error);
    font-weight: 500;
}

/* Save Form in Step 2 */
.save-form {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.save-form-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.save-form-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* =====================================================
   RESPONSIVE ADJUSTMENTS
   ===================================================== */
@media (max-width: 768px) {
    .slider-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .slider-value {
        font-size: 1.25rem;
    }
    
    .stepper {
        justify-content: center;
        align-items: center;
        padding: 0.75rem;
    }
    
    .stepper-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .stepper-label {
        display: none;
    }
    
    .stepper-line {
        width: 24px;
        min-width: 24px;
        margin-top: 0;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-price-value {
        font-size: 2.5rem;
    }
    
    .price-value {
        font-size: 2.75rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .success-icon {
        width: 64px;
        height: 64px;
    }
    
    .success-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .success-title {
        font-size: 1.5rem;
    }
}

/* Logo responsive */
@media (max-width: 768px) {
    .header-logo img {
        height: 130px;
    }
    
    .footer-logo img {
        height: 100px;
    }
}
