/* ===================================================
   YUSUF TEK — PREMIUM DEVELOPER PORTFOLIO
   Design System & Styles
   =================================================== */

/* ===== CSS VARIABLES (DESIGN TOKENS) ===== */
:root {
    /* Colors */
    --bg-primary: #07070d;
    --bg-secondary: #0d0d16;
    --bg-tertiary: #13131f;
    --bg-card: rgba(19, 19, 31, 0.6);

    --text-primary: #e8e8ed;
    --text-secondary: #9898a6;
    --text-muted: #5c5c6f;

    --accent-primary: #6f5aff;
    --accent-secondary: #a855f7;
    --accent-tertiary: #06d6a0;
    --accent-gradient: linear-gradient(135deg, #6f5aff, #a855f7, #d946ef);
    --accent-glow: rgba(111, 90, 255, 0.3);

    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-normal: 0.4s var(--ease-out);
    --transition-slow: 0.6s var(--ease-out);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: var(--accent-primary);
    color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* ===== NOISE OVERLAY ===== */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ===== CURSOR ===== */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}

.cursor-glow {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(111, 90, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out),
                height 0.3s var(--ease-out),
                border-color 0.3s;
}

.cursor.cursor--hover {
    width: 50px;
    height: 50px;
    background: rgba(111, 90, 255, 0.1);
    mix-blend-mode: normal;
}

.cursor-glow.cursor--hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent-primary);
}

/* ===== LAYOUT ===== */
.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ===== SECTION HEADER ===== */
.section__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.section__number {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent-primary);
    font-weight: 500;
}

.section__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    white-space: nowrap;
}

.section__line {
    flex: 1;
    height: 1px;
    background: var(--border-color);
    max-width: 400px;
}

/* ===== NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(7, 7, 13, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color var(--transition-fast);
}

.logo-bracket {
    color: var(--accent-primary);
}

.nav__logo:hover .logo-bracket {
    color: var(--accent-secondary);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav__link {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav__link::before {
    content: attr(data-nav) '. ';
    color: var(--accent-primary);
    font-size: 0.75rem;
}

.nav__link:hover {
    color: var(--text-primary);
    background: rgba(111, 90, 255, 0.08);
}

.nav__link--cta {
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: rgba(111, 90, 255, 0.12);
    color: var(--accent-primary);
}

/* Mobile Nav Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: none;
    padding: 8px;
    z-index: 1100;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 1px;
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav__close {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: orbFloat 15s ease-in-out infinite;
}

.hero__orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(111, 90, 255, 0.3), transparent);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.hero__orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent);
    bottom: -5%;
    left: -5%;
    animation-delay: -5s;
}

.hero__orb--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.15), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 10px) scale(1.02); }
}

.hero__grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero__container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--accent-tertiary);
    padding: 8px 18px;
    border: 1px solid rgba(6, 214, 160, 0.25);
    border-radius: 50px;
    margin-bottom: 28px;
    background: rgba(6, 214, 160, 0.05);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-tertiary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(6, 214, 160, 0); }
}

.hero__greeting {
    display: block;
    font-family: var(--font-mono);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 400;
    color: var(--accent-primary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.hero__name {
    display: block;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__accent {
    -webkit-text-fill-color: var(--accent-primary);
}

.hero__typewriter {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin: 16px 0 24px;
    min-height: 1.5em;
}

.hero__typewriter-prefix {
    color: var(--text-muted);
}

.hero__typewriter-text {
    color: var(--accent-secondary);
}

.hero__typewriter-cursor {
    color: var(--accent-primary);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero__description {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero__description strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Buttons */
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    cursor: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 30px var(--accent-glow);
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn--primary:hover::before {
    opacity: 1;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(111, 90, 255, 0.4);
}

.btn--primary i {
    transition: transform var(--transition-fast);
}

.btn--primary:hover i {
    transform: translateX(4px);
}

.btn--outline {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.btn--outline:hover {
    background: rgba(111, 90, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--large {
    padding: 18px 40px;
    font-size: 1rem;
}

/* Social Links */
.hero__social {
    display: flex;
    gap: 16px;
}

.hero__social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
}

.hero__social-link:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* Code Window */
.hero__visual {
    display: flex;
    justify-content: center;
}

.code-window {
    background: rgba(13, 13, 22, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
    overflow: hidden;
    width: 100%;
    max-width: 460px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03),
        0 20px 60px rgba(0,0,0,0.5),
        0 0 100px rgba(111, 90, 255, 0.07);
    animation: floatCode 6s ease-in-out infinite;
}

@keyframes floatCode {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.code-window__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
}

.code-window__dots {
    display: flex;
    gap: 7px;
}

.code-window__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-window__dot--red { background: #ff5f57; }
.code-window__dot--yellow { background: #febc2e; }
.code-window__dot--green { background: #28c840; }

.code-window__title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.code-window__actions {
    display: flex;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.65rem;
}

.code-window__body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 2;
}

.code-line {
    display: flex;
    align-items: center;
    gap: 0;
}

.code-line__number {
    color: var(--text-muted);
    width: 30px;
    text-align: right;
    margin-right: 16px;
    font-size: 0.75rem;
    user-select: none;
    flex-shrink: 0;
}

.code-keyword { color: #c678dd; }
.code-variable { color: #e06c75; }
.code-operator { color: var(--text-muted); }
.code-bracket { color: #e5c07b; }
.code-property { color: #e06c75; }
.code-string { color: #98c379; }
.code-boolean { color: #d19a66; }
.code-comma { color: var(--text-muted); }
.code-indent { width: 24px; display: inline-block; }

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero__scroll span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    51% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 1; }
}

/* ===== ABOUT SECTION ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.about__text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.9;
}

.about__text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about__highlights {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.about__highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    background: var(--bg-card);
}

.about__highlight:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.about__highlight i {
    color: var(--accent-primary);
    font-size: 0.9rem;
}

/* Stats */
.about__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    position: relative;
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card__number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-card__number::after {
    content: '+';
    -webkit-text-fill-color: var(--accent-secondary);
    font-size: 1.8rem;
    font-weight: 600;
}

.stat-card__label {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.stat-card__icon {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.2rem;
    color: rgba(111, 90, 255, 0.15);
}

/* ===== PROJECTS SECTION ===== */
.projects__grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.project-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.project-card--reverse {
    direction: rtl;
}

.project-card--reverse > * {
    direction: ltr;
}

.project-card__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

.project-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    font-size: 3.5rem;
    color: rgba(111, 90, 255, 0.2);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 7, 13, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.project-card__image:hover .project-card__overlay {
    opacity: 1;
}

.project-card__links {
    display: flex;
    gap: 16px;
}

.project-card__link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
    transform: translateY(20px);
    animation: none;
}

.project-card__image:hover .project-card__link {
    transform: translateY(0);
}

.project-card__link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(0) scale(1.1);
}

.project-card__featured {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent-primary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.project-card__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.project-card__description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.project-card__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-card__tech span {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 4px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 4px;
    transition: color var(--transition-fast);
}

.project-card__tech span:hover {
    color: var(--accent-primary);
}

/* ===== SKILLS SECTION ===== */
.skills__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-group {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    transform-origin: left;
}

.skill-group:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.skill-group:hover::before {
    transform: scaleX(1);
}

.skill-group__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-group__title i {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.skill-group__items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    cursor: none;
}

.skill-chip i {
    font-size: 1rem;
    color: var(--accent-primary);
    transition: all var(--transition-fast);
}

.skill-chip:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    background: rgba(111, 90, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(111, 90, 255, 0.15);
}

.skill-chip:hover i {
    transform: scale(1.15);
}

/* ===== CONTACT SECTION ===== */
.contact__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact__heading {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 24px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact__text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 40px;
}

.contact__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.contact__discord-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact__socials {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.contact__social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.15rem;
    transition: all var(--transition-normal);
}

.contact__social-link:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer__text {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer__text strong {
    color: var(--text-secondary);
    font-weight: 500;
}

.footer__copyright {
    font-size: 0.78rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Reveal */
.about__stats .stat-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.about__stats.revealed .stat-card {
    opacity: 1;
    transform: translateY(0);
}

.about__stats.revealed .stat-card:nth-child(1) { transition-delay: 0.1s; }
.about__stats.revealed .stat-card:nth-child(2) { transition-delay: 0.2s; }
.about__stats.revealed .stat-card:nth-child(3) { transition-delay: 0.3s; }
.about__stats.revealed .stat-card:nth-child(4) { transition-delay: 0.4s; }

.skills__grid .skill-group {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.skills__grid .skill-group.revealed {
    opacity: 1;
    transform: translateY(0);
}

.skills__grid .skill-group:nth-child(1) { transition-delay: 0.1s; }
.skills__grid .skill-group:nth-child(2) { transition-delay: 0.2s; }
.skills__grid .skill-group:nth-child(3) { transition-delay: 0.3s; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__description {
        text-align: center;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__social {
        justify-content: center;
    }

    .hero__visual {
        display: none;
    }

    .about__grid {
        grid-template-columns: 1fr;
    }

    .about__stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .project-card,
    .project-card--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .skills__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    body {
        cursor: auto;
    }

    .cursor, .cursor-glow {
        display: none;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(13, 13, 22, 0.97);
        backdrop-filter: blur(30px);
        padding: 100px 40px 40px;
        transition: right 0.4s var(--ease-out);
        z-index: 1050;
        border-left: 1px solid var(--border-color);
    }

    .nav__menu.show {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
    }

    .nav__link {
        display: block;
        padding: 16px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav__link--cta {
        border: 1px solid var(--accent-primary);
        text-align: center;
        padding: 14px;
        margin-top: 16px;
        margin-left: 0;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 24px;
        right: 24px;
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 1.4rem;
        cursor: pointer;
    }

    .hero__name {
        letter-spacing: -1px;
    }

    .about__stats {
        grid-template-columns: 1fr 1fr;
    }

    .about__highlights {
        justify-content: center;
    }

    .skills__grid {
        grid-template-columns: 1fr;
    }

    .section__header {
        margin-bottom: 40px;
    }

    .hero__scroll {
        display: none;
    }

    .btn {
        cursor: pointer;
    }

    .skill-chip,
    .hero__social-link,
    .contact__social-link,
    .project-card__link,
    .nav__logo {
        cursor: pointer;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stat-card__number {
        font-size: 2rem;
    }

    .contact__heading {
        font-size: 1.6rem;
    }

    .project-card__description {
        padding: 16px;
    }
}
