/* ==========================================================================
   Feature Section (One-Click Access)
   ========================================================================== */

.feature-section {
    padding: var(--spacing-4xl) 0;
    position: relative;
    overflow: hidden;
}

.feature-section::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100px;
    width: 1636px;
    height: 100%;
    max-height: 900px;
    background-image: url('../images/feature-grid.svg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.feature-section > .container {
    position: relative;
    z-index: 1;
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.feature-title {
    font-size: 36px;
    font-weight: var(--font-bold);
    color: var(--color-black);
    max-width: 307px;
    line-height: 44px;
}

.feature-info {
    max-width: 447px;
}

.feature-info p {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

.feature-tags {
    display: flex;
    gap: 11px;
    flex-wrap: wrap;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--color-bg-gray-light);
    border-radius: var(--radius-full);
    font-size: 16px;
    color: var(--color-text-muted);
}

.feature-tag svg {
    width: 14px;
    height: 14px;
    color: #717171;
}

.feature-showcase {
    position: relative;
    margin-top: var(--spacing-2xl);
    background-image: url('../images/feature-net.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

/* Feature Dashboard with Image Mockups */
.feature-dashboard {
    position: relative;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.dashboard-main-image {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.dashboard-main-image img {
    width: 100%;
    height: auto;
    border-radius: 22px;
    box-shadow: -3px 4px 20px rgba(0, 0, 0, 0.1);
}

/* Floating Mockup Screenshots */
.floating-mockup {
    position: absolute;
    z-index: 1;
}

.floating-mockup img:not(.mockup-icon) {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* Tool icon badges floating above mockups */
.floating-mockup .mockup-icon {
    position: absolute;
    width: 49px;
    height: auto;
    border-radius: 8px;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-mockup.mockup-semrush {
    left: 0;
    bottom: -40px;
    width: 340px;
    z-index: 3;
}

.floating-mockup.mockup-semrush .mockup-icon {
    top: -25px;
    left: 150px;
}

.floating-mockup.mockup-ahrefs {
    right: 60px;
    top: 40px;
    width: 350px;
    z-index: 3;
}

.floating-mockup.mockup-ahrefs .mockup-icon {
    top: -18px;
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    height: 49px; /* Square icon per Figma */
    object-fit: cover;
    object-position: center;
}

.tool-card-header span:first-of-type {
    font-weight: var(--font-semibold);
    flex: 1;
}

.tool-status {
    font-size: 10px;
    background: #d4edda;
    color: #155724;
    padding: 2px 8px;
    border-radius: 10px;
}

.tool-card-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.stat-row span:first-child {
    color: var(--color-text-muted);
}

.stat-value {
    font-weight: var(--font-semibold);
    color: var(--color-primary);
}

