/* --- 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: 22px 18px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.shield-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px auto;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.4));
    animation: shieldPulse 2.5s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.4)); }
    50% { filter: drop-shadow(0 0 18px rgba(59, 130, 246, 0.7)); }
}

.gate-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.25;
}

.gate-subtext {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 18px;
    line-height: 1.5;
}

.gate-trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 12px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.trust-divider {
    color: #334155;
}

.btn-gate {
    max-width: 100%;
}

/* --- 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;
    text-align: center;
}

footer p {
    margin-bottom: 5px;
}

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

/* --- LANGUAGE SWITCHER (small flags, right-aligned) --- */
.lang-switcher {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
    padding-right: 4px;
}

.lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #151b2b;
    border: 1px solid #252a3a;
    font-size: 15px;
    text-decoration: none;
    opacity: 0.55;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1;
}

.lang-flag:hover {
    opacity: 1;
    border-color: #3b82f6;
    transform: scale(1.08);
}

.lang-flag.active {
    opacity: 1;
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

/* --- SEO CONTENT SECTION --- */
.seo-content {
    margin-top: 0;
    padding: 25px;
    background-color: #151b2b;
    border-radius: 12px;
    border: 1px solid #252a3a;
    text-align: left;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.7;
}

.seo-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    color: #e2e8f0;
    margin-bottom: 8px;
    margin-top: 15px;
}

.seo-content h3:first-child {
    margin-top: 0;
}

.seo-content p {
    margin-bottom: 10px;
}

.seo-content ul, .seo-content ol {
    margin: 10px 0 15px 20px;
}

.seo-content li {
    margin-bottom: 5px;
}

.seo-content strong {
    color: #e2e8f0;
}

/* --- SEO ACCORDION (collapsed by default) --- */
.seo-accordion {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #1e2538;
    text-align: center;
}

.seo-accordion summary {
    cursor: pointer;
    list-style: none;
    font-size: 13px;
    color: #64748b;
    padding: 10px 0;
    user-select: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.seo-accordion summary::-webkit-details-marker {
    display: none;
}

.seo-accordion summary::marker {
    content: "";
}

.seo-icon {
    font-size: 14px;
    opacity: 0.7;
}

.seo-accordion summary:hover {
    color: #94a3b8;
}

.seo-accordion summary::after {
    content: "▸";
    display: inline-block;
    margin-left: 4px;
    font-size: 11px;
    transition: transform 0.2s ease;
    transform: translateY(-1px);
}

.seo-accordion[open] summary::after {
    transform: rotate(90deg) translateY(-1px);
}

.seo-accordion[open] summary {
    color: #94a3b8;
}

.seo-accordion[open] .seo-content {
    margin-top: 20px;
    animation: fadeInUp 0.3s ease-out;
}

/* --- 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; }
    .seo-content { padding: 18px; font-size: 12px; }
    .gate-headline { font-size: 18px; }
    .gate-subtext { font-size: 12px; }
    .gate-trust-row { font-size: 11px; gap: 5px; }
}