/**
 * Hero Section Component Styles
 */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #0d58c6;
    overflow: hidden;
    color:#fff;
    padding: 100px 0 180px;
}

.hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.hero .hero-bg-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
}

.hero .hero-bg-blur-top-left {
    top: -10%;
    left: -10%;
    width: 30%;
    height: 30%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.hero .hero-bg-blur-bottom-right {
    bottom: -15%;
    right: -15%;
    width: 35%;
    height: 35%;
    background: linear-gradient(225deg, color-mix(in srgb, var(--color-primary) 40%, transparent), var(--color-secondary));
}

.hero .hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, color-mix(in srgb, var(--color-background) 90%, transparent) 100%);
}

/* Container */
.hero .hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 1.5rem 6rem;
    flex: 1;
    display: flex;
    align-items: center;
}

.hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero .hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Badge */
.hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #fff;
    border: #fff;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2938;
    width: fit-content;
}

.hero .hero-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #1f2938;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Heading */
.hero .hero-heading-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-foreground);
    margin: 0;
}

.hero .hero-title-gradient {
    color: #ffffff;
}

.hero .hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-muted-foreground);
    margin: 0;
    max-width: 500px;
}

/* CTA Section */
.hero .hero-cta-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero .hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Buttons */
.hero .hero-button {
    position: relative;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.hero .hero-button-primary {
    background: var(--color-primary);
    color: var(--color-bg-primary);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--color-primary) 30%, transparent);
}

.hero .hero-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.hero .hero-button-secondary {
    background: var(--color-card);
    color: var(--color-foreground);
    border: 1px solid var(--color-border);
}

.hero .hero-button-secondary:hover {
    background: var(--color-accent);
    transform: translateY(-1px);
}

.hero .hero-button-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.hero .hero-button-arrow {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s ease;
}

.hero .hero-button-primary:hover .hero-button-arrow {
    transform: translateX(4px);
}

.hero .hero-button-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.hero .hero-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-bg-primary) 10%, transparent) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.hero .hero-button-primary:hover .hero-button-overlay {
    opacity: 1;
}


/* Visual Side */
.hero .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero .hero-visual-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero .hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px color-mix(in srgb, var(--color-foreground) 15%, transparent);
}

.hero .hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating Cards */
.hero .hero-floating-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 10px 25px color-mix(in srgb, var(--color-foreground) 10%, transparent);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero .hero-floating-card-top-left {
    top: -1rem;
    left: -2rem;
    animation-delay: 0s;
}

.hero .hero-floating-card-bottom-right {
    bottom: -1rem;
    right: -2rem;
    animation-delay: 2s;
}

.hero .hero-floating-card-middle-right {
    top: 50%;
    right: -3rem;
    transform: translateY(-50%);
    animation-delay: 4s;
}

.hero .hero-floating-card-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.hero .hero-floating-card-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero .hero-floating-card-icon svg {
    width: 1rem;
    height: 1rem;
}

.hero .hero-floating-card-icon-green {
    background: #dbeafe;
    color: #0d58c6;
}

.hero .hero-floating-card-icon-blue {
    background: #dbeafe;
    color: #0d58c6;
}

.hero .hero-floating-card-icon-orange {
    background: #dbeafe;
    color: #0d58c6;
}

.hero .hero-floating-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2938;
}

.hero .hero-floating-card-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
}

.hero .hero-floating-card-subtitle-green {
    color: #0d58c6;
}

.hero .hero-floating-card-subtitle-blue {
    color: #111827;
}

.hero .hero-floating-card-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-foreground);
}

.hero .hero-floating-card-label {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

/* Background Glow */
.hero .hero-visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 15%, transparent) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .hero .hero-container {
        padding: 6rem 1rem 4rem;
    }

    .hero .hero-grid {
        gap: 3rem;
    }

    .hero .hero-title {
        font-size: 3rem;
    }

    .hero .hero-floating-card-top-left {
        left: -1rem;
    }

    .hero .hero-floating-card-bottom-right {
        right: -1rem;
    }

    .hero .hero-floating-card-middle-right {
        right: -2rem;
    }
}

@media (max-width: 768px) {
    .hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero .hero-container {
        padding: 4rem 1rem 3rem;
    }

    .hero .hero-title {
        font-size: 2.5rem;
    }

    .hero .hero-description {
        font-size: 1.125rem;
        max-width: none;
    }

    .hero .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero .hero-button {
        width: 100%;
        justify-content: center;
    }

    .hero .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .hero .hero-floating-card-top-left,
    .hero .hero-floating-card-bottom-right,
    .hero .hero-floating-card-middle-right {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero .hero-container {
        padding: 3rem 1rem 2rem;
    }

    .hero .hero-title {
        font-size: 2rem;
    }

    .hero .hero-description {
        font-size: 1rem;
    }

    .hero .hero-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .hero .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero .hero-stat-number {
        font-size: 1.5rem;
    }


}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero .hero-floating-card,
    .hero .hero-badge-dot {
        animation: none;
    }

    .hero .hero-button,
    .hero .hero-button-arrow,
    .hero .hero-button-overlay {
        transition: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .hero .hero-badge {
        border-width: 2px;
    }

    .hero .hero-button {
        border-width: 2px;
    }

    .hero .hero-floating-card {
        border-width: 2px;
    }
} 
