/* Home Page Specific Styles */

/* ============================================================================
   HOME HERO SECTION
   ============================================================================ */

.home-hero {
    background-size: cover;
    background-position: center;
    padding: 120px 0; /* Slightly more padding than base .hero (100px) */
    /* Background set via inline style in template */
}

.home-hero h1 {
    font-size: 3.5rem; /* Larger than base hero h1 (3rem) */
    font-weight: 700;
    margin-bottom: var(--spacing-4); /* 1.5rem */
    color: var(--white-color);
}

.home-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-5); /* 2rem bottom margin */
    color: var(--white-color);
}

/* ============================================================================
   HOW IT WORKS SECTION
   ============================================================================ */

.how-it-works {
    background-color: var(--light-color);
}

.how-it-works .display-1 {
    color: var(--primary-color);
    font-weight: 700;
}

.how-it-works h3 {
    color: var(--primary-color);
}

/* ============================================================================
   FEATURED SERVICES SECTION
   ============================================================================ */

.featured-services {
    background-color: var(--light-color);
}

.featured-services .card-icon {
    transition: var(--transition-normal);
}

.featured-services .service-card:hover .card-icon {
    transform: scale(1.2);
}

/* ============================================================================
   SERVICE CARDS - HOME PAGE SPECIFIC STYLING
   Note: Base .service-card styles remain in shared-components.css for shared use
   These are home-specific enhancements only
   ============================================================================ */

/* Home page specific service card icon animation */
.featured-services .service-card .card-icon {
    transition: var(--transition-normal);
}

.featured-services .service-card:hover .card-icon {
    transform: scale(1.2);
}

/* ============================================================================
   WHY AI AGENTS AGENCY SECTION
   ============================================================================ */

.why-ai-agents {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.feature-block {
    position: relative;
    padding: 2.5rem 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
}

.feature-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
}

.feature-icon {
    position: relative;
    text-align: center;
}

.icon-wrapper {
    position: relative;
    display: inline-block;
    padding: 1rem;
}

.icon-wrapper i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.feature-block:hover .icon-wrapper i {
    transform: scale(1.1);
    color: var(--accent-color) !important;
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.7;
    }
}

.feature-title {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.feature-highlight {
    position: relative;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    overflow: hidden;
}

.highlight-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Background decorative elements */
.section-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Animation delays for staggered effect */
.animate-on-scroll[data-animation-delay="100"] {
    animation-delay: 0.1s;
}

.animate-on-scroll[data-animation-delay="200"] {
    animation-delay: 0.2s;
}

.animate-on-scroll[data-animation-delay="300"] {
    animation-delay: 0.3s;
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS (Home Page)
   ============================================================================ */

@media (max-width: 768px) {
    .home-hero h1 {
        font-size: 2.5rem;
    }
    
    .home-hero p {
        font-size: 1rem;
    }
    
    .why-ai-agents {
        padding: 60px 0;
    }
    
    .feature-block {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .floating-element {
        display: none; /* Hide floating elements on mobile for better performance */
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .feature-description {
        font-size: 0.95rem;
    }
    
    /* The Shift Is Happening Now Section - Mobile */
    .shift-happening-section {
        padding: 60px 0;
    }
    
    .speed-tunnel-container {
        min-height: 400px;
    }
    
    .shift-content {
        padding: 1rem;
    }
    
    .shift-main-quote {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
    
    .shift-point {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .point-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ============================================================================
   THE SHIFT IS HAPPENING NOW SECTION
   ============================================================================ */

.shift-happening-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* Speed Tunnel Animation */
.speed-tunnel-container {
    position: relative;
    min-height: 600px;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speed-tunnel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Speed Particles */
.speed-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    animation: particleSpeed 2s infinite linear;
}

.particle-1 { top: 20%; left: 30%; animation-delay: 0s; }
.particle-2 { top: 70%; left: 20%; animation-delay: 0.25s; }
.particle-3 { top: 30%; left: 80%; animation-delay: 0.5s; }
.particle-4 { top: 80%; left: 70%; animation-delay: 0.75s; }
.particle-5 { top: 50%; left: 10%; animation-delay: 1s; }
.particle-6 { top: 60%; left: 90%; animation-delay: 1.25s; }
.particle-7 { top: 10%; left: 60%; animation-delay: 1.5s; }
.particle-8 { top: 90%; left: 40%; animation-delay: 1.75s; }

@keyframes particleSpeed {
    0% {
        transform: scale(1) translateZ(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    80% {
        transform: scale(4) translateZ(100px);
        opacity: 0.8;
    }
    100% {
        transform: scale(8) translateZ(200px);
        opacity: 0;
    }
}

/* Warp Lines */
.warp-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.warp-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: warpLine 4s infinite linear;
    opacity: 0;
}

.line-1 { top: 20%; width: 60%; left: 20%; animation-delay: 0s; }
.line-2 { top: 40%; width: 80%; left: 10%; animation-delay: 0.66s; }
.line-3 { top: 60%; width: 70%; left: 15%; animation-delay: 1.33s; }
.line-4 { top: 80%; width: 50%; left: 25%; animation-delay: 2s; }
.line-5 { top: 30%; width: 90%; left: 5%; animation-delay: 2.66s; }
.line-6 { top: 70%; width: 65%; left: 17%; animation-delay: 3.33s; }

@keyframes warpLine {
    0% {
        transform: scaleX(0) translateX(-100%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    50% {
        transform: scaleX(1) translateX(0);
        opacity: 0.8;
    }
    100% {
        transform: scaleX(0) translateX(100%);
        opacity: 0;
    }
}

/* Content Styling */
.shift-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.shift-quote {
    position: relative;
    margin-bottom: 3rem;
}

.shift-main-quote {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--dark-color);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.shift-main-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: Georgia, serif;
}

.shift-points {
    position: relative;
}

.shift-point {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.shift-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.point-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.shift-point h5 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.shift-point p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}