/* Remove default browser spacing and make sizing predictable */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon: #00ffe7;
    --neon2: #bf00ff;
    --neon3: #ff006e;
    --bg: #050a0f;
    --bg2: #0a1520;
    --bg3: #0d1f2d;
    --text: #c8e6f0;
    --muted: #4a7a90;
    --grid: rgba(0, 255, 231, 0.04);
    --border: rgba(0, 255, 231, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px);
    pointer-events: none;
    z-index: 0;
}

.wrapper {
    position: relative;
    z-index: 1;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 48px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 10, 15, 0.85);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.nav-logo {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--neon);
    letter-spacing: 3px;
    text-transform: uppercase;
}

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

.nav-links a {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--neon);
}

/* Hamburger for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neon);
    transition: all 0.3s;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: 2px solid var(--neon);
    background: var(--bg2);
    color: var(--neon);
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
    transition: all 0.3s;
    opacity: 0.7;
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 231, 0.4);
}

.back-to-top.show {
    display: flex;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 48px 80px;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 231, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.hero-glow2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(191, 0, 255, 0.05) 0%, transparent 70%);
    bottom: 0;
    left: 200px;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
}

.hero-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--neon);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-tag::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--neon);
}

.hero-name {
    font-family: 'Orbitron', monospace;
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-name span {
    color: var(--neon);
    text-shadow: 0 0 30px rgba(0, 255, 231, 0.4);
}

.hero-role {
    font-family: 'Share Tech Mono', monospace;
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.hero-role span {
    color: var(--neon2);
}

.hero-bio {
    font-size: 17px;
    color: var(--text);
    max-width: 560px;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.85;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid var(--border);
    background: rgba(0, 255, 231, 0.04);
    color: var(--neon);
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.hero-link:hover {
    background: rgba(0, 255, 231, 0.1);
    border-color: var(--neon);
}

.hero-location {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 2px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* SECTIONS */
section {
    padding: 100px 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 64px;
}

.section-num {
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    color: var(--neon);
    opacity: 0.6;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
}

/* EDUCATION */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.edu-card {
    border: 1px solid var(--border);
    background: var(--bg2);
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--neon);
}

.edu-card.purple::before {
    background: var(--neon2);
}

.edu-card.pink::before {
    background: var(--neon3);
}

.edu-year {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.edu-degree {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.4;
}

.edu-school {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 16px;
}

.edu-score {
    display: inline-block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 22px;
    color: var(--neon);
    font-weight: bold;
}

.edu-card.purple .edu-score {
    color: var(--neon2);
}

.edu-card.pink .edu-score {
    color: var(--neon3);
}

/* SKILLS */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.skill-group {
    border: 1px solid var(--border);
    background: var(--bg2);
    padding: 24px;
}

.skill-group-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--neon);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    padding: 5px 12px;
    border: 1px solid rgba(0, 255, 231, 0.2);
    color: var(--text);
    background: rgba(0, 255, 231, 0.04);
    transition: all 0.2s;
    cursor: default;
}

.skill-tag:hover {
    border-color: var(--neon);
    color: var(--neon);
    background: rgba(0, 255, 231, 0.08);
}

/* PROJECTS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.project-card {
    border: 1px solid var(--border);
    background: var(--bg2);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}

.project-card:hover {
    border-color: var(--neon);
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(225deg, rgba(0, 255, 231, 0.08), transparent);
    pointer-events: none;
}

.project-num {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.project-title {
    font-family: 'Orbitron', monospace;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.project-desc {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.7;
    font-weight: 300;
}

.project-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-tech {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    padding: 3px 10px;
    border: 1px solid rgba(191, 0, 255, 0.3);
    color: var(--neon2);
    background: rgba(191, 0, 255, 0.05);
}

/* EXPERIENCE */
.exp-card {
    border: 1px solid var(--border);
    background: var(--bg2);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.exp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon), var(--neon2), transparent);
}

.exp-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.exp-company {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--neon);
    margin-bottom: 4px;
}

.exp-role {
    font-size: 15px;
    color: var(--text);
    font-weight: 600;
}

.exp-date {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 4px 12px;
    white-space: nowrap;
}

.exp-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exp-points li {
    font-size: 14px;
    color: var(--text);
    padding-left: 20px;
    position: relative;
    line-height: 1.7;
    opacity: 0.85;
}

.exp-points li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--neon);
    font-size: 12px;
}

/* HACKATHONS */
.hack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.hack-card {
    border: 1px solid var(--border);
    background: var(--bg2);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: border-color 0.2s;
}

.hack-card:hover {
    border-color: var(--neon3);
}

.hack-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.hack-year {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--neon3);
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.hack-name {
    font-family: 'Orbitron', monospace;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.hack-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

/* LANGUAGES */
.lang-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 8px 20px;
    background: var(--bg2);
}

.lang-level {
    font-size: 11px;
    color: var(--muted);
}

/* CONTACT */
.contact-wrap {
    border: 1px solid var(--border);
    background: var(--bg2);
    padding: 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 255, 231, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.contact-title {
    font-family: 'Orbitron', monospace;
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.contact-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto 40px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid;
}

.contact-btn.primary {
    background: var(--neon);
    border-color: var(--neon);
    color: #000;
    font-weight: bold;
}

.contact-btn.primary:hover {
    opacity: 0.85;
}

.contact-btn.secondary {
    background: transparent;
    border-color: var(--border);
    color: var(--neon);
}

.contact-btn.secondary:hover {
    border-color: var(--neon);
    background: rgba(0, 255, 231, 0.07);
}

/* DIVIDER */
.cyber-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), var(--neon), var(--border), transparent);
    margin: 0 48px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 32px 48px;
    border-top: 1px solid var(--border);
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 2px;
}

footer span {
    color: var(--neon);
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero-content>* {
    animation: fadeUp 0.6s ease both;
}

.hero-content>*:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-content>*:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-content>*:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-content>*:nth-child(4) {
    animation-delay: 0.4s;
}

.hero-content>*:nth-child(5) {
    animation-delay: 0.5s;
}

.hero-content>*:nth-child(6) {
    animation-delay: 0.6s;
}

/* CONTACT FORM */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 32px;
    opacity: 0.9;
}

.contact-form {
    border: 1px solid var(--border);
    background: var(--bg2);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--neon);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon);
    box-shadow: 0 0 10px rgba(0, 255, 231, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Rajdhani', sans-serif;
}

.submit-btn {
    padding: 14px 28px;
    background: var(--neon);
    color: #000;
    border: 1px solid var(--neon);
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

.submit-btn:hover {
    background: transparent;
    color: var(--neon);
    box-shadow: 0 0 20px rgba(0, 255, 231, 0.3);
}

.submit-btn:active {
    transform: scale(0.98);
}

.form-status {
    text-align: center;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    margin-top: 12px;
    min-height: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(5, 10, 15, 0.97);
        border-bottom: 1px solid var(--border);
        padding: 24px 20px;
        gap: 20px;
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 90px 20px 60px;
    }

    section {
        padding: 60px 20px;
    }

    .cyber-divider {
        margin: 0 20px;
    }

    .contact-wrap {
        padding: 32px 20px;
    }

    .contact-title {
        font-size: 22px;
    }

    footer {
        padding: 24px 20px;
    }

    .theme-toggle {
        font-size: 16px;
        padding: 4px 8px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}