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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(155, 89, 182, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #f3e5f5;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #9B59B6;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #9B59B6;
}

.lang-selector {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.lang-selector:hover,
.lang-selector:focus {
    border-color: #9B59B6;
    outline: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
    display: inline-block;
    width: 100%;
}

.features h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #9B59B6, #8E44AD);
    margin: 1rem auto 0;
    border-radius: 2px;
}

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

.feature-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #9B59B6;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(155, 89, 182, 0.25);
    border-color: #9B59B6;
}

.feature-card h3 {
    color: #9B59B6;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9B59B6, #8E44AD);
    border-radius: 8px 8px 0 0;
}

/* Use Cases Section */
.use-cases {
    padding: 4rem 0;
    background: #f9f9f9;
}

.use-cases h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
    display: inline-block;
    width: 100%;
}

.use-cases h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #9B59B6, #8E44AD);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.use-case-list {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.use-case-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #9B59B6;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(155, 89, 182, 0.1);
}

.use-case-item:hover {
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.2);
    transform: translateX(5px);
}

.use-case-item strong {
    display: block;
    color: #9B59B6;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.use-case-item span {
    color: #666;
    display: block;
}

/* Screenshots Section */
.screenshots-section {
    padding: 2rem 0;
    background: white;
    overflow: hidden;
}

.screenshots-section .container {
    padding: 0 60px;
    max-width: 100%;
    position: relative;
}

.screenshots-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.screenshots-gallery {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #9B59B6 #f0f0f0;
    flex: 1;
    min-width: 0; /* Allow flex item to shrink below content size */
}

.screenshots-gallery::-webkit-scrollbar {
    height: 8px;
}

.screenshots-gallery::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.screenshots-gallery::-webkit-scrollbar-thumb {
    background: #9B59B6;
    border-radius: 4px;
}

.screenshots-gallery::-webkit-scrollbar-thumb:hover {
    background: #8E44AD;
}

.screenshot-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(155, 89, 182, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #9B59B6;
    z-index: 10;
}

.screenshot-arrow:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.3);
    transform: scale(1.1);
    border-color: #9B59B6;
}

.screenshot-arrow:active {
    transform: scale(0.95);
}

.screenshot-arrow svg {
    width: 20px;
    height: 20px;
}

.screenshots-gallery::-webkit-scrollbar {
    height: 8px;
}

.screenshots-gallery::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.screenshots-gallery::-webkit-scrollbar-thumb {
    background: #9B59B6;
    border-radius: 4px;
}

.screenshots-gallery::-webkit-scrollbar-thumb:hover {
    background: #8E44AD;
}

.screenshot-img {
    flex: 0 0 auto;
    width: 280px;
    height: 500px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    background: #f5f5f5;
}

.screenshot-img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* Privacy Section */
.privacy-section {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.privacy-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
    display: inline-block;
    width: 100%;
}

.privacy-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #9B59B6, #8E44AD);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.privacy-section p {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Content Pages */
.content-page {
    padding: 3rem 0;
    background: white;
    min-height: calc(100vh - 200px);
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.last-updated {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #9B59B6;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #9B59B6;
    position: relative;
}

.content-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 50px;
    height: 3px;
    background: #8E44AD;
}

.content-section h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.content-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.content-section a {
    color: #9B59B6;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.content-section a:hover {
    color: #8E44AD;
    text-decoration: none;
}

.content-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #9B59B6;
    transition: width 0.3s;
}

.content-section a:hover::after {
    width: 100%;
}

/* Contact Section */
.contact-section {
    margin-bottom: 3rem;
}

.contact-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #9B59B6;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(155, 89, 182, 0.1);
}

.contact-card:hover {
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.2);
    transform: translateX(5px);
}

.contact-card h3 {
    color: #9B59B6;
    margin-bottom: 1rem;
}

.contact-info {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.contact-info a {
    color: #9B59B6;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #8E44AD;
    text-decoration: none;
}

.contact-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #9B59B6;
    transition: width 0.3s;
}

.contact-info a:hover::after {
    width: 100%;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 3rem;
}

.faq-item {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #9B59B6;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(155, 89, 182, 0.1);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.2);
    transform: translateX(5px);
    background: #faf5fc;
}

.faq-item h3 {
    color: #9B59B6;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.8;
}

.response-time {
    background: #f3e5f5;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #9B59B6;
}

.response-time h2 {
    color: #9B59B6;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #8E44AD 0%, #6C3483 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 3px solid #9B59B6;
}

.footer-available {
    margin-bottom: 1rem;
    font-size: 1rem;
    opacity: 0.95;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.store-badge-link {
    display: inline-block;
    line-height: 0;
}

.store-badge {
    width: 135px;
    height: 45px;
    min-width: 135px;
    min-height: 45px;
    max-width: 135px;
    max-height: 45px;
    display: block;
    border-radius: 6px;
    object-fit: contain;
    object-position: center;
}

.store-badge-altstore {
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    max-width: 45px;
    max-height: 45px;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-icon {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .content-page h1 {
        font-size: 2rem;
    }

    .screenshots-section .container {
        padding: 0 50px;
    }

    .screenshots-gallery {
        padding: 1rem 0;
        gap: 0.75rem;
    }

    .screenshot-img {
        width: 240px;
        height: 426px;
        border-radius: 16px;
    }

    .screenshot-arrow {
        width: 36px;
        height: 36px;
    }

    .screenshot-arrow svg {
        width: 16px;
        height: 16px;
    }
}

