/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #080808;
    color: #ffffff;
    overflow-x: hidden;
    transition: background 0.5s, color 0.5s;
}

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

button {
    font-family: inherit;
}


/* =========================
   VARIABLES
========================= */

:root {

    --bg: #080808;

    --surface: #111111;

    --surface-light: #181818;

    --text: #ffffff;

    --muted: #888888;

    --border:
        rgba(255, 255, 255, 0.1);

    --purple: #8b5cf6;

    --blue: #3b82f6;

    --container: 1240px;

}


/* =========================
   LIGHT MODE
========================= */

body.light {

    --bg: #f5f5f7;

    --surface: #ffffff;

    --surface-light: #eeeeee;

    --text: #111111;

    --muted: #666666;

    --border:
        rgba(0, 0, 0, 0.1);

}


/* =========================
   GLOBAL
========================= */

body {
    background: var(--bg);
    color: var(--text);
}

.container {

    width:
        min(
            calc(100% - 60px),
            var(--container)
        );

    margin: auto;

}

.section {

    padding:
        160px 0;

    border-top:
        1px solid var(--border);

}


/* =========================
   BACKGROUND
========================= */

/* =========================
   BACKGROUND V2
========================= */

.background{

    position:fixed;

    inset:0;

    overflow:hidden;

    pointer-events:none;

    z-index:-10;

    background:
        radial-gradient(circle at top left,#1b0d33 0%,transparent 45%),
        radial-gradient(circle at bottom right,#0b2a52 0%,transparent 45%),
        linear-gradient(180deg,#050507,#09090d,#050507);

}

body.light .background{

    background:
        radial-gradient(circle at top left,#d7cbff 0%,transparent 45%),
        radial-gradient(circle at bottom right,#c9e8ff 0%,transparent 45%),
        linear-gradient(180deg,#fbfbfd,#f3f5fa,#eef2f7);

}

.grid{

    position:absolute;

    inset:0;

    background-image:

        linear-gradient(
            rgba(255,255,255,.03) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.03) 1px,
            transparent 1px
        );

    background-size:120px 120px;

    opacity:.35;

}

body.light .grid{

    background-image:

        linear-gradient(
            rgba(0,0,0,.03) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(0,0,0,.03) 1px,
            transparent 1px
        );

}


.gradient{

    position:absolute;

    width:900px;

    height:900px;

    border-radius:50%;

    filter:blur(220px);

    opacity:.30;

    animation:auroraMove 18s ease-in-out infinite;

}

.gradient-one{

    background:#7c3aed;

    left:-300px;

    top:-280px;

}

.gradient-two{

    background:#2563eb;

    right:-320px;

    bottom:-250px;

    top:auto;

}


/* =========================
   HEADER
========================= */

.header {

    position: fixed;

    top: 0;

    width: 100%;

    z-index: 100;

    backdrop-filter:
        blur(20px);

    background:
        rgba(8,8,8,0.65);

    border-bottom:
        1px solid
        var(--border);

}

.nav-container {

    height: 82px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

}


.logo {

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        24px;

    font-weight:
        700;

}

.logo span {

    color:
        var(--purple);

}


.nav {

    display:
        flex;

    gap:
        25px;

}


.nav-link {

    font-size:
        13px;

    color:
        var(--muted);

    transition:
        0.3s;

}


.nav-link:hover,
.nav-link.active {

    color:
        var(--text);

}


.nav-actions {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

}


.theme-toggle,
.language-button,
.menu-button {

    width:
        42px;

    height:
        42px;

    border:
        1px solid
        var(--border);

    background:
        var(--surface);

    color:
        var(--text);

    border-radius:
        50%;

    cursor:
        pointer;

}


.menu-button {

    display:
        none;

}


.menu-button span {

    display:
        block;

    width:
        18px;

    height:
        1px;

    background:
        var(--text);

    margin:
        4px auto;

}

.menu-button.active span:nth-child(1){
    transform:translateY(5px) rotate(45deg);
}

.menu-button.active span:nth-child(2){
    opacity:0;
}

.menu-button.active span:nth-child(3){
    transform:translateY(-5px) rotate(-45deg);
}

.menu-button span{
    transition:.3s;
}


/* =========================
   LANGUAGE
========================= */

.language-menu {

    position:
        fixed;

    top:
        95px;

    right:
        30px;

    display:
        none;

    flex-direction:
        column;

    background:
        var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        12px;

    overflow:
        hidden;

    z-index:
        200;

}


.language-menu.open {

    display:
        flex;

}


.language-menu button {

    padding:
        14px 20px;

    border:
        none;

    background:
        transparent;

    color:
        var(--text);

    text-align:
        left;

    cursor:
        pointer;

}


.language-menu button:hover {

    background:
        var(--surface-light);

}


/* =========================
   HERO
========================= */

.hero {

    min-height:
        100vh;

    display:
        flex;

    align-items:
        center;

    position:
        relative;

}


.hero-container {

    display:
        grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    align-items:
        center;

    gap:
        80px;

    padding-top:
        100px;

}


.availability {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    padding:
        8px 14px;

    border:
        1px solid
        var(--border);

    border-radius:
        100px;

    color:
        var(--muted);

    font-size:
        11px;

}


.status {

    width:
        7px;

    height:
        7px;

    border-radius:
        50%;

    background:
        #22c55e;

    box-shadow:
        0 0 15px
        #22c55e;

}


.hero-location {

    margin-top:
        30px;

    color:
        var(--muted);

    font-size:
        11px;

    letter-spacing:
        3px;

}


.hero-location span {

    margin:
        0 10px;

}


.hero h1 {

    margin-top:
        25px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            50px,
            6vw,
            88px
        );

    line-height:
        0.98;

    letter-spacing:
        -5px;

}


.gradient-text {

    background:
        linear-gradient(
            100deg,
            #ffffff,
            var(--purple),
            var(--blue)
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    color:
        transparent;

}


.hero-description {

    max-width:
        600px;

    margin-top:
        35px;

    color:
        var(--muted);

    line-height:
        1.8;

    font-size:
        16px;

}


.hero-buttons {

    display:
        flex;

    gap:
        12px;

    margin-top:
        40px;

}


.button {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        15px;

    padding:
        16px 24px;

    border-radius:
        100px;

    font-size:
        13px;

    transition:
        0.4s;

}


.button-primary {

    background:
        var(--text);

    color:
        var(--bg);

}


.button-primary:hover {

    transform:
        translateY(-4px);

}


.button-secondary {

    border:
        1px solid
        var(--border);

}


.button-secondary:hover {

    background:
        var(--surface-light);

}


.hero-meta {

    display:
        flex;

    gap:
        40px;

    margin-top:
        60px;

}


.hero-meta div {

    display:
        flex;

    flex-direction:
        column;

    gap:
        8px;

}


.hero-meta strong {

    font-size:
        20px;

}


.hero-meta span {

    color:
        var(--muted);

    font-size:
        10px;

}


/* =========================
   HERO VISUAL
========================= */

.hero-visual {

    position:
        relative;

    height:
        600px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.orb {

    position:
        absolute;

    width:
        500px;

    height:
        500px;

    border-radius:
        50%;

    border:
        1px solid
        var(--border);

    animation:
        rotateOrb
        20s
        linear
        infinite;

}


.orb-core {

    position:
        absolute;

    inset:
        100px;

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            var(--purple),
            transparent
        );

    filter:
        blur(50px);

    opacity:
        0.4;

}


@keyframes rotateOrb {

    from {
        transform:
            rotate(0);
    }

    to {
        transform:
            rotate(360deg);
    }

}


.code-card {

    position:
        relative;

    width:
        480px;

    background:
        rgba(20,20,20,0.8);

    border:
        1px solid
        var(--border);

    border-radius:
        20px;

    backdrop-filter:
        blur(30px);

    box-shadow:
        0 40px 100px
        rgba(0,0,0,0.5);

    z-index:
        2;

}


.code-header {

    height:
        45px;

    display:
        flex;

    align-items:
        center;

    gap:
        6px;

    padding:
        0 20px;

    border-bottom:
        1px solid
        var(--border);

}


.code-header span {

    width:
        8px;

    height:
        8px;

    border-radius:
        50%;

    background:
        #555;

}


.code-body {

    padding:
        30px;

    font-family:
        monospace;

    font-size:
        14px;

    line-height:
        2;

    color:
        #aaa;

}


.indent {

    padding-left:
        25px;

}


.indent-two {

    padding-left:
        50px;

}


.purple {

    color:
        #c084fc;

}


.green {

    color:
        #86efac;

}


.blue {

    color:
        #60a5fa;

}


.floating-card {

    position:
        absolute;

    display:
        flex;

    align-items:
        center;

    gap:
        12px;

    padding:
        15px;

    background:
        var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        14px;

    z-index:
        5;

    animation:
        floating
        4s
        ease-in-out
        infinite;

}


.card-one {

    top:
        100px;

    right:
        0;

}


.card-two {

    bottom:
        100px;

    left:
        0;

    animation-delay:
        1s;

}


.floating-card span {

    font-size:
        20px;

    color:
        var(--purple);

}


.floating-card strong {

    display:
        block;

    font-size:
        12px;

}


.floating-card small {

    display:
        block;

    margin-top:
        4px;

    color:
        var(--muted);

    font-size:
        10px;

}


@keyframes floating {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-15px);

    }

}


/* =========================
   SECTION
========================= */

.section-label {

    color:
        var(--muted);

    font-size:
        11px;

    letter-spacing:
        3px;

    margin-bottom:
        50px;

}


.two-column {

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        100px;

}


.section-title {

    max-width:
        650px;

    font-family:
        "Space Grotesk";

    font-size:
        clamp(
            40px,
            5vw,
            70px
        );

    line-height:
        1;

    letter-spacing:
        -3px;

}


.big-text {

    max-width:
        1100px;

    font-family:
        "Space Grotesk";

    font-size:
        clamp(
            40px,
            6vw,
            80px
        );

    line-height:
        1.05;

    letter-spacing:
        -4px;

}


.big-text span {

    color:
        var(--purple);

}


.about-preview {

    align-self:
        end;

}


.about-preview p {

    color:
        var(--muted);

    line-height:
        1.8;

    font-size:
        17px;

}


.text-link {

    display:
        inline-block;

    margin-top:
        30px;

    padding-bottom:
        5px;

    border-bottom:
        1px solid
        var(--text);

}


/* =========================
   CTA
========================= */

.cta {

    text-align:
        center;

}


.cta-container {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

}


.cta-title {

    max-width:
        900px;

    font-family:
        "Space Grotesk";

    font-size:
        clamp(
            50px,
            8vw,
            110px
        );

    line-height:
        0.95;

    letter-spacing:
        -6px;

    margin-bottom:
        50px;

}


/* =========================
   FOOTER
========================= */

.footer {

    border-top:
        1px solid
        var(--border);

    padding:
        40px 0;

}


.footer-container {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

}


.footer p {

    color:
        var(--muted);

    font-size:
        12px;

    margin-top:
        8px;

}


.footer-links {

    display:
        flex;

    gap:
        25px;

}


.footer-links a {

    color:
        var(--muted);

    font-size:
        12px;

}


/* =========================
   RESPONSIVE
========================= */

@media (max-width:1000px){

    .menu-button{
        display:flex;
        align-items:center;
        justify-content:center;
        z-index:1001;
    }

    .nav{

        position:fixed;

        top:82px;

        left:0;

        width:100%;

        background:var(--surface);

        border-top:1px solid var(--border);

        display:flex;

        flex-direction:column;

        gap:0;

        transform:translateY(-120%);

        opacity:0;

        visibility:hidden;

        transition:.35s ease;

        z-index:1000;

    }

    .nav.open{

        transform:translateY(0);

        opacity:1;

        visibility:visible;

    }

    .nav-link{

        display:block;

        padding:18px 30px;

        border-bottom:1px solid var(--border);

    }

    .hero-container{

        grid-template-columns:1fr;

    }

    .hero-visual{

        height:500px;

    }

    .two-column{

        grid-template-columns:1fr;

    }

}


@media (max-width: 600px) {

    .container {

        width:
            calc(100% - 30px);

    }


    .hero h1 {

        font-size:
            52px;

        letter-spacing:
            -3px;

    }


    .hero-buttons {

        flex-direction:
            column;

    }


    .button {

        justify-content:
            center;

    }


    .hero-meta {

        flex-direction:
            column;

        gap:
            20px;

    }


    .hero-visual {

        height:
            400px;

    }


    .orb {

        width:
            350px;

        height:
            350px;

    }


    .code-card {

        width:
            100%;

    }


    .floating-card {

        transform:
            scale(0.8);

    }


    .card-one {

        right:
            -20px;

    }


    .card-two {

        left:
            -20px;

    }


    .footer-container {

        flex-direction:
            column;

        gap:
            30px;

        align-items:
            flex-start;

    }

}

/* =========================
ABOUT PAGE
========================= */

.page-hero {


min-height: 80vh;

display: flex;

align-items: flex-end;

padding:
    180px 0
    100px;

border-bottom:
    1px solid
    var(--border);


}

.page-title {


max-width: 1100px;

font-family:
    "Space Grotesk",
    sans-serif;

font-size:
    clamp(
        60px,
        10vw,
        150px
    );

line-height:
    0.9;

letter-spacing:
    -8px;


}

.page-description {


max-width:
    700px;

margin-top:
    50px;

color:
    var(--muted);

font-size:
    18px;

line-height:
    1.8;


}

/* =========================
ABOUT CONTENT
========================= */

.about-content {


display:
    flex;

flex-direction:
    column;

gap:
    30px;


}

.about-content p {


color:
    var(--muted);

font-size:
    17px;

line-height:
    1.9;


}

/* =========================
VALUES
========================= */

.values-grid {


display:
    grid;

grid-template-columns:
    repeat(
        2,
        1fr
    );

gap:
    1px;

margin-top:
    100px;

background:
    var(--border);

border:
    1px solid
    var(--border);


}

.value-card {


min-height:
    350px;

padding:
    50px;

background:
    var(--bg);

transition:
    0.5s;


}

.value-card:hover {


background:
    var(--surface);

transform:
    translateY(-5px);


}

.value-number {


display:
    block;

color:
    var(--purple);

font-size:
    12px;

letter-spacing:
    2px;

margin-bottom:
    80px;


}

.value-card h3 {


font-family:
    "Space Grotesk";

font-size:
    30px;

margin-bottom:
    20px;


}

.value-card p {


max-width:
    500px;

color:
    var(--muted);

line-height:
    1.8;


}

/* =========================
AI SECTION
========================= */

.ai-container {


display:
    grid;

grid-template-columns:
    1fr
    1fr;

gap:
    100px;

align-items:
    center;

}

.ai-text {


max-width:
    600px;

color:
    var(--muted);

font-size:
    17px;

line-height:
    1.9;

margin-top:
    40px;


}

.ai-visual {


height:
    550px;

position:
    relative;

display:
    flex;

align-items:
    center;

justify-content:
    center;


}

.ai-circle {


width:
    220px;

height:
    220px;

display:
    flex;

align-items:
    center;

justify-content:
    center;

border:
    1px solid
    var(--purple);

border-radius:
    50%;

box-shadow:
    0 0 80px
    rgba(
        139,
        92,
        246,
        0.25
    );

animation:
    aiPulse
    4s
    ease-in-out
    infinite;


}

.ai-circle::before {


content:
    "";

position:
    absolute;

width:
    300px;

height:
    300px;

border:
    1px solid
    var(--border);

border-radius:
    50%;


}

.ai-circle span {


font-family:
    "Space Grotesk";

font-size:
    60px;

font-weight:
    700;

color:
    var(--purple);


}

@keyframes aiPulse {


0%,
100% {

    transform:
        scale(1);

}

50% {

    transform:
        scale(1.08);

}


}

.ai-line {


position:
    absolute;

width:
    120px;

height:
    1px;

background:
    var(--border);


}

.line-one {


top:
    150px;

left:
    20px;

transform:
    rotate(25deg);


}

.line-two {


top:
    150px;

right:
    20px;

transform:
    rotate(-25deg);


}

.line-three {


bottom:
    130px;

right:
    80px;

transform:
    rotate(90deg);


}

.ai-node {


position:
    absolute;

padding:
    12px 18px;

border:
    1px solid
    var(--border);

border-radius:
    100px;

background:
    var(--surface);

color:
    var(--muted);

font-size:
    10px;

letter-spacing:
    2px;

}

.node-one {


top:
    100px;

left:
    0;


}

.node-two {


top:
    100px;

right:
    0;


}

.node-three {


bottom:
    80px;

right:
    80px;


}

/* =========================
GOALS
========================= */

.goals-list {


margin-top:
    100px;

border-top:
    1px solid
    var(--border);


}

.goal-item {


display:
    grid;

grid-template-columns:
    100px
    1fr;

gap:
    50px;

padding:
    50px 0;

border-bottom:
    1px solid
    var(--border);

transition:
    0.4s;


}

.goal-item:hover {


padding-left:
    20px;


}

.goal-item > span {


color:
    var(--purple);

font-family:
    "Space Grotesk";


}

.goal-item h3 {


font-family:
    "Space Grotesk";

font-size:
    32px;

margin-bottom:
    15px;


}

.goal-item p {


max-width:
    700px;

color:
    var(--muted);

line-height:
    1.8;


}

/* =========================
TIMELINE
========================= */

.timeline {


position:
    relative;

max-width:
    900px;

margin:
    100px auto
    0;


}

.timeline::before {


content:
    "";

position:
    absolute;

left:
    7px;

top:
    0;

bottom:
    0;

width:
    1px;

background:
    var(--border);


}

.timeline-item {


position:
    relative;

padding:
    0
    0
    100px
    60px;


}

.timeline-dot {


position:
    absolute;

left:
    0;

top:
    5px;

width:
    15px;

height:
    15px;

border:
    2px solid
    var(--purple);

background:
    var(--bg);

border-radius:
    50%;

box-shadow:
    0 0 20px
    rgba(
        139,
        92,
        246,
        0.5
    );


}

.timeline-content > span {


color:
    var(--purple);

font-size:
    11px;

letter-spacing:
    2px;


}

.timeline-content h3 {


font-family:
    "Space Grotesk";

font-size:
    35px;

margin:
    15px 0;


}

.timeline-content p {


max-width:
    600px;

color:
    var(--muted);

line-height:
    1.8;

}

.timeline-item.future
.timeline-dot {


animation:
    futurePulse
    2s
    infinite;

}

@keyframes futurePulse {


0% {

    box-shadow:
        0 0 0
        rgba(
            139,
            92,
            246,
            0
        );

}

50% {

    box-shadow:
        0 0 30px
        rgba(
            139,
            92,
            246,
            0.7
        );

}

100% {

    box-shadow:
        0 0 0
        rgba(
            139,
            92,
            246,
            0
        );

}


}

/* =========================
ABOUT RESPONSIVE
========================= */

@media (
max-width: 900px
) {


.page-title {

    font-size:
        70px;

    letter-spacing:
        -5px;

}


.values-grid {

    grid-template-columns:
        1fr;

}


.ai-container {

    grid-template-columns:
        1fr;

}


.ai-visual {

    height:
        450px;

}

}

@media (
max-width: 600px
) {


.page-hero {

    min-height:
        70vh;

    padding:
        150px 0
        70px;

}


.page-title {

    font-size:
        54px;

    letter-spacing:
        -3px;

}


.page-description {

    font-size:
        15px;

}


.value-card {

    min-height:
        auto;

    padding:
        35px;

}


.value-number {

    margin-bottom:
        50px;

}


.goal-item {

    grid-template-columns:
        1fr;

    gap:
        20px;

}


.goal-item h3 {

    font-size:
        25px;

}


.timeline-item {

    padding-left:
        40px;

}


.timeline-content h3 {

    font-size:
        28px;

}


}

/* =========================
   ABOUT PHOTO
========================= */

.about-photo {
    width: 320px;
    height: 420px;
    overflow: hidden;
    border-radius: 24px;
    margin: 40px auto;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}

/* =========================================================
   SKILLS — MODERN CARDS
   ========================================================= */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 60px;
}


/* =========================================================
   SKILL CARD
   ========================================================= */

.skill-card {
    position: relative;
    min-height: 280px;
    padding: 40px;
    
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;

    overflow: hidden;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease;
}


/* =========================================================
   CARD HOVER
   ========================================================= */

.skill-card:hover {
    transform: translateY(-8px);

    background: rgba(255, 255, 255, 0.045);

    border-color: rgba(255, 255, 255, 0.25);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   CARD NUMBER
   ========================================================= */

.skill-card::before {
    content: attr(data-number);

    position: absolute;
    top: 28px;
    right: 32px;

    font-size: 13px;
    font-weight: 500;

    letter-spacing: 0.15em;

    color: rgba(255, 255, 255, 0.35);
}


/* =========================================================
   SKILL ICON
   ========================================================= */

.skill-icon {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: auto;

    font-size: 28px;

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.1);

    transition:
        transform 0.4s ease,
        background 0.4s ease;
}


.skill-card:hover .skill-icon {
    transform: translateY(-4px) scale(1.05);

    background: rgba(255, 255, 255, 0.1);
}


/* =========================================================
   SKILL TITLE
   ========================================================= */

.skill-card h3 {
    margin: 30px 0 12px;

    font-size: 24px;
    font-weight: 600;

    letter-spacing: -0.02em;

    color: #ffffff;
}


/* =========================================================
   SKILL DESCRIPTION
   ========================================================= */

.skill-card p {
    margin: 0;

    max-width: 420px;

    font-size: 15px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.55);
}


/* =========================================================
   SUBTLE LIGHT EFFECT
   ========================================================= */

.skill-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -90px;
    left: -90px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.04);

    filter: blur(50px);

    opacity: 0;

    transition: opacity 0.5s ease;

    pointer-events: none;
}


.skill-card:hover::after {
    opacity: 1;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

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

    .skill-card {
        min-height: 250px;
        padding: 32px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .skills-grid {
        gap: 16px;
        margin-top: 40px;
    }

    .skill-card {
        min-height: 230px;
        padding: 28px;
        border-radius: 20px;
    }

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

    .skill-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .skill-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

}

/* SKILLS ICON GROUP */

.skill-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===========================
   SKILLS GRID
=========================== */

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

.skill-card{
    position:relative;
    padding:40px;
    border-radius:28px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(15px);
    transition:.35s;
    overflow:hidden;
}

body.light .skill-card{
    background:#ffffff;
    border:1px solid #e8e8e8;
}

.skill-card:hover{

    transform:translateY(-10px);

    border-color:#8b5cf6;

    box-shadow:0 20px 60px rgba(124,58,237,.18);

}

.skill-number{

    position:absolute;

    top:28px;

    right:28px;

    font-size:42px;

    font-weight:800;

    opacity:.08;

}

.skill-icons{

    display:flex;

    gap:18px;

    margin-bottom:28px;

}

.skill-icon{

    width:52px;

    height:52px;

    object-fit:contain;

}

.skill-card h3{

    font-size:28px;

    margin-bottom:18px;

}

.skill-card p{

    line-height:1.8;

    opacity:.85;

}

/* ===== FIX SKILLS LIGHT THEME ===== */

body.light .skill-card h3{
    color:#111 !important;
}

body.light .skill-card p{
    color:#555 !important;
}

body.dark .skill-card h3{
    color:#fff !important;
}

body.dark .skill-card p{
    color:#d6d6d6 !important;
}

/* ===========================
   SKILL ICON HOVER
=========================== */

.skill-icon{
    transition:0.35s ease;
}

.skill-card:hover .skill-icon{

    transform:
        translateY(-6px)
        scale(1.08);

}

.skill-card:hover .skill-icon:nth-child(1){
    transition-delay:0s;
}

.skill-card:hover .skill-icon:nth-child(2){
    transition-delay:.08s;
}

.skill-card:hover .skill-icon:nth-child(3){
    transition-delay:.16s;
}

/* ==========================================
   SKILL LEVEL
========================================== */

.skill-level{

    margin-top:28px;

}

.skill-info{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:16px;

    margin-bottom:8px;

    font-size:14px;

    font-weight:600;

}

.progress{

    width:100%;

    height:8px;

    border-radius:50px;

    overflow:hidden;

    background:rgba(255,255,255,.12);

}

body.light .progress{

    background:#e4e4e4;

}

.progress-fill{

    height:100%;

    border-radius:50px;

    background:linear-gradient(
        90deg,
        #7c3aed,
        #a855f7
    );

    animation:grow 1.4s ease;

}

/* WIDTHS */

.html{

    width:95%;

}

.css{

    width:90%;

}

.js{

    width:80%;

}

.node{

    width:70%;

}

.python{

    width:65%;

}

.mysql{

    width:75%;

}

.mongo{

    width:60%;

}

.git{

    width:85%;

}

.github{

    width:85%;

}

/* ANIMATION */

@keyframes grow{

    from{

        width:0;

    }

}

@keyframes floatGradient{

    0%{

        transform:
            translate(0,0)
            scale(1);

    }

    50%{

        transform:
            translate(80px,-40px)
            scale(1.08);

    }

    100%{

        transform:
            translate(0,0)
            scale(1);

    }

}

/* ==========================
   FLOATING PARTICLES
========================== */

.particles{

    position:absolute;

    inset:0;

    overflow:hidden;

    pointer-events:none;

}

.particle{

    position:absolute;

    border-radius:50%;

    opacity:.65;

    filter:blur(.3px);

    animation:particleFloat linear infinite;

}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media (max-width:768px){

    .particles{
        display:none;
    }

    .gradient{
        filter:blur(120px);
    }

    .hero-visual{
        transform:none !important;
    }

    .code-card::before{
        display:none;
    }

}


/* =========================
   BACKGROUND ANIMATIONS
========================= */

@keyframes auroraMove{

    0%{

        transform:
            translate(0,0)
            scale(1);

    }

    50%{

        transform:
            translate(120px,-80px)
            scale(1.15);

    }

    100%{

        transform:
            translate(0,0)
            scale(1);

    }

}

@keyframes particleFloat{

    0%{

        transform:
            translateY(0)
            translateX(0)
            scale(1);

        opacity:0;

    }

    10%{

        opacity:1;

    }

    50%{

        transform:
            translateY(-250px)
            translateX(35px)
            scale(1.4);

    }

    100%{

        transform:
            translateY(-600px)
            translateX(-30px)
            scale(.8);

        opacity:0;

    }

}

/* ==========================
   LIGHT THEME NAVIGATION
========================== */

body.light .nav-link{

    color:#2b2b2b;

}

body.light .nav-link:hover{

    color:var(--purple);

}

body.light .nav-link.active{

    color:var(--purple);

    font-weight:600;

}

/* ==========================
   HEADER LIGHT MODE
========================== */

body.light .header{

    background:rgba(255,255,255,.82);

    border-bottom:1px solid rgba(0,0,0,.08);

    backdrop-filter:blur(20px);

}

body.light .nav-link{

    color:#1f2937 !important;

}

body.light .nav-link:hover,

body.light .nav-link.active{

    color:#8b5cf6 !important;

}

/* =========================
   TYPING ENGINE
========================= */

#typingCode{

    font-family:

        "JetBrains Mono",

        monospace;

    font-size:15px;

    line-height:1.8;

    white-space:pre-wrap;

}

.typingCursor{

    display:inline-block;

    width:2px;

    height:18px;

    background:#8b5cf6;

    margin-left:2px;

    animation:cursorBlink .8s infinite;

}

@keyframes cursorBlink{

    50%{

        opacity:0;

    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Украшение блока «Мои ценности» ===== */

.values-grid {
    gap: 16px;
    padding: 16px;
    border: 1px solid rgba(139, 92, 246, 0.24);
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            rgba(139, 92, 246, 0.14),
            rgba(37, 99, 235, 0.10)
        );
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.value-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 340px;
    padding: 46px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(26, 19, 45, 0.96),
            rgba(8, 13, 29, 0.96)
        );
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.value-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 260px;
    height: 260px;
    top: -150px;
    right: -130px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(139, 92, 246, 0.34),
        transparent 68%
    );
    transition: transform 0.45s ease;
}

.value-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 110px;
    height: 110px;
    right: 26px;
    bottom: 26px;
    border-right: 1px solid rgba(139, 92, 246, 0.45);
    border-bottom: 1px solid rgba(96, 165, 250, 0.40);
    border-radius: 0 0 18px 0;
}

.value-card:nth-child(2)::before {
    background: radial-gradient(
        circle,
        rgba(96, 165, 250, 0.30),
        transparent 68%
    );
}

.value-card:nth-child(3)::before {
    background: radial-gradient(
        circle,
        rgba(34, 197, 94, 0.24),
        transparent 68%
    );
}

.value-card:nth-child(4)::before {
    background: radial-gradient(
        circle,
        rgba(236, 72, 153, 0.24),
        transparent 68%
    );
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.65);
    box-shadow: 0 20px 45px rgba(76, 29, 149, 0.26);
}

.value-card:hover::before {
    transform: scale(1.24);
}

.value-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 48px;
    border: 1px solid rgba(139, 92, 246, 0.58);
    border-radius: 14px;
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.12);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 0 22px rgba(139, 92, 246, 0.18);
}

.value-card h3 {
    color: #ffffff;
    font-size: clamp(28px, 2.5vw, 38px);
    line-height: 1.1;
    margin-bottom: 22px;
}

.value-card p {
    position: relative;
    z-index: 1;
    max-width: 540px;
    color: #a8b1c3;
    font-size: 17px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        padding: 10px;
        border-radius: 20px;
    }

    .value-card {
        min-height: auto;
        padding: 32px 26px;
    }

    .value-number {
        margin-bottom: 34px;
    }
}

/* ===== Живая анимация блока с кодом ===== */

.code-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.42);
    box-shadow:
        0 0 0 1px rgba(96, 165, 250, 0.08),
        0 22px 60px rgba(76, 29, 149, 0.28);
}

/* Движущийся световой сканер */
.code-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: -120%;
    left: -35%;
    width: 45%;
    height: 340%;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(167, 139, 250, 0.04),
        rgba(255, 255, 255, 0.18),
        rgba(96, 165, 250, 0.06),
        transparent
    );
    transform: rotate(22deg);
    animation: terminalScanner 5s ease-in-out infinite;
}

/* Статус терминала */
.code-card::after {
    content: "● LIVE / BUILDING";
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 14px;
    color: #86efac;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(134, 239, 172, 0.85);
    animation: liveStatus 1.4s ease-in-out infinite;
}

.code-header,
.code-body {
    position: relative;
    z-index: 1;
}

#typingCode {
    color: #dbeafe;
    text-shadow: 0 0 14px rgba(96, 165, 250, 0.18);
}

/* Усиливает свечение цветных частей кода */
#typingCode .purple {
    text-shadow: 0 0 14px rgba(167, 139, 250, 0.9);
}

#typingCode .green {
    text-shadow: 0 0 14px rgba(74, 222, 128, 0.85);
}

#typingCode .blue {
    text-shadow: 0 0 14px rgba(96, 165, 250, 0.9);
}

/* Свет вокруг карточки плавно пульсирует */
.code-card {
    animation: terminalGlow 3.5s ease-in-out infinite;
}

@keyframes terminalScanner {
    0% {
        left: -55%;
        opacity: 0;
    }

    18% {
        opacity: 1;
    }

    55% {
        opacity: 1;
    }

    100% {
        left: 155%;
        opacity: 0;
    }
}

@keyframes terminalGlow {
    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(96, 165, 250, 0.08),
            0 22px 60px rgba(76, 29, 149, 0.22);
    }

    50% {
        box-shadow:
            0 0 0 1px rgba(139, 92, 246, 0.24),
            0 22px 75px rgba(96, 165, 250, 0.32);
    }
}

@keyframes liveStatus {
    0%,
    100% {
        opacity: 0.45;
    }

    50% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .code-card,
    .code-card::before,
    .code-card::after {
        animation: none;
    }
}

