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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.47;
    color: #1d1d1f;
    background-color: #f5f5f7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    color: #1d1d1f;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.brand-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.brand-link:hover {
    color: #0071e3;
}

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

.nav-menu a {
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #0071e3;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #0071e3;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    color: #1d1d1f;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 113, 227, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 45, 85, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1d1d1f 0%, #424245 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h2 {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #6e6e73;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 0.9rem;
    color: #6e6e73;
    font-weight: 400;
    margin-top: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 980px;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: #0071e3;
    color: white;
    border-color: #0071e3;
}

.cta-button.primary:hover {
    background: #0077ed;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #0071e3;
    border-color: #0071e3;
}

.cta-button.secondary:hover {
    background: #0071e3;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.2);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: #f5f5f7;
}

.gallery h3 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: #1d1d1f;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.wallpaper-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wallpaper-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.1);
}

.wallpaper-preview {
    position: relative;
    overflow: hidden;
    aspect-ratio: 9/16;
}

.wallpaper-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.wallpaper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.download-btn, .preview-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.preview-btn {
    background: #ff6b6b;
}

.download-btn:hover, .preview-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.coming-soon-badge {
    background: rgba(0, 0, 0, 0.8);
    color: #ffd700;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #ffd700;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wallpaper-info {
    padding: 2rem;
}

.wallpaper-info h4 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #1d1d1f;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.wallpaper-info p {
    color: #6e6e73;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.wallpaper-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    background: #f5f5f7;
    color: #1d1d1f;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.gallery-actions {
    text-align: center;
}

.load-more-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

/* Categories Section */
.categories {
    padding: 100px 0;
    background: white;
}

.categories h3 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: #1d1d1f;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.category-card {
    background: #f5f5f7;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: grayscale(0.2);
}

.category-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #1d1d1f;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.category-card p {
    color: #6e6e73;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.category-count {
    font-weight: 500;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    letter-spacing: 0.01em;
}

.category-count.available-now {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.category-count.coming-soon {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f5f5f7;
}

.about h3 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: #1d1d1f;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    color: #6e6e73;
    margin-bottom: 2rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

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

.feature {
    text-align: center;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.feature p {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact h3 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1d1d1f;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.contact p {
    text-align: center;
    color: #6e6e73;
    margin-bottom: 4rem;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f5f5f7;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: all 0.3s ease;
    color: #1d1d1f;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.submit-btn {
    width: 100%;
    background: #0071e3;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.submit-btn:hover {
    background: #0077ed;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
}

/* SEO Content Section */
.seo-content {
    padding: 80px 0;
    background: #f5f5f7;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.seo-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1d1d1f;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.seo-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6e6e73;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.01em;
}

.seo-content p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #1d1d1f;
    color: #f5f5f7;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #f5f5f7;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a1a1a6;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: #f5f5f7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1a1a6;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1rem;
    }
    
    .gallery h3,
    .categories h3,
    .about h3,
    .contact h3,
    .seo-content h2 {
        font-size: 2rem;
    }
    
    .seo-content {
        padding: 40px 0;
    }
    
    .seo-content p {
        font-size: 1rem;
    }
}

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

.wallpaper-card {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Focus States for Accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}
