/* --- RESET & GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #0d0f17;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
}

/* --- APP CONTAINER --- */
.app-container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
}

/* --- STEP TRANSITIONS --- */
.step {
    display: none;
    animation: fadeInUp 0.7s ease-out forwards;
}

.step.active {
    display: block;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(24px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- LOGOS & ICONS --- */
.logo-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 25px auto;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
}

/* --- TYPOGRAPHY --- */
h1, h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    font-size: 32px;
}

h1 { font-size: 36px; }

.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtext {
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* --- BADGE (TYPING DOTS) --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #151b2b;
    border: 1px solid #252a3a;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 25px;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: #3b82f6;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

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

/* --- PLATFORM SELECTION BUTTONS --- */
.platform-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.platform-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #151b2b;
    border: 1px solid #252a3a;
    border-radius: 12px;
    padding: 16px;
    color: #94a3b8;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.platform-btn:hover {
    border-color: #3b82f6;
    color: #ffffff;
}

.platform-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* --- CARDS (HOW IT WORKS) --- */
.card {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #151b2b;
    border: 1px solid #252a3a;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 15px;
    text-align: left;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.card-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.card span {
    font-size: 15px;
    font-weight: 500;
    color: #e2e8f0;
}

/* --- GATE CARD (OGADS) --- */
.gate-card {
    background-color: #151b2b;
    border: 1px solid #252a3a;
    border-radius: 16px;
    padding: 30px 20px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.shield-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.4));
}

.gate-card p {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* --- SPINNER (ACTIVATION LOADING) --- */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

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

/* --- FOOTER --- */
footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1e2538;
    font-size: 13px;
    color: #64748b;
}

footer p {
    margin-bottom: 5px;
}

footer .copyright {
    font-size: 11px;
    color: #475569;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 400px) {
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    .platform-btn { padding: 12px; font-size: 14px; }
    .btn-primary { padding: 14px 20px; font-size: 15px; }
}