@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6a01fb;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
    box-shadow: 0 0 15px rgba(106, 1, 251, 0.8);
}

.cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(6px);
    backdrop-filter: blur(8px);
}

.grid-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-container.active {
    opacity: 1;
}

.grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(rgba(106, 1, 251, 0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(106, 1, 251, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    mask: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), white 0%, transparent 70%);
    -webkit-mask: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), white 0%, transparent 70%);
    filter: drop-shadow(0 0 20px rgba(106, 1, 251, 0.6));
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 30px 60px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid rgba(106, 1, 251, 0.3);
    border-radius: 0;
    max-width: none;
    width: 100%;
    box-shadow: none;
    transform: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-topbar {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(106, 1, 251, 0.5));
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #6a01fb;
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(106, 1, 251, 0.8);
}

.nav-link:hover {
    color: #6a01fb;
    text-shadow: 0 0 10px rgba(106, 1, 251, 0.8);
}

.nav-link:hover::after {
    width: 100%;
}

.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 40px 40px;
    text-align: center;
}

.hero {
    position: relative;
}

.hero .main-logo {
    width: clamp(200px, 40vw, 330px);
    height: auto;
    filter: drop-shadow(0 0 25px #6a01fb);
    animation: glow-pulse 3s ease-in-out infinite alternate;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

@keyframes glow-pulse {
    0% {
        filter: drop-shadow(0 0 20px #6a01fb) drop-shadow(0 0 40px rgba(106, 1, 251, 0.5));
    }

    100% {
        filter: drop-shadow(0 0 30px #6a01fb) drop-shadow(0 0 60px rgba(106, 1, 251, 0.8));
    }
}

.hero .tagline {
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0.8;
}

.hero .tilde,
.hero .year {
    color: #6a01fb;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(106, 1, 251, 0.8);
    animation: tilde-glow 2s ease-in-out infinite alternate;
    display: inline-block;
}

@keyframes tilde-glow {
    0% {
        text-shadow: 0 0 10px rgba(106, 1, 251, 0.8), 0 0 20px rgba(106, 1, 251, 0.5);
    }

    100% {
        text-shadow: 0 0 20px rgba(106, 1, 251, 1), 0 0 30px rgba(106, 1, 251, 0.8);
    }
}

h1 {
    font-size: clamp(32px, 8vw, 80px);
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 60px;
}

h2 {
    font-size: clamp(24px, 5vw, 48px);
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 60px;
}

.highlight {
    color: #6a01fb;
    padding: 0px 10px;
    display: inline-block;
    position: relative;
}

.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    transform: scaleX(0);
    transform-origin: left;
    z-index: -1;
}

.click-wave {
    position: fixed;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 1001;
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
    animation: wave 0.3s ease-out forwards;
}

@keyframes wave {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3);
    }
}

.about,
.contact,
.stats {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-in-out;
}

.about.animate,
.contact.animate,
.stats.animate {
    opacity: 1;
    transform: translateY(0);
}

.about p {
    font-size: clamp(16px, 3vw, 24px);
    max-width: 900px;
    line-height: 1.8;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.contact {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-in-out;
}

.contact.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-form {
    width: 100%;
    max-width: 740px;
    display: grid;
    gap: 20px;
    margin: 0 auto;
    padding: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 1px;
}

.tilde {
    color: #6a01fb;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(106, 1, 251, 0.8);
    display: inline-block;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(106, 1, 251, 0.3);
    border-radius: 4px;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 300;
    z-index: 1000;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6a01fb;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(106, 1, 251, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #6a01fb;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    align-self: center;
    margin-top: 20px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #6a01fb;
    transition: left 0.3s ease;
    z-index: -1;
}

.submit-btn:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px rgba(106, 1, 251, 0.5);
}

.submit-btn:hover::before {
    left: 0;
}

footer {
    position: relative;
    padding: 20px 40px;
    background-color: #0a0a0a;
    border-top: 1px solid rgba(106, 1, 251, 0.3);
    margin-top: 100px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-contact-info {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.footer-link-email {
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.footer-link-text {
    display: inline;
}

.footer-link-email::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #6a01fb;
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(106, 1, 251, 0.8);
}

.footer-link-email:hover {
    color: #6a01fb;
    text-shadow: 0 0 10px rgba(106, 1, 251, 0.8);
}

.footer-link-email:hover::after {
    width: 100%;
}

.nav-separator {
    color: #6a01fb;
    text-shadow: 0 0 6px rgba(106, 1, 251, 0.8);
    font-weight: 400;
    font-size: 18px;
    user-select: none;
    padding: 0 8px;
    letter-spacing: normal;
}

.footer-social-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.footer-social-box::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #6a01fb;
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(106, 1, 251, 0.8);
}

.footer-social-box:hover {
    color: #6a01fb;
    text-shadow: 0 0 10px rgba(106, 1, 251, 0.8);
}

.footer-social-box:hover::after {
    width: 100%;
}

.footer-social-box .fab {
    font-size: 18px;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-link-email .fas.fa-phone {
    font-size: 13px;
}

.particle {
    position: fixed;
    width: 5px;
    height: 5px;
    clip-path: polygon(50% 0%, 150% 50%, 50% 100%, 0% 50%);
    background-color: #6a01fb;
    box-shadow: 0 0 3px rgba(106, 1, 251, 0.8);
    pointer-events: none;
    opacity: 1;
    animation: fadeOut 0.3s forwards;
}

@keyframes fadeOut {
    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}

.fixed-footer-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 20px 40px;
    background-color: #0a0a0a;
    border-top: 1px solid rgba(106, 1, 251, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.fixed-footer-overlay.visible {
    transform: translateY(0);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 900px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(106, 1, 251, 0.3);
    border-radius: 4px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(106, 1, 251, 0.3);
    border-color: #6a01fb;
}

.stat-number {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 500;
    color: #6a01fb;
    text-shadow: 0 0 10px rgba(106, 1, 251, 0.8);
    margin-bottom: 10px;
    min-height: 58px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-label {
    font-size: clamp(14px, 2vw, 16px);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 1px;
}

@media (max-width: 800px) {
    * {
        cursor: auto !important;
    }

    .cursor {
        display: none;
    }

    .topbar {
        padding: 15px 20px;
        top: 0;
    }

    .nav-links {
        gap: 20px;
    }

    .section {
        padding: 80px 20px 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stat-number {
        min-height: 45px;
    }

    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }

    .logo-topbar {
        height: 30px;
    }

    .nav-link {
        font-size: 14px;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
    }

    .footer-contact-info {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    footer {
        padding: 15px 20px;
    }

    .grid {
        background-size: 40px 40px;
        mask: radial-gradient(circle 200px at var(--touch-x, 50%) var(--touch-y, 50%), white 0%, transparent 70%);
        -webkit-mask: radial-gradient(circle 200px at var(--touch-x, 50%) var(--touch-y, 50%), white 0%, transparent 70%);
    }

    .grid-container {
        display: block;
    }

    .grid-container.show-touch {
        opacity: 1;
    }

    .hero .main-logo {
        margin-top: -130px;
    }
}

@media (max-width: 480px) {
    .topbar {
        padding: 10px 15px;
    }

    .section {
        padding: 70px 15px 30px;
    }

    footer,
    .fixed-footer-overlay {
        padding: 10px 15px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 25px 20px;
    }

    .nav-links {
        flex-direction: row;
        gap: 5px;
        align-items: center;
    }

    .nav-separator {
        padding: 0 5px;
    }

    .footer-container {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }

    .footer-contact-info {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .footer-contact-info .nav-separator,
    .footer-link-text {
        display: none;
    }

    .footer-link-email,
    .footer-social-box {
        padding: 8px;
        gap: 0;
        justify-content: center;
    }

    .footer-link-email i,
    .footer-social-box i {
        font-size: 18px;
    }

    .copyright {
        font-size: 12px;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .footer-contact-info {
        justify-content: center;
        text-align: center;
    }

    .footer-contact-info .nav-separator,
    .footer-link-text {
        display: none;
    }
}

@media (max-width: 320px) {
    .logo-topbar {
        height: 25px;
    }

    .hero .main-logo {
        width: 120px;
        margin-top: -30px;
    }

    .hero .tagline {
        font-size: 12px;
    }
}