/* =========================================
   HOME PAGE - Unique Design
   ========================================= */

.home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Background Effects - fixed to cover entire viewport */
.home::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(20, 184, 166, 0.1), transparent);
    pointer-events: none;
    z-index: 0;
}

.home-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--accent-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.hero-actions .btn-primary {
    min-width: 180px;
}

/* =========================================
   FEATURES GRID
   ========================================= */
.features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.features-row {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.features-row--top {
    justify-content: center;
}

.features-row--top .feature {
    flex: 0 1 320px;
    max-width: 320px;
}

.features-row--bottom {
    justify-content: center;
}

.features-row--bottom .feature {
    flex: 0 1 320px;
    max-width: 320px;
}

.feature {
    background: rgba(28, 25, 23, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 1.65rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Gradient border on hover */
.feature::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.4s ease;
}

.feature:hover::before {
    background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
}

.feature:hover {
    transform: translateY(-2px);
    background: rgba(28, 25, 23, 0.76);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(20, 184, 166, 0.15));
    margin-bottom: 1.25rem;
    color: var(--primary-400);
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    width: 24px;
    height: 24px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-text {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
}

.feature-arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    color: var(--text-disabled);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.feature:hover .feature-arrow {
    color: var(--primary-400);
}

.feature:hover .feature-arrow i {
    transform: translateX(4px);
}

.feature-arrow i {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

/* =========================================
   FOOTER
   ========================================= */
.home-footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-disabled);
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.footer-text {
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .home-main {
        padding: 2rem 1.5rem 2rem;
    }
    
    .hero {
        margin-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .features-row {
        flex-direction: column;
        align-items: center;
    }
    
    .features-row--top .feature,
    .features-row--bottom .feature {
        flex: 0 1 auto;
        max-width: 100%;
        width: 100%;
    }
    
    .feature {
        padding: 1.35rem;
    }
}
