:root {
    /* Modern Fintech Palette: Navy, Royal Blue, White */
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --primary-navy: #0F172A;
    --primary-blue: #2563EB;
    --accent-green: #10B981;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px -10px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    /* Professional subtle grid */
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

.container { max-width: 600px; margin: 0 auto; padding: 0 20px; text-align: center; }

/* Header */
header { padding: 30px 0; text-align: center; }
.logo { 
    font-family: 'Inter', sans-serif; 
    font-weight: 800; font-size: 1.2rem; letter-spacing: -0.5px; 
    color: var(--primary-navy);
}
.logo span { color: var(--primary-blue); }

/* Hero */
.trust-badge {
    display: inline-block;
    background: #DBEAFE; color: var(--primary-blue);
    font-size: 0.75rem; font-weight: 700;
    padding: 8px 16px; border-radius: 30px;
    margin-bottom: 25px; letter-spacing: 0.5px;
}

h1 { 
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem; line-height: 1.1; 
    margin-bottom: 20px; color: var(--primary-navy);
}
.highlight { 
    color: var(--primary-blue); 
    font-style: italic;
}

.sub-text { 
    color: var(--text-muted); font-size: 1.1rem; 
    margin-bottom: 30px; line-height: 1.6; 
}

/* Input Form */
.hero-form { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; }
.hero-input {
    flex: 1;
    padding: 16px; border: 1px solid #E2E8F0; border-radius: 8px;
    font-size: 1rem; outline: none; transition: 0.3s;
    background: white; color: var(--text-main);
    text-transform: uppercase;
    font-weight: 600;
}
.hero-input::placeholder { color: #94A3B8; font-weight: 400; text-transform: none; }
.hero-input:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 4px rgba(37,99,235,0.1); }

.btn-primary {
    background: var(--primary-navy); color: white;
    border: none; padding: 16px 24px; border-radius: 8px;
    font-weight: 700; cursor: pointer; transition: 0.3s;
    white-space: nowrap; letter-spacing: 0.5px;
}
.btn-primary:hover { background: var(--primary-blue); transform: translateY(-2px); box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3); }

/* Cards (Clean Style) */
.stack-container { 
    margin: 60px auto; position: relative; 
    height: 240px; width: 100%; max-width: 380px; 
    perspective: 1000px; 
}

.card {
    background: var(--bg-card);
    border: 1px solid #E2E8F0;
    border-radius: 16px; padding: 24px;
    position: absolute; top: 0; left: 0; right: 0;
    box-shadow: var(--shadow-soft);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: left;
}

.card.active { transform: translateZ(50px) translateY(0) scale(1); z-index: 3; opacity: 1; border-color: var(--primary-blue); }
.card.next { transform: translateZ(0px) translateY(20px) scale(0.95); z-index: 2; opacity: 0.6; background: #F1F5F9; }
.card.last { transform: translateZ(-50px) translateY(40px) scale(0.9); z-index: 1; opacity: 0.3; background: #E2E8F0; }

.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.sym { font-weight: 800; font-size: 1.5rem; color: var(--primary-navy); }
.tag { 
    background: #DCFCE7; color: #166534; 
    font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; 
}

.price { font-size: 2rem; font-weight: 700; font-family: 'Inter', monospace; color: var(--text-main); margin-bottom: 5px; }
.signal-text { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

/* Stats */
.stats-grid { 
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px; 
    border-top: 1px solid #E2E8F0; padding-top: 30px; margin-top: 40px;
}
.stat-item h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--primary-navy); margin-bottom: 5px; }
.stat-item p { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* Footer */
footer { margin-top: 60px; font-size: 0.75rem; color: #94A3B8; line-height: 1.5; padding-bottom: 40px; }

/* Modal (Clean) */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7); 
    backdrop-filter: blur(6px);
    z-index: 1000; display: none; 
    align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }

.modal-box {
    background: white; width: 90%; max-width: 400px;
    padding: 35px 30px; border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    transform: translateY(20px); transition: transform 0.3s ease;
}
.modal-overlay.active .modal-box { transform: translateY(0); }

.modal-icon { 
    width: 56px; height: 56px; background: #EFF6FF; color: var(--primary-blue);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; 
}
.modal-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--primary-navy); margin-bottom: 25px; }

/* Progress Bar */
.prog-item { margin-bottom: 18px; text-align: left; }
.prog-label { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 8px; font-weight: 600; }
.prog-track { background: #F1F5F9; height: 8px; border-radius: 4px; overflow: hidden; }
.prog-fill { height: 100%; width: 0%; background: var(--primary-blue); transition: width 0.1s linear; }

.modal-desc { font-size: 1rem; color: var(--text-main); margin: 25px 0; line-height: 1.5; }

.btn-whatsapp-confirm {
    background: #25D366; color: white; width: 100%; display: block;
    padding: 16px; border-radius: 8px; font-weight: 700; font-size: 1rem;
    text-decoration: none; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: 0.2s; cursor: pointer;
}
.btn-whatsapp-confirm:hover { background: #1DA851; transform: translateY(-1px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

.btn-cancel {
    background: transparent; color: #94A3B8; border: none;
    font-size: 0.9rem; cursor: pointer; margin-top: 15px;
    text-decoration: underline;
}
.btn-cancel:hover { color: var(--text-main); }

@media(max-width: 600px) {
    h1 { font-size: 2.6rem; }
    .stack-container { height: 180px; }
    .hero-form { flex-direction: column; }
    .hero-btn { width: 100%; }
}