/* JCH 104 Lab - Website Styles */

:root {
    --primary-color: #007AFF;
    --primary-dark: #0056b3;
    --bg-color: #f5f5f7;
    --text-color: #1d1d1f;
    --text-secondary: #86868b;
    --card-bg: #ffffff;
    --border-radius: 16px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 18px;
}

.nav-logo img {
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.lang-switch {
    padding: 6px 12px;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    /* Dezenter Slate-to-Blue Verlauf statt aggressivem Lila */
    background: linear-gradient(135deg, #1e3a5f 0%, #4a6fa5 100%);
    padding: 100px 24px 50px;
    text-align: center;
    color: white;
}

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

.app-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    margin-bottom: 14px;
}

.hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tagline {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.subtitle {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 18px;
}

.download-button {
    display: inline-block;
    background: white;
    color: #1d1d1f;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.download-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

section {
    margin-bottom: 80px;
}

section h2 {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 48px;
}

/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Screenshots */
.screenshot-gallery {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 16px 0;
    scroll-snap-type: x mandatory;
}

.screenshot-gallery img {
    height: 400px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    scroll-snap-align: center;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-item strong {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-item span {
    font-size: 17px;
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 48px 24px;
    text-align: center;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* Legal Pages */
.legal-page {
    padding-top: 100px;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.legal-content h1 {
    font-size: 32px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-content h2 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 16px;
    text-align: left;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.legal-content a {
    color: var(--primary-color);
}

/* Support Page */
.support-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.support-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.support-card p {
    color: var(--text-secondary);
}

.support-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.support-card a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 24px;
    }

    .tagline {
        font-size: 15px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    section h2 {
        font-size: 28px;
    }
}
