/* 
 MORPHIENT.AI - HOMEPAGE SPECIFIC STYLES
File: morphient.index.css
Used with: morphient.css (base styles)
*/

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    padding: 100px 0;
    color: white;
    position: relative;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-size: 96px;
    font-weight: 800;
    margin-top: 300px;
    margin-bottom: 30px;
    letter-spacing: -2px;
    line-height: 1.1;
    background: 
        linear-gradient(45deg, #ffeaa7, #fab1a0, #fd79a8, #fdcb6e);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoShift 8s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 234, 167, 0.5);
}

.hero .tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 50px;
    opacity: 0.9;
    font-weight: 300;
}

.hero .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-bottom: 50px;
    opacity: 0.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== CTA BUTTONS ===== */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

/* ===== SERVICES PREVIEW GRID ===== */
.services-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 40px 0 rgba(31, 38, 135, 0.5);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: white;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== DEMO INFO SECTION ===== */
.demo-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 234, 167, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 60px 0;
    backdrop-filter: blur(20px);
}

.demo-info h2 {
    color: #ffeaa7;
    margin-bottom: 20px;
    text-align: center;
}

.demo-info ul {
    list-style: none;
    padding: 0;
}

.demo-info li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.demo-info li::before {
    content: '' ;
    position: absolute;
    left: 0;
    top: 8px;
}

/* ===== HOMEPAGE MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-preview {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .hero .tagline {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }

    .hero .subtitle {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
        padding: 0 10px;
    }

    .demo-info {
        padding: 25px;
        margin: 40px 10px;
    }
}

/* ===== HOMEPAGE SPECIFIC ENHANCEMENTS ===== */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 234, 167, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(116, 185, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* Enhanced service cards with cosmic glow */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 234, 167, 0.05), transparent);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

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

/* CTA button enhancements */
.cta-buttons .btn {
    min-width: 100px;
    justify-content: center;
}

.cta-buttons .btn-primary {
    background: 
        linear-gradient(45deg, rgba(255, 234, 167, 0.2), rgba(250, 177, 160, 0.2)),
        radial-gradient(circle at top left, rgba(255, 234, 167, 0.1) 0%, transparent 70%);
    border: 1px solid rgba(255, 234, 167, 0.4);
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        0 0 40px rgba(255, 234, 167, 0.2);
}

.cta-buttons .btn-primary:hover {
    background: 
        linear-gradient(45deg, rgba(255, 234, 167, 0.3), rgba(250, 177, 160, 0.3)),
        radial-gradient(circle at top left, rgba(255, 234, 167, 0.15) 0%, transparent 70%);
    box-shadow: 
        0 12px 40px 0 rgba(31, 38, 135, 0.5),
        0 0 60px rgba(255, 234, 167, 0.3);
}

/* Tagline special effects */
.hero .tagline {
    text-shadow: 0 0 30px rgba(255, 234, 167, 0.3);
    animation: subtleGlow 4s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0% { 
        text-shadow: 0 0 30px rgba(255, 234, 167, 0.3);
    }
    100% { 
        text-shadow: 0 0 40px rgba(255, 234, 167, 0.5);
    }
}

/* Service preview section enhancement */
.services-preview-header {
    text-align: center;
    margin-bottom: 40px;
}

.services-preview-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ffeaa7, #fab1a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-preview-header p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Smooth reveal animations for service cards */
.service-card {
    opacity: 0;
    transform: translateY(20px);
    animation: revealCard 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes revealCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Homepage scroll indicator enhancement */
.scroll-indicator {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-indicator:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%) translateY(-5px);
    transition: all 0.3s ease;
}
