/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    border-bottom: 1px solid #e1e5e9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: white;
    padding: 4px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #00A86B;
}

.search-container {
    flex: 1;
    max-width: 400px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 0 12px;
    transition: all 0.2s ease;
}

.search-box:focus-within {
    border-color: #00A86B;
    box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
}

.search-icon {
    color: #6c757d;
    margin-right: 8px;
}

.search-input {
    border: none;
    background: transparent;
    padding: 10px 0;
    font-size: 14px;
    flex: 1;
    outline: none;
}

.search-shortcut {
    background: #e9ecef;
    color: #6c757d;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.explore-text {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.powered-by {
    font-size: 12px;
    color: #6c757d;
}

/* Main Content */
.main-content {
    background: #fff;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.article-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid #e1e5e9;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6c757d;
}

.meta-item i {
    font-size: 12px;
}

.article-actions {
    display: flex;
    gap: 12px;
}

.article-actions button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #e1e5e9;
    background: #fff;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.article-actions button:hover {
    background: #f8f9fa;
    border-color: #00A86B;
}

.btn-next {
    background: #00A86B !important;
    color: white !important;
    border-color: #00A86B !important;
}

.btn-next:hover {
    background: #008a5a !important;
}

/* Content Section */
.content-section {
    padding: 40px;
}

.intro-text {
    margin-bottom: 40px;
}

.intro-text p {
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.7;
}

.highlight-text {
    font-size: 18px !important;
    color: #1a1a1a;
}

.feature-intro {
    font-weight: 600;
    color: #1a1a1a;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-card.full-width {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-card.full-width .feature-image {
    height: auto;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    padding: 24px;
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.feature-content p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-logo {
    display: flex;
    gap: 16px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    flex-shrink: 0;
    object-fit: contain;
    background: white;
    padding: 6px;
}

.footer-logo-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: #00A86B;
    margin-bottom: 8px;
}

.footer-logo-text p {
    font-size: 14px;
    color: #adb5bd;
    line-height: 1.6;
    margin-bottom: 8px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 6px 0;
    color: #adb5bd;
    font-size: 14px;
}

.feature-list li:before {
    content: "✓";
    color: #00A86B;
    font-weight: bold;
    margin-right: 8px;
}

.login-btn {
    background: #00A86B;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.login-btn:hover {
    background: #008a5a;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #adb5bd;
}

.contact-info i {
    margin-right: 8px;
    color: #00A86B;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #343a40;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #6c757d;
}

/* Getting Started Styles */
.getting-started-steps {
    margin: 2rem 0;
}

.steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
}

.steps-list li {
    counter-increment: step-counter;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #00A86B;
    position: relative;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: -2px;
    top: -2px;
    background: #00A86B;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.additional-info {
    margin-top: 2rem;
    padding: 1rem;
    background: #e8f4f8;
    border-radius: 8px;
}

.footnote {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Dashboard Overview Styles */
.dashboard-image {
    margin: 1.5rem 0;
    text-align: center;
}

.dashboard-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-caption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
}

.section-divider {
    margin: 2rem 0;
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
}

.dashboard-section {
    margin: 2rem 0;
}

.dashboard-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #00A86B;
    padding-bottom: 0.5rem;
}

.tool-list, .action-list {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.tool-item, .action-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.tool-icon, .action-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Adding a Block Tutorial Styles */
.tutorial-section {
    margin: 2rem 0;
}

.tutorial-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.step {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #00A86B;
}

.step h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tutorial-image {
    margin: 1rem 0;
    text-align: center;
}

.tutorial-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.additional-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f0f8f4;
    border-radius: 8px;
    border: 1px solid #d4edda;
}

.recommendation {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
}

.recommendation h4 {
    color: #856404;
    margin-bottom: 0.5rem;
}

/* Navigation Improvements */
.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-prev, .btn-next {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #00A86B;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #00A86B;
    background: white;
}

.btn-prev:hover, .btn-next:hover {
    background: #00A86B;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    
    .search-container {
        width: 100%;
        max-width: none;
    }
    
    .nav-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .article-header {
        padding: 20px;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .article-actions {
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card.full-width {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0 20px;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
    }

    .tool-list, .action-list {
        grid-template-columns: 1fr;
    }
    
    .nav-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-prev, .btn-next {
        justify-content: center;
    }
    
    .steps-list li {
        padding: 1rem;
    }
    
    .step {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .main-content {
        margin: 10px auto;
        border-radius: 8px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-image {
        height: 150px;
    }
    
    .feature-content {
        padding: 16px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }

/* Documentation Index Styles */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.doc-card {
    display: flex;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.doc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #00A86B;
}

.doc-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #00A86B;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.doc-icon i {
    color: white;
    font-size: 1.5rem;
}

.doc-content {
    flex: 1;
}

.doc-content h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.doc-content p {
    margin: 0 0 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.doc-meta {
    font-size: 0.8rem;
    color: #999;
}

.help-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.help-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-options {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.contact-option i {
    color: #00A86B;
}

/* Message Boxes */
.tip-box, .warning-box, .caution-box {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.tip-box {
    background: #e8f4fd;
    border-color: #1976d2;
}

.tip-box h4 {
    color: #1976d2;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.warning-box {
    background: #fff3cd;
    border-color: #ff9800;
}

.warning-box h4 {
    color: #ff9800;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.caution-box {
    background: #ffebee;
    border-color: #f44336;
}

.caution-box h4 {
    color: #f44336;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

/* Comparison Table */
.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #ddd;
}

.comparison-table tbody tr:hover {
    background: #f9f9f9;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.dropdown-btn:hover {
    background-color: #f8f9fa;
}

.dropdown-icon {
    transition: transform 0.2s;
    font-size: 12px;
}

.dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 1000;
    border: 1px solid #e0e0e0;
    max-height: 80vh;
    overflow-y: auto;
}

.dropdown.active .dropdown-content {
    display: block;
}

.dropdown-section {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-section:last-child {
    border-bottom: none;
}

.dropdown-section-title {
    font-weight: 600;
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 16px 8px 16px;
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.dropdown-link:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.dropdown-link.current-page {
    background-color: #e3f2fd;
    color: #1976d2;
    font-weight: 500;
}

/* Feature sections and use cases */
.use-cases {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #00A86B;
}

.use-cases h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-section {
    margin: 2rem 0;
}

.feature-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instructions {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.instructions h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
} 