/* Business Model Canvas Site - Main Styles */

:root {
    --primary-color: #1EC6B0;
    --primary-dark: #17a294;
    --primary-light: #e8f9f7;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-small: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-small);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    padding: 4rem 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Section Styling */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Canvas Preview Section */
.canvas-preview-section {
    background: var(--white);
}

.canvas-grid-preview {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 1fr 1fr 0.8fr;
    gap: 1px;
    background: var(--border-color);
    border: 2px solid var(--text-color);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2rem;
}

.canvas-block-preview {
    background: var(--white);
    padding: 1.5rem;
    position: relative;
}

.canvas-block-preview.partners { grid-column: 1; grid-row: 1 / 3; }
.canvas-block-preview.activities { grid-column: 2; grid-row: 1; }
.canvas-block-preview.resources { grid-column: 2; grid-row: 2; }
.canvas-block-preview.value { grid-column: 3; grid-row: 1 / 3; }
.canvas-block-preview.relationships { grid-column: 4; grid-row: 1; }
.canvas-block-preview.channels { grid-column: 4; grid-row: 2; }
.canvas-block-preview.segments { grid-column: 5; grid-row: 1 / 3; }
.canvas-block-preview.costs { grid-column: 1 / 3; grid-row: 3; }
.canvas-block-preview.revenue { grid-column: 3 / 6; grid-row: 3; }

.block-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.canvas-block-preview h3 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.canvas-block-preview p {
    font-size: 0.85rem;
    color: var(--text-light);
}

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

/* Video Section */
.video-section {
    background: var(--bg-color);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

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

.video-card h3 {
    padding: 1rem;
    font-size: 1rem;
}

/* Template Section */
.template-section {
    background: var(--white);
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.template-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.2s;
}

.template-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.template-image {
    margin-bottom: 1rem;
}

.template-placeholder {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 3rem 1rem;
    text-align: center;
    border-radius: var(--radius-small);
    font-weight: 700;
    font-size: 1.2rem;
}

.template-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.template-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

/* FAQ Section */
.faq-section {
    background: var(--bg-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    background: var(--primary-light);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-color);
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ol,
.faq-answer ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Guides Section */
.guides-section {
    background: var(--white);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.guide-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.guide-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.guide-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.guide-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    flex: 1;
}

.guide-meta {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

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

/* Related Resources Section */
.related-section {
    background: var(--bg-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.related-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.related-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.related-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.related-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.related-card a:hover {
    text-decoration: underline;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 5rem 0;
}

.final-cta-content {
    text-align: center;
}

.final-cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.final-cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.site-footer {
    background: var(--text-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .canvas-grid-preview {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .canvas-block-preview.partners { grid-column: 1; grid-row: 1; }
    .canvas-block-preview.activities { grid-column: 2; grid-row: 1; }
    .canvas-block-preview.resources { grid-column: 1; grid-row: 2; }
    .canvas-block-preview.value { grid-column: 2; grid-row: 2; }
    .canvas-block-preview.relationships { grid-column: 1; grid-row: 3; }
    .canvas-block-preview.channels { grid-column: 2; grid-row: 3; }
    .canvas-block-preview.segments { grid-column: 1 / 3; grid-row: 4; }
    .canvas-block-preview.costs { grid-column: 1; grid-row: 5; }
    .canvas-block-preview.revenue { grid-column: 2; grid-row: 5; }

    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.5rem;
    }

    section {
        padding: 2.5rem 0;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .canvas-grid-preview {
        grid-template-columns: 1fr;
    }

    .canvas-block-preview {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .template-grid,
    .guide-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
}
