/* Books Page Styles */

/* Books Hero */
.books-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1a1a 50%, #1a1a2d 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.books-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(201, 165, 90, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
    animation: pulseBooks 10s ease-in-out infinite;
}

@keyframes pulseBooks {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.books-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-light);
}

.books-hero-content h1 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    font-style: italic;
}

/* Featured Book Section */
.featured-book-section {
    padding: 6rem 0;
    background: white;
}

.section-label {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.book-showcase {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.book-cover-large {
    position: relative;
    position: sticky;
    top: 100px;
}

.book-cover-large img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.book-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
}

.book-content {
    padding-top: 1rem;
}

.book-title {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.book-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.book-meta {
    color: #888;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.book-synopsis {
    margin: 2rem 0 3rem;
}

.book-synopsis h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-synopsis p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

.opening-line {
    font-size: 1.3rem !important;
}

.opening-line strong {
    color: var(--secondary-color);
}

.closing-line {
    color: var(--primary-color);
    font-size: 1.1rem !important;
}

.genre-line {
    font-size: 1rem !important;
    color: #777;
    font-style: italic;
}

.genre-line em {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 500;
}

.book-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.detail-value {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.book-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-preorder,
.btn-sample {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-preorder {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-preorder:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 165, 90, 0.4);
    background: #d4b16a;
}

.btn-sample {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-sample:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.kindle-unlimited {
    text-align: center;
    margin: 0.5rem 0;
    color: #c9a55a;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Book Trailer Section */
.trailer-section {
    padding: 4rem 0;
    background: var(--secondary-color);
}

.trailer-section .section-title {
    color: #fff;
}

.trailer-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.trailer-container video {
    width: 100%;
    display: block;
}

/* Series Section */
.series-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 1.5rem auto 3rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #666;
}

.trilogy-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.act-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #ddd;
}

.act-card.active {
    border-top-color: var(--primary-color);
}

.act-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.act-number {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--light-bg);
    color: var(--secondary-color);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.act-card.active .act-number {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.act-card h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.act-release {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.act-description {
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.act-status {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--light-bg);
    color: #888;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.act-card.active .act-status {
    background: rgba(201, 165, 90, 0.2);
    color: var(--primary-color);
}

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

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
}

.author-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.author-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.author-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    font-weight: 700;
}

.author-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.author-info h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.author-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.author-bio {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: left;
}

.author-bio em {
    color: var(--primary-color);
    font-style: italic;
}

/* Excerpt Section */
.excerpt-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.excerpt-container {
    max-width: 900px;
    margin: 3rem auto 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.excerpt-header {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
}

.excerpt-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.excerpt-meta {
    font-style: italic;
    opacity: 0.9;
}

.excerpt-text {
    padding: 3rem;
    font-family: 'Georgia', serif;
    font-size: 1.15rem;
    line-height: 2;
    color: #333;
}

.excerpt-text p {
    margin-bottom: 1.5rem;
}

.excerpt-text em {
    font-style: italic;
    color: #666;
}

.excerpt-more {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 2rem;
}

.excerpt-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 2rem;
    background: var(--light-bg);
}

.btn-download-sample {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download-sample:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #0d0d0d;
}

/* Film CTA Section */
.film-cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0d0d0d 100%);
    color: var(--text-light);
    text-align: center;
}

.film-cta-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.film-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.film-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-casting,
.btn-film-info {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-casting {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-casting:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 165, 90, 0.4);
    background: #d4b16a;
}

.btn-film-info {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-film-info:hover {
    background: var(--text-light);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
}

.newsletter-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.newsletter-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 165, 90, 0.4);
    background: #d4b16a;
}

/* Responsive Design */
@media (max-width: 968px) {
    .book-showcase {
        grid-template-columns: 1fr;
    }
    
    .book-cover-large {
        position: relative;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .authors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .books-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .book-title {
        font-size: 2rem;
    }
    
    .book-subtitle {
        font-size: 1.2rem;
    }
    
    .book-actions {
        flex-direction: column;
    }
    
    .book-details-grid {
        grid-template-columns: 1fr;
    }
    
    .trilogy-timeline {
        grid-template-columns: 1fr;
    }
    
    .excerpt-actions {
        flex-direction: column;
    }
    
    .film-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-casting,
    .btn-film-info {
        width: 100%;
        max-width: 300px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .credits-grid {
        grid-template-columns: 1fr;
    }
}

/* Credits Section */
.credits-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
}

.credits-section .section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.credit-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 165, 90, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.credit-item:hover {
    background: rgba(201, 165, 90, 0.05);
    border-color: rgba(201, 165, 90, 0.4);
    transform: translateY(-3px);
}

.credit-item h4 {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.credit-name {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.credit-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.credit-location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-style: italic;
    margin: 0;
}

.credit-publisher {
    grid-column: span 1;
    text-align: center;
    background: rgba(201, 165, 90, 0.08);
}

@media (max-width: 900px) {
    .credits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .credit-publisher {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .credits-grid {
        grid-template-columns: 1fr;
    }
    
    .credit-publisher {
        grid-column: span 1;
    }
}

/* Sample Download Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content.sample-modal {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1a1a 100%);
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    padding: 2.5rem;
    position: relative;
    border: 1px solid rgba(201, 165, 90, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: #c9a55a;
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    color: #c9a55a;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: #ccc;
    font-size: 0.95rem;
}

.sample-form .form-group {
    margin-bottom: 1rem;
}

.sample-form input[type="email"] {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(201, 165, 90, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.sample-form input[type="email"]:focus {
    outline: none;
    border-color: #c9a55a;
    box-shadow: 0 0 0 3px rgba(201, 165, 90, 0.2);
}

.sample-form input[type="email"]::placeholder {
    color: #888;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #c9a55a;
    cursor: pointer;
}

.form-checkbox label {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.4;
    cursor: pointer;
}

.btn-submit-sample {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #c9a55a 0%, #a8893d 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit-sample:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(201, 165, 90, 0.4);
}

.btn-submit-sample:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.modal-note {
    text-align: center;
    color: #888;
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* ========================================
   PUBLISHING OVERVIEW SECTION
   ======================================== */
.publishing-overview-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fefefe 0%, #f8f5f0 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto 1.5rem;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

.publishing-philosophy {
    margin-top: 3rem;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.philosophy-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.philosophy-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(201, 165, 90, 0.1), rgba(201, 165, 90, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.philosophy-card h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.philosophy-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   FEATURED PUBLICATION SECTION
   ======================================== */
.featured-publication-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f5f5f5 0%, #fefefe 100%);
}

.publication-featured-card {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 3rem;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.publication-card-image {
    position: relative;
    min-height: 450px;
}

.publication-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.publication-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1.5rem;
}

.publication-badge {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
}

.publication-card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.publication-type {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.publication-card-content h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.publication-authors {
    color: #777;
    font-style: italic;
    margin-bottom: 1rem;
}

.publication-summary {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.publication-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(201, 165, 90, 0.05) 0%, transparent 100%);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.publication-details .detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.publication-details .detail-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.publication-details .detail-value {
    color: #666;
    font-size: 0.95rem;
}

.publication-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.kindle-note {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Franchise CTA Buttons (shared) */
.btn-franchise-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #d4b16a);
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
}

.btn-franchise-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 165, 90, 0.4);
}

.btn-franchise-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-franchise-secondary:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* ========================================
   FRANCHISE BANNER SECTION
   ======================================== */
.franchise-banner-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0a0a0f 0%, #14141f 50%, #0a0a0f 100%);
    position: relative;
    overflow: hidden;
}

.franchise-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(201, 165, 90, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.franchise-banner-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.franchise-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(201, 165, 90, 0.15), rgba(201, 165, 90, 0.05));
    border: 1px solid rgba(201, 165, 90, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.franchise-banner-content h2 {
    font-size: 2.25rem;
    color: #fff;
    margin-bottom: 1rem;
}

.franchise-banner-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-franchise-explore {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), #d4b16a);
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s ease;
}

.btn-franchise-explore:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(201, 165, 90, 0.4);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fefefe 0%, #f8f5f0 100%);
    position: relative;
}

.cta-spotlight {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(201, 165, 90, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.cta-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.cta-title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.cta-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta-card:hover::before {
    opacity: 1;
}

.cta-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.cta-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(201, 165, 90, 0.1), rgba(201, 165, 90, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.cta-card:hover .cta-icon {
    background: linear-gradient(135deg, var(--primary-color), #d4b16a);
    color: var(--secondary-color);
    transform: scale(1.1);
}

.cta-card h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cta-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--primary-color), #d4b16a);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 165, 90, 0.4);
}

/* Books Hero Label */
.books-hero-content .hero-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(201, 165, 90, 0.8);
    margin-bottom: 0.75rem;
}

/* Responsive Publishing Styles */
@media (max-width: 1024px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .publication-featured-card {
        grid-template-columns: 1fr;
    }
    
    .publication-card-image {
        min-height: 300px;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .publication-actions {
        flex-direction: column;
    }
    
    .btn-franchise-primary,
    .btn-franchise-secondary {
        text-align: center;
        justify-content: center;
    }
    
    .franchise-banner-content h2 {
        font-size: 1.75rem;
    }
    
    .publication-card-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}
