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

:root {
    --primary: #2D3748;
    --secondary: #4A5568;
    --accent: #3182CE;
    --success: #38A169;
    --background: #F7FAFC;
    --surface: #FFFFFF;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --border: #E2E8F0;
    --d-color: #DC2626;
    --i-color: #F59E0B;
    --s-color: #10B981;
    --g-color: #3B82F6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    text-align: center;
    background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: #EBF8FF;
    color: var(--accent);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #667EEA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    background-color: var(--primary);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.15);
}

.cta-button:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 55, 72, 0.2);
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.trust-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: var(--surface);
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.benefit-card {
    padding: 32px;
    background-color: var(--background);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Test Container */
.test-container {
    padding: 60px 0 100px;
    min-height: 80vh;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, #667EEA 100%);
    transition: width 0.3s ease;
    border-radius: 10px;
}

.progress-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
    font-weight: 600;
}

.question-card {
    background-color: var(--surface);
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

.question-text {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.4;
}

.answers {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.answer-option {
    padding: 20px 24px;
    background-color: var(--background);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
    text-align: left;
}

.answer-option:hover {
    border-color: var(--accent);
    background-color: #EBF8FF;
}

.answer-option.selected {
    border-color: var(--accent);
    background-color: #EBF8FF;
    font-weight: 600;
}

.navigation-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-secondary {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    background-color: var(--surface);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background-color: var(--background);
    border-color: var(--secondary);
}

/* Result Section */
.result-section {
    padding: 60px 0 100px;
}

.result-header {
    text-align: center;
    margin-bottom: 48px;
}

.result-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.result-intro {
    font-size: 18px;
    color: var(--text-secondary);
}

.result-card {
    background-color: var(--surface);
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
}

.result-type-badge {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.result-type-name {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.result-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.result-scores,
.result-strengths,
.result-development,
.result-tips {
    margin-bottom: 32px;
}

.result-scores h4,
.result-strengths h4,
.result-development h4,
.result-tips h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.score-bar {
    margin-bottom: 16px;
}

.score-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.score-bar-bg {
    height: 12px;
    background-color: var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.result-strengths ul,
.result-development ul,
.result-tips ul {
    list-style: none;
    padding: 0;
}

.result-strengths li,
.result-development li,
.result-tips li {
    padding: 12px 0 12px 32px;
    position: relative;
    color: var(--text-secondary);
}

.result-strengths li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 18px;
}

.result-development li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 18px;
}

.result-tips li::before {
    content: "💡";
    position: absolute;
    left: 0;
}

/* Email Form */
.email-form {
    background: linear-gradient(135deg, #667EEA 0%, var(--accent) 100%);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    color: white;
    margin-bottom: 32px;
}

.email-form h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.email-form p {
    margin-bottom: 24px;
    opacity: 0.95;
}

.email-form form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 16px;
}

.email-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
}

.email-form button {
    background-color: var(--primary);
}

.email-form button:hover {
    background-color: var(--secondary);
}

.privacy-note {
    font-size: 14px;
    opacity: 0.9;
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: var(--primary);
    color: white;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 16px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 32px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .question-card {
        padding: 32px 24px;
    }
    
    .question-text {
        font-size: 22px;
    }
    
    .result-card {
        padding: 32px 24px;
    }
    
    .email-form form {
        flex-direction: column;
    }
}