/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    /* Colors (Matching MyCodeStyle Logo) */
    --color-primary: #4285F4;
    /* Logo Blue */
    --color-primary-dark: #3b71ca;
    --color-secondary: #3541ea;
    /* Logo Red */
    --color-accent: #1e05fb;
    /* Logo Yellow */
    --color-success: #4934a8;
    /* Logo Green */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
    --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #1a1a24 100%);
    --gradient-card: linear-gradient(145deg, rgba(66, 133, 244, 0.05) 0%, rgba(52, 168, 83, 0.02) 100%);

    /* Neutral Colors */
    --color-bg: #0a0a0f;
    --color-bg-secondary: #13131a;
    --color-surface: #1a1a24;
    --color-surface-hover: #24242e;
    --color-text-primary: #ffffff;
    --color-text-secondary: #a1a1aa;
    --color-text-muted: #71717a;
    --color-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(66, 133, 244, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 0.25rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--color-text-primary);
}

.logo-img {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(66, 133, 244, 0.4);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-logo:hover .logo-img {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 0 25px rgba(66, 133, 244, 0.6);
}

.nav-logo .logo-text {
    background: linear-gradient(135deg, #fff 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.4rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

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

.nav-link.active {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all var(--transition-base);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: -2;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--color-primary);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
    opacity: 0.15;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--color-secondary);
    bottom: -150px;
    right: -100px;
    animation-delay: 7s;
    opacity: 0.1;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: var(--color-success);
    top: 20%;
    right: 20%;
    animation-delay: 14s;
    opacity: 0.1;
}

.orb-4 {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    /* Yellow */
    bottom: 30%;
    left: 20%;
    animation-delay: 21s;
    opacity: 0.1;
}

@keyframes float {

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

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.9);
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #ffffff 0%, #4285F4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(99, 102, 241, 0.5);
}

.cta-button:hover::before {
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-text-secondary);
    border-radius: 20px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-text-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.3;
    }
}

/* ===================================
   Category Sections
   =================================== */
.category-section {
    padding: var(--spacing-3xl) var(--spacing-lg);
    position: relative;
}

.category-section:nth-child(even) {
    background: var(--color-bg-secondary);
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--spacing-sm);
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Apps Grid
   =================================== */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.app-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

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

.app-card:hover::before {
    opacity: 1;
}

.app-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: var(--shadow-md);
}

.app-icon-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-base);
}

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


.app-platforms {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.platform-badge {
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-badge.ios {
    background: rgba(99, 102, 241, 0.2);
    color: #a7a9ff;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.platform-badge.android {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.app-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.app-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.app-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    width: 100%;
}

.link-ios {
    border-color: rgba(66, 133, 244, 0.2);
}

.link-ios:hover {
    background: rgba(66, 133, 244, 0.1);
    border-color: #4285F4;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.link-android {
    border-color: rgba(52, 168, 83, 0.2);
}

.link-android:hover {
    background: rgba(52, 168, 83, 0.1);
    border-color: #34A853;
    box-shadow: 0 4px 15px rgba(52, 168, 83, 0.3);
}

.store-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.link-ios .store-icon {
    color: #4285F4;
}

.link-android .store-icon {
    color: #34A853;
}


.app-link span {
    flex: 1;
}

.app-link svg.arrow {
    opacity: 0.5;
    transition: transform var(--transition-fast);
}

.app-link:hover svg.arrow {
    transform: translateX(4px);
    opacity: 1;
}


/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-2xl) var(--spacing-lg);
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.footer-text {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
}

.footer-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    color: var(--color-text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        padding: 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--color-border);
        backdrop-filter: blur(20px);
        border-radius: 0;
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.4s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: var(--spacing-xl) var(--spacing-md);
        min-height: 90vh;
    }

    .hero-stats {
        gap: var(--spacing-lg);
    }

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

    .category-section {
        padding: var(--spacing-2xl) var(--spacing-md);
    }

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

    .section-header {
        margin-bottom: var(--spacing-xl);
    }

    .scroll-indicator {
        bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .cta-button {
        padding: 0.85rem 2rem;
        font-size: 1rem;
    }

    .app-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }

    .app-title {
        font-size: 1.25rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

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

.slide-up {
    opacity: 0;
    transform: translateY(30px);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

/* ===================================
   Tech Stack Section
   =================================== */
.tech-stack {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0) 0%, rgba(26, 26, 36, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: var(--spacing-lg);
}

.tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    backdrop-filter: blur(10px);
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--color-primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.tech-card svg,
.tech-card i {
    width: 48px;
    height: 48px;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: 0.5px;
}

/* AI Highlight Category */
.tech-card.ai-focus {
    background: linear-gradient(145deg, rgba(66, 133, 244, 0.1) 0%, rgba(52, 168, 83, 0.05) 100%);
    border: 1px solid rgba(66, 133, 244, 0.3);
    position: relative;
    overflow: hidden;
}

.tech-card.ai-focus::before {
    content: 'TOP EXPERTISE';
    position: absolute;
    top: 17px;
    right: -25px;
    background: var(--color-accent);
    color: #000;
    font-size: 0.5rem;
    align-items: center;
    font-weight: 800;
    padding: 2px 30px;
    transform: rotate(45deg);
}

.tech-card.ai-focus:hover {
    border-color: var(--color-accent);
    box-shadow: 0 15px 40px rgba(251, 188, 5, 0.15);
}

.tech-card.ios-focus:hover {
    border-color: #F05138;
    box-shadow: 0 15px 40px rgba(240, 81, 56, 0.15);
}

.tech-card.flutter-focus:hover {
    border-color: #02569B;
    box-shadow: 0 15px 40px rgba(2, 86, 155, 0.15);
}

.tech-icon-circle {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tech-card:hover .tech-icon-circle {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    padding: var(--spacing-xl) 0;
    position: relative;
    background: linear-gradient(180deg, rgba(26, 26, 36, 0.5) 0%, rgba(10, 10, 15, 0) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: block;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

.contact-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-contact-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.footer-contact-link:hover {
    color: var(--color-primary);
}

/* ===================================
   macOS Dock Effect Section
   =================================== */
.dock-section {
    padding: var(--spacing-3xl) var(--spacing-lg);
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.dock-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 3rem 0;
    margin: 2rem 0;
}

.dock {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    padding: 12px 16px 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dock-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transform-origin: bottom center;
    will-change: transform;
}

.dock-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.2s ease;
    position: relative;
    transform-origin: bottom center;
}

.dock-icon-svg {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.dock-icon:hover {
    filter: brightness(1.1);
}

/* Dock item reflection/glow effect */
.dock-icon::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(2px);
}

.dock-item:hover .dock-icon::after {
    opacity: 1;
}

/* Tooltip */
.dock-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(30, 30, 30, 0.95);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dock-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(30, 30, 30, 0.95);
}

.dock-item.show-tooltip .dock-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-16px);
}

/* Dock hint text */
.dock-hint {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1rem;
    margin-top: 1.5rem;
    animation: pulseHint 2s infinite ease-in-out;
}

@keyframes pulseHint {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Bounce animation for clicked item */
@keyframes dockBounce {

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

    25% {
        transform: translateY(-20px);
    }

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

    75% {
        transform: translateY(-12px);
    }
}

.dock-item.bouncing .dock-icon {
    animation: dockBounce 0.6s ease-in-out;
}

/* Responsive dock */
@media (max-width: 768px) {
    .dock {
        padding: 10px 12px 8px;
        gap: 2px;
        border-radius: 18px;
    }

    .dock-icon {
        width: 44px;
        height: 44px;
    }

    .dock-hint {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .dock {
        flex-wrap: wrap;
        max-width: 320px;
        gap: 8px;
        padding: 12px;
        border-radius: 20px;
    }

    .dock-icon {
        width: 48px;
        height: 48px;
    }

    .dock-tooltip {
        display: none;
    }
}