/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: radial-gradient(ellipse at top left, #e67e22 0%, #f39c12 50%, #f1c40f 100%);
    min-height: 100vh;
}

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

/* Hero section */
.hero {
    padding: 96px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
    align-items: start;
}

.book-cover {
    grid-column: span 4;
    justify-self: center;
}

.cover-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transform: rotate(0deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cover-image:hover {
    transform: rotate(-1deg) translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.book-info {
    grid-column: span 7;
    color: #1f2937;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.book-info h1 {
    font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: #1f2937;
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: #6b7280;
    font-weight: 400;
}

.description {
    font-size: 1.125rem;
    margin-bottom: 24px;
    line-height: 1.6;
    color: #374151;
    max-width: 65ch;
}

.key-points {
    margin-bottom: 32px;
}

.key-points ul {
    list-style: none;
    padding: 0;
}

.key-points li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: #374151;
    font-weight: 500;
}

.key-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    min-height: 44px;
    min-width: 160px;
    position: relative;
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid #1f2937;
    outline-offset: 2px;
}

.btn-primary {
    background-color: #d35400;
    color: white;
    box-shadow: 0 4px 12px rgba(211, 84, 0, 0.25);
}

.btn-primary:hover {
    background-color: #b7472a;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(211, 84, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #1f2937;
    border: 2px solid rgba(31, 41, 55, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(31, 41, 55, 0.3);
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    .btn, .cover-image, .share-btn {
        transition: none;
    }
    
    .btn:hover, .cover-image:hover, .share-btn:hover {
        transform: none;
    }
}

/* Share block */
.share-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    text-decoration: none;
    outline: none;
}

.share-btn svg {
    width: 18px;
    height: 18px;
    fill: #1f2937;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.3);
}

.share-btn:focus-visible {
    outline: 2px solid #1f2937;
    outline-offset: 2px;
}

/* Footer */
footer {
    color: #6b7280;
    text-align: center;
    padding: 24px 0;
    margin-top: 64px;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero {
        padding: 64px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .book-cover {
        grid-column: 1;
        order: 1;
    }
    
    .book-info {
        grid-column: 1;
        order: 2;
        padding: 32px 24px;
    }
    
    .cover-image {
        max-width: 240px;
        transform: rotate(0deg);
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .share-block {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 48px 0;
    }
    
    .book-info {
        padding: 24px 20px;
    }
    
    .cover-image {
        max-width: 200px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .description {
        max-width: none;
    }
}
