/* ==========================================================================
   Distributor Page Header
   ========================================================================== */
.distributor-header {
    padding: 6rem 2rem;
    text-align: center;
    background: white;
}

.distributor-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 1.5rem;
}

.distributor-header p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Book Details Section
   ========================================================================== */
.book-details {
    padding: 4rem 2rem;
    background: #f8fafc;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: #64748b;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    color: #1e40af;
    font-weight: 500;
}

/* ==========================================================================
   Audience Section
   ========================================================================== */
.audience-section {
    padding: 6rem 2rem;
    background: white;
}

.audience-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.audience-tier {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.audience-tier h3 {
    color: #1e40af;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.audience-tier p {
    color: #64748b;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 4rem 2rem;
    background: #f8fafc;
    text-align: center;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.contact-email:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .details-grid,
    .audience-tiers {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .distributor-header h1 {
        font-size: 2rem;
    }

    .details-grid,
    .audience-tiers {
        grid-template-columns: 1fr;
    }

    .detail-card {
        padding: 1.5rem;
    }
}

/* Add these new sections */

/* Reasons Section */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reason-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.reason-card h3 {
    color: #1e40af;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.reason-card ul {
    list-style: none;
    padding: 0;
}

.reason-card li {
    color: #64748b;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.reason-card li:before {
    content: "•";
    color: #2563eb;
    position: absolute;
    left: 0;
}

/* Sales Channels */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.channel-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.channel-card i {
    color: #2563eb;
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
}

/* Go-to-Market Strategy */
.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-phase {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.timeline-phase h3 {
    color: #1e40af;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Author Section */
.author-section {
    background: white;
    padding: 6rem 2rem;
}

.author-bio {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.author-image img {
    width: 100%;
    border-radius: 1rem;
}

/* Comparative Titles */
.comp-titles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.comp-title {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Responsive Design Updates */
@media (max-width: 1024px) {
    .reasons-grid,
    .channels-grid,
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .author-bio {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .reasons-grid,
    .channels-grid,
    .timeline,
    .comp-titles-grid {
        grid-template-columns: 1fr;
    }
}

/* Book Excerpts */
.book-excerpts {
    padding: 6rem 2rem;
    background: #f8fafc;
}

.excerpts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.excerpt-card {
    position: relative;
    padding-bottom: 4rem;
}

.excerpt-preview {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.view-excerpt-btn {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    font-weight: 500;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

/* Modal */
.excerpt-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 2rem;
}

.excerpt-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-tabs {
    display: flex;
    gap: 1rem;
}

.modal-tab {
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    color: #64748b;
    cursor: pointer;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.modal-tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.modal-close {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 5rem);
}

.excerpt-content {
    display: none;
}

.excerpt-content.active {
    display: block;
}

@media (max-width: 768px) {
    .excerpts-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Section */
.hero-section {
    padding: 4rem 2rem;
    background: white;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-image {
    width: 400px;
    flex-shrink: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(-5deg);
}

/* Video Section */
.video-section {
    padding: 4rem 2rem;
    background: #f8fafc;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section,
    .video-section {
        padding: 3rem 1rem;
    }
} 