* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background: #FDFCF8;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(75, 0, 130, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(200, 191, 231, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(184, 115, 51, 0.08) 0%, transparent 50%);
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
}

.header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: #4B0082;
    text-shadow: 0 2px 4px rgba(75, 0, 130, 0.1);
}

.header p {
    font-size: 1.2rem;
    color: #2C3E50;
    font-weight: 400;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.test-form, .content-panel, .info-panel {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(75, 0, 130, 0.08);
    position: relative;
    border: 1px solid #F2E8CF;
}

.test-form::before, .content-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #4B0082, #C8BFE7, #B87333);
    border-radius: 24px 24px 0 0;
}

.content-panel h1, .content-panel h2, .info-panel h2 {
    font-family: 'Playfair Display', serif;
    color: #4B0082;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.content-panel h3, .info-panel h3 {
    font-family: 'Playfair Display', serif;
    color: #4B0082;
    margin: 25px 0 15px 0;
    font-size: 1.3rem;
}

.content-panel p, .info-panel p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.content-panel ul, .info-panel ul {
    margin: 15px 0;
    padding-left: 20px;
}

.content-panel li, .info-panel li {
    margin-bottom: 8px;
}

.benefits-list {
    background: #F2E8CF;
    padding: 20px;
    border-radius: 16px;
    margin: 20px 0;
}

.benefits-list h4 {
    font-family: 'Playfair Display', serif;
    color: #4B0082;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2C3E50;
    font-size: 15px;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #F2E8CF;
    border-radius: 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #FDFCF8;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: #4B0082;
    background: white;
    box-shadow: 0 0 0 4px rgba(75, 0, 130, 0.1);
}

.time-note {
    font-size: 13px;
    color: #C8BFE7;
    margin-top: 6px;
    font-style: italic;
}

.submit-btn, .download-btn, .btn {
    width: 100%;
    background: #B87333;
    color: #FDFCF8;
    padding: 18px;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(184, 115, 51, 0.3);
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin: 10px 0;
}

.submit-btn:hover, .download-btn:hover, .btn:hover {
    background: #4B0082;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(75, 0, 130, 0.4);
    text-shadow: 0 0 8px rgba(253, 252, 248, 0.5);
}

.trust-signals {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(75, 0, 130, 0.05);
    margin-bottom: 40px;
    text-align: center;
    border: 1px solid #F2E8CF;
}

.trust-signals h3 {
    font-family: 'Playfair Display', serif;
    color: #4B0082;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.trust-signals p {
    color: #2C3E50;
}

.seo-content {
    background: white;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(75, 0, 130, 0.05);
    border: 1px solid #F2E8CF;
}

.seo-content h2 {
    font-family: 'Playfair Display', serif;
    color: #4B0082;
    margin-bottom: 20px;
    font-size: 2rem;
}

.seo-content h3 {
    font-family: 'Playfair Display', serif;
    color: #4B0082;
    margin: 30px 0 20px 0;
    font-size: 1.5rem;
}

.type-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.type-link {
    background: #F2E8CF;
    padding: 20px;
    border-radius: 16px;
    text-decoration: none;
    color: #2C3E50;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.type-link:hover {
    background: #C8BFE7;
    border-color: #4B0082;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 0, 130, 0.15);
}

.result-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(75, 0, 130, 0.08);
    margin-bottom: 30px;
    border: 1px solid #F2E8CF;
    position: relative;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #4B0082, #C8BFE7, #B87333);
    border-radius: 24px 24px 0 0;
}

.result-card h2 {
    font-family: 'Playfair Display', serif;
    color: #4B0082;
    margin-bottom: 20px;
    font-size: 2rem;
}

.result-card h3 {
    font-family: 'Playfair Display', serif;
    color: #4B0082;
    margin: 25px 0 15px 0;
    font-size: 1.5rem;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.single-column {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.footer {
    background: linear-gradient(135deg, #4B0082 0%, #8A2BE2 50%, #B87333 100%);
    color: white;
    padding: 60px 0 40px 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: shimmer 12s ease-in-out infinite;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer h3 {
    font-family: 'Playfair Display', serif;
    color: white;
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.footer-section:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    color: #F2E8CF;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section h4::before {
    content: '🏢';
    font-size: 1.2rem;
}

.footer-section:nth-child(2) h4::before {
    content: '📋';
}

.footer-section:nth-child(3) h4::before {
    content: '📧';
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 1rem;
}

.footer-section a {
    color: #F2E8CF;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: white;
    text-shadow: 0 0 8px rgba(242, 232, 207, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.footer-bottom::before {
    content: '✨';
    margin-right: 8px;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .test-form, .info-panel, .content-panel {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .container {
        padding: 15px;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
