.intro-container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
}

.intro-hero {
    position: relative;
    padding: 6rem 2rem 4rem;
    margin-bottom: 2rem;
}

.intro-hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.intro-hero h1 span {
    color: var(--accent);
}

.intro-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.intro-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary-large {
    background: var(--primary);
    color: var(--bg-main);
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary-large:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.btn-outline-large {
    background: var(--bg-card);
    color: var(--text-main);
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

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

/* Action Zone (Unified Sections with Tabs) */
.action-zone {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tabs {
    display: flex;
    background: var(--secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem;
    gap: 0.5rem;
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    border-radius: 1.5rem;
    transition: all 0.2s;
}

.tab-btn i {
    width: 1.25rem;
    height: 1.25rem;
}

.tab-btn:hover {
    background: var(--secondary-hover);
    color: var(--text-main);
}

.tab-btn.active {
    background: var(--bg-card);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.tab-panes-wrapper {
    position: relative;
    overflow: hidden;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    overflow-anchor: none;
}

.tab-content {
    padding: 3rem 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    transform: translateY(8px);
}

.tab-content.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
    transform: translateY(0);
}

.analysis-section, .history-section {
    width: 100%;
}

/* Feature Bento Grid Adjustments */
.intro-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 6rem 0;
    text-align: left;
}

.feature-card {
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    background: var(--secondary);
    box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.4),
                0 0 0 1px var(--border-color);
}

.feature-card.col-span-2 {
    grid-column: span 2;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--secondary);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--bg-main);
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .intro-container {
        margin: 1rem auto;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    .intro-hero {
        padding: 3.5rem 1.25rem;
        margin-bottom: 2.5rem;
        border-radius: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    .intro-hero h1 {
        font-size: 1.85rem;
        margin-bottom: 1rem;
    }
    .intro-hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    .intro-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    .intro-cta button {
        justify-content: center;
        width: 100%;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    .action-zone {
        margin-top: 3rem;
        padding-top: 2rem;
    }
    .tabs-container {
        border-radius: 1.25rem;
        width: 100%;
        max-width: 100%;
    }
    .tab-content {
        padding: 1.5rem 1rem;
    }
    .tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
    }
    .tab-btn {
        flex: none !important;
        flex-shrink: 0 !important;
        min-width: 130px;
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    .intro-features {
        margin: 3rem 0;
        gap: 0.75rem;
        grid-template-columns: 1fr !important;
        width: 100%;
        max-width: 100%;
    }
    .feature-card.col-span-2 {
        grid-column: span 1 !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    .feature-card.col-span-2 .feature-icon {
        margin-bottom: 1rem !important;
    }
    .feature-card {
        padding: 1.25rem;
    }
    .feature-icon {
        width: 2rem;
        height: 2rem;
        margin-bottom: 1rem;
        border-radius: 0.5rem;
    }
    .feature-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    .feature-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

