/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #4a9fd8;
    --text-color: #666;
    --text-dark: #333;
    --background: #f5f5f5;
    --card-background: #fff;
    --button-color: #000;
    --border-radius: 20px;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background);
}

.container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0;
    background: var(--card-background);
    border-radius: var(--border-radius);
}

/* Header Section */
.header {
    padding: 50px 60px 40px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.profile-section {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 40px;
}

.profile-info {
    text-align: right;
}

.profile-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.subtitle {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: 400;
}

.subtitle a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.subtitle a:hover {
    opacity: 0.7;
}

.social-links {
    margin-top: 6px;
    display: flex;
    justify-content: flex-end;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.6;
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
}

/* Main Section */
.main-section {
    padding: 50px 60px;
    border-bottom: 1px solid #f0f0f0;
}

.book-feature {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.book-cover {
    flex-shrink: 0;
}

.book-cover img {
    width: 240px;
    height: auto;
    border-radius: 8px;
}

.book-description {
    flex: 1;
}

.book-description h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.book-description p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-color);
}

.book-description strong {
    color: var(--text-dark);
    font-weight: 600;
    font-style: italic;
}

/* Resources Section */
.resources-section {
    padding: 50px 60px;
    border-bottom: 1px solid #f0f0f0;
}

.resources-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--primary-color);
    text-align: center;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.resource-card {
    text-align: center;
}

.resource-image {
    margin-bottom: 25px;
}

.resource-image img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 4px;
}

.resource-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
    display: none;
}

.resource-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Training Section */
.training-section {
    padding: 50px 60px;
    text-align: center;
}

.training-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.training-content {
    max-width: 600px;
    margin: 0 auto;
}

.training-content > p {
    display: none;
}

.cta-box {
    text-align: center;
}

.cta-box h3 {
    display: none;
}

.cta-box p {
    display: none;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: var(--button-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 400;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
    margin-bottom: 30px;
}

.cta-button:hover {
    opacity: 0.8;
}

.icon-container {
    margin-top: 30px;
}

.icon-container svg {
    width: 60px;
    height: 60px;
    fill: var(--primary-color);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 60px;
    color: var(--text-color);
    font-size: 0.85rem;
    border-top: 1px solid #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 30px 15px;
    }

    .header {
        padding: 40px 30px 30px;
    }

    .profile-section {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .profile-info {
        text-align: center;
    }

    .profile-info h1 {
        font-size: 2rem;
    }

    .profile-image img {
        width: 120px;
        height: 120px;
    }

    .main-section,
    .resources-section,
    .training-section {
        padding: 40px 30px;
    }

    .footer {
        padding: 30px;
    }

    .book-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .book-cover img {
        width: 180px;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .resource-image img {
        max-width: 200px;
    }
}
