/**
 * Homepage Additional Sections
 * Features Showcase & Developer Teaser
 */

/* ==========================================================================
   Features Showcase Section (Evolution + Intelligence)
   ========================================================================== */

.features-showcase-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.features-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(138, 43, 226, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.features-showcase-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.features-showcase-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-showcase-section .section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 auto;
}

/* Showcase Grid */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Showcase Card */
.showcase-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Evolution Card - Green/Teal accent */
.showcase-evolution::before {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.showcase-evolution:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(16, 185, 129, 0.1);
}

.showcase-evolution .showcase-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(52, 211, 153, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.showcase-evolution .showcase-icon i {
    color: #34d399;
}

.showcase-evolution .showcase-link {
    color: #34d399;
}

/* Intelligence Card - Purple/Blue accent (matching App Intelligence page) */
.showcase-intelligence {
    background:
        linear-gradient(145deg, rgba(139, 92, 246, 0.08) 0%, rgba(99, 102, 241, 0.03) 100%);
    border-color: rgba(139, 92, 246, 0.15);
}

.showcase-intelligence::before {
    background: linear-gradient(90deg, #a855f7 0%, #6366f1 100%);
}

.showcase-intelligence::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(139, 92, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    opacity: 0.5;
    border-radius: 24px;
}

.showcase-intelligence:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(168, 85, 247, 0.2),
        0 0 80px rgba(99, 102, 241, 0.1);
}

.showcase-intelligence .showcase-icon {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(99, 102, 241, 0.15) 100%);
    border: 1px solid rgba(168, 85, 247, 0.25);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.showcase-intelligence .showcase-icon i {
    color: #a855f7;
}

.showcase-intelligence .showcase-link {
    color: #a855f7;
}

.showcase-intelligence .showcase-content {
    position: relative;
    z-index: 1;
}

/* Card hover state */
.showcase-card:hover {
    transform: translateY(-6px);
}

.showcase-card:hover::before {
    opacity: 1;
}

/* Icon */
.showcase-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.showcase-icon i {
    font-size: 1.5rem;
}

/* Image */
.showcase-image {
    margin: 1rem -1rem;
    border-radius: 12px;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Content */
.showcase-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.showcase-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.showcase-card:hover .showcase-link {
    gap: 0.75rem;
}

/* ==========================================================================
   Developer Teaser Section
   ========================================================================== */

.developer-teaser-section {
    padding: 5rem 0;
    position: relative;
}

.developer-teaser-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at center, rgba(138, 43, 226, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.developer-teaser {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.developer-teaser:hover {
    border-color: rgba(138, 43, 226, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Photo */
.teaser-photo {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(138, 43, 226, 0.15);
    border: 3px solid rgba(138, 43, 226, 0.25);
}

.teaser-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Content */
.teaser-content {
    flex: 1;
}

.teaser-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.teaser-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.teaser-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #a855f7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.teaser-link:hover {
    color: #c084fc;
    gap: 0.75rem;
}

.teaser-link i {
    font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 992px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .features-showcase-section .section-title {
        font-size: 2.5rem;
    }

    .developer-teaser {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem;
    }

    .teaser-photo {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .features-showcase-section {
        padding: 4rem 0;
    }

    .features-showcase-section .section-title {
        font-size: 2rem;
    }

    .features-showcase-section .section-subtitle {
        font-size: 1.1rem;
    }

    .showcase-card {
        padding: 2rem;
    }

    .showcase-content h3 {
        font-size: 1.4rem;
    }

    .developer-teaser-section {
        padding: 4rem 0;
    }

    .developer-teaser {
        padding: 2rem;
    }

    .teaser-content h2 {
        font-size: 1.5rem;
    }

    .teaser-content p {
        font-size: 1.05rem;
    }
}

@media (max-width: 576px) {
    .features-showcase-section .section-title {
        font-size: 1.75rem;
    }

    .showcase-icon {
        width: 50px;
        height: 50px;
    }

    .showcase-icon i {
        font-size: 1.25rem;
    }

    .showcase-content h3 {
        font-size: 1.25rem;
    }

    .showcase-content p {
        font-size: 1rem;
    }

    .teaser-photo {
        width: 100px;
        height: 100px;
    }

    .teaser-content h2 {
        font-size: 1.35rem;
    }
}
