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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: #FFFFFF;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Header */
.ledger-header {
    background: #000000;
    border-bottom: 1px solid #1A1A1A;
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ledger-logo {
    height: 26px;
    width: auto;
    filter: brightness(0) invert(1);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

.header-link:hover {
    opacity: 0.6;
}

/* Alert Banner */
.alert-banner {
    background: #1A1A1A;
    border-bottom: 1px solid #2A2A2A;
    padding: 0.875rem 0;
}

.alert-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #999999;
}

/* Main Content */
.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.content-wrapper {
    max-width: 640px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    margin-bottom: 4rem;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #999999;
    line-height: 1.6;
}

/* Info Sections */
.info-section {
    margin-bottom: 3rem;
}

.info-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.info-section p {
    font-size: 1.0625rem;
    color: #CCCCCC;
    line-height: 1.7;
}

.steps-list {
    margin: 1.5rem 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    color: #CCCCCC;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #1A1A1A;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFFFFF;
    flex-shrink: 0;
}

.step-text {
    line-height: 1.5;
}

.info-note {
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    color: #666666;
}

/* Security Note */
.security-note {
    background: #0A0A0A;
    border: 1px solid #1A1A1A;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.security-note p {
    font-size: 0.9375rem;
    color: #999999;
    line-height: 1.7;
    margin: 0;
}

.security-note strong {
    color: #FFFFFF;
}

/* Button */
.btn-ledger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1.125rem 2rem;
    background: #FFFFFF;
    color: #000000;
    border: none;
    border-radius: 50px;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-ledger:hover {
    background: #E5E5E5;
    transform: translateY(-1px);
}

.btn-ledger:active {
    transform: translateY(0);
}

.btn-ledger:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* Support Text */
.support-text {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9375rem;
    color: #666666;
}

.support-text strong {
    color: #FFFFFF;
}

.support-text a {
    color: #FFFFFF;
    text-decoration: none;
}

.support-text a:hover {
    text-decoration: underline;
}

/* Verification Page */
.verification-wrapper {
    max-width: 560px;
    margin: 0 auto;
}

.verification-header {
    margin-bottom: 3rem;
}

.step-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: #1A1A1A;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #666666;
    margin-bottom: 1.5rem;
}

.verification-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.verification-subtitle {
    font-size: 1.125rem;
    color: #999999;
    line-height: 1.6;
}

/* Form */
.form-section {
    margin: 2.5rem 0;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.875rem;
    font-size: 1rem;
}

.seed-textarea {
    width: 100%;
    min-height: 180px;
    padding: 1.25rem;
    background: #0A0A0A;
    border: 1px solid #2A2A2A;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    resize: vertical;
    transition: all 0.2s;
    line-height: 1.8;
}

.seed-textarea:focus {
    outline: none;
    border-color: #4A4A4A;
}

.seed-textarea::placeholder {
    color: #333333;
}

.input-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    font-size: 0.875rem;
}

.word-count {
    color: #FFFFFF;
    font-weight: 600;
}

.word-hint {
    color: #666666;
}

/* Error Message */
#errorMessage {
    margin-top: 1rem;
    padding: 1rem;
    background: #1A0A0A;
    border: 1px solid #3A1A1A;
    border-radius: 6px;
    color: #FF6B6B;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Success Page */
.success-wrapper {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #00D66F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-wrapper h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.success-subtitle {
    font-size: 1.125rem;
    color: #999999;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.success-details {
    background: #0A0A0A;
    border: 1px solid #1A1A1A;
    border-radius: 8px;
    padding: 2rem;
    margin: 2.5rem 0;
    text-align: left;
}

.detail-row {
    padding: 1.25rem 0;
    border-bottom: 1px solid #1A1A1A;
}

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

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

.detail-row h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.375rem;
}

.detail-row p {
    font-size: 0.9375rem;
    color: #999999;
    line-height: 1.6;
    margin: 0;
}

.next-steps {
    background: #0A0A0A;
    border: 1px solid #1A1A1A;
    border-radius: 8px;
    padding: 1.75rem;
    margin-top: 2.5rem;
    text-align: left;
}

.next-steps strong {
    display: block;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.625rem;
    font-size: 1rem;
}

.next-steps p {
    font-size: 0.9375rem;
    color: #999999;
    line-height: 1.7;
    margin: 0;
}

/* Footer */
.page-footer {
    max-width: 1200px;
    margin: 6rem auto 2rem;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #1A1A1A;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #666666;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #FFFFFF;
}

.footer-copyright {
    color: #333333;
    font-size: 0.8125rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        padding: 3rem 1.5rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
    }

    .verification-header h1,
    .success-wrapper h1 {
        font-size: 2rem;
    }

    .header-container {
        padding: 0 1.5rem;
    }

    .header-nav {
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}
