/* ── Hero ── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    background: linear-gradient(rgba(18,18,18,0.80), rgba(18,18,18,0.90)),
                url('https://images.unsplash.com/photo-1639762681057-408e52192e55?auto=format&fit=crop&q=80&w=3540') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}
#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0,191,255,0.04) 0%, transparent 70%);
    z-index: 0;
}
#hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 60px;
    text-align: center;
}

.hero-content { max-width: 680px; }
.hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 18px;
    animation: fadeInDown 0.8s ease;
}
.hero-content p {
    font-size: 1rem;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.35s both;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeIn 0.9s ease 0.5s both;
}
.tech-sphere {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0,191,255,0.12), transparent 70%);
    box-shadow: 0 0 50px rgba(0,191,255,0.25);
    animation: float 6s ease-in-out infinite;
    position: relative;
}
.tech-sphere::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(0,191,255,0.18);
    box-shadow: 0 0 60px rgba(0,191,255,0.25), inset 0 0 60px rgba(0,191,255,0.25);
    animation: pulse 3s infinite alternate;
}
.tech-sphere::after {
    content: "";
    position: absolute;
    inset: 5%;
    border-radius: 50%;
    border: 1px solid rgba(0,191,255,0.08);
    box-shadow: 0 0 30px rgba(0,191,255,0.15), inset 0 0 30px rgba(0,191,255,0.15);
    animation: pulse 4s infinite alternate-reverse;
}

/* ── Stats ── */
#stats {
    padding: 70px 0;
    background: linear-gradient(135deg, #0a0a0f 0%, #001428 40%, #00111f 70%, #0a0a0f 100%);
    position: relative;
}
#stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0,191,255,0.06) 0%, transparent 70%);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}
.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--light);
    display: inline-block;
    position: relative;
    text-shadow: 0 0 12px rgba(0,191,255,0.5);
}
.stat-suffix {
    position: absolute;
    top: 6px; right: -18px;
    font-size: 1.3rem;
    color: var(--primary);
}
.stat-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-top: 6px;
}

/* ── Services teaser on home ── */
.services-teaser-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
}
.service-teaser-card {
    background: var(--card-bg);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-teaser-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.service-teaser-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-teaser-icon {
    width: 52px; height: 52px;
    background: var(--overlay-primary);
    border: 1px solid var(--border-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.service-teaser-icon i { font-size: 1.3rem; color: var(--primary); }
.service-teaser-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-teaser-card p  { font-size: 0.9rem; margin: 0; }
.services-teaser-more   { text-align: center; }

@media (min-width: 576px) {
    #hero .container { text-align: left; flex-direction: column; align-items: flex-start; }
    .hero-buttons { justify-content: flex-start; }
    .hero-content h1 { font-size: 2.6rem; }
    .services-teaser-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .tech-sphere { width: 270px; height: 270px; }
    .stats-grid  { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 992px) {
    #hero .container { flex-direction: row; justify-content: space-between; text-align: left; gap: 60px; }
    .hero-content { flex: 1; max-width: 600px; }
    .hero-image   { flex: 1; justify-content: flex-end; }
    .hero-buttons { justify-content: flex-start; }
    .hero-content h1 { font-size: 3.2rem; }
    .tech-sphere { width: 310px; height: 310px; }
    .services-teaser-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1200px) {
    .hero-content h1 { font-size: 3.6rem; }
}
