/* ===== CSS Variables ===== */
:root {
    --bg-primary: #1a1412;
    --bg-secondary: #231c19;
    --bg-card: #2d2420;
    --bg-card-hover: #3d322c;

    --text-primary: #faf8f7;
    --text-secondary: #b8a99e;
    --text-muted: #8a7a6e;

    --accent-primary: #f59e0b;
    --accent-secondary: #ea580c;
    --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);

    --android-green: #3ddc84;
    --ios-gray: #a8a29e;
    --security-red: #ef4444;
    --tools-orange: #f97316;
    --multiplatform-blue: #06b6d4;
    --architecture-purple: #a855f7;

    --border-color: #4a3f38;
    --shadow-color: rgba(0, 0, 0, 0.4);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Light Theme ===== */
[data-theme="light"] {
    --bg-primary: #faf8f7;
    --bg-secondary: #f0ebe8;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f2f0;

    --text-primary: #1a1412;
    --text-secondary: #5c4d42;
    --text-muted: #8a7a6e;

    --border-color: #e0d6cf;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    border-bottom-color: var(--border-color);
    background: rgba(10, 10, 15, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right var(--transition-normal);
}

.nav-menu.active {
    right: 0;
}

.nav-link {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Animated Gradient Mesh Background */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(245, 158, 11, 0.15), transparent),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(234, 88, 12, 0.1), transparent),
        radial-gradient(ellipse 50% 40% at 50% 80%, rgba(168, 85, 247, 0.08), transparent);
    animation: gradientShift 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    33% {
        opacity: 0.8;
        transform: scale(1.1) rotate(1deg);
    }
    66% {
        opacity: 0.9;
        transform: scale(1.05) rotate(-1deg);
    }
}

/* Floating orbs for added depth */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.15);
    top: 10%;
    right: 10%;
    animation: floatOrb 20s ease-in-out infinite;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(234, 88, 12, 0.1);
    bottom: 20%;
    left: 5%;
    animation: floatOrb 25s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(168, 85, 247, 0.08);
    top: 50%;
    left: 40%;
    animation: floatOrb 18s ease-in-out infinite 2s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-text {
    z-index: 1;
}

.hero-greeting {
    font-size: 1rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.hero-name {
    font-size: clamp(2.5rem, 10vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-wrapper {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-title {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #22c55e;
    padding: 6px 12px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(34, 197, 94, 0.3);
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--accent-primary);
}

/* ===== Phone Mockup ===== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a24;
    border-radius: 40px;
    padding: 12px;
    border: 3px solid #2a2a3a;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #0a0a0f;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0d0d12;
    border-radius: 28px;
    overflow: hidden;
}

.app-header {
    padding: 8px 16px;
    padding-top: 36px;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.status-icons {
    display: flex;
    gap: 4px;
}

.signal, .wifi, .battery {
    width: 18px;
    height: 12px;
    background: var(--text-primary);
    border-radius: 2px;
}

.battery {
    width: 24px;
    border-radius: 3px;
    position: relative;
}

.battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 3px;
    width: 2px;
    height: 6px;
    background: var(--text-primary);
    border-radius: 0 2px 2px 0;
}

.app-content {
    padding: 24px 16px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
}

.code-line {
    white-space: nowrap;
    animation: typeIn 0.5s ease forwards;
    opacity: 0;
}

.code-line:nth-child(1) { animation-delay: 0.2s; }
.code-line:nth-child(2) { animation-delay: 0.4s; }
.code-line:nth-child(3) { animation-delay: 0.6s; }
.code-line:nth-child(4) { animation-delay: 0.8s; }
.code-line:nth-child(5) { animation-delay: 1s; }
.code-line:nth-child(6) { animation-delay: 1.2s; }
.code-line:nth-child(7) { animation-delay: 1.4s; }
.code-line:nth-child(8) { animation-delay: 1.6s; }
.code-line:nth-child(9) { animation-delay: 1.8s; }

@keyframes typeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.indent { padding-left: 20px; }
.indent-2 { padding-left: 40px; }

.keyword { color: #c678dd; }
.class-name { color: #e5c07b; }
.string { color: #98c379; }
.method { color: #61afef; }

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== Section Styles ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== About Section ===== */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.about-text {
    max-width: 600px;
}

.about-intro {
    font-size: 1.25rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Current Focus */
.current-focus {
    margin-top: 32px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.focus-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.focus-tags span {
    padding: 6px 12px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-primary);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.about-info-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-icon {
    font-size: 1rem;
}

.info-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ===== Skills Section ===== */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.skill-category {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.skill-category:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.skill-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.skill-icon svg {
    width: 100%;
    height: 100%;
}

.skill-icon.android {
    background: rgba(61, 220, 132, 0.15);
    color: var(--android-green);
}

.skill-icon.ios {
    background: rgba(162, 170, 173, 0.15);
    color: var(--ios-gray);
}

.skill-icon.multiplatform {
    background: rgba(6, 182, 212, 0.15);
    color: var(--multiplatform-blue);
}

.skill-icon.security {
    background: rgba(239, 68, 68, 0.15);
    color: var(--security-red);
}

.skill-icon.tools {
    background: rgba(249, 115, 22, 0.15);
    color: var(--tools-orange);
}

.skill-icon.architecture {
    background: rgba(168, 85, 247, 0.15);
    color: var(--architecture-purple);
}

.skill-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.skill-level {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-level.expert {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.skill-level.advanced {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-primary);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-list li {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.skill-list li.highlight {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-primary);
    border-color: rgba(245, 158, 11, 0.3);
    font-weight: 500;
}

/* Certifications */
.certifications {
    margin-top: 48px;
    text-align: center;
}

.subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.cert-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.cert-badge {
    padding: 10px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.cert-badge:hover {
    background: rgba(245, 158, 11, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

/* ===== Projects Section ===== */
.projects {
    background: var(--bg-secondary);
}

.projects-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-top: -32px;
    margin-bottom: 48px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.project-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.project-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.project-company {
    font-size: 0.75rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.store-link svg {
    width: 16px;
    height: 16px;
}

.store-link.android {
    background: rgba(61, 220, 132, 0.15);
    color: var(--android-green);
}

.store-link.android:hover {
    background: rgba(61, 220, 132, 0.25);
}

.store-link.ios {
    background: rgba(162, 170, 173, 0.15);
    color: var(--ios-gray);
}

.store-link.ios:hover {
    background: rgba(162, 170, 173, 0.25);
}

/* ===== Experience Section ===== */
.experience {
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.timeline-content:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
}

.timeline-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.timeline-header .company {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.timeline-header .date {
    font-size: 0.875rem;
    color: var(--accent-primary);
    font-weight: 500;
}

.timeline-content .role {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 4px;
}

.timeline-content .location {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.timeline-content .description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tags span {
    padding: 4px 10px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-primary);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
}

/* ===== Contact Section ===== */
.contact {
    text-align: center;
}

.contact-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 48px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.contact-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.15);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
}

.contact-icon.email {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-weight: 500;
    color: var(--text-primary);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== Tablet Breakpoint ===== */
@media (min-width: 640px) {
    .container {
        padding: 0 32px;
    }
    
    .nav-container {
        padding: 16px 32px;
    }
    
    .hero {
        padding: 120px 32px 80px;
    }
    
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .timeline-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* ===== Desktop Breakpoint ===== */
@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        gap: 32px;
    }
    
    .nav-link {
        font-size: 0.9375rem;
    }
    
    .hero {
        padding: 0 48px;
    }
    
    .hero-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 64px;
    }
    
    .hero-text {
        flex: 1;
    }
    
    .hero-visual {
        flex: 0 0 auto;
    }
    
    section {
        padding: 120px 0;
    }
    
    .about-content {
        flex-direction: column;
        gap: 0;
    }
    
    .about-text {
        max-width: 800px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item {
        padding-left: 0;
        width: 50%;
    }
    
    .timeline-item:nth-child(odd) {
        padding-right: 48px;
        text-align: right;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-left: 48px;
    }
    
    .timeline-item:nth-child(odd) .timeline-marker {
        left: auto;
        right: -9px;
    }
    
    .timeline-item:nth-child(even) .timeline-marker {
        left: -9px;
    }
    
    .timeline-item:nth-child(odd) .tech-tags {
        justify-content: flex-end;
    }
}

/* ===== Large Desktop ===== */
@media (min-width: 1280px) {
    .hero-name {
        font-size: 4.5rem;
    }
    
    .phone-mockup {
        width: 320px;
        height: 640px;
    }
    
    .app-content {
        font-size: 14px;
    }
}

/* ===== Theme Toggle ===== */
.theme-toggle {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    transform: scale(1.1);
    border-color: var(--accent-primary);
}

.theme-toggle svg {
    width: 22px;
    height: 22px;
    transition: transform var(--transition-normal);
}

.theme-toggle:hover svg {
    transform: rotate(15deg);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ===== Trusted By / Company Logos Section ===== */
.trusted-by {
    padding: 60px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trusted-by-title {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px 48px;
    max-width: 900px;
    margin: 0 auto;
}

.company-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.company-logo:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.company-logo-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* ===== Services Section ===== */
.services {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-primary);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags span {
    padding: 4px 10px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    position: relative;
}

.testimonial-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    padding-left: 24px;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -8px;
    font-size: 3rem;
    color: var(--accent-primary);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== Project Cards Enhancement ===== */
.project-metrics {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.metric {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.metric svg {
    width: 14px;
    height: 14px;
    color: var(--accent-primary);
}

.metric-value {
    font-weight: 600;
    color: var(--text-secondary);
}

/* ===== CV Download Button ===== */
.cv-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cv-download:hover {
    background: rgba(245, 158, 11, 0.1);
    transform: translateY(-2px);
}

.cv-download svg {
    width: 18px;
    height: 18px;
}

/* ===== Responsive Updates for New Sections ===== */
@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .theme-toggle {
        bottom: 100px;
        right: 32px;
    }

    .back-to-top {
        bottom: 32px;
        right: 32px;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero::after,
    .hero-orb {
        animation: none;
    }
}

/* ===== Selection ===== */
::selection {
    background: var(--accent-primary);
    color: var(--text-primary);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}
