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

:root {
    --primary: #9E1B32;
    --background: #ffffff;
    --surface: #f5f5f5;
    --surface-variant: #ededed;
    --border: #e0e0e0;
    --text: #1b1b1b;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
}

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

header {
    background: #000000;
    color: white;
    padding: 0.75rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    margin: 0 auto;
    padding: 0 50px 0 25px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 500;
    color: white;
}

.header-logo:hover .logo-img {
    transform: scale(1.05);
}

.hero {
    background: linear-gradient(135deg, #9E1B32 0%, #7a1526 100%);
    color: white;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-left {
    flex: 0 0 40%;
    text-align: center;
}

.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    height: 70px;
    width: auto;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.tagline {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 2.5rem 0;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero .app-store-button {
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-screenshots {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 0 auto;
}

.hero-screenshot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 600px;
    width: auto;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-screenshot.active {
    opacity: 1;
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

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

.features {
    padding: 5rem 0 4rem 0;
    background: var(--background);
}

.features h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4.5rem;
    color: var(--text);
    font-weight: 600;
    line-height: 1.3;
}

.features-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0 2rem 0;
}

.features-grid::-webkit-scrollbar {
    height: 8px;
}

.features-grid::-webkit-scrollbar-track {
    background: var(--surface);
    border-radius: 10px;
}

.features-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(158, 27, 50, 0.3) 0%, rgba(158, 27, 50, 0.4) 100%);
    border-radius: 10px;
}

.features-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(158, 27, 50, 0.5) 0%, rgba(158, 27, 50, 0.6) 100%);
}

.feature-card {
    flex: 0 0 auto;
    width: 320px;
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    border-radius: 16px 16px 0 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(158, 27, 50, 0.15);
    background: var(--background);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.feature-card h4 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.screenshots {
    display: none;
    padding: 7rem 0;
    background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
}

.screenshots h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text);
    font-weight: 600;
}

.screenshot-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0 2rem 0;
}

.screenshot-grid::-webkit-scrollbar {
    height: 8px;
}

.screenshot-grid::-webkit-scrollbar-track {
    background: var(--surface);
    border-radius: 10px;
}

.screenshot-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(158, 27, 50, 0.3) 0%, rgba(158, 27, 50, 0.4) 100%);
    border-radius: 10px;
}

.screenshot-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(158, 27, 50, 0.5) 0%, rgba(158, 27, 50, 0.6) 100%);
}

.screenshot-item {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px var(--shadow);
    transition: all 0.3s ease;
    background: var(--background);
    border: 1px solid var(--border);
}

.screenshot-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px var(--shadow-hover);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.download {
    padding: 7rem 0;
    text-align: center;
    background: linear-gradient(180deg, var(--background) 0%, var(--surface) 100%);
}

.download h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 600;
}

.download-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.app-store-button {
    display: inline-block;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 4px;
}

.app-store-button:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(158, 27, 50, 0.2);
}

.app-store-button img {
    height: 65px;
    width: auto;
}

footer {
    background: var(--text);
    color: var(--background);
    padding: 2.5rem 0;
    text-align: center;
}

footer p {
    opacity: 0.85;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }

    .hero-container {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-left {
        flex: none;
        text-align: center;
        width: 100%;
    }

    .hero-right {
        width: 100%;
    }

    .hero-screenshots {
        width: 250px;
        height: 500px;
    }

    .hero-screenshot {
        height: 500px;
    }

    .hero-logo {
        height: 60px;
        margin-bottom: 1.5rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.15rem;
        margin: 0 auto 2rem auto;
    }

    .features {
        padding: 5rem 0;
    }

    .features h3 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .feature-card {
        width: 280px;
        padding: 2.5rem 2rem;
    }

    .screenshot-item {
        width: 250px;
    }

    .screenshots h3,
    .download h3 {
        font-size: 2rem;
    }

    .screenshots {
        padding: 5rem 0;
    }

    .download {
        padding: 5rem 0;
    }
}
