/* =============================================================
   GradSpark — Page-specific styles for index.php
   Complements the design-system CSS (tokens, atoms, molecules…)
   ============================================================= */

/* ─────────────────────────────────────────
   HERO SECTION — Layout
───────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 40%, rgba(0,0,0,0.2));
}

.container {
    max-width: 1200px;
    padding: 0 40px;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* ─────────────────────────────────────────
   HERO SECTION — Typography
───────────────────────────────────────── */
.hero-text {
    max-width: 600px;
    color: #fff;
}

.hero-text h1 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Brand highlight — plain <span> inside hero h1 */
.hero-text h1 span {
    color: #4f8cff;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}

/* ─────────────────────────────────────────
   HERO SECTION — Actions / Buttons
───────────────────────────────────────── */
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    font-size: 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4f8cff, #2563eb);
    color: #fff;
    box-shadow: 0 10px 25px rgba(79,140,255,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    border: 1.5px solid rgba(255,255,255,0.6);
    color: #fff;
    backdrop-filter: blur(6px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
}

.icon {
    font-size: 18px;
}

/* ─────────────────────────────────────────
   SCROLL-TO-TOP BUTTON
───────────────────────────────────────── */
#scrollTopBtn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #4f8cff, #2563eb);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(79,140,255,0.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

#scrollTopBtn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    background: linear-gradient(135deg, #6ba3ff, #1d4ed8);
    box-shadow: 0 6px 20px rgba(79,140,255,0.6);
}
