:root {
    --primary-color: #0095f6;
    --primary-hover: #1877f2;
    --bg-color: #fafafa;
    --card-bg: #ffffff;
    --text-main: #000000;
    --text-sec: #737373;
    --border-color: #dbdbdb;
    --border-focus: #1c2b33;
    --success-color: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER --- */
.top-navbar {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 935px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.nav-right .nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

/* --- PAGE BODY (MAIN) --- */
.page-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px 80px 20px;
}

.step {
    display: none;
    width: 100%;
    animation: fadeIn 0.3s ease-out;
}

.step.active {
    display: block;
}

.content-wrapper {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.centered-wrapper {
    text-align: center;
    padding: 20px 0;
}

@media (max-width: 600px) {
    .centered-wrapper {
        padding: 20px 0;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* --- HERO SECTION --- */
.hero-section {
    text-align: center;
    margin-bottom: 30px;
}

.badge-icon-lg {
    width: 48px;
    height: 48px;
    fill: var(--primary-color);
    margin-bottom: 16px;
}

.page-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-sec);
    line-height: 1.5;
}

/* --- ACTION CARD & FORMS --- */
.action-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 40px;
}

@media (max-width: 600px) {
    .action-card {
        border: none;
        background: transparent;
        padding: 0;
    }
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.input-container {
    display: flex;
    align-items: center;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0 16px;
    margin-bottom: 16px;
    transition: border-color 0.2s;
    height: 48px;
}

.input-container:focus-within {
    border-color: var(--text-main);
}

.prefix {
    color: var(--text-sec);
    font-weight: 600;
    font-size: 16px;
}

.input-container input {
    flex: 1;
    border: none;
    padding: 0 8px;
    font-size: 16px;
    outline: none;
    background: transparent;
    height: 100%;
}

/* Buttons */
.btn {
    border-radius: 6px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
}

.w-100 {
    width: 100%;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
}

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

.btn-large {
    padding: 14px 20px;
    font-size: 15px;
    width: 100%;
}

/* --- ACCORDIONS --- */
.info-section {
    margin-top: 40px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-main);
}

.accordions-container {
    border-top: 1px solid var(--border-color);
}

.accordion {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.accordion-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.icon-toggle {
    transition: transform 0.3s;
    color: var(--text-main);
    display: flex;
}

.accordion.open .icon-toggle {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion.open .accordion-content {
    max-height: 300px;
    padding-bottom: 16px;
}

.accordion-content p, .accordion-content ul {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.5;
}

.bullet-list {
    padding-left: 20px;
    list-style-type: disc;
}

.bullet-list li {
    margin-bottom: 8px;
}

/* --- LOADING META-STYLE --- */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    text-align: center;
}

.meta-spinner {
    width: 48px;
    height: 48px;
    margin-bottom: 30px;
}

.meta-spinner svg {
    animation: spin 1.5s linear infinite;
    width: 100%;
    height: 100%;
}

.meta-spinner .path {
    stroke: var(--primary-color);
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

#loading-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.loading-text {
    font-size: 14px;
    color: var(--text-sec);
}

/* --- CONFIRMATION --- */
.status-icon-container {
    margin-bottom: 24px;
}

.success-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 8px;
}

.data-box {
    text-align: left;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

@media (max-width: 600px) {
    .data-box {
        background: var(--card-bg);
    }
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.data-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.data-row:first-child {
    padding-top: 0;
}

.data-label {
    color: var(--text-sec);
}

.data-value {
    font-weight: 600;
    color: var(--text-main);
}

.verification-status {
    color: var(--success-color);
}

.terms-warning {
    font-size: 13px;
    color: var(--text-sec);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--bg-color);
    padding: 40px 20px;
    margin-top: auto;
}

@media (max-width: 600px) {
    .site-footer {
        background-color: transparent;
    }
}

.footer-container {
    max-width: 935px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-container {
    margin-bottom: 24px;
}

.footer-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-sec);
    font-size: 12px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-sec);
    font-size: 12px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.copyright {
    display: block;
}
