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

:root {
    /* Palette Bleu/Noir Harmonieuse */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #1e40af;
    --accent: #0ea5e9;
    
    /* Noirs et Gris */
    --black: #000000;
    --dark: #0a0a0a;
    --dark-light: #1a1a1a;
    --gray-dark: #2a2a2a;
    --gray: #64748b;
    --gray-light: #94a3b8;
    
    /* Clairs */
    --light: #f1f5f9;
    --light-blue: #e0f2fe;
    --white: #ffffff;
    
    /* Gradients */
    --gradient: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1e40af 100%);
    --gradient-light: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-blue: 0 10px 40px rgba(59, 130, 246, 0.3);
}

html {
    scroll-behavior: smooth;
}

/* iOS Viewport Fix */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    /* iOS Optimizations */
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.03em;
    transition: color 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray);
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.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);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--dark);
    padding: 10rem 3rem 6rem;
    overflow: hidden;
}

#particlesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    z-index: 1;
    opacity: 0.4;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: float 25s infinite ease-in-out;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    bottom: 10%;
    left: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    top: 30%;
    right: 20%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(40px, 40px) scale(1.05);
    }
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-content {
    text-align: left;
    flex: 1;
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.greeting {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.name {
    display: block;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
    letter-spacing: -0.04em;
    line-height: 1;
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 50px rgba(96, 165, 250, 0.8));
    }
}

.hero-subtitle {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--gray-light);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
    max-width: 550px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
}

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(12px); }
}

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

/* Sections */
section {
    padding: 8rem 3rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: -0.03em;
}

.skills .section-title,
.contact .section-title {
    color: var(--white);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    animation: blobMove 15s infinite ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    top: -200px;
    right: -200px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    bottom: -150px;
    left: -150px;
    animation-delay: 7s;
}

@keyframes blobMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-text.revealed {
    opacity: 1;
    transform: translateY(0);
}

.about-content {
    display: grid;
    gap: 3rem;
}

.about-text {
    font-size: 1.125rem;
    color: var(--gray);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    background: transparent;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: var(--light);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.stat-label {
    display: block;
    color: var(--gray);
    font-size: 1rem;
    font-weight: 400;
}

/* Skills Section */
.skills {
    background: var(--dark);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--dark-light);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.skill-category.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-blue);
    border-color: var(--primary);
    background: var(--gray-dark);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    padding: 0.6rem 1.2rem;
    background: var(--gray-dark);
    color: var(--primary-light);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.3);
    opacity: 0;
    transform: scale(0.8);
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-icon {
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.skill-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    background: var(--gradient);
    color: var(--white);
    border-color: var(--primary);
}

.skill-tag:hover .skill-icon {
    transform: scale(1.3) rotate(10deg);
}

/* Projects Section */
.projects {
    background: var(--white);
}

/* Timeline Style */
.projects-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Ligne centrale verticale */
.projects-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    animation: drawLine 1.5s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes drawLine {
    to {
        height: 100%;
    }
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem;
    margin-bottom: 3rem;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation states */
.timeline-left {
    transform: translateX(-50px);
}

.timeline-right {
    transform: translateX(50px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-left {
    left: 0;
    padding-right: 4rem;
}

.timeline-right {
    left: 50%;
    padding-left: 4rem;
}

/* Animation pour les dots */
.timeline-dot {
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.timeline-item.visible .timeline-dot {
    opacity: 1;
    transform: scale(1);
}

/* Point sur la timeline */
.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 3px solid var(--white);
    border-radius: 50%;
    top: 3rem;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
    z-index: 2;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.timeline-item.visible .timeline-dot {
    opacity: 1;
    transform: scale(1);
}

.timeline-left .timeline-dot {
    right: -8px;
}

.timeline-right .timeline-dot {
    left: -8px;
}

.project-card {
    width: 100%;
    position: relative;
}



.project-image {
    height: 250px;
    background: var(--dark-light);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(30, 64, 175, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-link {
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid var(--white);
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.05);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.project-info p {
    color: var(--gray-light);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.project-tags span {
    padding: 0.4rem 1rem;
    background: var(--dark-light);
    color: var(--primary-light);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Contact Section - macOS Style */
.contact {
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
    position: relative;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray);
    margin: -2rem auto 4rem;
    max-width: 600px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Card - Glassmorphism */
.contact-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}

.contact-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(59, 130, 246, 0.2);
    position: relative;
}

.contact-avatar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.contact-header-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.contact-header-info p {
    font-size: 0.875rem;
    color: var(--gray);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.method-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.method-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.method-label {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.method-value {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 500;
}

/* Contact Form - macOS Style */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 0.01em;
}

.contact-form input,
.contact-form textarea {
    padding: 0.875rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.8);
    color: var(--dark);
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Skill Modal */
.skill-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.skill-modal.active {
    display: flex;
}

.skill-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.skill-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.skill-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.skill-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.skill-modal-header {
    padding: 3rem 2.5rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-radius: 24px 24px 0 0;
}

.skill-modal-icon {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.skill-modal-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.skill-modal-body {
    padding: 2.5rem;
}

.skill-modal-body p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 2rem;
}

.skill-modal-details {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.skill-modal-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.skill-modal-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-modal-details li {
    padding: 0.75rem 0;
    color: var(--gray);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.skill-modal-details li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--gray-light);
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

/* Responsive - iOS Style */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    /* Empêcher le défilement horizontal */
    * {
        max-width: 100%;
    }

    .container {
        max-width: 100%;
        overflow-x: hidden;
    }

    section {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-container {
        padding: 1rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo {
        flex: 1;
    }
    
    .language-selector {
        margin-right: 0.75rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(40px) saturate(180%);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
        padding: 6rem 2rem 2rem;
        gap: 0;
        justify-content: flex-start;
    }

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

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        font-size: 1.125rem;
        font-weight: 400;
        padding: 0.75rem 0;
        display: block;
    }

    .hero {
        padding: 7rem 1.5rem 4rem;
        min-height: 100svh;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .hero-wrapper {
        gap: 3rem;
        max-width: 100%;
    }

    .floating-shapes {
        max-width: 100vw;
        overflow: hidden;
    }

    .hero-content {
        max-width: 100%;
    }

    .greeting {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .name {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: clamp(1.25rem, 6vw, 1.75rem);
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 1rem;
        border-radius: 12px;
        font-size: 1rem;
    }

    section {
        padding: 5rem 1.5rem;
    }

    .section-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 3rem;
    }

    .about-text {
        font-size: 1rem;
        text-align: left;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem 0.75rem;
        border-radius: 12px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    /* Style mobile pour les compétences - Liste verticale */
    .skills-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .skill-category {
        padding: 1.5rem;
        border-radius: 16px;
        background: linear-gradient(135deg, var(--dark-light) 0%, var(--gray-dark) 100%);
    }

    .skill-category h3 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
        text-align: center;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    }

    .skill-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .skill-tag {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
        gap: 0.5rem;
        flex-direction: column;
        text-align: center;
        background: var(--dark);
        border-radius: 12px;
        justify-content: center;
        min-height: 80px;
    }

    .skill-icon {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }

    .skill-tag:hover {
        transform: scale(1.05);
    }

    /* Timeline mobile - tout centré */
    .projects-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding: 0 0 0 3rem;
    }
    
    .timeline-left,
    .timeline-right {
        padding-left: 3rem;
        padding-right: 0;
    }
    
    .timeline-dot {
        left: 12px !important;
        right: auto !important;
    }

    .project-card {
        border-radius: 16px;
    }

    .project-info {
        padding: 1.5rem;
    }

    .project-info h3 {
        font-size: 1.25rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-card {
        position: relative;
        top: 0;
    }

    .contact-card-header {
        flex-direction: column;
        text-align: center;
    }

    .contact-avatar {
        width: 80px;
        height: 80px;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    /* Skill Modal Mobile */
    .skill-modal {
        padding: 1rem;
    }

    .skill-modal-content {
        max-height: 90vh;
        border-radius: 20px;
    }

    .skill-modal-header {
        padding: 2rem 1.5rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .skill-modal-icon {
        font-size: 2.5rem;
        padding: 0.75rem;
    }

    .skill-modal-header h3 {
        font-size: 1.5rem;
    }

    .skill-modal-body {
        padding: 1.5rem;
    }

    .skill-modal-body p {
        font-size: 1rem;
    }

    .skill-modal-details {
        padding: 1rem;
    }

    .skill-modal-close {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }

    .hero-profile-img {
        width: 280px;
        border-radius: 16px;
    }

    .category-title {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }



    /* iOS Safe Area */
    .navbar {
        padding-top: env(safe-area-inset-top);
    }

    .hero {
        padding-bottom: env(safe-area-inset-bottom);
    }

    /* iOS Smooth Scrolling */
    * {
        -webkit-overflow-scrolling: touch;
    }

    /* iOS Tap Highlight */
    a, button {
        -webkit-tap-highlight-color: rgba(59, 130, 246, 0.1);
    }
}

/* Duplicate removed - using main definition above */

.project-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #1e3a8a 100%);
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

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

.project-card[data-tilt] {
    transition: transform 0.3s ease;
}

.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
    filter: blur(10px);
}

/* Project Categories */
.project-category {
    margin-bottom: 4rem;
}

.project-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 1rem;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.category-icon {
    font-size: 1.75rem;
}

.projects {
    background: #000000;
}

.section-title {
    color: #ffffff;
}

.project-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.hero-image-container {
    flex-shrink: 0;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
    position: relative;
}

/* Overlay de protection pour l'image */
.hero-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent;
}

.hero-image-container img {
    position: relative;
    z-index: 0;
}

.hero-profile-img {
    width: 400px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    opacity: 0.9;
    /* Protection contre le téléchargement */
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.hero-profile-img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.hero-image-container {
    pointer-events: auto;
}

@media (max-width: 968px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-container {
        display: none;
    }

    .hero-profile-img {
        width: 200px;
    }
}

/* Tablet Optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        padding: 1.25rem 2rem;
    }

    .hero {
        padding: 8rem 2rem 5rem;
    }

    .hero-wrapper {
        gap: 4rem;
    }

    section {
        padding: 6rem 2rem;
    }

    .container {
        max-width: 100%;
        padding: 0 2rem;
    }

    /* Timeline tablette - garder le style timeline */
    .projects-timeline::before {
        left: 50%;
    }
    
    .timeline-item {
        width: 50%;
    }

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(59, 130, 246, 0.5);
    display: none;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.logo {
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .logo-img {
        display: block;
    }
}

.project-card {
    background: var(--dark);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.15);
    width: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.timeline-item.visible .project-card {
    opacity: 1;
    transform: scale(1);
}

.project-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.25);
    border-color: var(--primary);
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s;
}

.form-status.loading {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary-light);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.form-status.success {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}


/* Language Selector */
.language-selector {
    position: relative;
    z-index: 1002;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--dark);
}

.lang-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
}

.lang-btn.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
}

.lang-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.lang-code {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.lang-arrow {
    transition: transform 0.2s ease;
}

.lang-btn.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    min-width: 160px;
    overflow: hidden;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--dark);
    transition: all 0.15s ease;
    text-align: left;
}

.lang-option:hover {
    background: rgba(59, 130, 246, 0.1);
}

.lang-option.active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    font-weight: 600;
}

.lang-option .lang-flag {
    font-size: 1.5rem;
}

/* Mobile adjustments for language selector */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }
    
    .language-selector {
        position: static;
        margin-right: 1rem;
        order: 2;
    }
    
    .hamburger {
        order: 3;
    }
    
    .lang-btn {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }
    
    .lang-code {
        display: none;
    }
    
    .lang-arrow {
        display: none;
    }
    
    .lang-flag {
        font-size: 1.5rem;
    }
    
    .lang-dropdown {
        position: fixed;
        top: 70px;
        right: 1rem;
        left: auto;
    }
}


/* Gallery Section */
.gallery {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray);
    margin: -2rem auto 4rem;
    max-width: 600px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
}

.gallery-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gallery-zoom-btn {
    display: none;
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-image-container {
    max-width: 100%;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

/* Protected Images - Additional Protection */
.protected-img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.gallery-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

/* Mobile Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-item {
        aspect-ratio: 1;
        border-radius: 12px;
    }
    
    .gallery-zoom-btn {
        width: 50px;
        height: 50px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 16/10;
    }
}


/* App Platform Badges */
.app-platforms {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.platform-badge.android {
    background: linear-gradient(135deg, #3ddc84, #00a956);
    color: white;
}

.platform-badge.ios {
    background: var(--gray-dark);
    color: var(--gray-light);
    border: 1px dashed var(--gray);
}

.platform-badge.ios.coming-soon {
    opacity: 0.8;
}

.platform-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .app-platforms {
        flex-direction: column;
    }
    
    .platform-badge {
        justify-content: center;
        font-size: 0.8rem;
    }
}
