/* style.css - Clean, modern, responsive design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0b0f16;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #eef2ff;
    line-height: 1.5;
    padding: 2rem 1.2rem;
}

.funnel {
    max-width: 700px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.header p {
    color: #7e8aa2;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Steps list */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 1.8rem 0;
}

.step-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 0.98rem;
    font-weight: 500;
}

.step-icon {
    width: 34px;
    font-size: 1.3rem;
    text-align: center;
}

.step-label {
    flex: 1;
    color: #e2e8f0;
}

.step-status {
    min-width: 42px;
    text-align: center;
    font-size: 1.2rem;
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(59, 130, 246, 0.25);
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.check-mark {
    color: #10b981;
    font-size: 1.25rem;
}

.error-mark {
    color: #f97316;
    font-size: 1.2rem;
}

/* Button */
.btn-signup {
    background: #3b82f6;
    border: none;
    padding: 0.4rem 1.2rem;
    border-radius: 200px;
    font-weight: 600;
    font-size: 0.8rem;
    color: white;
    cursor: pointer;
    font-family: inherit;
    margin-left: 0.5rem;
}

.btn-signup:hover {
    background: #2563eb;
}

.live-message {
    font-size: 0.8rem;
    text-align: center;
    min-height: 2rem;
    margin-top: 0.2rem;
}

.info-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: #5b6e8c;
    border-top: 1px solid #1e293b;
    padding-top: 1.2rem;
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal-card {
    background: #0f141e;
    width: 90%;
    max-width: 460px;
    border-radius: 28px;
    border: 1px solid #2d3a5e;
    padding: 1.8rem 1.6rem;
    box-shadow: 0 30px 45px rgba(0,0,0,0.6);
}

.modal-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #3b82f6;
}

.steps-reminder {
    margin: 1.5rem 0;
}

.reminder-step {
    background: #0a0f18;
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid #3b82f6;
}

.reminder-step .step-num {
    font-weight: 800;
    font-size: 1rem;
    color: #3b82f6;
    margin-bottom: 0.3rem;
}

.reminder-step p {
    font-size: 0.9rem;
    color: #cbd5e6;
}

.instruction-note {
    background: #010409;
    border-radius: 16px;
    padding: 0.7rem;
    margin: 0.8rem 0;
    font-size: 0.8rem;
    text-align: center;
    color: #94a3b8;
}

.modal-ok {
    background: linear-gradient(95deg, #3b82f6, #8b5cf6);
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.05rem;
    color: white;
    cursor: pointer;
}

.modal-ok:hover {
    opacity: 0.92;
}

.close-icon {
    text-align: right;
    cursor: pointer;
    font-size: 1.3rem;
    color: #8b9bb5;
    margin-bottom: 0.2rem;
}

/* RTL support */
[dir="rtl"] .step-row {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn-signup {
    margin-left: 0;
    margin-right: 0.5rem;
}

[dir="rtl"] .reminder-step {
    border-left: none;
    border-right: 3px solid #3b82f6;
}

/* Adsterra Social Bar - Fixed at bottom */
#adsterra-social {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    text-align: center;
}