/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Merriweather:wght@400;700&display=swap');

:root {
    --primary-color: #4299E1;
    --secondary-color: #2D3748;
    --accent-color: #F6AD55;
    --light-color: #F7FAFC;
    --dark-color: #1A202C;
    --gray-color: #718096;
    --border-color: #E2E8F0;
    --success-color: #48BB78;
    --warning-color: #F6AD55;
    --danger-color: #F56565;
    --info-bg: #EBF8FF;
    --warning-bg: #FEEBC8;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Styles */
header {
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.tagline {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-style: italic;
}

#main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#main-nav li {
    margin: 0 0 0 1.5rem;
}

#main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

#main-nav a:hover {
    color: var(--primary-color);
}

#menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: white;
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.branding {
    font-style: italic;
    color: var(--light-color);
    opacity: 0.9;
    margin-top: 1rem;
}

/* Content Sections */
.content-section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.content-section:nth-child(even) {
    background-color: #f8fafc;
}

.content-section:last-child {
    border-bottom: none;
}

/* Image Containers */
.image-container {
    margin: 2rem 0;
    text-align: center;
}

.image-container img {
    max-width: 100%;
    max-height: 400px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.caption {
    font-size: 0.9rem;
    color: var(--gray-color);
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Comparison Box */
.comparison-box {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.comparison-column {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
}

.comparison-column:first-child {
    background-color: #f8fafc;
    border-right: 1px solid var(--border-color);
}

.comparison-column h3 {
    margin-top: 0;
    color: var(--secondary-color);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.icon {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-content h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.feature-content p {
    margin-bottom: 0;
}

/* Walkthrough */
.walkthrough {
    background-color: var(--info-bg);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.walkthrough h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.step {
    display: flex;
    margin-bottom: 1.5rem;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    font-weight: bold;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Tip Box */
.tip-box {
    background-color: var(--warning-bg);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.tip-box h3 {
    margin-top: 0;
    color: var(--accent-color);
}

.tip-box i {
    margin-right: 0.5rem;
}

/* Conversation Example */
.conversation-example {
    margin: 2rem 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.conversation-example h3 {
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem;
    margin: 0;
}

.message {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.message:last-child {
    border-bottom: none;
}

.message.user {
    background-color: #f8fafc;
}

.message.manus {
    background-color: var(--info-bg);
}

.message-content {
    padding-left: 1rem;
    border-left: 3px solid;
}

.user .message-content {
    border-color: var(--secondary-color);
}

.manus .message-content {
    border-color: var(--primary-color);
}

/* Grid Container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.grid-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.grid-item h4 {
    margin-top: 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.grid-item h4 i {
    margin-right: 0.5rem;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: var(--shadow);
}

th {
    background-color: var(--primary-color);
    color: white;
    text-align: left;
    padding: 1rem;
}

td {
    padding: 1rem;
    border: 1px solid var(--border-color);
}

tr:nth-child(even) {
    background-color: #f8fafc;
}

/* Tabs */
.tabs {
    margin: 2rem 0;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border-color);
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-color);
    transition: var(--transition);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: -2px;
}

.tab-button:hover {
    color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 1.5rem;
    background-color: white;
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow);
}

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

/* Accordion */
.accordion {
    margin: 2rem 0;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
}

.accordion-item.active .accordion-header::after {
    content: '-';
}

.accordion-content {
    background-color: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item.active .accordion-content {
    padding: 1rem;
    max-height: 500px;
}

/* Cards */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

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

.card-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
}

.card-header i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.card-header h4 {
    margin: 0;
    color: white;
}

.card-body {
    padding: 1.5rem;
}

.example {
    background-color: #f8fafc;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Checklist */
.checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.checklist li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Progress Steps */
.progress-steps {
    margin: 2rem 0;
}

.progress-step {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 20px;
    width: 2px;
    height: calc(100% - 20px);
    background-color: var(--primary-color);
}

.progress-indicator {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    font-weight: bold;
    z-index: 1;
}

.progress-content {
    flex: 1;
}

.progress-content h4 {
    margin-top: 0;
}

/* Key Takeaways */
.key-takeaways {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.takeaway {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
}

.takeaway i {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.takeaway p {
    margin: 0;
}

/* Resource List */
.resource-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.resource-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
}

.resource-list i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.25rem;
}

/* Final Message */
.final-message {
    background-color: var(--info-bg);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    color: white;
    margin-top: 0;
    border-bottom: none;
}

.footer-logo p {
    color: var(--gray-color);
}

.footer-branding p {
    color: var(--primary-color);
    font-style: italic;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    #menu-toggle {
        display: block;
    }
    
    #main-nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        flex-direction: column;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    #main-nav.active ul {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    #main-nav li {
        margin: 0;
    }
    
    #main-nav a {
        display: block;
        padding: 0.75rem 1.5rem;
    }
    
    .comparison-box {
        flex-direction: column;
    }
    
    .comparison-column:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid var(--border-color);
    }
    
    .tab-button.active {
        border-bottom: 1px solid var(--primary-color);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    .content-section {
        padding: 2rem 0;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .card-container {
        grid-template-columns: 1fr;
    }
    
    .key-takeaways {
        grid-template-columns: 1fr;
    }
}
