/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(145deg, var(--primary-light), var(--bg-main));
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Background floating elements */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(255,255,255,0) 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-text h1 span {
    color: var(--primary);
    position: relative;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Search Bar */
.search-wrapper {
    background: var(--bg-card);
    padding: 0.75rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    max-width: 500px;
}

.search-icon {
    margin: 0 1rem;
    color: var(--text-muted);
}

.search-input-container {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.1rem;
    color: var(--text-dark);
    background: transparent;
    font-family: 'Inter', sans-serif;
}

.search-input::placeholder {
    color: transparent; /* Text typed by JS */
}

/* Floating Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.floating-card.c1 { top: 10%; right: 10%; animation-delay: 0s; }
.floating-card.c2 { top: 40%; left: 10%; animation-delay: -2s; z-index: 2;}
.floating-card.c3 { bottom: 15%; right: 20%; animation-delay: -4s; }

.floating-card .icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
}

.floating-card .text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.floating-card .text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

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

/* Section Shared */
.section-padding {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* How It Works Flow */
.how-it-works {
    background: var(--bg-alt);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.step-card p {
    color: var(--text-muted);
}

/* Live Service Feel (Transformation) */
.live-service-section {
    background: var(--dark);
    color: white;
    overflow: hidden;
}

.live-service-section .section-title h2 {
    color: white;
}

.transformation-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.trans-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 3rem;
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.5;
    transform: translateY(20px);
    transition: all var(--transition-slow);
}

.trans-card.active {
    opacity: 1;
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.3);
}

.trans-card svg {
    color: var(--primary);
}

.trans-arrow {
    color: var(--text-muted);
    height: 30px;
    opacity: 0.5;
}

/* Provider Split */
.provider-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 6rem 0;
}

.provider-content {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.provider-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.provider-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.provider-image {
    background: linear-gradient(135deg, var(--secondary), #047857);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: white;
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text p {
        margin: 0 auto 2.5rem;
    }
    
    .search-wrapper {
        margin: 0 auto;
    }
    
    .hero-visual {
        display: none; /* Hide visual on smaller screens to keep it clean */
    }
    
    .provider-cta {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        margin-bottom: 3rem;
    }
}
