/* ==================== ROOT & THEMES ==================== */
:root {
    /* Coral Theme (Default) */
    --primary: #ff6b6b;
    --primary-light: #ff8787;
    --primary-dark: #ee5a52;
    --accent: #ffd93d;
    
    /* Base Colors */
    --bg: #fffef9;
    --bg-secondary: #f8f7f4;
    --text: #2d3436;
    --text-secondary: #636e72;
    --text-muted: #b2bec3;
    --border: #dfe6e9;
    
    /* Spacing */
    --max-width: 1400px;
    --gap: clamp(20px, 4vw, 40px);
    
    /* Transitions */
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s ease;
    
    /* Shadows */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="mint"] {
    --primary: #00d2a0;
    --primary-light: #00f5b8;
    --primary-dark: #00b589;
    --accent: #6c5ce7;
}

[data-theme="sky"] {
    --primary: #74b9ff;
    --primary-light: #a29bfe;
    --primary-dark: #0984e3;
    --accent: #fd79a8;
}

[data-theme="dark"] {
    --primary: #fdcb6e;
    --primary-light: #ffeaa7;
    --primary-dark: #e7b85d;
    --accent: #ff7675;
    --bg: #1a1a2e;
    --bg-secondary: #16213e;
    --text: #eee;
    --text-secondary: #b8c5d6;
    --text-muted: #8892a6;
    --border: #2d3748;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s ease, color 0.3s ease;
}

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

/* ==================== NAVIGATION ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 254, 249, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition-fast);
}

[data-theme="dark"] .nav {
    background: rgba(45, 52, 54, 0.9);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

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

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text);
}

.disco-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    font-family: inherit;
}

.disco-toggle:hover {
    border-color: var(--primary);
    color: var(--text);
}

.disco-toggle.active {
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    border-color: transparent;
    color: white;
}

.disco-icon {
    font-size: 16px;
}

.disco-toggle.active .disco-icon {
    animation: spin 2s linear infinite;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
  }
  
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ==================== THEME PALETTE ==================== */
.theme-palette {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 99;
    display: flex;
    gap: 12px;
    background: var(--bg-secondary);
    padding: 12px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.palette-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.palette-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: var(--transition);
}

.palette-dot.active::after {
    border-color: currentColor;
}

.dot-coral {
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    color: #ff6b6b;
}

.dot-mint {
    background: linear-gradient(135deg, #00d2a0, #6c5ce7);
    color: #00d2a0;
}

.dot-sky {
    background: linear-gradient(135deg, #74b9ff, #fd79a8);
    color: #74b9ff;
}

.dot-dark {
    background: linear-gradient(135deg, #1a1a2e, #fdcb6e);
    color: #fdcb6e;
}

.palette-dot:hover {
    transform: scale(1.15);
}

/* ==================== HERO MAIN ==================== */
.hero-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px var(--gap) 80px;
    position: relative;
    overflow: visible;
}

.hero-wrapper {
    max-width: var(--max-width);
    width: 100%;
    overflow: visible;
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    overflow: visible;
}

/* Title Section */
.hero-title-section {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.hero-intro {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 4px;
}

.hero-main-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    font-family: 'Syne', 'Space Grotesk', sans-serif;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.heart {
    color: #000;
    font-weight: 900;
    display: inline-block;
    animation: heartPulse 3s ease-in-out infinite;
}

[data-theme="dark"] .heart {
    color: var(--primary);
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    5%, 15% { transform: scale(1.15); }
    10%, 20% { transform: scale(1); }
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 12px;
}

.apps-text {
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* APPS Theme Container */
.apps-theme-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.apps-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    padding: 8px 20px;
    border-radius: 20px;
}

.phone-icon {
    font-size: 20px;
    animation: phoneRing 2s ease-in-out infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

.apps-title {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.3px;
}

.apps-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.category-badge {
    padding: 8px 16px;
    border-radius: 18px;
    background: var(--bg-secondary);
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    letter-spacing: 0.2px;
    border: 1px solid var(--border);
    cursor: pointer;
}

.category-badge:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.category-badge:hover .category-letter {
    transform: scale(1.15);
}

.category-letter {
    font-weight: 800;
    font-size: 1.15em;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary);
    margin-right: 1px;
    display: inline-block;
    transition: var(--transition-fast);
}

.category-badge:hover .category-letter {
    color: white;
}

/* Remove old duplicate styles */

.hero-tagline {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.underline-text {
    position: relative;
    color: var(--text);
    font-weight: 600;
}

.underline-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--accent);
    opacity: 0.3;
    z-index: -1;
}

/* ==================== PHONE SHOWCASE ==================== */
.phone-showcase-center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 550px;
    margin-bottom: 60px;
}

.featured-phone {
    position: relative;
    z-index: 10;
}

.phone-device {
    animation: fadeIn 1s ease 0.4s both;
}

.phone-frame {
    width: 260px;
    height: 520px;
    background: #000;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: var(--transition);
}

.phone-frame:hover {
    transform: scale(1.02);
}

.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #000;
    border-radius: 0 0 14px 14px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
        height: 100%;
    background: white;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
}

/* Info Cards (Floating) */
.info-card {
    position: absolute;
    background: var(--bg-secondary);
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
    z-index: 20;
    border: 1px solid var(--border);
}

[data-theme="dark"] .info-card {
    background: var(--bg-secondary);
    border-color: var(--border);
}

.info-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: var(--shadow-lg);
    z-index: 25;
}

.card-1 {
    top: 40px;
    left: -130px;
    animation-delay: 0s;
}

.card-2 {
    top: 10px;
    right: -140px;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 100px;
    right: -130px;
    animation-delay: 3s;
}

.card-4 {
    bottom: 60px;
    left: -120px;
    animation-delay: 4.5s;
}

.card-emoji {
    font-size: 28px;
}

.card-text strong {
    display: block;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 2px;
}

.card-text span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Phone Navigation */
.phone-nav {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.phone-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.phone-nav-dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 5px;
}

.phone-nav-dot:hover {
    background: var(--primary);
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    animation: bounce 2s infinite;
    z-index: 5;
}

.scroll-hint svg {
    animation: bounce 2s infinite;
}

/* ==================== WORK SECTION ==================== */
.work-section {
    padding: 120px var(--gap);
    background: var(--bg-secondary);
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    font-family: 'Syne', 'Space Grotesk', sans-serif;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.title-underline {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 12px;
    color: var(--accent);
    opacity: 0.6;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.work-card {
    background: var(--bg);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.work-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--text);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.work-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work-card:hover .work-image img {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-overlay i {
    font-size: 48px;
    color: white;
}

.work-content {
    padding: 24px;
}

.work-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.work-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.work-tags span {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.work-card-more {
    background: var(--primary);
    border-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-content {
    text-align: center;
    color: white;
    padding: 60px 40px;
}

.more-content i {
    font-size: 64px;
    margin-bottom: 20px;
}

.more-content h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.more-content p {
    font-size: 16px;
    opacity: 0.9;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: 120px var(--gap);
    background: var(--bg);
}

.about-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
}

.about-image-side {
    position: sticky;
    top: 120px;
}

.profile-image {
    position: relative;
}

.profile-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.image-decoration {
        position: absolute;
    inset: -10px;
    border: 3px solid var(--primary);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.about-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 32px 0;
}

.about-text p {
        margin-bottom: 20px;
    }

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

.highlight-inline {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 85%;
    color: var(--text);
}

.achievement-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0;
}

.pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.pill:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.pill i {
    font-size: 18px;
    color: var(--primary);
}

.skills-compact {
    margin-top: 40px;
}

.skill-row {
    margin-bottom: 24px;
}

.skill-row h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-row p {
    font-size: 16px;
    color: var(--text);
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 80px var(--gap) 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content {
        text-align: center;
    }

.footer-content h3 {
    font-size: 36px;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    margin-bottom: 16px;
}

.footer-content > p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.footer-links {
    display: flex;
      justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.footer-links i {
    font-size: 20px;
}

.footer-note {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Disco Mode Effects - Futuristic & Techno */
body.disco-mode {
    /* Don't change background - keep it light unless dark theme */
    animation: none;
}

body.disco-mode:not([data-theme="dark"]) {
    background: var(--bg);
}

body.disco-mode[data-theme="dark"] {
    background: linear-gradient(135deg, 
        #0f0f23 0%, 
        #1a1a2e 50%, 
        #0f0f23 100%);
    background-size: 200% 200%;
    animation: technoGradient 10s ease infinite;
}

body.disco-mode .phone-frame {
    animation: technoGlow 3s ease-in-out infinite;
}

body.disco-mode .hero-main-title {
    animation: technoTextGlow 3s ease-in-out infinite;
}

body.disco-mode .info-card {
    animation: technoFloat 3s ease-in-out infinite;
}

body.disco-mode .category-letter {
    animation: technoFlicker 2s ease-in-out infinite;
}

body.disco-mode .apps-header {
    animation: technoGlow 3s ease-in-out infinite;
}

body.disco-mode .category-badge {
    animation: technoPillGlow 3s ease-in-out infinite;
}

body.disco-mode .section-title {
    animation: technoTextGlow 3s ease-in-out infinite;
}

/* Disco mode for work cards */
body.disco-mode .work-card {
    animation: technoCardPulse 3s ease-in-out infinite;
}

/* Disco mode for about section */
body.disco-mode .profile-image img {
    animation: technoGlow 3s ease-in-out infinite;
}

body.disco-mode .pill {
    animation: technoPillGlow 3s ease-in-out infinite;
}

body.disco-mode .timeline-item {
    animation: technoCardPulse 3s ease-in-out infinite;
}

/* Only add dark backgrounds in dark theme */
body.disco-mode[data-theme="dark"] .work-section,
body.disco-mode[data-theme="dark"] .about-section,
body.disco-mode[data-theme="dark"] .experience-section {
    background: rgba(15, 15, 35, 0.5);
    position: relative;
}

body.disco-mode[data-theme="dark"] .work-section::before,
body.disco-mode[data-theme="dark"] .about-section::before,
body.disco-mode[data-theme="dark"] .experience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: technoPulseBackground 6s ease-in-out infinite;
}

@keyframes technoGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes technoGlow {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.4),
                    0 20px 60px rgba(0, 0, 0, 0.3);
    }
    50% { 
        box-shadow: 0 0 50px rgba(138, 43, 226, 0.6),
                    0 20px 60px rgba(0, 0, 0, 0.3);
    }
}

@keyframes technoTextGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(138, 43, 226, 0.5);
    }
}

@keyframes technoFloat {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
    }
    50% {
        transform: translateY(-8px);
        box-shadow: 0 8px 30px rgba(138, 43, 226, 0.3);
    }
}

@keyframes technoFlicker {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    }
    50% {
        opacity: 0.8;
        text-shadow: 0 0 10px rgba(138, 43, 226, 0.7);
    }
}

@keyframes technoCardPulse {
    0%, 100% {
        box-shadow: var(--shadow);
        border-color: var(--border);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
        border-color: rgba(0, 255, 255, 0.3);
    }
}

@keyframes technoPillGlow {
    0%, 100% {
        box-shadow: none;
        border-color: var(--border);
    }
    50% {
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
        border-color: rgba(0, 255, 255, 0.4);
    }
}

@keyframes technoPulseBackground {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .hero-wrapper {
        gap: 30px;
    }
    
    .hero-center {
        gap: 30px;
    }
    
    .phone-showcase-center {
        min-height: 480px;
    }
    
    .info-card {
        display: none;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-side {
        position: static;
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 16px 24px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        padding: 80px 24px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        align-items: flex-start;
        gap: 24px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .theme-palette {
        bottom: 24px;
        right: 24px;
        gap: 8px;
        padding: 10px;
    }
    
    .palette-dot {
        width: 28px;
        height: 28px;
    }
    
    .hero-main {
        padding: 100px 24px 60px;
    }
    
    .hero-center {
        gap: 25px;
    }
    
    .hero-main-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 13px;
    }
    
    .apps-theme-container {
        gap: 10px;
    }

    .apps-header {
        font-size: 13px;
        padding: 6px 16px;
    }

    .phone-icon {
        font-size: 18px;
    }

    .apps-categories {
        gap: 8px;
    }

    .category-badge {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .phone-showcase-center {
        min-height: 400px;
    }
    
    .phone-frame {
        width: 220px;
        height: 440px;
    }
    
    .work-section,
    .about-section {
        padding: 80px 24px;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-pills {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 12px;
    }

    .apps-theme-container {
        gap: 8px;
    }

    .apps-header {
        font-size: 12px;
        padding: 5px 14px;
    }

    .phone-icon {
        font-size: 16px;
    }

    .apps-categories {
        gap: 6px;
    }

    .category-badge {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .phone-frame {
        width: 180px;
        height: 360px;
    }

    .phone-notch {
        width: 70px;
        height: 18px;
        top: 12px;
    }
}
