/* === Page Specific: Home === */

.hero-section {
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
}

.hero-mesh-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.hero-mesh-2 {
    position: absolute;
    bottom: 0;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(120, 0, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
}

.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(128, 128, 128, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(128, 128, 128, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-gradient-text {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 900px;
    margin: 0 auto clamp(16px, 2vw, 24px);
}

.hero-floating-badge {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Home: About Section */
.home-about-img {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.1) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.home-about-abstract {
    width: 120px;
    height: 120px;
    background: rgba(0, 82, 255, 0.2);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-about-inner {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Home: Stats Bar */
.stats-bar {
    padding: 60px 0;
    background: var(--card-bg);
    color: var(--text-main);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* Home: Carousel */
.carousel-section {
    background: var(--deep-bg);
    color: var(--text-main);
    overflow: hidden;
    white-space: nowrap;
}

.carousel-track {
    display: inline-flex;
    gap: 24px;
    animation: scroll 30s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.carousel-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    width: 400px;
    white-space: normal;
}

/* === Page Specific: Global Page Headers === */
.page-header {
    padding: 160px 0 60px;
    background: linear-gradient(180deg, rgba(0, 82, 255, 0.05) 0%, transparent 100%);
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

/* === Page Specific: About Page Split === */
.about-split-img {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.about-split-mesh-1 {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--deep-bg) 0%, var(--card-bg) 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.about-split-mesh-2 {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.2) 0%, transparent 60%);
    z-index: 2;
}

.about-split-mesh-3 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--deep-bg) 0%, transparent 50%);
    z-index: 3;
}

.about-split-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px;
}

.about-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-check-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.about-check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(0, 82, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

/* === Page Specific: Contact Page === */
.contact-sidebar h4 {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    margin-bottom: 16px;
}

.contact-live-banner {
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.1) 0%, rgba(0, 82, 255, 0) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
}