/* === Feature Page Styles === */

/* Feature Hero */
.feature-hero {
    padding: 120px 0 60px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.feature-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.feature-hero-text {
    flex: 1;
    max-width: 560px;
}

.feature-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.feature-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.feature-breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb-sep {
    color: var(--text-tertiary);
}

.feature-hero-text h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.feature-hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.feature-hero-visual {
    flex: 0 0 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-large {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-xl);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

/* Feature Detail */
.feature-detail {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.feature-detail-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    text-align: center;
}

/* How to Use */
.how-to-use {
    padding: 80px 0;
    background: var(--bg-primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.step-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.step-text {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
    padding-top: 6px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--bg-primary);
    box-shadow: var(--shadow-lg);
}

/* === Dropdown Menu === */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .feature-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-hero-text {
        max-width: 100%;
    }
    
    .feature-hero-visual {
        flex: 0 0 240px;
        height: 240px;
    }
    
    .feature-icon-large {
        width: 160px;
        height: 160px;
        font-size: 4rem;
        border-radius: 32px;
    }
}

@media (max-width: 768px) {
    .feature-hero {
        padding: 100px 0 40px;
    }
    
    .feature-hero-text h1 {
        font-size: 2rem;
    }
    
    .feature-hero-desc {
        font-size: 1rem;
    }
    
    .feature-detail,
    .how-to-use,
    .faq-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-hero-visual {
        flex: 0 0 180px;
        height: 180px;
    }
    
    .feature-icon-large {
        width: 120px;
        height: 120px;
        font-size: 3rem;
        border-radius: 24px;
    }

    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-secondary);
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 4px 0 4px 20px;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}
