/* ==========================================================================
   HOME PAGE
   ========================================================================== */

/* Hero Section */

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.hero {
    position: relative;
    min-height: 80vh; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    text-align: center;
    overflow: hidden;
    padding: 0 5%;
}

.hero-content {
    max-width: 850px;
    z-index: 10; 
    position: relative;
}

/* Floating Visuals Container */
.hero-visuals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; 
}

.floating-card {
    position: absolute;
    width: 150px;
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    opacity: 0.5;
    transition: opacity 0.5s ease; 
    will-change: transform;
    pointer-events: none;
    z-index: 1;
    filter: blur(0.8px); 
    transition: all 0.5s ease;
}


.card-1 { top: 15%; left: 8%; transform: rotate(-12deg); animation: float 6s infinite ease-in-out; }
.card-2 { top: 55%; left: 12%; transform: rotate(-5deg); animation: float 8s infinite ease-in-out; animation-delay: 1s; }
.card-3 { top: 10%; right: 10%; transform: rotate(15deg); animation: float 7s infinite ease-in-out; animation-delay: 0.5s; }
.card-4 { top: 60%; right: 7%; transform: rotate(8deg); animation: float 9s infinite ease-in-out; animation-delay: 1.5s; }

.floating-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.hero:hover .floating-card {
    opacity: 0.7;
    transform: scale(1.05); 
    filter: blur(0px); 
    opacity: 0.9;
}

.card-1 { 
    top: 15%; left: 8%; 
    transform: rotate(-12deg); 
    animation: floatCardLeft 6s infinite ease-in-out; 
}

.card-2 { 
    top: 55%; left: 12%; 
    transform: rotate(-5deg); 
    animation: floatCardLeft 8s infinite ease-in-out; 
    animation-delay: 1s; 
}

.card-3 { 
    top: 10%; right: 10%; 
    transform: rotate(15deg); 
    animation: floatCardRight 7s infinite ease-in-out; 
    animation-delay: 0.5s; 
}

.card-4 { 
    top: 60%; right: 7%; 
    transform: rotate(8deg); 
    animation: floatCardRight 9s infinite ease-in-out; 
    animation-delay: 1.5s; 
}

.hero:hover .floating-card {
    opacity: 0.8;
    filter: brightness(1.1);
}

@media (max-width: 900px) {
    .hero-visuals { display: none; }
    .hero { min-height: auto; padding: 6rem 5%; }
}

@media (max-width: 1000px) {
    .hero-visuals {
        display: none;
    }
}

.badge-new {
    background: #eff6ff;
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 6rem 8%;
    background: var(--bg-body);
}

.feature-card {
    background:var(--button);
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transform: translateY(-10px);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}