/* ==========================================================================
   EarthlingAidTech - Section Styles
   Specific styles for each page section
   ========================================================================== */

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-bg-primary);
}

.hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(74, 158, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 158, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: var(--space-8);
}

.hero__headline {
    font-size: var(--text-6xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-6);
    color: #FFFFFF;
    text-shadow: 0 0 60px rgba(74, 158, 255, 0.3);
}

.hero__subtext {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto var(--space-10);
    line-height: var(--leading-relaxed);
}

.hero__ctas {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero__headline {
        font-size: var(--text-4xl);
    }

    .hero__subtext {
        font-size: var(--text-lg);
    }
}

/* CSS Animated Floating Orbs - Visual fallback/supplement */
.hero__orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation: float 8s ease-in-out infinite;
}

.hero__orb--1 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, #4A9EFF, transparent 70%);
    top: 30%;
    left: 20%;
    animation-delay: 0s;
    opacity: 0.6;
}

.hero__orb--2 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, #5ECFCF, transparent 70%);
    top: 50%;
    right: 15%;
    animation-delay: -2s;
    opacity: 0.5;
}

.hero__orb--3 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, #4A9EFF, transparent 70%);
    bottom: 25%;
    left: 30%;
    animation-delay: -4s;
    opacity: 0.4;
}

.hero__orb--4 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 30% 30%, #5ECFCF, transparent 70%);
    top: 20%;
    right: 25%;
    animation-delay: -1s;
    opacity: 0.5;
}

.hero__orb--5 {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at 30% 30%, #4A9EFF, transparent 70%);
    bottom: 35%;
    right: 35%;
    animation-delay: -3s;
    opacity: 0.4;
}

/* Center glow effect */
.hero__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.15) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-20px) translateX(10px);
    }

    50% {
        transform: translateY(-10px) translateX(-10px);
    }

    75% {
        transform: translateY(-25px) translateX(5px);
    }
}

/* ===== About Section ===== */
.about {
    background: var(--color-bg-primary);
}

.about__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about__text {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

.about__highlight {
    font-size: var(--text-xl);
    font-weight: var(--font-medium);
    color: var(--color-text-primary);
    padding: var(--space-8);
    background: var(--color-bg-card);
    border-left: 3px solid var(--color-accent);
    border-radius: var(--radius-lg);
    text-align: left;
    margin-top: var(--space-10);
}

/* ===== Services Section ===== */
.services {
    background: var(--color-bg-secondary);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.service-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--duration-normal) var(--ease-out);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--color-accent-subtle), transparent);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
    box-shadow: 0 8px 32px rgba(74, 158, 255, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    position: relative;
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-subtle);
    border-radius: var(--radius-lg);
    color: var(--color-accent);
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
}

.service-card__title {
    position: relative;
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
}

.service-card__description {
    position: relative;
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
}

/* ===== Prepzer0 Spotlight ===== */
.spotlight {
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.spotlight::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent-subtle) 0%, transparent 70%);
    pointer-events: none;
}

.spotlight__content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.spotlight__text {
    max-width: 500px;
}

.spotlight__tag {
    margin-bottom: var(--space-4);
}

.spotlight__title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.spotlight__subtitle {
    font-size: var(--text-xl);
    color: var(--color-accent);
    margin-bottom: var(--space-6);
}

.spotlight__description {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
}

.spotlight__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.spotlight__feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-text-secondary);
}

.spotlight__feature-icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.spotlight__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spotlight__diagram {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media (max-width: 900px) {
    .spotlight__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .spotlight__text {
        max-width: 100%;
    }

    .spotlight__features {
        align-items: center;
    }
}

/* ===== Clients Section ===== */
.clients {
    background: var(--color-bg-primary);
}

.clients__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-12);
}

.client-logo {
    padding: var(--space-6) var(--space-8);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    opacity: 0.8;
    transition: all var(--duration-normal) var(--ease-out);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-text-muted);
    letter-spacing: var(--tracking-wide);
    text-decoration: none;
    cursor: pointer;
}

.client-logo:hover {
    opacity: 1;
    border-color: var(--color-accent);
    color: var(--color-text-primary);
}

/* ===== Workshops Section ===== */
.workshops {
    background: var(--color-bg-secondary);
}

.workshops__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.workshops__text h3 {
    margin-bottom: var(--space-4);
}

.workshops__text p {
    margin-bottom: var(--space-6);
}

.workshop-highlight {
    padding: var(--space-6);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.workshop-highlight__title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
}

.workshop-highlight__venue {
    color: var(--color-accent);
    font-size: var(--text-sm);
}

.workshops__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.stat-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.stat-card__number {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-accent);
    margin-bottom: var(--space-2);
}

.stat-card__label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

@media (max-width: 768px) {
    .workshops__content {
        grid-template-columns: 1fr;
    }
}

/* ===== Leadership Section ===== */
.leadership {
    background: var(--color-bg-primary);
}

.leadership__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-12);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .leadership__grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--space-20) 0 var(--space-8);
}

.footer__cta {
    text-align: center;
    margin-bottom: var(--space-16);
}

.footer__cta-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.footer__cta-text {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
}

.footer__logo {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    letter-spacing: var(--tracking-tight);
}

.footer__copyright {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

@media (max-width: 640px) {
    .footer__bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

/* ===== Why Us Section ===== */
.why-us {
    background: var(--color-bg-secondary);
}

.why-us__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.why-us__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.why-us__icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.why-us__text {
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}