/* ===================== ROOT / RESET ===================== */
:root {
    --bg: #0a0c14;
    --bg-soft: #11141f;
    --card: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --text: #eef0f5;
    --muted: #9aa0b4;
    --accent: #ff4f7e;
    --accent-2: #7c5cff;
    --gradient: linear-gradient(135deg, #7c5cff 0%, #ff4f7e 100%);
    --radius: 16px;
    --font-body: 'Poppins', sans-serif;
    --font-head: 'Sora', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
}

a {
    color: inherit;
}

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

::selection {
    background: var(--accent-2);
    color: #fff;
}

/* ===================== SHARED COMPONENTS ===================== */
.section-tag {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.sub-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    max-width: 720px;
}

.section-intro {
    color: var(--muted);
    max-width: 620px;
    margin-bottom: 50px;
    font-size: 16px;
    line-height: 1.7;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 10px 30px -8px rgba(255, 79, 126, 0.55);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -8px rgba(255, 79, 126, 0.7);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--card-border);
    backdrop-filter: blur(6px);
}

.btn-outline:hover {
    border-color: var(--accent-2);
    color: #fff;
    transform: translateY(-3px);
    background: rgba(124, 92, 255, 0.12);
}

.full-width {
    width: 100%;
    justify-content: center;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-row.small .pill {
    font-size: 12px;
    padding: 6px 14px;
}

.pill {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--text);
    background: var(--card);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.pill:hover {
    border-color: var(--accent-2);
    background: rgba(124, 92, 255, 0.12);
    transform: translateY(-2px);
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 22px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 14px 0;
    background: rgba(10, 12, 20, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 22px;
    color: #fff;
}

.logo-link em {
    color: var(--accent);
    font-style: normal;
}

.logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
}

nav ul {
    display: flex;
    gap: 8px;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: #fff;
    background: var(--card);
}

.nav-cta {
    padding: 10px 24px;
    font-size: 14px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===================== HEADER / HERO ===================== */
#header {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 110px;
    overflow: hidden;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.35;
}

.glow-1 {
    width: 480px;
    height: 480px;
    background: var(--accent-2);
    top: -120px;
    right: -100px;
}

.glow-2 {
    width: 420px;
    height: 420px;
    background: var(--accent);
    bottom: -140px;
    left: -120px;
    opacity: 0.25;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--muted);
    background: var(--card);
    border: 1px solid var(--card-border);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 26px;
}

.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

.hero-text h1 {
    font-size: clamp(34px, 5.4vw, 58px);
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
    margin-bottom: 22px;
}

.hero-sub {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stats strong {
    font-family: var(--font-head);
    font-size: 28px;
    color: #fff;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-stats span {
    font-size: 13px;
    color: var(--muted);
}

/* hero visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.orbit-card {
    width: 320px;
    height: 380px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 30px 80px -20px rgba(124, 92, 255, 0.45);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.orbit-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,12,20,0) 40%, rgba(10,12,20,0.85) 100%);
}

.orbit-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-18px); }
}

.floating-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(17, 20, 31, 0.85);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 20px 45px -15px rgba(0,0,0,0.6);
    animation: float 7s ease-in-out infinite;
}

.floating-chip i {
    color: var(--accent);
}

.chip-1 { top: 8%; left: -6%; animation-delay: 0.3s; }
.chip-2 { bottom: 18%; right: -8%; animation-delay: 1.2s; }
.chip-3 { bottom: -4%; left: 12%; animation-delay: 2s; }

.scroll-cue {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--muted);
    font-size: 18px;
    border: 1px solid var(--card-border);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2.4s infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ===================== ABOUT ===================== */
.about {
    padding: 130px 0 100px;
}

.about-row {
    margin-top: 50px;
    align-items: flex-start;
}

.about-col-1 {
    flex: 0 0 340px;
}

.about-img-frame {
    border-radius: 24px;
    padding: 6px;
    background: var(--gradient);
}

.about-img-frame img {
    border-radius: 20px;
    width: 100%;
    display: block;
}

.about-col-2 {
    flex: 1;
    min-width: 320px;
}

.about-bio {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 36px;
}

.tab-titles {
    display: flex;
    gap: 14px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--card-border);
}

.tab-links {
    font-size: 16px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    padding: 0 4px 14px;
    position: relative;
}

.tab-links::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.4s ease;
}

.tab-links.active-link {
    color: #fff;
}

.tab-links.active-link::after {
    width: 100%;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.skill-block {
    margin-bottom: 26px;
}

.skill-block h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-block h4 i {
    color: var(--accent);
}

.timeline-list {
    list-style: none;
}

.timeline-list li {
    display: flex;
    gap: 22px;
    padding: 16px 0;
    border-bottom: 1px solid var(--card-border);
    color: var(--muted);
    line-height: 1.6;
}

.timeline-list li:last-child {
    border-bottom: none;
}

.timeline-year {
    flex: 0 0 110px;
    font-weight: 600;
    color: var(--accent);
    font-size: 14px;
}

.timeline-list strong {
    color: #fff;
}

.lang-block {
    margin-top: 28px;
}

.lang-block h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-block h4 i {
    color: var(--accent);
}

/* ===================== PORTFOLIO ===================== */
#portfolio {
    padding: 100px 0;
    background: var(--bg-soft);
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 30px;
}

.work {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.work:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 92, 255, 0.4);
    box-shadow: 0 30px 60px -25px rgba(124, 92, 255, 0.4);
}

.work-visual {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.work-visual i {
    font-size: 64px;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.5s ease;
}

.work:hover .work-visual i {
    transform: scale(1.15) rotate(-4deg);
}

.work-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.work:hover .work-visual img {
    transform: scale(1.08);
}

.visual-rag { background: linear-gradient(135deg, #1f2b6c, #0095ff); }
.visual-agent { background: linear-gradient(135deg, #7a2e0e, #ff7a18); }
.visual-memory { background: linear-gradient(135deg, #0f3d3e, #16c79a); }
.visual-graph { background: linear-gradient(135deg, #3a1c71, #d76d77); }
.visual-local { background: linear-gradient(135deg, #16222a, #3a6073); }
.visual-journey { background: linear-gradient(135deg, #3a3a3a, #ffb347); }
.visual-presshop { background: #11141f; }

.work-body {
    padding: 28px 26px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.work-tag {
    align-self: flex-start;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent);
    background: rgba(255, 79, 126, 0.12);
    padding: 6px 14px;
    border-radius: 50px;
}

.work-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

.work-body p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
    flex: 1;
}

.work-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    padding-top: 6px;
    border-top: 1px solid var(--card-border);
    margin-top: 4px;
    transition: color 0.3s ease, gap 0.3s ease;
}

.work-link:hover {
    color: var(--accent);
    gap: 14px;
}

.see-more-btn {
    display: flex;
    width: fit-content;
    margin: 60px auto 0;
}

/* ===================== EXPERIENCE / TIMELINE ===================== */
#experience {
    padding: 100px 0;
}

.timeline {
    margin-top: 50px;
    position: relative;
}

.timeline-node {
    display: flex;
    gap: 28px;
    position: relative;
}

.timeline-dot {
    flex: 0 0 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 12px 30px -8px rgba(255, 79, 126, 0.6);
}

.timeline-card {
    flex: 1;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 32px;
}

.timeline-card-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.timeline-card-head h3 {
    font-size: 21px;
    font-weight: 600;
    color: #fff;
}

.timeline-date {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(255, 79, 126, 0.12);
    padding: 6px 14px;
    border-radius: 50px;
    white-space: nowrap;
}

.timeline-company {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.timeline-card ul {
    color: var(--muted);
    line-height: 1.8;
    padding-left: 20px;
}

.timeline-card ul li {
    margin-bottom: 10px;
}

.timeline-card ul strong {
    color: #fff;
}

.exp-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.exp-badge {
    font-size: 12px;
    font-weight: 600;
    color: #5be38a;
    background: rgba(91, 227, 138, 0.12);
    border: 1px solid rgba(91, 227, 138, 0.25);
    padding: 5px 14px;
    border-radius: 50px;
}

.exp-badge-note {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

.client-block {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
}

.client-block-title {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 18px;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 16px;
}

.client-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-left: 3px solid var(--accent-2);
    border-radius: 12px;
    padding: 16px 18px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.client-card:hover {
    border-color: rgba(124, 92, 255, 0.4);
    border-left-color: var(--accent);
    transform: translateY(-3px);
}

.client-card strong {
    display: block;
    color: #fff;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.client-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

/* ===================== CONTACT ===================== */
#contact {
    padding: 100px 0 0;
    background: var(--bg-soft);
}

.contact-row {
    margin-top: 50px;
    align-items: flex-start;
}

.contact-left {
    flex: 1;
    min-width: 300px;
}

.contact-lead {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 440px;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 16px;
}

.contact-line i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 15px;
}

.social-icons {
    display: flex;
    gap: 14px;
    margin: 28px 0 30px;
}

.social-icons a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-4px);
}

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

.contact-right {
    flex: 1;
    min-width: 300px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 34px;
}

.contact-right form input,
.contact-right form textarea {
    width: 100%;
    border: 1px solid var(--card-border);
    outline: none;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 18px;
    margin-bottom: 16px;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-right form input::placeholder,
.contact-right form textarea::placeholder {
    color: var(--muted);
}

.contact-right form input:focus,
.contact-right form textarea:focus {
    border-color: var(--accent-2);
    background: rgba(124, 92, 255, 0.08);
}

#msg {
    color: #5be38a;
    margin-top: 14px;
    display: block;
    font-size: 14px;
    font-weight: 500;
}

.copyright {
    margin-top: 80px;
    text-align: center;
    padding: 26px 0;
    border-top: 1px solid var(--card-border);
    color: var(--muted);
    font-size: 14px;
}

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

/* --- Tablet (980px) --- */
@media only screen and (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 40px; min-height: 360px; }
    .eyebrow { margin-left: auto; margin-right: auto; }
    .about { padding: 100px 0 80px; }
    .about-row { flex-direction: column; align-items: center; text-align: left; }
    .about-col-1 { flex: none; width: 100%; max-width: 320px; }
    .about-col-2 { min-width: unset; width: 100%; }
    .contact-row { flex-direction: column; }
    .contact-left, .contact-right { min-width: unset; width: 100%; }
}

/* --- Large phones / small tablets (760px) --- */
@media only screen and (max-width: 760px) {
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 12, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 28px 40px;
        gap: 8px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--card-border);
        z-index: 1000;
    }
    nav ul.active { right: 0; }
    nav ul li { width: 100%; }
    nav ul li a { display: block; font-size: 16px; padding: 12px 16px; border-radius: 12px; }
    .hamburger { display: flex; }
    .nav-cta { display: none; }
    .floating-chip { display: none; }
    .orbit-card { width: 240px; height: 290px; }
    .hero-visual { min-height: 300px; }
    .about { padding: 80px 0 60px; }
    #portfolio { padding: 80px 0; }
    #experience { padding: 80px 0; }
    #contact { padding: 80px 0 0; }
    .work-list { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
}

/* --- Phones (600px) --- */
@media only screen and (max-width: 600px) {
    .container { padding: 0 16px; }
    .sub-title { font-size: 26px; }
    .section-intro { font-size: 15px; margin-bottom: 36px; }
    .hero-text h1 { font-size: 30px; }
    .hero-sub { font-size: 15px; }
    .hero-stats { gap: 22px; }
    .hero-stats strong { font-size: 24px; }
    #header { padding-top: 100px; padding-bottom: 40px; }
    .about { padding: 70px 0 50px; }
    #portfolio { padding: 70px 0; }
    #experience { padding: 70px 0; }
    #contact { padding: 70px 0 0; }
    .timeline-node { flex-direction: column; }
    .timeline-dot { width: 46px; height: 46px; font-size: 17px; margin: 0 auto; }
    .timeline-card { padding: 22px 18px; }
    .timeline-card-head { flex-direction: column; gap: 8px; }
    .timeline-card-head h3 { font-size: 17px; }
    .exp-badges { gap: 8px; }
    .exp-badge-note { font-size: 12.5px; }
    .client-grid { grid-template-columns: 1fr; gap: 14px; }
    .client-block { margin-top: 22px; padding-top: 20px; }
    .work-list { grid-template-columns: 1fr; }
    .work-visual { height: 190px; }
    .work-body { padding: 22px 20px 24px; }
    .tab-titles { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
    .tab-titles::-webkit-scrollbar { display: none; }
    .tab-links { white-space: nowrap; font-size: 15px; }
    .contact-right { padding: 24px 18px; }
    .copyright { margin-top: 60px; }
    .row { gap: 28px; }
}

/* --- Small phones (480px) --- */
@media only screen and (max-width: 480px) {
    .hero-text h1 { font-size: 26px; }
    .eyebrow { font-size: 12px; padding: 7px 14px; }
    .hero-sub { font-size: 14px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { gap: 18px; }
    .orbit-card { width: 200px; height: 240px; }
    .hero-visual { min-height: 260px; }
    .sub-title { font-size: 23px; }
    .btn { padding: 13px 24px; font-size: 14px; }
    .timeline-card ul { padding-left: 14px; }
    .resume-actions { flex-direction: column; width: 100%; }
    .resume-actions .btn { width: 100%; justify-content: center; }
    .contact-right form input,
    .contact-right form textarea { padding: 13px 14px; font-size: 13px; }
}

/* --- Very small phones (380px) --- */
@media only screen and (max-width: 380px) {
    .container { padding: 0 14px; }
    .hero-text h1 { font-size: 23px; }
    .hero-sub { font-size: 13px; }
    .hero-stats strong { font-size: 20px; }
    .sub-title { font-size: 21px; }
    .orbit-card { width: 180px; height: 210px; }
    .social-icons { gap: 10px; }
    .social-icons a { width: 40px; height: 40px; font-size: 16px; }
}

