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

html {
    scrollbar-width: none;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Fugaz One', sans-serif;
    background: #020408;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

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

button {
    cursor: pointer;
}


#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}


.glow-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.glow-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(31, 195, 255, 0.12) 0%, transparent 65%);
    top: -200px;
    left: -200px;
    animation: orbFloat 18s ease-in-out infinite alternate;
}

.glow-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(180, 0, 255, 0.10) 0%, transparent 65%);
    bottom: -150px;
    right: -150px;
    animation: orbFloat 14s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}


nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 1000;
    background: rgba(10, 15, 22, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(31, 195, 255, 0.15);
    border-radius: 18px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0 1.5rem;
}

.nav-logo {
    font-family: 'Fugaz One', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.nav-logo span {
    color: #1fc3ff;
    text-shadow: 0 0 12px #1fc3ff;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}

.nav-links a {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #c8d8e8;
    transition: color 0.25s, text-shadow 0.25s;
}

.nav-links a:hover {
    color: #1fc3ff;
    text-shadow: 0 0 10px rgba(31, 195, 255, 0.6);
}


.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger span:nth-child(1) {
    width: 24px;
}

.hamburger span:nth-child(2) {
    width: 18px;
}

.hamburger span:nth-child(3) {
    width: 24px;
}

/* X state */
.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    width: 24px;
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 24px;
}


.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: rgba(2, 4, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #1fc3ff, transparent);
}

.mobile-menu a {
    font-family: 'Fugaz One', sans-serif;
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.6rem 2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s, letter-spacing 0.3s, text-shadow 0.3s;
    opacity: 0;
    transform: translateY(24px);
}

.mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu a:nth-child(1) {
    transition: color 0.3s, letter-spacing 0.3s, text-shadow 0.3s, opacity 0.45s 0.10s ease, transform 0.45s 0.10s ease;
}

.mobile-menu a:nth-child(2) {
    transition: color 0.3s, letter-spacing 0.3s, text-shadow 0.3s, opacity 0.45s 0.18s ease, transform 0.45s 0.18s ease;
}

.mobile-menu a:nth-child(3) {
    transition: color 0.3s, letter-spacing 0.3s, text-shadow 0.3s, opacity 0.45s 0.26s ease, transform 0.45s 0.26s ease;
}

.mobile-menu a:hover {
    color: #1fc3ff;
    letter-spacing: 0.15em;
    text-shadow: 0 0 40px rgba(31, 195, 255, 0.5);
}

.glass {
    background: rgba(10, 18, 28, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(31, 195, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glow-box img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    z-index: 1;
    position: relative;
}


#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.hero-label {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #9ab;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-name {
    font-size: clamp(3.5rem, 10vw, 8rem);
    color: #1fc3ff;
    text-shadow: 0 0 30px rgba(31, 195, 255, 0.35);
    letter-spacing: 0.05em;
    line-height: 1;
    margin: 0.4rem 0 0.6rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-sub {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ab;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.9s forwards;
}

.btn-primary {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-family: 'Fugaz One', sans-serif;
    font-size: 1rem;
    background: #1fc3ff;
    color: #020408;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 20px rgba(31, 195, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(31, 195, 255, 0.6);
}

.btn-secondary {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-family: 'Fugaz One', sans-serif;
    font-size: 1rem;
    background: transparent;
    color: #1fc3ff;
    border: 1px solid rgba(31, 195, 255, 0.4);
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(31, 195, 255, 0.1);
    border-color: #1fc3ff;
    transform: translateY(-3px);
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    color: #556;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1s ease 1.2s forwards;
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid rgba(31, 195, 255, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
}

.scroll-arrow::after {
    content: '';
    width: 4px;
    height: 8px;
    background: #1fc3ff;
    border-radius: 2px;
    animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    80% {
        transform: translateY(10px);
        opacity: 0;
    }
}

.section-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 24px;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: clamp(2rem, 5.5vw, 4rem);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 3rem;
}

.section-title .solid {
    color: #fff;
}

.section-title .outline {
    -webkit-text-stroke: 2px #1fc3ff;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 6px rgba(31, 195, 255, 0.4));
}


.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 2.5rem;
    align-items: center;
}

.about-img-wrap {
    display: flex;
    justify-content: center;
}

.about-img {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    border: 2px solid rgba(31, 195, 255, 0.3);
    box-shadow: 0 0 40px rgba(31, 195, 255, 0.15);
    transition: box-shadow 0.3s, border-color 0.3s;
    display: block;
}

.about-img:hover {
    box-shadow: 0 0 60px rgba(31, 195, 255, 0.35);
    border-color: #1fc3ff;
}

.about-card {
    padding: 2rem;
}

.about-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #b0c4d8;
    margin-bottom: 1.2rem;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.about-card strong {
    color: #1fc3ff;
    font-weight: 700;
}


.stack-block {
    margin-bottom: 3.5rem;
}

.stack-block h3 {
    text-align: center;
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9ab;
    margin-bottom: 1.5rem;
}

.tech-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
}

.glow-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.glow-item span {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #9ab;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.25s;
    white-space: nowrap;
}

.glow-item:hover span {
    opacity: 1;
    transform: translateY(0);
    color: #fff;
}

.glow-box {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(10, 15, 22, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.3), 0 0 8px var(--clr, rgba(255, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fugaz One', sans-serif;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.glow-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 110%, var(--clr, rgba(255, 255, 255, 0.1)) 0%, transparent 65%);
    opacity: 0.3;
    transition: opacity 0.25s;
}

.glow-box svg {
    width: 40px;
    height: 40px;
    z-index: 1;
}

.glow-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px var(--clr, rgba(255, 255, 255, 0.2)), inset 0 0 12px rgba(0, 0, 0, 0.2);
    border-color: var(--clr, rgba(255, 255, 255, 0.2));
}

.glow-box:hover::before {
    opacity: 0.7;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1fc3ff, #b300ff);
    opacity: 0;
    transition: opacity 0.3s;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(31, 195, 255, 0.2);
}

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

.blog-meta {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1fc3ff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.blog-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: #8899aa;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.2rem;
}

.read-link {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1fc3ff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.read-link:hover {
    gap: 8px;
}

.blog-source {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    color: #556677;
    text-align: center;
    margin-bottom: 2rem;
}

.blog-source a {
    color: #1fc3ff;
    border-bottom: 1px solid rgba(31, 195, 255, 0.3);
}

.blog-source a:hover {
    color: #fff;
}

.blog-cover {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: block;
    background: rgba(255, 255, 255, 0.04);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.blog-author img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(31, 195, 255, 0.3);
}

.blog-author span {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    color: #667788;
}

@keyframes shimmer {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

.skeleton {
    min-height: 220px;
    pointer-events: none;
    background: rgba(15, 22, 32, 0.5);
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(31, 195, 255, 0.06) 40%,
            rgba(31, 195, 255, 0.12) 50%,
            rgba(31, 195, 255, 0.06) 60%,
            transparent 100%);
    background-size: 800px 100%;
    animation: shimmer 1.6s infinite ease-in-out;
}


footer {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(31, 195, 255, 0.1);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.82rem;
    color: #445566;
    position: relative;
    z-index: 10;
}


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* scroll-reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

    .about-img {
        max-width: 220px;
    }
}

@media (max-width: 480px) {
    .section-wrap {
        padding: 70px 16px;
    }

    .hero-cta {
        gap: 0.75rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }

    .glow-box {
        width: 60px;
        height: 60px;
        font-size: 0.9rem;
    }

    .glow-box svg {
        width: 32px;
        height: 32px;
    }

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