:root {
    --primary: #3498db;
    --secondary: #2ecc71;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --accent: #9b59b6;
    --warning: #f39c12;
    --error: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

header {
    background-color: var(--dark);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--secondary);
}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary);
}

.switch-page-link {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.switch-page-link:hover {
    background-color: #2980b9;
    color: white;
}

.hero {
    background: linear-gradient(135deg, var(--secondary), #27ae60);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--dark);
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin: 0 0.5rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
}

section {
    padding: 5rem 2rem;
}

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

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: #555;
}

/* Features section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Why Open section */
.why-open-section {
    background-color: white;
}

.quote-box {
    background-color: rgba(52, 152, 219, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
}

.approach-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    margin: 2rem 0;
    transition: transform 0.3s;
}

.approach-card:hover {
    transform: translateY(-5px);
}

.approach-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.approach-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
    color: var(--secondary);
}

.approach-card h3 {
    color: var(--primary);
    margin: 0;
}

.approach-card .advantage {
    color: var(--secondary);
    margin-top: 1rem;
    font-weight: 500;
}

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

.reason-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
    transition: transform 0.3s;
}

.reason-card:hover {
    transform: translateY(-5px);
}

.reason-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
    text-align: center;
}

.reason-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Timeline highlights - Simplified timeline view */
.timeline-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.timeline-highlight {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
    position: relative;
    border-top: 3px solid var(--primary);
}

.timeline-highlight-date {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.timeline-highlight h4 {
    margin: 0 0 0.5rem 0;
    color: var(--dark);
}

.timeline-highlight p {
    margin: 0;
    font-size: 0.95rem;
}

/* Highlight box */
.highlight-box {
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    padding: 2rem;
    margin: 3rem 0;
    border-left: 4px solid var(--primary);
}

.highlight-box h3 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1rem;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* Hello Protocol section */
.protocol-highlight {
    background-color: rgba(46, 204, 113, 0.1);
    border-radius: 8px;
    padding: 2rem;
    border-left: 4px solid var(--secondary);
    margin: 2rem 0;
}

.protocol-highlight h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.protocol-diagram {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

.protocol-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.protocol-step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: white;
    font-weight: bold;
    margin-bottom: 1rem;
}

.code-example {
    background-color: #282c34;
    border-radius: 8px;
    padding: 2rem;
    overflow-x: auto;
    margin-top: 2rem;
    color: #abb2bf;
    font-family: 'Fira Code', monospace;
}

/* Benefits grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 2rem;
    color: var(--secondary);
}

.benefit-text h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

/* Evolution section */
.evolution-container {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    margin-bottom: 3rem;
}

.evolution-column {
    flex: 1;
}

.evolution-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary);
    font-weight: bold;
}

.evolution-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    border-top: 5px solid var(--dark);
}

.evolution-card.highlighted {
    border-top: 5px solid var(--secondary);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.evolution-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.evolution-card.highlighted h3 {
    color: var(--secondary);
}

.evolution-card ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.evolution-card li {
    margin-bottom: 0.7rem;
}

.evolution-quote {
    font-style: italic;
    border-left: 3px solid var(--secondary);
    padding-left: 1rem;
    margin-top: 1.5rem;
    color: #555;
}

.evolution-benefits {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
}

.evolution-benefits h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    text-align: center;
}

/* Bundle section */
.bundle-benefits {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.benefit-column {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.benefit-column h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.bundle-diagram {
    text-align: center;
    margin: 3rem 0;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.diagram-caption {
    margin-top: 1rem;
    font-style: italic;
    color: #666;
}

.example-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.example-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.example-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Human Expression section */
.expression-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.expression-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.expression-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary);
}

.expression-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.expression-example {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.expression-code {
    margin-top: 1rem;
}

.expression-code pre {
    background-color: #282c34;
    color: #abb2bf;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
}

.expression-conclusion {
    margin-top: 3rem;
    background-color: rgba(52, 152, 219, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
}

/* Phases section */
.phases {
    background-color: #f8f9fa;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
}

.section-subtitle h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

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

.phase-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--secondary);
}

.phase-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.phase-card ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.phase-card li {
    margin-bottom: 0.5rem;
}

/* Documentation section */
.documentation {
    background-color: white;
}

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

.doc-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
}

.doc-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.doc-card h3 {
    margin-bottom: 1rem;
}

.doc-card a {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
}

/* FAQ section styles - Enhanced */
.faq {
    background-color: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item.active {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark);
    position: relative;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.faq-question:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background-color: rgba(52, 152, 219, 0.05);
}

.faq-item.active .faq-question::after {
    content: "−";
    transform: rotate(0deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    background-color: white;
    transition: max-height 0.3s ease, padding 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
}

.faq-item.active .faq-answer {
    max-height: 2000px; /* Large enough to accommodate content */
    padding: 1.5rem;
    border-top: none;
    visibility: visible;
}

/* Add a subtle animation to questions when clicked */
.faq-question:active {
    transform: scale(0.99);
}

/* Enhanced styling for lists within FAQ answers */
.faq-answer ul li,
.faq-answer ol li {
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

.faq-answer strong {
    color: var(--dark);
}

/* Better spacing for paragraphs in FAQ answers */
.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Style for example boxes inside FAQ answers */
.workflow-example {
    background-color: #f8f9fa;
    padding: 1.2rem;
    border-radius: 6px;
    margin: 1rem 0;
    border-left: 3px solid var(--primary);
}

.workflow-example h4 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.workflow-example ol, 
.workflow-example ul {
    margin-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.workflow-example li {
    margin-bottom: 0.5rem;
}

/* Community section */
.community {
    background-color: var(--secondary);
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
}

.community h2 {
    margin-bottom: 2rem;
}

.community .btn {
    background-color: white;
    color: var(--secondary);
    margin-top: 1.5rem;
}

.community .btn:hover {
    background-color: var(--dark);
    color: white;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--secondary);
}

.copyright {
    margin-top: 2rem;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .evolution-container {
        flex-direction: column;
    }
    
    .evolution-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .bundle-benefits {
        flex-direction: column;
    }
    
    .benefit-column {
        margin-bottom: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .phase-cards {
        grid-template-columns: 1fr;
    }
    
    .doc-cards {
        grid-template-columns: 1fr;
    }
    
    .example-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn {
        margin: 0.5rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .code-example {
        font-size: 0.8rem;
        padding: 1rem;
    }
    
    .timeline-highlights {
        grid-template-columns: 1fr;
    }
    
    .approach-card {
        padding: 1.5rem;
    }
    
    .faq-container {
        padding: 0 1rem;
    }
    
    .faq-question {
        padding: 1.2rem;
        font-size: 0.95rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.2rem;
    }
}
/* FAQ section styles - Redesigned with better visuals */
.faq {
    background-color: #f8f9fa;
    padding-bottom: 6rem;
    font-family: Arial, sans-serif;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.faq-item {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-item:hover {
    box-shadow: 0 6px 18px rgba(46, 204, 113, 0.15);
    transform: translateY(-2px);
}

.faq-item.active {
    box-shadow: 0 8px 24px rgba(46, 204, 113, 0.2);
    border-color: rgba(46, 204, 113, 0.2);
}

.faq-question {
    padding: 1.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 12px;
    font-size: 1.1rem;
}

.faq-question:hover {
    background-color: rgba(46, 204, 113, 0.05);
    color: #2ecc71;
}

.faq-question::after {
    content: "+";
    font-size: 1.8rem;
    color: #2ecc71;
    transition: all 0.3s ease;
    opacity: 0.8;
    font-weight: 300;
}

.faq-item.active .faq-question::after {
    content: "−";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.8rem;
    background-color: white;
    transition: all 0.3s ease;
    visibility: hidden;
    opacity: 0;
    color: #505050;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1rem 1.8rem;
    visibility: visible;
    opacity: 1;
}

/* Workflow example within FAQ */
.workflow-example {
    background-color: #f8f9fa;
    padding: 1.2rem;
    border-radius: 6px;
    margin: 1rem 0;
    border-left: 3px solid #2ecc71;
}

.workflow-example h4 {
    color: #2ecc71;
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.workflow-example ol, 
.workflow-example ul {
    margin-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.workflow-example li {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-question {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    }
}
