/**
 * Hero Section - Original Dark Green Design
 * Location: /wp-content/plugins/daf-marketplace/assets/css/hero-section.css
 */

.daf-mp-hero-section {
    position: relative;
    min-height: 650px;
    padding: 3rem 2rem 4rem;
    background: linear-gradient(135deg, #0a0f1c 0%, #1a2332 50%, #0d1424 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
}

.daf-mp-hero-container {
    position: relative;
    z-index: 10;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

/* LEFT SIDE */
.daf-mp-hero-left {
    animation: daf-hero-slide-in 0.8s ease-out;
}

.daf-mp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.daf-mp-hero-badge-icon {
    color: #10b981;
}

.daf-mp-hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 1rem;
}

.daf-mp-hero-highlight {
    color: #10b981;
}

.daf-mp-hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0 0 2rem;
    max-width: 520px;
}

.daf-mp-hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
    margin-bottom: 2rem;
}

.daf-mp-hero-feature {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.daf-mp-hero-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    color: #10b981;
    flex-shrink: 0;
}

.daf-mp-hero-feature-icon svg {
    width: 18px;
    height: 18px;
}

.daf-mp-hero-feature-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.daf-mp-hero-feature-text strong {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #ffffff;
}

.daf-mp-hero-feature-text span {
    font-size: 0.6875rem;
    color: #94a3b8;
}

.daf-mp-hero-search-wrapper {
    width: 100%;
}

.daf-mp-hero-search-form {
    display: flex;
    gap: 0;
    background: #ffffff;
    border-radius: 14px;
    padding: 0.5rem;
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
    margin-bottom: 1.25rem;
}

.daf-mp-search-category {
    flex-shrink: 0;
}

.daf-mp-search-select {
    height: 52px;
    padding: 0 1.25rem;
    border: none;
    border-right: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    border-radius: 10px 0 0 10px;
    outline: none;
}

.daf-mp-search-input-wrapper {
    display: flex;
    flex: 1;
    gap: 0.5rem;
    padding: 0.375rem;
}

.daf-mp-search-input {
    flex: 1;
    height: 52px;
    padding: 0 1.25rem;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    color: #111827;
    outline: none;
}

.daf-mp-search-input::placeholder {
    color: #9ca3af;
}

.daf-mp-search-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.75rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.daf-mp-search-button:hover {
    transform: translateY(-2px);
}

.daf-mp-popular-searches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.625rem;
    font-size: 0.8125rem;
}

.daf-mp-popular-label {
    color: #94a3b8;
    font-weight: 500;
}

.daf-mp-popular-tag {
    padding: 0.4375rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.daf-mp-popular-tag:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #10b981;
}

/* RIGHT SIDE: Mockups */
.daf-mp-hero-right {
    position: relative;
    animation: daf-hero-fade-in-right 1s ease-out 0.2s both;
}

.daf-mp-hero-mockups {
    position: relative;
    width: 100%;
    height: 500px;
}

/* Browser Window */
.daf-mp-mockup-browser {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
    overflow: hidden;
    z-index: 5;
}

.daf-mp-browser-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
    border-bottom: 1px solid #e5e7eb;
}

.daf-mp-browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.daf-mp-browser-dot.red { background: #ef4444; }
.daf-mp-browser-dot.yellow { background: #f59e0b; }
.daf-mp-browser-dot.green { background: #10b981; }

.daf-mp-browser-title {
    margin-left: 0.75rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

.daf-mp-browser-content {
    padding: 2rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    text-align: center;
}

.daf-mp-theme-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.daf-mp-theme-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.5rem;
}

.daf-mp-theme-title {
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 0.5rem;
}

.daf-mp-theme-desc {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin: 0 0 1.5rem;
}

.daf-mp-theme-devices {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.daf-mp-device {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border: 2px solid #e5e7eb;
    border-radius: 6px;
}

.daf-mp-device.desktop { width: 100px; height: 60px; }
.daf-mp-device.tablet { width: 50px; height: 75px; }
.daf-mp-device.mobile { width: 35px; height: 60px; }

/* Floating Plugin Card */
.daf-mp-plugin-card {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 290px;
    background: #ffffff;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
    z-index: 10;
    animation: daf-hero-float 5s ease-in-out infinite;
}

.daf-mp-plugin-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 0.875rem;
}

.daf-mp-plugin-brand {
    font-size: 0.6875rem;
    color: #8b5cf6;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.daf-mp-plugin-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.5rem;
}

.daf-mp-plugin-desc {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0 0 0.875rem;
}

.daf-mp-plugin-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid #f3f4f6;
}

.daf-mp-stars {
    color: #fbbf24;
}

.daf-mp-rating-count {
    font-size: 0.8125rem;
    color: #9ca3af;
}

.daf-mp-user-avatars {
    display: flex;
    align-items: center;
}

.daf-mp-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -6px;
    border: 2px solid #ffffff;
    font-size: 0.75rem;
}

.daf-mp-avatar:first-child {
    margin-left: 0;
}

.daf-mp-avatar-more {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -6px;
    border: 2px solid #ffffff;
    font-size: 0.5625rem;
    font-weight: 700;
    color: #6b7280;
}

/* Background Decoration */
.daf-mp-hero-bg-decoration {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.daf-mp-hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    filter: blur(30px);
}

.daf-mp-circle-1 {
    width: 450px;
    height: 450px;
    top: -200px;
    right: -200px;
}

.daf-mp-circle-2 {
    width: 350px;
    height: 350px;
    bottom: -150px;
    left: -150px;
}

/* Animations */
@keyframes daf-hero-slide-in {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes daf-hero-fade-in-right {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes daf-hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsive */
@media (max-width: 1024px) {
    .daf-mp-hero-container {
        grid-template-columns: 1fr;
    }

    .daf-mp-hero-right {
        display: none;
    }

    .daf-mp-hero-left {
        text-align: center;
    }

    .daf-mp-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .daf-mp-hero-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .daf-mp-hero-section {
        padding: 1.75rem 1.25rem 2.5rem;
    }

    .daf-mp-hero-features {
        grid-template-columns: 1fr;
    }

    .daf-mp-hero-search-form {
        flex-direction: column;
    }

    .daf-mp-search-category {
        width: 100%;
    }

    .daf-mp-search-select {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .daf-mp-search-input-wrapper {
        flex-direction: column;
    }

    .daf-mp-search-button {
        width: 100%;
        justify-content: center;
    }
}