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

:root {
    --black: #080808;
    --dark: #111111;
    --card: #151515;
    --white: #ffffff;
    --muted: #929292;
    --border: #292929;
    --accent: #8b5cf6;
    --accent-two: #ec4899;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

button {
    font: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.navbar {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #aaa;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.25s;
}

.nav a:hover {
    color: white;
}

.menu-btn {
    display: none;
    border: none;
    background: none;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 130px 0 80px;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.hero-label span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 15px #4ade80;
}

.hero h1 {
    max-width: 950px;
    margin-top: 25px;
    font-size: clamp(48px, 8vw, 95px);
    line-height: 0.98;
    letter-spacing: -5px;
}

.gradient-text {
    display: block;
    background: linear-gradient(90deg,
            var(--accent),
            var(--accent-two));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content>p {
    max-width: 620px;
    margin-top: 30px;
    color: var(--muted);
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 35px;
}

.btn {
    min-height: 50px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    transition:
        transform 0.3s,
        background 0.3s;
}

.primary-btn {
    background: white;
    color: black;
}

.primary-btn:hover {
    transform: translateY(-4px);
}

.secondary-btn {
    border: 1px solid var(--border);
    color: white;
}

.secondary-btn:hover {
    background: white;
    color: black;
    transform: translateY(-4px);
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 80px;
    color: #555;
    font-size: 9px;
    letter-spacing: 2px;
}

.scroll-line {
    width: 45px;
    height: 1px;
    background: #555;
}

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.circle-one {
    width: 500px;
    height: 500px;
    right: -170px;
    top: 10%;
    background: radial-gradient(circle,
            rgba(139, 92, 246, 0.22),
            transparent 65%);
}

.circle-two {
    width: 400px;
    height: 400px;
    left: -220px;
    bottom: -100px;
    background: radial-gradient(circle,
            rgba(236, 72, 153, 0.13),
            transparent 65%);
}

.floating-card {
    position: absolute;
    z-index: 3;
    padding: 16px 20px;
    border: 1px solid #2d2d2d;
    border-radius: 10px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(8px);
}

.floating-card span {
    display: block;
    margin-bottom: 4px;
    color: var(--accent);
    font-size: 10px;
}

.floating-card strong {
    font-size: 13px;
}

.card-one {
    top: 28%;
    right: 12%;
}

.card-two {
    top: 55%;
    right: 5%;
}

/* Modern card moved to the right below Interactive */
.card-three {
    top: 72%;
    right: 5%;
    left: auto;
    bottom: auto;
}

.section {
    padding: 130px 0;
}

.section-header {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 65px;
}

.section-number {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.section-label {
    color: #777;
}

.section-header h2 {
    margin-top: 8px;
    font-size: clamp(35px, 5vw, 60px);
    line-height: 1;
    letter-spacing: -3px;
}

.section-header h2 span,
.contact h2 span {
    color: var(--accent);
}

.about {
    background: #0c0c0c;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-text .large-text {
    color: white;
    font-size: 25px;
    line-height: 1.4;
}

.about-text>p+p {
    margin-top: 25px;
    color: var(--muted);
    font-size: 15px;
}

.text-link {
    display: inline-block;
    margin-top: 30px;
    color: white;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 5px;
    font-size: 13px;
}

.about-card {
    min-height: 390px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid var(--border);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right,
            rgba(139, 92, 246, 0.25),
            transparent 45%),
        var(--card);
}

.about-card-number {
    margin-bottom: auto;
    color: #555;
    font-size: 14px;
}

.about-card h3 {
    font-size: 42px;
    line-height: 1;
    letter-spacing: -2px;
}

.about-card h3 span {
    color: var(--accent);
}

.about-line {
    width: 100%;
    height: 1px;
    margin: 25px 0;
    background: var(--border);
}

.about-card p {
    color: var(--muted);
    font-size: 13px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.skill-card {
    position: relative;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--card);
    overflow: hidden;
    transition:
        transform 0.35s,
        border-color 0.35s;
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}

.skill-number {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #444;
    font-size: 12px;
}

.skill-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border-radius: 13px;
    background: #222;
    font-size: 23px;
}

.skill-card h3 {
    font-size: 22px;
}

.skill-card p {
    min-height: 65px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

.skill-bar {
    height: 3px;
    margin-top: 25px;
    overflow: hidden;
    background: #292929;
}

.skill-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg,
            var(--accent),
            var(--accent-two));
}

.projects {
    background: #0c0c0c;
}

.projects-list {
    border-top: 1px solid var(--border);
}

.project-card {
    position: relative;
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    gap: 25px;
    align-items: center;
    padding: 38px 15px;
    border-bottom: 1px solid var(--border);
    transition:
        padding 0.35s,
        background 0.35s;
}

.project-card:hover {
    padding-left: 30px;
    padding-right: 30px;
    background: #121212;
}

.project-number {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.project-content>span {
    color: #666;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.project-content h3 {
    margin-top: 7px;
    font-size: 28px;
}

.project-content p {
    max-width: 680px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
}

.tags span {
    padding: 5px 9px;
    border: 1px solid #2d2d2d;
    border-radius: 20px;
    color: #aaa;
    font-size: 10px;
}

.project-arrow {
    font-size: 30px;
    transition:
        transform 0.35s,
        color 0.35s;
}

.project-card:hover .project-arrow {
    transform: translate(6px, -6px);
    color: var(--accent);
}

.contact {
    padding: 150px 0;
}

.contact-box {
    padding: 70px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 10%,
            rgba(139, 92, 246, 0.22),
            transparent 35%),
        #101010;
}

.contact h2 {
    max-width: 750px;
    margin-top: 15px;
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -3px;
}

.contact-box>div>p {
    max-width: 550px;
    margin-top: 20px;
    color: var(--muted);
}

.contact-button {
    display: inline-flex;
    gap: 30px;
    align-items: center;
    margin-top: 35px;
    padding: 17px 22px;
    border-radius: 8px;
    background: white;
    color: black;
    font-size: 13px;
    font-weight: 800;
    transition: transform 0.3s;
}

.contact-button:hover {
    transform: translateY(-5px);
}

.footer {
    padding: 35px 0;
    border-top: 1px solid var(--border);
    background: #050505;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-content p {
    color: #555;
    font-size: 11px;
}

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.cursor-ring {
    width: 30px;
    height: 30px;
    margin-left: -12px;
    margin-top: -12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

@media (max-width: 800px) {

    .nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 10px 4%;
        background: #0b0b0b;
        border-bottom: 1px solid var(--border);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 14px 0;
        border-bottom: 1px solid #222;
    }

    .menu-btn {
        display: block;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .floating-card {
        display: none;
    }

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

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

    .project-card {
        grid-template-columns: 45px 1fr;
    }

    .project-arrow {
        display: none;
    }

    .contact-box {
        padding: 40px 25px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 500px) {

    .hero {
        padding-top: 120px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section {
        padding: 90px 0;
    }

    .section-header {
        margin-bottom: 45px;
    }

    .about-card {
        min-height: 320px;
    }

    .project-content h3 {
        font-size: 22px;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}