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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', '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-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4CAF50;
}

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

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

.nav-menu a:hover,
.nav-menu a.active {
    color: #4CAF50;
}

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

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

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* App Grid */
.featured-apps,
.apps-list {
    padding: 3rem 0;
}

.featured-apps h3,
.apps-list h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.app-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.app-card.placeholder {
    opacity: 0.6;
}

.app-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.app-icon img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
}

.app-card h4,
.app-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.app-card p {
    color: #666;
    margin-bottom: 1rem;
}

.app-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s;
    text-align: center;
}

.btn:hover {
    background-color: #45a049;
}

.btn-secondary {
    background-color: #757575;
}

.btn-secondary:hover {
    background-color: #616161;
}

.btn-primary {
    background-color: #4CAF50;
    font-size: 1.1rem;
}

/* App Detail Page */
.app-detail {
    background: white;
    padding: 3rem 0;
}

.app-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.app-icon-large img {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.app-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.app-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-content {
    max-width: 800px;
}

.features,
.screenshots,
.requirements {
    margin-bottom: 3rem;
}

.features h3,
.screenshots h3,
.requirements h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.feature-list strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
}

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

.screenshot-grid img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.requirements ul {
    list-style: disc;
    padding-left: 2rem;
}

.requirements li {
    margin-bottom: 0.5rem;
}

/* Privacy Policy */
.privacy-policy {
    background: white;
    padding: 3rem 0;
}

.privacy-policy h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.policy-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.policy-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #4CAF50;
}

.policy-section h4 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.policy-section ul {
    margin: 1rem 0 1rem 2rem;
}

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

.update-date {
    margin-top: 2rem;
    text-align: right;
    color: #666;
    font-style: italic;
}

/* Contact Page */
.contact {
    background: white;
    padding: 3rem 0;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.contact > .container > p {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
}

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

.contact-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: #4CAF50;
}

.contact-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-item {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

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

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

footer a {
    color: #4CAF50;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
    }
    
    .app-header {
        flex-direction: column;
        text-align: center;
    }
    
    .app-icon-large {
        margin: 0 auto;
    }
    
    .app-buttons {
        justify-content: center;
    }
}

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-switch button {
    padding: 0.3rem 0.8rem;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-switch button:hover {
    background-color: #f5f5f5;
    border-color: #4CAF50;
}

.lang-switch button.active {
    background-color: #4CAF50;
    color: #fff;
    border-color: #4CAF50;
}

/* Screenshot Slider */
.screenshot-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
    padding: 2rem 0;
}

.screenshot-slider-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 2rem;
    scrollbar-width: thin;
    scrollbar-color: #4CAF50 #f5f5f5;
}

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

.screenshot-slider-container::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}

.screenshot-slider-container::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

.screenshot-slider-container::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}

.screenshot-slide {
    flex: 0 0 auto;
    width: 280px;
}

.screenshot-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-slide img:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .screenshot-slide {
        width: 240px;
    }
    
    .screenshot-slider-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: center;
    }
    
    .lang-switch {
        width: 100%;
        justify-content: center;
    }
}
