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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(to bottom right, #f8fafc, #f1f5f9);
    min-height: 100vh;
    color: #1e293b;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e2e8f0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    background: #2563eb;
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e293b;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #64748b;
}

.support-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #16a34a;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.support-btn:hover {
    background: #15803d;
}

@media (min-width: 640px) {
    .support-btn {
        display: flex;
    }
}

/* Main Content */
.main-content {
    padding: 3rem 0;
}

.section {
    display: block;
}

.section.hidden {
    display: none;
}

/* Hero */
.hero-text {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 42rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

/* Card */
.card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Form */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
}

.form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-help {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
}

.form-terms {
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 1rem;
}

/* Buttons */
.btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 6px 8px rgba(37, 99, 235, 0.4);
}

.btn-success {
    background: #16a34a;
    color: white;
    box-shadow: 0 4px 6px rgba(22, 163, 74, 0.3);
}

.btn-success:hover {
    background: #15803d;
    box-shadow: 0 6px 8px rgba(22, 163, 74, 0.4);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

@media (min-width: 640px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.feature-icon-blue {
    background: #dbeafe;
    color: #2563eb;
}

.feature-icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.feature-icon-orange {
    background: #fed7aa;
    color: #ea580c;
}

.feature-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.feature-text {
    font-size: 0.875rem;
    color: #64748b;
}

/* Trust Banner */
.trust-banner {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #1e3a8a;
    margin-bottom: 2rem;
}

/* Info Section */
.info-section {
    margin-top: 3rem;
}

.info-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.info-item-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.info-item-text {
    font-size: 0.875rem;
    color: #64748b;
}

/* Status Content */
.status-content {
    text-align: center;
    margin-bottom: 1.5rem;
}

.status-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.status-icon-loading {
    background: #dbeafe;
    color: #2563eb;
    animation: pulse 2s infinite;
}

.status-icon-error {
    background: #fee2e2;
    color: #dc2626;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.status-subtitle {
    color: #64748b;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 1rem;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #2563eb;
    border-radius: 9999px;
    transition: width 0.3s;
    width: 0%;
}

.progress-text {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-top: 0.5rem;
}

.status-message {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.status-message p {
    font-size: 0.875rem;
    color: #64748b;
}

/* Error Section */
.error-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .error-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.error-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.error-box-title {
    font-weight: 600;
    color: #7f1d1d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.error-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.error-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #991b1b;
}

.bullet {
    color: #dc2626;
    margin-top: 0.125rem;
}

.help-box {
    background: linear-gradient(to right, #f0fdf4, #dcfce7);
    border: 2px solid #86efac;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.help-box-title {
    font-weight: bold;
    color: #14532d;
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1rem;
}

.help-box-text {
    text-align: center;
    color: #166534;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.help-box-response {
    text-align: center;
    color: #15803d;
    font-size: 0.75rem;
}

.arrow-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.arrow-down {
    color: #16a34a;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Footer */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    margin-top: 4rem;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
}

.footer-title {
    font-weight: 600;
    color: white;
}

.footer-text {
    font-size: 0.875rem;
    color: #94a3b8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #60a5fa;
}

.footer-chat-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.3s;
    width: fit-content;
}

.footer-chat-btn:hover {
    background: #1d4ed8;
}

.footer-disclaimer {
    background: #334155;
    border: 1px solid #475569;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.disclaimer-title {
    font-weight: 600;
    color: white;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.disclaimer-text {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
    padding-top: 2rem;
    border-top: 1px solid #334155;
}
