/* ═══════════════════════════════════════════
   CORPORATE DESIGN SYSTEM
   ═══════════════════════════════════════════ */
:root {
    --white: #fafafaf6;
    --off-white: #f8f9fc;
    --smoke: #f1f3f8;
    --gray-100: #e8ecf1;
    --gray-200: #d0d5dd;
    --gray-300: #98a2b3;
    --gray-400: #667085;
    --gray-500: #475467;
    --gray-600: #344054;
    --gray-700: #1d2939;
    --gray-900: #101828;
    --blue-50: #eff8ff;
    --blue-100: #d1e9ff;
    --blue-200: #b2ddff;
    --blue-400: #53b1fd;
    --blue-500: #2e90fa;
    --blue-600: #1570ef;
    --blue-700: #175cd3;
    --blue-800: #1849a9;

    --bg-body: var(--white);
    --bg-section-alt: var(--off-white);
    --bg-card: var(--white);
    --text-heading: var(--gray-900);
    --text-body: var(--gray-500);
    --text-muted: var(--gray-300);
    --accent: var(--blue-600);
    --accent-light: var(--blue-50);
    --accent-hover: var(--blue-700);
    --border: var(--gray-100);
    --border-hover: var(--blue-200);
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 4px 16px rgba(16, 24, 40, 0.06);
    --shadow-lg: 0 12px 40px rgba(16, 24, 40, 0.08);
    --shadow-xl: 0 20px 60px rgba(16, 24, 40, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(circle at 15% 50%, rgba(46, 144, 250, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(23, 92, 211, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(83, 177, 253, 0.04) 0%, transparent 50%),
        linear-gradient(160deg, var(--blue-50) 0%, var(--off-white) 30%, var(--smoke) 60%, var(--blue-50) 100%);
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    display: block;
}

/* ═══════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════ */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-bar {
    width: 160px;
    height: 3px;
    background: var(--gray-100);
    border-radius: 3px;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    animation: loadBar 1.2s ease-in-out forwards;
}

.loader-label {
    margin-top: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray-300);
}

@keyframes loadBar {
    0% {
        width: 0%;
    }

    60% {
        width: 80%;
    }

    100% {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 64px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    z-index: 999;
    transition: all 0.35s ease;
}

.navbar.scrolled {
    padding: 14px 64px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--gray-500);
    transition: all 0.25s ease;
}

.nav-links a:hover {
    color: var(--accent);
    background: var(--blue-50);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
    margin-left: 8px;
}

#nav-cta {
    background: #ffffffff;
    color: var(--accent);
}

.nav-cta:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(21, 112, 239, 0.25);
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════
   HERO — CORPORATE ASYMMETRIC
   ═══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    max-width: max-content;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 64px 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text {
    opacity: 0;
    transform: translateY(30px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--accent-light);
    border: 1px solid var(--blue-100);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 28px;
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    background: var(--blue-500);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-text h1 span {
    color: var(--accent);
}

.hero-text p {
    font-size: 17px;
    color: var(--gray-400);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-corp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-corp.primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(21, 112, 239, 0.2);
}

.btn-corp.primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(21, 112, 239, 0.3);
    transform: translateY(-2px);
}

.btn-corp.outline {
    background: var(--white);
    color: var(--gray-700);
    border: 1.5px solid var(--gray-200);
}

.btn-corp.outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--blue-50);
    transform: translateY(-2px);
}

/* HERO VISUAL — TERMINAL */
.hero-visual {
    position: relative;
    opacity: 0;
    transform: translateX(40px);
}

.terminal {
    background: var(--gray-900);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.r {
    background: #ff5f57;
}

.terminal-dot.y {
    background: #ffbd2e;
}

.terminal-dot.g {
    background: #28c840;
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin-right: 36px;
}

.terminal-body {
    padding: 28px 24px;
    font-family: 'JetBrains Mono', monospace;
    min-height: 260px;
}

.t-line {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.9;
}

.t-prompt {
    color: #28c840;
}

.t-cmd {
    color: var(--blue-400);
}

.t-out {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

#typewriter-text {
    color: rgba(255, 255, 255, 0.8);
}

.cursor-blink {
    display: inline-block;
    width: 2px;
    height: 16px;
    background: var(--blue-400);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* FLOATING MINI CARDS */
.float-card {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatCard 4s ease-in-out infinite;
    z-index: 2;
}

.float-card.top-left {
    top: -16px;
    left: -24px;
    animation-delay: 0s;
}

.float-card.bottom-right {
    bottom: -16px;
    right: -24px;
    animation-delay: 2s;
}

.float-card-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.float-card-icon.blue {
    background: var(--blue-50);
    color: var(--accent);
}

.float-card-icon.green {
    background: #ecfdf3;
    color: #12b76a;
}

.float-card-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

.float-card-sub {
    font-size: 11px;
    color: var(--gray-300);
    font-weight: 400;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
section {
    padding: 110px 64px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-alt {
    background: var(--bg-section-alt);
}

.section-full {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 64px;
}

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

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.section-tag::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 17px;
    color: var(--gray-400);
    max-width: 520px;
    line-height: 1.7;
}

.section-header.center p {
    margin: 0 auto;
}

/* ═══════════════════════════════════════════
   ABOUT — SPLIT LAYOUT
   ═══════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-content p {
    font-size: 16px;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 28px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all 0.25s ease;
}

.highlight-item:hover {
    border-color: var(--border-hover);
    background: var(--blue-50);
}

.highlight-item i {
    color: var(--accent);
    font-size: 14px;
    width: 18px;
}

.highlight-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

/* ═══════════════════════════════════════════
   SKILLS — COLUMN BARS
   ═══════════════════════════════════════════ */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 64px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
}

.skill-pct {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
}

.skill-track {
    width: 100%;
    height: 8px;
    background: var(--gray-100);
    border-radius: 8px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-600));
    border-radius: 8px;
    transition: width 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ═══════════════════════════════════════════
   SERVICES — CORPORATE CARDS
   ═══════════════════════════════════════════ */
.services-wrap {
    position: relative;
    background: var(--bg-section-alt);
}

.services-wrap .corp-bg {
    position: absolute;
    inset: 0;
    background: url('../images/corporate-bg.png') center/cover no-repeat;
    opacity: 0.04;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--blue-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 24px;
    transition: all 0.35s ease;
}

.service-card:hover .service-icon-wrap {
    background: var(--accent);
    color: var(--white);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   NUMBER STRIP
   ═══════════════════════════════════════════ */
.number-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.number-item {
    text-align: center;
    padding: 48px 24px;
    border-right: 1px solid var(--border);
    transition: background 0.3s ease;
}

.number-item:last-child {
    border-right: none;
}

.number-item:hover {
    background: var(--blue-50);
}

.number-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 40px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.number-label {
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 500;
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 16px;
    color: var(--gray-400);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--blue-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 16px;
    flex-shrink: 0;
}

.contact-detail-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
}

.contact-detail-label {
    font-size: 12px;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

/* CONTACT FORM CARD */
.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 24px;
}

.social-row {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--off-white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-btn.gh:hover {
    background: #24292e;
    color: #fff;
    border-color: #24292e;
}

.social-btn.li:hover {
    background: #0077b5;
    color: #fff;
    border-color: #0077b5;
}

.social-btn.tw:hover {
    background: #1da1f2;
    color: #fff;
    border-color: #1da1f2;
}

.social-btn.em:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 48px 64px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    color: var(--gray-300);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* ═══════════════════════════════════════════
   GSAP REVEAL
   ═══════════════════════════════════════════ */
.gs-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* Touch-safe: only apply hover transforms on pointer devices */
@media (hover: hover) and (pointer: fine) {
    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: var(--border-hover);
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    .service-card:hover .service-icon-wrap {
        background: var(--accent);
        color: var(--white);
        transform: scale(1.05);
    }

    .highlight-item:hover {
        border-color: var(--border-hover);
        background: var(--blue-50);
    }

    .social-btn:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

    .number-item:hover {
        background: var(--blue-50);
    }

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

    .btn-corp.outline:hover {
        transform: translateY(-2px);
    }

    .nav-links a:hover {
        color: var(--accent);
        background: var(--blue-50);
    }
}

/* Touch devices: use active state instead of hover */
@media (hover: none) {
    .service-card:active {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        border-color: var(--border-hover);
        transition-duration: 0.15s;
    }

    .service-card:active .service-icon-wrap {
        background: var(--accent);
        color: var(--white);
    }

    .btn-corp:active {
        transform: scale(0.97);
        transition-duration: 0.1s;
    }

    .social-btn:active {
        transform: scale(0.95);
        transition-duration: 0.1s;
    }

    .highlight-item:active {
        background: var(--blue-50);
        border-color: var(--border-hover);
    }

    .number-item:active {
        background: var(--blue-50);
    }
}

/* ── TABLET (≤1024px) ── */
@media (max-width: 1024px) {

    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .number-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .number-item:nth-child(2) {
        border-right: none;
    }

    .hero {
        padding: 140px 32px 80px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-visual {
        max-width: 520px;
        margin: 0 auto;
    }

    .float-card {
        display: none;
    }

    /* Smaller reveal on tablet */
    .gs-reveal {
        transform: translateY(20px);
    }
}

/* ── MOBILE (≤768px) ── */
@media (max-width: 768px) {
    .navbar {
        padding: 14px 24px;
    }

    .navbar.scrolled {
        padding: 12px 24px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 100px 24px 40px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 14px 16px;
        font-size: 16px;
        border-radius: var(--radius-sm);
    }

    .nav-links a:active {
        background: var(--blue-50);
        color: var(--accent);
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 8px;
        padding: 14px 20px;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 80px 24px;
    }

    .section-inner {
        padding: 0 24px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .section-header p {
        font-size: 15px;
    }

    .hero {
        padding: 120px 24px 60px;
    }

    .hero-text h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .hero-text p {
        font-size: 15px;
    }

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

    .hero-actions .btn-corp {
        width: 100%;
        justify-content: center;
    }

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

    /* Terminal responsive */
    .terminal-body {
        padding: 20px 16px;
        min-height: 200px;
    }

    .t-line {
        font-size: 12px;
        line-height: 1.8;
    }

    .t-out {
        font-size: 11px !important;
    }

    .services-grid,
    .skills-grid,
    .about-highlights {
        grid-template-columns: 1fr;
    }

    .number-strip {
        grid-template-columns: 1fr 1fr;
    }

    .number-value {
        font-size: 32px;
    }

    .number-item {
        padding: 32px 16px;
    }

    /* About section mobile */
    .about-image img {
        height: 280px;
    }

    .about-content h3 {
        font-size: 24px;
    }

    /* Service cards mobile */
    .service-card {
        padding: 28px 24px;
    }

    /* Contact mobile */
    .contact-card {
        padding: 28px 20px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    footer {
        padding: 32px 24px;
    }

    /* Smaller reveal on mobile */
    .gs-reveal {
        transform: translateY(16px);
    }
}

/* ── SMALL MOBILE (≤480px) ── */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 16px;
    }

    .hero {
        padding: 110px 16px 48px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    section {
        padding: 60px 16px;
    }

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

    .section-header h2 {
        font-size: 26px;
    }

    .terminal-body {
        padding: 16px 12px;
    }

    .t-line {
        font-size: 11px;
    }

    .number-strip {
        grid-template-columns: 1fr;
    }

    .number-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 24px 16px;
    }

    .number-item:last-child {
        border-bottom: none;
    }
}

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

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

    .gs-reveal {
        opacity: 1;
        transform: none;
    }

    .hero-text,
    .hero-visual {
        opacity: 1;
        transform: none;
    }

    .float-card {
        animation: none;
    }
}

/* ═══════════════════════════════════════════
   PERSONAL CORNER — KEӨDİMDEN BİR KÖŞE
   ═══════════════════════════════════════════ */
.personal-section {
    padding: 110px 0 0;
}

.personal-section .section-header {
    padding: 0 64px;
    max-width: 1200px;
    margin: 0 auto 0;
}

.personal-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.p-card {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.p-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.6s ease;
}

.p-card:hover .p-card-bg {
    transform: scale(1.03);
}

.p-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.p-card--music .p-card-overlay {
    background: linear-gradient(135deg, rgba(15, 10, 5, 0.82) 0%, rgba(40, 20, 10, 0.7) 100%);
}

.p-card--book .p-card-overlay {
    background: linear-gradient(135deg, rgba(10, 8, 5, 0.78) 0%, rgba(30, 20, 10, 0.65) 100%);
}

.p-card--place .p-card-overlay {
    background: linear-gradient(135deg, rgba(5, 20, 35, 0.65) 0%, rgba(10, 30, 50, 0.5) 100%);
}

.p-card--hobbies .p-card-overlay {
    background: linear-gradient(135deg, rgba(10, 8, 5, 0.8) 0%, rgba(25, 15, 8, 0.7) 100%);
}

.p-card-content {
    position: relative;
    z-index: 2;
    padding: 60px 64px;
    max-width: 680px;
    opacity: 0;
}

.p-card:nth-child(odd) .p-card-content {
    margin-left: auto;
    text-align: right;
    transform: translateX(60px);
}

.p-card:nth-child(even) .p-card-content {
    transform: translateX(-60px);
}

.p-card-emoji {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
}

.p-card-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 10px;
}

.p-card-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.p-card-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    margin-bottom: 16px;
}

.p-card-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.p-card-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.p-card:nth-child(odd) .p-card-tags {
    justify-content: flex-end;
}

.p-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

/* Music play indicator */
.music-indicator {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
    margin-bottom: 16px;
}

.music-bar {
    width: 3px;
    background: var(--blue-400);
    border-radius: 2px;
    animation: musicPulse 1.2s ease-in-out infinite;
}

.music-bar:nth-child(1) {
    height: 60%;
    animation-delay: 0s;
}

.music-bar:nth-child(2) {
    height: 100%;
    animation-delay: 0.2s;
}

.music-bar:nth-child(3) {
    height: 40%;
    animation-delay: 0.4s;
}

.music-bar:nth-child(4) {
    height: 80%;
    animation-delay: 0.1s;
}

.music-bar:nth-child(5) {
    height: 50%;
    animation-delay: 0.3s;
}

.music-indicator.paused .music-bar {
    animation-play-state: paused;
}

@keyframes musicPulse {

    0%,
    100% {
        transform: scaleY(0.3);
    }

    50% {
        transform: scaleY(1);
    }
}

/* Personal section responsive */
@media (max-width: 768px) {
    .personal-section .section-header {
        padding: 0 24px;
    }

    .p-card {
        min-height: 360px;
    }

    .p-card-content {
        padding: 40px 24px;
        max-width: 100%;
    }

    .p-card:nth-child(odd) .p-card-content,
    .p-card:nth-child(even) .p-card-content {
        text-align: left;
        margin-left: 0;
    }

    .p-card:nth-child(odd) .p-card-tags {
        justify-content: flex-start;
    }

    .p-card-title {
        font-size: 24px;
    }

    .p-card-desc {
        font-size: 14px;
    }
}
