/* ======== ABOUT TECHVERSE CUSTOM COLOR ======== */
.about-techverse-title {
    color: #3b82f6; /* Tailwind blue-500, matches primary */
    font-weight: 800;
    letter-spacing: -0.5px;
}
/* ======== RESOURCES HERO (RESOURCES PAGE) ======== */
.resources-hero {
        min-height: 320px;
        background: var(--bg-hero);
        background-size: 200% 200%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 120px 8% 60px;
        overflow: hidden;
        animation: heroGradientShift 12s ease-in-out infinite;
}

.resources-hero::before {
        content: "";
        position: absolute;
        top: -40%;
        right: -15%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(251,191,36,0.10) 0%, transparent 70%);
        border-radius: 50%;
}

.resources-hero::after {
        content: "";
        position: absolute;
        bottom: -20%;
        left: -10%;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
        border-radius: 50%;
}

.resources-hero-content {
        position: relative;
        text-align: center;
        z-index: 1;
        max-width: 700px;
        margin: 0 auto;
}

.resources-hero-content h1 {
        font-size: 44px;
        font-weight: 800;
        color: var(--text-white);
        line-height: 1.15;
        margin-bottom: 16px;
}

.resources-hero-content p {
        font-size: 18px;
        color: rgba(255,255,255,0.88);
        font-weight: 400;
        line-height: 1.6;
        margin-bottom: 0;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
}

@media (max-width: 900px) {
    .resources-hero {
        padding: 90px 5% 40px;
    }
    .resources-hero-content h1 {
        font-size: 32px;
    }
    .resources-hero-content p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .resources-hero {
        padding: 70px 3% 24px;
    }
    .resources-hero-content h1 {
        font-size: 22px;
    }
    .resources-hero-content p {
        font-size: 13px;
    }
}
/* ======== STUDY HERO (STUDY PAGE) ======== */
.study-hero {
        min-height: 320px;
        background: var(--bg-hero);
        background-size: 200% 200%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 120px 8% 60px;
        overflow: hidden;
        animation: heroGradientShift 12s ease-in-out infinite;
}

.study-hero::before {
        content: "";
        position: absolute;
        top: -40%;
        right: -15%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(251,191,36,0.10) 0%, transparent 70%);
        border-radius: 50%;
}

.study-hero::after {
        content: "";
        position: absolute;
        bottom: -20%;
        left: -10%;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
        border-radius: 50%;
}

.study-hero-content {
        position: relative;
        text-align: center;
        z-index: 1;
        max-width: 700px;
        margin: 0 auto;
}

.study-hero-content h1 {
        font-size: 44px;
        font-weight: 800;
        color: var(--text-white);
        line-height: 1.15;
        margin-bottom: 16px;
}

.study-hero-content p {
        font-size: 18px;
        color: rgba(255,255,255,0.88);
        font-weight: 400;
        line-height: 1.6;
        margin-bottom: 0;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
}

@media (max-width: 900px) {
    .study-hero {
        padding: 90px 5% 40px;
    }
    .study-hero-content h1 {
        font-size: 32px;
    }
    .study-hero-content p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .study-hero {
        padding: 70px 3% 24px;
    }
    .study-hero-content h1 {
        font-size: 22px;
    }
    .study-hero-content p {
        font-size: 13px;
    }
}
/* ================================ */
/*    TECHVERSE STUDY HUB - MAIN    */
/* ================================ */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

:root{
    --primary:#3b82f6;
    --primary-light:#60a5fa;
    --primary-dark:#1d4ed8;
    --accent:#f59e0b;
    --accent-light:#fcd34d;
    --bg:#f3f6ff;
    --bg-white:#ffffff;
    --bg-card:#ffffff;
    --bg-hero:linear-gradient(135deg,#172554 0%,#1d4ed8 45%,#2563eb 70%,#7c3aed 100%);
    --text:#1e293b;
    --text-light:#64748b;
    --text-white:#ffffff;
    --border:#dbe7ff;
    --shadow:0 1px 3px rgba(0,0,0,0.08),0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:0 4px 6px rgba(0,0,0,0.07),0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg:0 10px 25px rgba(0,0,0,0.1),0 4px 10px rgba(0,0,0,0.05);
    --radius:16px;
    --radius-sm:10px;
}

html{
    scroll-behavior:smooth;
}

body{
    background:
        radial-gradient(circle at 15% 10%,rgba(59,130,246,0.12) 0%,transparent 35%),
        radial-gradient(circle at 85% 20%,rgba(124,58,237,0.1) 0%,transparent 35%),
        var(--bg);
    color:var(--text);
}

/* ======== NAVBAR ======== */
nav{
    position:fixed;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px 48px;
    background:rgba(255,255,255,0.82);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(147,197,253,0.35);
    z-index:1000;
}

nav .logo{
    font-weight:800;
    font-size:22px;
    color:var(--primary);
    display:flex;
    align-items:center;
    gap:6px;
}

.logo-icon{
    font-size:24px;
}

nav ul{
    list-style:none;
    display:flex;
    gap:32px;
}

nav ul li a{
    text-decoration:none;
    color:var(--text);
    font-weight:500;
    font-size:15px;
    transition:color 0.3s;
    position:relative;
}

nav ul li a::after{
    content:"";
    position:absolute;
    bottom:-4px;
    left:0;
    width:0;
    height:2px;
    background:var(--primary);
    border-radius:2px;
    transition:width 0.3s;
}

nav ul li a:hover{
    color:var(--primary);
}

nav ul li a:hover::after{
    width:100%;
}

/* ======== SOCIAL BUTTONS ======== */
.social-buttons{
    display:flex;
    gap:10px;
}

.social-btn{
    padding:8px 16px;
    border:1px solid var(--border);
    border-radius:50px;
    text-decoration:none;
    color:var(--text);
    font-size:13px;
    font-weight:500;
    transition:all 0.3s;
    display:flex;
    align-items:center;
    gap:6px;
}

.social-btn:hover{
    background:var(--primary);
    color:white;
    border-color:var(--primary);
}

.social-btn svg{
    flex-shrink:0;
}

/* ======== HERO SECTION ======== */
.hero{
    min-height:100vh;
    background:var(--bg-hero);
    background-size:200% 200%;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    padding:120px 8% 96px;
    overflow:hidden;
    animation:heroGradientShift 12s ease-in-out infinite;
}

.hero::before{
    content:"";
    position:absolute;
    top:-50%;
    right:-20%;
    width:600px;
    height:600px;
    background:radial-gradient(circle,rgba(251,191,36,0.15) 0%,transparent 70%);
    border-radius:50%;
}

.hero::after{
    content:"";
    position:absolute;
    bottom:-30%;
    left:-10%;
    width:500px;
    height:500px;
    background:radial-gradient(circle,rgba(255,255,255,0.06) 0%,transparent 70%);
    border-radius:50%;
}

.hero-content{
    position:relative;
    text-align:center;
    z-index:1;
    max-width:860px;
}

.hero-badge{
    display:inline-block;
    padding:8px 20px;
    background:rgba(255,255,255,0.15);
    border:1px solid rgba(255,255,255,0.25);
    border-radius:50px;
    color:var(--accent-light);
    font-size:14px;
    font-weight:600;
    margin-bottom:24px;
    backdrop-filter:blur(8px);
    animation:heroFadeUp 0.7s ease both;
}

.hero-content h1{
    font-size:58px;
    font-weight:800;
    color:var(--text-white);
    line-height:1.2;
    margin-bottom:20px;
    animation:heroFadeUp 0.8s ease 0.08s both;
}

.hero-content h1 span{
    background:linear-gradient(135deg,var(--accent-light),#fde68a);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero-content p{
    font-size:19px;
    color:rgba(255,255,255,0.8);
    font-weight:400;
    line-height:1.7;
    margin-bottom:32px;
    max-width:600px;
    margin-left:auto;
    margin-right:auto;
    animation:heroFadeUp 0.8s ease 0.16s both;
}

.hero-buttons{
    display:flex;
    gap:16px;
    justify-content:center;
    flex-wrap:wrap;
    margin-bottom:48px;
    animation:heroFadeUp 0.8s ease 0.24s both;
}

.btn{
    padding:14px 32px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    font-size:16px;
    transition:all 0.3s;
    display:inline-flex;
    align-items:center;
    gap:8px;
    position:relative;
    overflow:hidden;
}

.btn-primary{
    background:var(--accent);
    color:#1a1a1a;
    border:none;
    box-shadow:0 4px 15px rgba(245,158,11,0.4);
}

.btn-primary:hover{
    background:var(--accent-light);
    transform:translateY(-2px);
    box-shadow:0 6px 20px rgba(245,158,11,0.5);
}

.btn::after{
    content:"";
    position:absolute;
    top:-120%;
    left:-40%;
    width:40%;
    height:300%;
    transform:rotate(25deg);
    background:linear-gradient(90deg,transparent,rgba(255,255,255,0.45),transparent);
    transition:left 0.55s ease;
}

.btn:hover::after{
    left:120%;
}

.btn-secondary{
    background:transparent;
    color:white;
    border:2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover{
    background:rgba(255,255,255,0.1);
    border-color:rgba(255,255,255,0.5);
    transform:translateY(-2px);
}

/* Hero Stats */
.hero-stats{
    display:flex;
    justify-content:center;
    gap:64px;
    flex-wrap:wrap;
    animation:heroFadeUp 0.8s ease 0.32s both;
}

.scroll-guide{
    position:absolute;
    left:50%;
    bottom:26px;
    transform:translateX(-50%);
    z-index:2;
    display:flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
    color:rgba(255,255,255,0.92);
    background:rgba(255,255,255,0.12);
    border:1px solid rgba(255,255,255,0.28);
    padding:12px 24px;
    border-radius:999px;
    backdrop-filter:blur(8px);
    animation:guideFloat 2s ease-in-out infinite;
    transition:all 0.3s;
}

.scroll-guide:hover{
    background:rgba(255,255,255,0.2);
}

.guide-character{
    font-size:18px;
}

.guide-text{
    font-weight:600;
    letter-spacing:0.4px;
    text-transform:uppercase;
    font-size:14px;
}

.guide-arrow{
    animation:guideArrow 1.2s ease-in-out infinite;
}

.hover-guide{
    position:fixed;
    left:0;
    z-index:2000;
    pointer-events:none;
    padding:8px 10px;
    background:rgba(15,23,42,0.94);
    color:#ffffff;
    font-size:12px;
    border-radius:10px;
    border:1px solid rgba(148,163,184,0.35);
    box-shadow:0 8px 22px rgba(0,0,0,0.28);
    max-width:260px;
    opacity:0;
    transform:translateY(6px);
    transition:opacity 0.15s ease,transform 0.15s ease;
}

.hover-guide.show{
    opacity:1;
    transform:translateY(0);
}

.stat-item{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.stat-number{
    font-size:32px;
    font-weight:800;
    color:var(--text-white);
}

.stat-label{
    font-size:13px;
    color:rgba(255,255,255,0.6);
    font-weight:500;
    text-transform:uppercase;
}

/* ======== SECTION SHARED ======== */
section{
    padding:100px 8%;
}

section::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(180deg,rgba(255,255,255,0.35),transparent 35%);
    /* Responsive emojis and icons */
    img, svg, .emoji, .icon {
        max-width:100%;
        height:auto;
        font-size:1em;
        vertical-align:middle;
    }
}

section h2{
    font-size:40px;
    text-align:center;
    margin-bottom:16px;
    color:var(--text);
    font-weight:800;
    letter-spacing:-0.5px;
    text-wrap:balance;
}

.section-badge{
    display:inline-block;
    padding:6px 16px;
    background:rgba(37,99,235,0.08);
    color:var(--primary);
    font-size:13px;
    font-weight:600;
    border-radius:50px;
    margin-bottom:12px;
    letter-spacing:0.5px;
}

.section-badge.center{
    display:block;
    text-align:center;
    width:fit-content;
    margin-left:auto;
    margin-right:auto;
}

.section-desc{
    text-align:center;
    color:var(--text-light);
    font-size:16px;
    margin-bottom:48px;
    max-width:500px;
    margin-left:auto;
    margin-right:auto;
}

/* ======== ABOUT ======== */
.about{
    display:flex;
    padding:100px 10%;
    align-items:center;
    gap:64px;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}

.about-img img{
    width:200px;
    border-radius:var(--radius);
    box-shadow:var(--shadow-lg);
}

.about-text h2{
    text-align:left;
    margin-bottom:20px;
}

.about-text p{
    color:var(--text-light);
    font-size:16px;
    line-height:1.8;
    margin-bottom:12px;
}

.about-text strong{
    color:var(--text);
}

/* ======== TOOLS GRID ======== */
.tools{
    background:linear-gradient(180deg,#f7faff 0%,#eef4ff 100%);
}

.tools h2{
    margin-bottom:48px;
}

.tools-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
    gap:20px;
    max-width:1200px;
    margin:0 auto;
}

.tool-card{
    padding:32px 24px;
    border-radius:var(--radius);
    background:var(--bg-card);
    border:1px solid rgba(147,197,253,0.35);
    transition:all 0.3s;
    text-align:center;
    position:relative;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(37,99,235,0.08);
}

.tool-card-link{
    text-decoration:none;
    color:var(--text);
    display:block;
}

.tool-card:hover{
    transform:translateY(-8px) scale(1.01);
    box-shadow:0 18px 40px rgba(37,99,235,0.18);
    border-color:var(--primary-light);
}

.tool-card::before,
.study-card::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    border-radius:inherit;
    background:linear-gradient(135deg,rgba(96,165,250,0.18),transparent 40%,rgba(245,158,11,0.16));
    opacity:0;
    transition:opacity 0.3s ease;
}

.tool-card:hover::before,
.study-card:hover::before{
    opacity:1;
}

.tool-card::after,
.study-card::after{
    content:"";
    position:absolute;
    top:-140%;
    left:-45%;
    width:34%;
    height:320%;
    transform:rotate(22deg);
    background:linear-gradient(90deg,transparent,rgba(255,255,255,0.55),transparent);
    transition:left 0.65s ease;
    pointer-events:none;
}

.tool-card:hover::after,
.study-card:hover::after{
    left:125%;
}

.tool-icon{
    font-size:36px;
    margin-bottom:14px;
    display:block;
}

.tool-card h3{
    font-size:16px;
    font-weight:700;
    margin-bottom:8px;
    color:var(--text);
}

.tool-card p{
    font-size:13px;
    color:var(--text-light);
    line-height:1.5;
}

/* ======== STUDY GRID ======== */
.study{
    background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
}

.study h2{
    margin-bottom:8px;
}

.study-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:20px;
    max-width:1200px;
    margin:0 auto;
}

.study-card{
    padding:28px 24px;
    border-radius:var(--radius);
    background:var(--bg);
    border:1px solid rgba(147,197,253,0.35);
    text-decoration:none;
    color:var(--text);
    display:block;
    transition:all 0.3s;
    position:relative;
    overflow:hidden;
}

.study-card:hover{
    transform:translateY(-8px) scale(1.01);
    box-shadow:0 18px 40px rgba(37,99,235,0.16);
    border-color:var(--primary-light);
}

.study-card:hover .study-icon{
    transform:scale(1.15);
}

.study-card-featured{
    border:2px solid #fbbf24;
    background:linear-gradient(135deg,#fff9db,#ffefb0);
}

.study-card-featured:hover{
    border-color:var(--accent);
    box-shadow:0 10px 25px rgba(245,158,11,0.15);
}

.study-icon{
    font-size:34px;
    display:block;
    margin-bottom:14px;
    transition:transform 0.3s;
}

.study-card h3{
    font-size:17px;
    font-weight:700;
    margin-bottom:6px;
}

.study-card p{
    font-size:13px;
    color:var(--text-light);
    line-height:1.5;
    margin-bottom:12px;
}

.study-tag{
    display:inline-block;
    padding:4px 12px;
    background:rgba(37,99,235,0.08);
    color:var(--primary);
    font-size:11px;
    font-weight:600;
    border-radius:50px;
    letter-spacing:0.5px;
    text-transform:uppercase;
}

.study-card-featured .study-tag{
    background:rgba(245,158,11,0.15);
    color:#b45309;
}

/* ======== MOTIVATION BANNER ======== */
.motivation{
    background:linear-gradient(135deg,#1e1b4b 0%,#1d4ed8 55%,#7c3aed 100%);
    text-align:center;
    padding:80px 8%;
}

.motivation-content h2{
    color:var(--text-white);
    font-size:32px;
    margin-bottom:16px;
}

.motivation-content p{
    color:rgba(255,255,255,0.8);
    font-size:17px;
    margin-bottom:28px;
    max-width:500px;
    margin-left:auto;
    margin-right:auto;
}

.motivation .btn-primary{
    background:white;
    color:var(--primary);
    box-shadow:0 4px 15px rgba(0,0,0,0.15);
}

.motivation .btn-primary:hover{
    background:#f0f4ff;
    transform:translateY(-2px);
}

/* ======== FOOTER ======== */
footer{
    background:linear-gradient(135deg,#0f172a 0%,#111827 50%,#1e1b4b 100%);
    padding:40px 8%;
    text-align:center;
}

.footer-content{
    max-width:600px;
    margin:0 auto;
}

.footer-brand{
    font-size:20px;
    font-weight:800;
    color:white;
    margin-bottom:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
}

footer p{
    color:rgba(255,255,255,0.5);
    font-size:14px;
    margin-bottom:16px;
}

.footer-links{
    display:flex;
    justify-content:center;
    gap:24px;
}

.footer-links a{
    color:rgba(255,255,255,0.4);
    text-decoration:none;
    font-size:13px;
    transition:color 0.3s;
}

.footer-links a:hover{
    color:white;
}

@keyframes heroGradientShift{
    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}
}

@keyframes heroFadeUp{
    from{opacity:0;transform:translateY(18px);}
    to{opacity:1;transform:translateY(0);}
}

@keyframes guideFloat{
    0%,100%{transform:translateX(-50%) translateY(0);}
    50%{transform:translateX(-50%) translateY(-6px);}
}

@keyframes guideArrow{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(4px);}
}

/* ======== ANIMATIONS ======== */
.fade-in{
    opacity:0;
    transform:translateY(24px);
    transition:opacity 0.6s ease,transform 0.6s ease;
}

.fade-in.visible{
    opacity:1;
    transform:translateY(0);
}

@media (prefers-reduced-motion: reduce){
    .hero,
    .hero-badge,
    .hero-content h1,
    .hero-content p,
    .hero-buttons,
    .hero-stats,
    .scroll-guide,
    .guide-arrow,
    .fade-in{
        animation:none !important;
        transition:none !important;
    }
}
