/* =========================
   Datacron — Home Page CSS
   Theme: AI Data Galaxy
   ========================= */

:root{
    --bg: #05070a;
    --text: #ffffff;
    --muted: #b8c2bd;

    --glow: #00ffb3;
    --accent: #e6d5a3;
    --highlight: #1affc6;

    --glass: rgba(255, 255, 255, 0.03);
    --glassBorder: rgba(255, 255, 255, 0.08);

    --shadow: 0 18px 40px rgba(0,0,0,0.6);
    --radius: 18px;
    --radiusSm: 14px;

    --max: 1120px;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body{
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* =========================
   Custom Cursor
   ========================= */
@media (pointer: fine) {
    body.has-custom-cursor,
    body.has-custom-cursor * {
        cursor: none !important;
    }
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--glow);
    box-shadow:
        0 0 10px var(--glow),
        0 0 20px rgba(0,255,179,0.4);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.custom-cursor.is-hovering {
    box-shadow:
        0 0 14px var(--glow),
        0 0 28px rgba(0,255,179,0.7);
}

a{
    color: inherit;
    text-decoration: none;
}

img{
    max-width: 100%;
    display: block;
}

.container{
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

/* =========================
   Background Container
   ========================= */
#background-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #05070a 0%, #020403 100%);
    pointer-events: none;
}

#galaxy-canvas{
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Subtle emerald & gold gradient overlay */
body::before{
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(800px 420px at 20% 10%, rgba(0,255,179,0.08), transparent 60%),
        radial-gradient(700px 500px at 80% 20%, rgba(230,213,163,0.06), transparent 60%),
        radial-gradient(900px 520px at 55% 85%, rgba(26,255,198,0.05), transparent 60%);
    opacity: 0.9;
    z-index: 0;
}

/* =========================
   Navbar (Glass + Sticky)
   ========================= */
.site-header{
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(5,7,10,0.65);
    border-bottom: 1px solid rgba(0,255,179,0.15);
}

.nav{
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
}

.nav__brand{
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nav__brandText{
    font-family: "Orbitron", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: 0.8px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--text);
    text-shadow:
        0 0 14px rgba(0,255,179,0.4),
        0 0 26px rgba(230,213,163,0.2);
}

.nav__menu{
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav__link{
    position: relative;
    font-size: 14px;
    color: rgba(255,255,255,0.84);
    letter-spacing: 0.2px;
    padding: 10px 6px;
    transition: color 220ms ease, text-shadow 220ms ease;
}

.nav__link::after{
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 6px;
    height: 2px;
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--accent); /* Elegant Gold */
    transition: transform 220ms ease;
    box-shadow: 0 0 10px rgba(230,213,163,0.4);
}

.nav__link:hover,
.nav__link:focus-visible{
    color: var(--text);
    text-shadow: 0 0 10px rgba(0,242,255,0.35);
}

.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-active::after{
    transform: scaleX(1);
}

.nav__toggle{
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    cursor: pointer;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}

.nav__toggleBars,
.nav__toggleBars::before,
.nav__toggleBars::after{
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    background: rgba(255,255,255,0.9);
    border-radius: 999px;
    transition: transform 220ms ease, top 220ms ease, opacity 220ms ease;
}

.nav__toggleBars{
    top: 50%;
    transform: translateY(-50%);
}

.nav__toggleBars::before{
    top: -9px;
}

.nav__toggleBars::after{
    top: 9px;
}

.nav__toggle[aria-expanded="true"] .nav__toggleBars{
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggleBars::before{
    top: 0;
    transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggleBars::after{
    top: 0;
    transform: rotate(-45deg);
}

/* =========================
   Hero
   ========================= */
.hero{
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 74px);
    display: grid;
    place-items: center;
    padding: 92px 0 70px;
    background:
        radial-gradient(1200px 700px at 50% -10%, rgba(0,255,179,0.06), transparent 60%),
        radial-gradient(900px 600px at 10% 20%, rgba(26,255,198,0.08), transparent 62%),
        linear-gradient(180deg, rgba(5,7,10,0.0), rgba(5,7,10,0.95));
    overflow: hidden;
}

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

.hero__bgGlow{
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(closest-side, rgba(0,255,179,0.05), transparent 60%),
        radial-gradient(closest-side, rgba(230,213,163,0.04), transparent 55%),
        radial-gradient(closest-side, rgba(26,255,198,0.06), transparent 58%);
    filter: blur(18px);
    animation: drift 10s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes drift{
    from{ transform: translate3d(-1.2%, -0.6%, 0) scale(1.02); }
    to{ transform: translate3d(1.2%, 0.8%, 0) scale(1.06); }
}

.hero__content{
    position: relative;
    z-index: 1;
    width: min(860px, calc(100% - 40px));
    text-align: center;
}

.hero__kicker{
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 22px rgba(0,255,179,0.12);
}

.hero__title{
    margin-top: 22px;
    font-family: "Orbitron", system-ui, sans-serif;
    font-size: clamp(46px, 8vw, 96px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.02;
    background: linear-gradient(90deg, #ffffff 0%, var(--glow) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        0 0 20px rgba(0,255,179,0.18),
        0 0 44px rgba(230,213,163,0.12);
    animation: neonPulse 3.8s ease-in-out infinite;
}

@keyframes neonPulse{
    0%, 100%{
        filter: drop-shadow(0 0 10px rgba(0,255,179,0.14)) drop-shadow(0 0 18px rgba(230,213,163,0.10));
    }
    50%{
        filter: drop-shadow(0 0 18px rgba(0,255,179,0.24)) drop-shadow(0 0 26px rgba(230,213,163,0.16));
    }
}

.hero__subtitle{
    margin-top: 14px;
    font-size: clamp(16px, 2.4vw, 22px);
    color: rgba(255,255,255,0.86);
}

.hero__actions{
    margin-top: 26px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid rgba(230,213,163,0.4);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--accent);
    background: transparent;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    user-select: none;
}

.btn:focus-visible{
    outline: 2px solid var(--glow);
    outline-offset: 3px;
}

.btn--primary{
    background: rgba(0,255,179,0.05);
    border-color: rgba(0,255,179,0.3);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0,255,179,0.1);
}

.btn--primary:hover{
    transform: translateY(-2px);
    background: rgba(0,255,179,0.12);
    box-shadow: 0 0 20px rgba(0,255,179,0.4);
    border-color: var(--glow);
}

.btn--secondary{
    background: rgba(230,213,163,0.05);
    border-color: rgba(230,213,163,0.3);
    color: var(--accent);
}

.btn--secondary:hover{
    transform: translateY(-2px);
    background: rgba(230,213,163,0.1);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(230,213,163,0.2);
}

.btn--ghost{
    background: transparent;
    border-color: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.86);
}

.btn--ghost:hover{
    transform: translateY(-2px);
    border-color: var(--glow);
    color: #ffffff;
    box-shadow: 0 0 22px rgba(0,255,179,0.14);
}

.hero__stats{
    margin-top: 22px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.pill{
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* =========================
   Sections
   ========================= */
.section{
    position: relative;
    z-index: 1;
    padding: 84px 0;
}

.section--alt{
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section__header{
    text-align: center;
    max-width: 820px;
    margin: 0 auto 34px;
}

.section__title{
    font-family: "Orbitron", system-ui, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: clamp(24px, 3.2vw, 36px);
    text-shadow: 0 0 18px rgba(0,255,179,0.22);
}

.section__lead{
    margin-top: 10px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.section__actions{
    margin-top: 26px;
    display: flex;
    justify-content: center;
}

/* =========================
   Coming Soon Generic Styles
   ========================= */
.coming-soon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coming-soon-text {
    font-family: "Orbitron", system-ui, sans-serif;
    font-size: 28px;
    letter-spacing: 2px;
    color: #00f2ff;
    text-align: center;
    text-shadow:
        0 0 10px rgba(0,242,255,0.7),
        0 0 20px rgba(0,242,255,0.5);
    margin: 30px 0 0 0;
}

/* About decorative nodes */
.section--about{
    overflow: hidden;
}

.nodes{
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.node{
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,242,255,0.9);
    box-shadow:
        0 0 14px rgba(0,242,255,0.55),
        0 0 34px rgba(123,97,255,0.20);
    opacity: 0.75;
    animation: floatNode 6s ease-in-out infinite;
}

.node::after{
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,242,255,0.18), transparent 70%);
}

.node--a{ left: 8%; top: 26%; animation-delay: -1.1s; }
.node--b{ left: 16%; top: 70%; width: 7px; height: 7px; animation-delay: -2.4s; background: rgba(123,97,255,0.95); }
.node--c{ left: 82%; top: 32%; width: 8px; height: 8px; animation-delay: -3.2s; background: rgba(255,0,230,0.95); }
.node--d{ left: 76%; top: 76%; width: 6px; height: 6px; animation-delay: -4.1s; }
.node--e{ left: 52%; top: 18%; width: 5px; height: 5px; animation-delay: -2.8s; }

@keyframes floatNode{
    0%, 100%{ transform: translate3d(0, 0, 0); }
    50%{ transform: translate3d(0, -14px, 0); }
}

/* =========================
   Cards + Grids
   ========================= */
.grid{
    display: grid;
    gap: 18px;
}

.grid--3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card{
    position: relative;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,0.26);
    transform: translateY(0);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card::before{
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(120deg, transparent, rgba(0,255,179,0.1), rgba(230,213,163,0.08), rgba(26,255,198,0.08), transparent);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.card:hover{
    transform: translateY(-6px);
    border-color: rgba(0,255,179,0.35);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(0,255,179,0.15), inset 0 0 10px rgba(230,213,163,0.05); /* Soft gold inner highlight */
}

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

.card__media{
    height: 180px;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    overflow: hidden;
}

.card__body{
    padding: 18px 16px 20px;
}

.card__title{
    font-family: "Orbitron", system-ui, sans-serif;
    font-size: 16px;
    letter-spacing: 0.04em;
}

.card__text,
.card__meta{
    margin-top: 8px;
    color: rgba(255,255,255,0.74);
    font-size: 13.5px;
    line-height: 1.65;
}

.mediaPlaceholder{
    background:
        radial-gradient(180px 100px at 20% 30%, rgba(0,255,179,0.12), transparent 60%),
        radial-gradient(180px 100px at 80% 60%, rgba(230,213,163,0.08), transparent 62%),
        linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

.mediaPlaceholder--avatar{
    height: 210px;
}

.card--speaker .card__media img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.speaker-card{
    display: block;
}

.card--speaker .card__media{
    transition: transform 260ms ease;
}

.card--speaker:hover .card__media{
    transform: scale(1.04);
}

/* =========================
   Footer
   ========================= */
.footer{
    position: relative;
    z-index: 1;
    padding: 54px 0 22px;
    border-top: 1px solid rgba(0,255,179,0.1);
    background: linear-gradient(180deg, #05070a, #020403);
    box-shadow: 0 -10px 30px rgba(0,255,179,0.08); /* Subtle top glow separator */
}

/* Footer: three sections in a row */
.footer-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

/* Left: University logo + Datacron 2026 */
.left-section{
    display: flex;
    align-items: center;
    gap: 16px;
}

/* University logo – rounded + glow */
.university-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0,255,179,0.2);
    box-shadow:
        0 0 15px rgba(0,255,179,0.15),
        inset 0 1px 0 rgba(255,255,255,0.04);
    position: relative;
    transition: all 0.3s ease;
}

.university-badge::before{
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 13px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0,255,179,0.2), rgba(230,213,163,0.15), rgba(26,255,198,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.8;
}

.university-badge img{
    height: 44px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    filter: brightness(1.02);
    transition: filter 0.3s ease;
}

.university-badge:hover{
    background: rgba(255,255,255,0.04);
    border-color: rgba(0,255,179,0.35);
    box-shadow:
        0 0 20px rgba(0,255,179,0.4),
        0 0 30px rgba(230,213,163,0.1);
}

.university-badge:hover img{
    filter: brightness(1.08);
}

.footer__logo{
    font-family: "Orbitron", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-size: 18px;
    text-shadow: 0 0 18px rgba(0,255,179,0.25);
}

/* Center: nav links only, horizontal */
.center-section{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.footer__link{
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer__link:hover{
    color: var(--glow);
    text-shadow: 0 0 8px rgba(0,255,179,0.4);
}

/* Right: Connect + Contact stacked vertically */
.right-section{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.footer__block{
    text-align: right;
}

.right-section .social{
    justify-content: flex-end;
}

.footer__title{
    font-family: "Orbitron", system-ui, sans-serif;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.86);
}

.footer__text{
    margin-top: 10px;
    color: rgba(255,255,255,0.74);
    font-size: 13.5px;
    line-height: 1.7;
}

.footer__location{
    color: rgba(255,255,255,0.78);
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer__location:hover{
    color: #00f2ff;
    text-shadow: 0 0 8px rgba(0,242,255,0.4);
}

.social{
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social__icon{
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.82);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.social__icon:hover{
    transform: translateY(-2px);
    border-color: rgba(0,242,255,0.38);
    box-shadow: 0 0 22px rgba(0,242,255,0.14);
}

.footer__bottom{
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    color: rgba(255,255,255,0.60);
    font-size: 12.5px;
}

/* =========================
   Scroll reveal animations
   ========================= */
.reveal{
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible{
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
    html{ scroll-behavior: auto; }
    .hero__bgGlow{ animation: none; }
    .hero__title{ animation: none; }
    .reveal{ transition: none; transform: none; opacity: 1; }
    .card, .btn, .social__icon{ transition: none; }
    body.galaxy-cursor,
    body.galaxy-cursor *{ cursor: auto !important; }
    .galaxy-cursor-wrap{ display: none !important; }
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
    .grid--3{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-container{
        flex-direction: column;
        align-items: center;
        gap: 36px;
    }
    .left-section{
        flex-direction: row;
        justify-content: center;
    }
    .center-section{
        justify-content: center;
    }
    .right-section{
        align-items: center;
    }
    .footer__block{
        text-align: center;
    }
    .right-section .social{
        justify-content: center;
    }
}

@media (max-width: 720px){
    .nav__toggle{
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav__menu{
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        margin: 0 auto;
        width: min(var(--max), calc(100% - 40px));
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border-radius: var(--radius);
        background: rgba(11,15,26,0.72);
        border: 1px solid rgba(255,255,255,0.12);
        box-shadow: 0 18px 40px rgba(0,0,0,0.45);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);

        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .nav__menu.is-open{
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav__link{
        padding: 12px 12px;
        border-radius: 14px;
    }

    .nav__link::after{
        left: 12px;
        right: 12px;
        bottom: 6px;
    }

    .hero{
        padding-top: 86px;
    }

    .hero__kicker{
        letter-spacing: 0.26em;
    }

    .grid--3{
        grid-template-columns: 1fr;
    }

    .footer-container{
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .left-section{
        flex-direction: row;
        justify-content: center;
    }
    .center-section{
        justify-content: center;
    }
    .right-section{
        align-items: center;
    }
    .footer__block{
        text-align: center;
    }
    .right-section .social{
        justify-content: center;
    }
}

