/* ---------- Base ---------- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body{
    height: 100%;
}

body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    background-color: #000;
    color: #fff;
}

/* canvas background */
#bg-canvas{
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* wrap all content above canvas */
.page{
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

/* ---------- Floating Blog button ---------- */

.top-nav{
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 3;
}

.nav-link{
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(0,0,0,0.8);
    color: #05a7ff;
    border: 1px solid rgba(255,255,255,0.35);
    font-size: 14px;
    text-decoration: none;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 18px rgba(0,0,0,0.7);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.nav-link:hover{
    background: rgba(0,0,0,0.95);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ---------- Hero ---------- */

.hero{
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 16px 40px;
}

.hero-inner{
    max-width: 900px;
}

.hero-title{
    font-size: clamp(42px, 7vw, 80px);
    line-height: 0.9;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00a6ff;
    text-shadow: 0 0 25px rgba(0,166,255,0.9);
    margin-bottom: 18px;
}

.hero-tagline{
    font-size: 14px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #8dd5ff;
    margin-bottom: 14px;
}

.hero-sub{
    font-size: 15px;
    max-width: 640px;
    margin: 0 auto;
    color: #e2e2e2;
}

/* buttons row */
.hero-actions{
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s,
                transform 0.1s, box-shadow 0.1s;
}

.btn.primary{
    background: #15b76b;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(21,183,107,0.5);
}

.btn.primary:hover{
    background: #0ea55f;
    box-shadow: 0 0 24px rgba(21,183,107,0.7);
    transform: translateY(-1px);
}

.btn.ghost{
    background: transparent;
    color: #8dd5ff;
    border-color: rgba(141,213,255,0.7);
}

.btn.ghost:hover{
    background: rgba(0,0,0,0.7);
    border-color: #8dd5ff;
    transform: translateY(-1px);
}

/* ---------- About section ---------- */

.section-about{
    padding: 80px 16px 120px;
    display: flex;
    justify-content: center;
}

.about-card{
    max-width: 900px;
    background: rgba(0,0,0,0.9);
    border-radius: 18px;
    padding: 30px 24px 36px;
    box-shadow: 0 22px 60px rgba(0,0,0,0.9);
    border: 1px solid rgba(255,255,255,0.08);
}

.about-card h2{
    font-size: 22px;
    margin-bottom: 16px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8dd5ff;
    text-align: center;
}

.about-card p{
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 14px;
    color: #f3f3f3;
}

.about-tagline{
    text-align: center;
    font-weight: 600;
    color: #00a6ff;
    margin-top: 10px;
}

.about-contact{
    text-align: center;
    margin-top: 6px;
}

.about-contact a{
    color: #46b5ff;
    text-decoration: none;
}

.about-contact a:hover{
    text-decoration: underline;
}

/* ---------- Footer ---------- */

.site-footer{
    text-align: center;
    padding: 16px 10px 22px;
    font-size: 13px;
    color: #aaaaaa;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px){
    .hero{
        padding-top: 100px;
        padding-bottom: 70px;
    }
    .about-card{
        padding: 24px 18px 30px;
    }
    .about-card p{
        font-size: 15px;
    }
}

@media (max-width: 480px){
    .top-nav{
        top: 12px;
        right: 12px;
    }
    .nav-link{
        padding: 6px 14px;
        font-size: 12px;
    }
    .about-card p{
        font-size: 14px;
    }
}
