/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e5e5e5;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
}

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

/* === Nav === */
.nav-bar {
    padding: 1rem 0;
    display: flex;
    align-items: center;
}

.nav-bar a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-bar a:hover {
    color: #e5e5e5;
}

/* === Header === */
header {
    padding: 2rem 0;
    text-align: center;
    border-radius: 20px;
    margin: 20px 0;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.3rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
}

/* === Hero Section === */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    background: rgba(40, 40, 40, 0.8);
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.description {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    padding: 0 1rem;
}

/* === Features Grid === */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature {
    background: rgba(40, 40, 40, 0.8);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
}

.feature h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* === Download Section === */
.download-section {
    background: rgba(40, 40, 40, 0.8);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.download-btn {
    display: inline-block;
    transition: all 0.3s ease;
}

.download-btn img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
}

.download-btn:hover img {
    filter: brightness(1.1);
}

/* === Support Section === */
.support-section {
    background: rgba(40, 40, 40, 0.8);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.support-btn:hover {
    transform: translateY(-2px);
}

/* === Footer === */
footer {
    text-align: center;
    padding: 2rem 0;
    color: #888;
}

/* === Screenshot Carousel === */
.carousel-section {
    margin: 3rem 0;
    text-align: center;
}

.carousel-section h2 {
    margin-bottom: 1.5rem;
}

.carousel-wrapper {
    position: relative;
    max-width: 100%;
    padding: 0 3rem;
}

.carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    width: 220px;
}

.phone-frame {
    background: #111;
    border-radius: 24px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.phone-frame img {
    width: 100%;
    border-radius: 18px;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(60, 60, 60, 0.8);
    color: #e5e5e5;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}

.carousel-btn:hover {
    background: rgba(80, 80, 80, 0.9);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-placeholder {
    color: #666;
    font-style: italic;
    padding: 3rem 1rem;
}

/* === Responsive === */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 280px;
        justify-content: center;
    }

    .carousel-item {
        width: 180px;
    }

    .carousel-wrapper {
        padding: 0 2.5rem;
    }
}
