/**
 * FYP Portal - Landing Page: Hero Module
 * Clean White Background + Sky Blue Color Scheme (Matching Login Page)
 * High Contrast Typography & Mobile-First Performance
 */

/* ============================================================
   HERO CONTAINER & AMBIENCE (WHITE + SKY BLUE PALETTE)
   ============================================================ */
body.landing-page .hero-section {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 42px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 6%, rgba(56, 189, 248, 0.16) 0%, transparent 55%),
        radial-gradient(circle at 88% 30%, rgba(14, 165, 233, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 12% 65%, rgba(2, 132, 199, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #f0f9ff 0%, #ffffff 42%, #f8fafc 100%);
    position: relative;
    display: flex;
    align-items: center;
}

body.landing-page .hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(#0284c7 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

body.landing-page .hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

body.landing-page .hero-orb-1 {
    width: 450px; height: 450px; top: -60px; left: -80px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(2, 132, 199, 0.08) 70%);
}

body.landing-page .hero-orb-2 {
    width: 400px; height: 400px; bottom: -80px; right: 5%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, rgba(56, 189, 248, 0.05) 70%);
}

body.landing-page .hero-orb-3 {
    width: 320px; height: 320px; top: 40%; left: 45%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
}

body.landing-page .hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   HERO CONTENT & HIGH-CONTRAST TYPOGRAPHY
   ============================================================ */
body.landing-page .hero-content {
    position: relative;
    z-index: 2;
}

body.landing-page .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #bae6fd;
    color: #0284c7;
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 14px;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.07);
}

body.landing-page .hero-badge .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0284c7;
    box-shadow: 0 0 10px #38bdf8;
    animation: badgeDotPulse 2s infinite ease-in-out;
}

@keyframes badgeDotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

body.landing-page .hero-title {
    font-size: clamp(1.75rem, 2.9vw, 2.35rem);
    font-weight: 850;
    line-height: 1.18;
    color: #0f2742;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

body.landing-page .hero-title .gradient-text {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

body.landing-page .hero-title .line-2 {
    display: block;
    color: #0f2742;
}

body.landing-page .hero-title-underline {
    display: block;
    width: 76px;
    height: 3.5px;
    border-radius: 2px;
    background: linear-gradient(90deg, #0284c7, #38bdf8, transparent);
    margin-top: 8px;
}

body.landing-page .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #334155;
    max-width: 520px;
    margin-bottom: 16px;
    font-weight: 500;
}

body.landing-page .hero-insight-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

body.landing-page .hero-insight-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #bae6fd;
    font-size: 0.74rem;
    font-weight: 600;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.05);
}

body.landing-page .hero-insight-pill i {
    color: #0284c7;
    font-size: 0.76rem;
}

/* ============================================================
   HERO CALL-TO-ACTIONS (SKY BLUE HIGH-CONVERSION)
   ============================================================ */
body.landing-page .hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}

body.landing-page .btn-hero-primary,
body.landing-page .hero-register-btn,
body.landing-page .btn-hero-resolve,
body.landing-page .btn-hero-internship,
body.landing-page .btn-hero-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    min-height: 42px;
    border-radius: 60px;
    font-family: var(--home-font-title, inherit);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body.landing-page .btn-hero-primary {
    background: linear-gradient(130deg, #38bdf8 0%, #0284c7 55%, #0369a1 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

body.landing-page .btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 36px rgba(2, 132, 199, 0.45);
    color: #ffffff;
}

body.landing-page .hero-register-btn {
    background: linear-gradient(130deg, #38bdf8 0%, #0284c7 55%, #0369a1 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.35);
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

body.landing-page .hero-register-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
    transform: translateX(-120%);
    animation: regShine 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes regShine {
    0% { transform: translateX(-120%); }
    60%, 100% { transform: translateX(120%); }
}

body.landing-page .hero-register-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 36px rgba(2, 132, 199, 0.45);
    color: #ffffff !important;
}

body.landing-page .btn-hero-resolve {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
}

body.landing-page .btn-hero-resolve:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(16, 185, 129, 0.35);
    color: #ffffff;
}

body.landing-page .btn-hero-internship {
    border: 1px solid #bae6fd;
    background: #ffffff;
    color: #0284c7;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.08);
}

body.landing-page .btn-hero-internship:hover {
    transform: translateY(-2px);
    background: #f0f9ff;
    color: #0369a1;
    border-color: #0284c7;
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.15);
}

body.landing-page .btn-hero-outline {
    background: #ffffff;
    border: 1.5px solid #93c5fd;
    color: #0284c7;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.06);
}

body.landing-page .btn-hero-outline:hover {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0369a1;
    transform: translateY(-2px);
}

/* ============================================================
   STATS COUNTERS & PROOFLINE
   ============================================================ */
body.landing-page .hero-stats-shell {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

body.landing-page .hero-stat-chip {
    padding: 10px 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e0f2fe;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.05);
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.landing-page .hero-stat-chip:hover {
    transform: translateY(-2px);
    border-color: #93c5fd;
    box-shadow: 0 10px 24px rgba(2, 132, 199, 0.12);
}

body.landing-page .hero-stat-chip p {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #0284c7;
    margin: 0 0 2px;
}

body.landing-page .hero-stat-chip h4 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.1;
}

body.landing-page .hero-proofline {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.82rem;
    color: #475569;
    font-weight: 500;
}

body.landing-page .hero-proofline span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.landing-page .hero-proofline i {
    color: #10b981;
}

/* ============================================================
   HERO VISUAL CARD & EMBEDDED AYAT
   ============================================================ */
body.landing-page .hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

body.landing-page .hero-visual-card {
    position: relative;
    z-index: 2;
    padding: 22px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px -12px rgba(2, 132, 199, 0.1), 0 0 0 1px rgba(2, 132, 199, 0.04);
    text-align: center;
    transform-style: preserve-3d;
}

body.landing-page .hero-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(2, 132, 199, 0.2);
    pointer-events: none;
}

body.landing-page .hero-orbit-1 {
    width: 290px; height: 290px;
    animation: orbitSpin 20s linear infinite;
}

body.landing-page .hero-orbit-2 {
    width: 370px; height: 370px;
    animation: orbitSpinReverse 30s linear infinite;
}

@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbitSpinReverse { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }

body.landing-page .hero-ayat-panel {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #bae6fd;
    text-align: left;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.05);
}

body.landing-page .hero-ayat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

body.landing-page .hero-ayat-chip {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0284c7;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    padding: 4px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.landing-page .hero-ayat-refresh {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0284c7;
    cursor: pointer;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

body.landing-page .hero-ayat-refresh:hover {
    transform: rotate(180deg);
    color: #0369a1;
    background: #e0f2fe;
    border-color: #0284c7;
}

body.landing-page .hero-ayat-text-ur {
    width: 100%;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #0f172a;
    font-family: 'Noto Nastaliq Urdu', 'Scheherazade New', 'Amiri', 'Traditional Arabic', serif;
    margin: 0 0 8px;
    text-align: right;
    direction: rtl;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

body.landing-page .hero-ayat-text-en {
    width: 100%;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #334155;
    margin: 0 0 10px;
    font-style: italic;
    padding-left: 10px;
    border-left: 3px solid #0284c7;
    text-align: left;
    direction: ltr;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

body.landing-page .hero-ayat-ref-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.76rem;
}

body.landing-page .hero-ayat-ref {
    font-size: 0.78rem;
    font-weight: 700;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    transition: opacity 0.22s ease;
}

body.landing-page .hero-ayat-note {
    font-size: 0.72rem;
    color: #64748b;
}

body.landing-page .ayat-fade-out {
    opacity: 0;
    transform: translateY(6px);
}

/* University Crest */
body.landing-page .hero-visual-card img {
    padding: 6px;
    background: #ffffff;
    border: 1.5px solid #e0f2fe;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.08);
    margin: 0 auto 12px;
    display: block;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.landing-page .hero-visual-card:hover img {
    transform: scale(1.04);
    box-shadow: 0 14px 28px rgba(2, 132, 199, 0.15);
}

/* Command Center Snapshot Info */
body.landing-page .hero-visual-info {
    margin-top: 10px;
    text-align: center;
}

body.landing-page .hero-visual-info h4 {
    font-family: var(--home-font-title, 'Inter', sans-serif);
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: #0f2742;
    letter-spacing: -0.01em;
}

body.landing-page .hero-visual-info p {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #475569;
    margin: 0 0 12px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* Command Center Status Metrics HUD */
body.landing-page .hero-visual-metrics {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

body.landing-page .hero-visual-metrics li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.22s ease;
}

body.landing-page .hero-visual-metrics li:hover {
    background: #f0f9ff;
    border-color: #bae6fd;
    transform: translateX(3px);
}

body.landing-page .hero-visual-metrics li span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.landing-page .hero-visual-metrics li span::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0284c7;
    box-shadow: 0 0 8px #38bdf8;
    flex-shrink: 0;
}

body.landing-page .hero-visual-metrics li strong {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: inline-flex;
    align-items: center;
}

body.landing-page .hero-visual-metrics li:nth-child(2) span::before { background: #0284c7; box-shadow: 0 0 8px #38bdf8; }
body.landing-page .hero-visual-metrics li:nth-child(2) strong { background: #f0f9ff; color: #0284c7; border-color: #bae6fd; }
body.landing-page .hero-visual-metrics li:nth-child(3) span::before { background: #8b5cf6; box-shadow: 0 0 8px #a78bfa; }
body.landing-page .hero-visual-metrics li:nth-child(3) strong { background: #f5f3ff; color: #7c3aed; border-color: #ddd6fe; }

/* ============================================================
   RESPONSIVE HERO (< 991.98px and < 767.98px)
   ============================================================ */
@media (max-width: 991.98px) {
    body.landing-page .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    body.landing-page .hero-title {
        font-size: 2.35rem;
    }

    body.landing-page .hero-stats-shell {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    body.landing-page .hero-title {
        font-size: 1.95rem;
    }

    body.landing-page .hero-subtitle {
        font-size: 0.95rem;
    }

    body.landing-page .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    body.landing-page .btn-hero-primary,
    body.landing-page .hero-register-btn,
    body.landing-page .btn-hero-resolve,
    body.landing-page .btn-hero-internship,
    body.landing-page .btn-hero-outline {
        width: 100%;
        justify-content: center;
        margin-left: 0 !important;
    }

    body.landing-page .hero-stats-shell {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    body.landing-page .hero-stat-chip h4 {
        font-size: 1.35rem;
    }
}
