/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --text-secondary: #888888;
    --accent-color: #007AFF;
    --card-bg: rgba(26, 26, 26, 0.8);
    --card-hover: rgba(42, 42, 42, 0.9);
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-6: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Floating Particles Background */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float-particle 20s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 25s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 30s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 22s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; animation-duration: 28s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; animation-duration: 35s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; animation-duration: 26s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; animation-duration: 32s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; animation-duration: 24s; }
.particle:nth-child(9) { left: 90%; animation-delay: 16s; animation-duration: 29s; }
.particle:nth-child(10) { left: 95%; animation-delay: 18s; animation-duration: 27s; }

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Gradient Orbs */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    z-index: 0;
    animation: float-orb 30s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #667eea, transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #4facfe, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -10s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #f093fb, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -20s;
}

@keyframes float-orb {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-50px) rotate(120deg);
    }
    66% {
        transform: translateY(30px) rotate(240deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

/* Header */
.header {
    text-align: center;
    padding: 60px 0 40px;
    position: relative;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 25%, #007AFF 75%, #5856D6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleFloat 6s ease-in-out infinite;
    position: relative;
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.01);
    }
}

.subtitle {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    animation: fadeInUp 1s ease-out 0.5s both;
    margin-top: -5px;
    letter-spacing: 0.02em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Main Content */
.main {
    flex: 1;
    padding-bottom: 40px;
}

/* Apps Grid - iPhone Style */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    justify-content: center;
    border: 1px solid var(--border-color);
    animation: appCardFloat 0.8s ease-out both;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.app-card:nth-child(1) { animation-delay: 0.1s; }
.app-card:nth-child(2) { animation-delay: 0.2s; }
.app-card:nth-child(3) { animation-delay: 0.3s; }
.app-card:nth-child(4) { animation-delay: 0.4s; }
.app-card:nth-child(5) { animation-delay: 0.5s; }
.app-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes appCardFloat {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.8) rotateX(20deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

/* Hover animations removed */

.app-card:active {
    transform: translateY(-4px) scale(1.02);
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 122, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 25px;
    pointer-events: none;
}

/* Hover animations removed */

/* App Icons */
.app-icon {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: var(--gradient-1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* All icons are now the same full size */

/* Icon images for MLT tools */
.app-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* Gradients for remaining text-based icons (CrateInspo, CrateLink and SB Audio FX) */
.app-card:nth-child(4) .app-icon { background: #000000; }
.app-card:nth-child(5) .app-icon { background: #000000; }
.app-card:nth-child(6) .app-icon { background: #000000; }

/* Hover animations removed */

/* App Names and Descriptions */
.app-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 400;
    transition: color 0.3s ease;
}

/* Hover animations removed */

/* Mobile Apps Section */
.mobile-apps-section {
    border-top: 1px solid var(--border-color);
    padding-top: 50px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

/* Mobile Styles - Convert main apps to list layout */
@media (max-width: 767px) {
    .apps-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 100%;
    }
    
    .app-card {
        flex-direction: column;
        padding: 20px;
        aspect-ratio: auto;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .app-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
        margin-right: 0;
        flex-shrink: 0;
    }
    
    .app-name {
        font-size: 1.1rem;
        margin-bottom: 8px;
        text-align: center;
    }
    
    .app-desc {
        font-size: 0.85rem;
        text-align: center;
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-color);
    animation: fadeInUp 1s ease-out 0.8s both;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.mobile-app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    animation: mobileAppFloat 0.8s ease-out 0.9s both;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.mobile-app-card:nth-child(1) { animation-delay: 1s; }
.mobile-app-card:nth-child(2) { animation-delay: 1.1s; }

@keyframes mobileAppFloat {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.8) rotateX(20deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

/* Hover animations removed */

/* Mobile App Icons */
.mobile-app-icon {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background: #000000;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.mobile-app-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* Hover animations removed */

.mobile-app-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

/* Hover animations removed */

.app-store-badge {
    font-size: 0.85rem;
    color: var(--accent-color);
    background: rgba(0, 122, 255, 0.15);
    padding: 8px 16px;
    border-radius: 15px;
    font-weight: 600;
    border: 1px solid rgba(0, 122, 255, 0.3);
    transition: all 0.3s ease;
}

/* Hover animations removed */

/* Footer */
.footer {
    text-align: center;
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.footer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: linear-gradient(135deg, #888888, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Enhanced hover effects */
.app-card::before,
.mobile-app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.08) 0%, 
        rgba(88, 86, 214, 0.08) 50%, 
        rgba(240, 147, 251, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 25px;
    pointer-events: none;
}

/* Hover animations removed */

/* Tablet Styles */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
    
    .header {
        padding: 80px 0 60px;
    }
    
    .main-title {
        font-size: 5.5rem;
    }
    
    .subtitle {
        font-size: 1.8rem;
    }
    
    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 900px;
    }
    
    .app-card {
        padding: 30px 20px;
    }
    
    .app-icon {
        width: 200px;
        height: 200px;
        font-size: 1.7rem;
        margin-bottom: 18px;
    }
    
    /* All icons are now the same full size */
    
    .mobile-app-icon {
        width: 200px;
        height: 200px;
        margin-bottom: 18px;
    }
    
    .app-name {
        font-size: 1.1rem;
    }
    
    .app-desc {
        font-size: 0.85rem;
    }
    
    .mobile-apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .mobile-app-card {
        padding: 35px 30px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .container {
        padding: 0 60px;
    }
    
    .header {
        padding: 100px 0 80px;
    }
    
    .main-title {
        font-size: 6.5rem;
    }
    
    .subtitle {
        font-size: 2rem;
    }
    
    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        max-width: 1000px;
    }
    
    .app-card {
        padding: 35px 25px;
    }
    
    .app-icon {
        width: 220px;
        height: 220px;
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    /* All icons are now the same full size */
    
    .mobile-app-icon {
        width: 220px;
        height: 220px;
        margin-bottom: 20px;
    }
    
    .app-name {
        font-size: 1.2rem;
    }
    
    .app-desc {
        font-size: 0.9rem;
    }
    
    .mobile-apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
        max-width: 700px;
    }
}

/* Large Desktop Styles */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .main-title {
        font-size: 7.5rem;
    }
    
    .subtitle {
        font-size: 2.2rem;
    }
    
    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        max-width: 1100px;
    }
    
    .app-icon {
        width: 240px;
        height: 240px;
    }
    
    /* All icons are now the same full size */
    
    .mobile-app-icon {
        width: 240px;
        height: 240px;
    }
}

/* Focus styles for accessibility */
.app-card:focus,
.mobile-app-card:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-color), #5856D6);
    border-radius: 5px;
}

/* Hover animations removed */

/* Loading animation for the whole page */
@keyframes pageLoad {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

body {
    animation: pageLoad 1s ease-out;
}

/* Enhanced pulse animation for icons */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

/* Hover animations removed */ 