/* ==========================================================================
   Home Page Specific Styles - Premium Redesign
   ========================================================================== */

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(11, 92, 171, 0.08) 0%, transparent 60%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(11, 92, 171, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 92, 171, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    transform: perspective(500px) rotateX(60deg) translateY(-100px);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.hero__content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(11, 92, 171, 0.15);
    color: var(--color-accent);
    border: 1px solid rgba(47, 128, 201, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(11, 92, 171, 0.2);
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Value Prop Section --- */
.home-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.home-value-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1;
}

.home-value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(11, 92, 171, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.home-value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(11, 92, 171, 0.3);
    box-shadow: 0 20px 40px rgba(11, 92, 171, 0.15);
}

.home-value-card:hover::before {
    opacity: 1;
}

.home-value-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.home-value-icon i {
    font-size: 2.5rem;
    color: var(--color-primary);
    padding: 15px;
    background: rgba(11, 92, 171, 0.1);
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 10px rgba(11, 92, 171, 0.2);
}

.home-value-card:hover .home-value-icon i {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(11, 92, 171, 0.4);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    transition: color 0.4s ease;
    margin-top: -10px;
}

.home-value-card:hover .step-num {
    color: rgba(11, 92, 171, 0.3);
}

.home-value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--color-text);
}

.home-value-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-color: rgba(11, 92, 171, 0.2);
    background: rgba(11, 92, 171, 0.02);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.service-card:hover i {
    transform: scale(1.15) rotate(5deg);
    text-shadow: 0 0 15px rgba(47, 128, 201, 0.4);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* --- Problems Grid --- */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    text-align: left;
}

.problem-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.problem-card:hover {
    background: rgba(11, 92, 171, 0.08);
    border-color: rgba(11, 92, 171, 0.3);
    transform: translateX(10px);
    box-shadow: -5px 5px 15px rgba(0,0,0,0.1);
}

.problem-card i {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-top: 2px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.problem-card:hover i {
    transform: scale(1.2);
}

/* --- Approach Timeline --- */
.timeline-premium {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 4rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.timeline-premium::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: rgba(255,255,255,0.05);
    z-index: 0;
}

.timeline-premium::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 5%;
    width: 0%;
    height: 2px;
    background: var(--color-primary);
    z-index: 0;
    transition: width 1s ease;
    box-shadow: 0 0 10px var(--color-primary);
}

.timeline-premium:hover::after {
    width: 90%;
}

.timeline-node {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    min-width: 150px;
    transition: all 0.4s ease;
}

.timeline-dot {
    width: 70px;
    height: 70px;
    background: var(--color-surface);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--color-text-muted);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-node:hover .timeline-dot {
    background: rgba(11, 92, 171, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 25px rgba(11, 92, 171, 0.4);
    transform: scale(1.15);
}

.timeline-node h4 {
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.timeline-node:hover h4 {
    color: var(--color-primary);
}

/* --- Quality Badges --- */
.quality-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.quality-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.8rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.quality-badge i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.quality-badge:hover {
    background: rgba(11, 92, 171, 0.15);
    border-color: rgba(11, 92, 171, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(11, 92, 171, 0.2);
    color: white;
}

/* --- Tech Cloud --- */
.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 3rem;
}

.tech-tag {
    padding: 0.8rem 1.8rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-tag:hover {
    transform: scale(1.08) translateY(-5px);
    border-color: var(--color-accent);
    background: rgba(47, 128, 201, 0.1);
    box-shadow: 0 10px 20px rgba(47, 128, 201, 0.2);
    color: white;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .timeline-premium::before, .timeline-premium::after {
        display: none;
    }
    .timeline-premium {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .hero {
        padding: 6rem 0 4rem;
    }
}
