/* Base Variables & Reset */
:root {
    --bg-color: #050505;
    --text-color: #f5f5f7;
    --text-muted: #86868b;
    --accent: #2997ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --blur: blur(20px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
}

/* Typography */
h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
    padding: 20px 0;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

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

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-icon-small {
    width: 32px;
    height: 32px;
    border-radius: 8px; /* Apple icon smooth corner approximation */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.app-icon-footer {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
}

.lang-select {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    opacity: 0.8;
}

.lang-select:hover {
    opacity: 1;
}

.lang-select option {
    background: #000;
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 980px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--text-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background: #e0e0e0;
    transform: scale(1.02);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 60px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
    display: inline-block;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    margin-bottom: 60px;
}

.cta-group {
    margin-top: 40px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    border-radius: 24px;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateX(0deg);
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(41,151,255,0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
    border: 1px solid var(--glass-border);
}

/* Features */
.features {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

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

.feature-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #2997ff, #ab61ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.feature-card p {
    font-size: 1rem;
}

/* Styles Gallery */
.styles-gallery {
    padding: 120px 0;
    overflow: hidden;
}

.gallery-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 24px;
    scrollbar-width: none; /* Firefox */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.gallery-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.gallery-track {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 0 24px 0 0;
    animation: gallery-scroll 42s linear infinite;
    will-change: transform;
}

.gallery-wrapper:hover .gallery-track {
    animation-play-state: paused;
}

@keyframes gallery-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.style-item {
    width: 280px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    transition: transform 0.4s ease;
}

.style-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.style-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.style-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

.style-info h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.style-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    max-width: 800px;
    margin: 0 auto 120px;
    padding: 80px 40px;
    text-align: center;
}

.cta-buttons {
    margin-top: 32px;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 24px;
    text-align: center;
    background: #000;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}



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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.copyright {
    font-size: 0.85rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .feature-card {
        padding: 32px 24px;
    }
    
    .gallery-track {
        padding: 0 24px;
    }
}
