/* Panzerausweis Website — Shared Styles */
/* Colors from iOS project design system */

:root {
    --primary-dark: #293133;
    --accent-gold: #D2AA6D;
    --gold-dark: #B8914F;
    --card-bg: #FFFFFF;
    --grouped-bg: #F2F2F7;
    --subtle-gray: #E5E5EA;
    --text-primary: #293133;
    --text-secondary: #6B7280;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    background: var(--grouped-bg);
    line-height: 1.6;
}

/* ── Header / Hero ── */

.hero {
    background: var(--primary-dark);
    color: #FFFFFF;
    padding: 60px 20px 48px;
    text-align: center;
}

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

.app-icon {
    width: 128px;
    height: 128px;
    border-radius: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.app-name {
    font-size: 36px;
    font-weight: 700;
    margin: 20px 0 6px;
    letter-spacing: -0.5px;
}

.app-subtitle {
    font-size: 18px;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.app-tagline {
    font-size: 15px;
    color: #A0ADB2;
    max-width: 520px;
    margin: 0 auto 28px;
}

.appstore-badge {
    display: inline-block;
}

.appstore-badge img {
    height: 48px;
}

/* ── Language switcher ── */

.lang-switcher {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.lang-switcher a {
    display: inline-block;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #A0ADB2;
    border: 1px solid #A0ADB2;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.lang-switcher a.active,
.lang-switcher a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
}

/* ── Screenshots section ── */

.screenshots {
    padding: 48px 20px;
    background: var(--card-bg);
}

.screenshots-inner {
    max-width: 960px;
    margin: 0 auto;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.screenshots-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshots-grid img {
    width: 160px;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

/* ── Features section ── */

.features {
    padding: 48px 20px;
    background: var(--grouped-bg);
}

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

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── Widget Feature section ── */

.widget-feature {
    padding: 48px 20px;
    background: var(--primary-dark);
    text-align: center;
}

.widget-feature-inner {
    max-width: 800px;
    margin: 0 auto;
}

.widget-feature .section-title {
    color: #FFFFFF;
}

.widget-feature-desc {
    font-size: 15px;
    color: #A0ADB2;
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.widget-showcase {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.widget-tile {
    background: #1C2224;
    border-radius: 22px;
    width: 155px;
    height: 155px;
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.widget-brand {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.4);
}

.widget-kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.widget-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    letter-spacing: -0.5px;
}

.widget-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.widget-player {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
}

.widget-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    margin-top: 4px;
}

/* ── Description section ── */

.description {
    padding: 48px 20px;
    background: var(--card-bg);
}

.description-inner {
    max-width: 700px;
    margin: 0 auto;
}

.description-inner p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

/* ── Info bar ── */

.info-bar {
    padding: 32px 20px;
    background: var(--primary-dark);
    color: #FFFFFF;
}

.info-bar-inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.info-item span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #A0ADB2;
    margin-bottom: 4px;
}

.info-item strong {
    font-size: 15px;
    color: var(--accent-gold);
}

/* ── Support section ── */

.support {
    padding: 48px 20px;
    background: var(--grouped-bg);
    text-align: center;
}

.support-inner {
    max-width: 700px;
    margin: 0 auto;
}

.support-inner p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.support-email a {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-gold);
    text-decoration: none;
}

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

/* ── Footer ── */

.footer {
    padding: 32px 20px;
    text-align: center;
    background: var(--grouped-bg);
}

.footer p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.footer a {
    color: var(--accent-gold);
    text-decoration: none;
}

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

/* ── Beta CTA ── */

.beta-cta {
    background: var(--card-bg);
    border: 2px solid var(--accent-gold);
    border-radius: 16px;
    padding: 32px;
    margin-top: 24px;
    text-align: center;
}

.beta-cta p {
    margin-bottom: 12px;
}

.platform-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.platform-badge {
    display: inline-block;
    padding: 6px 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--grouped-bg);
    border-radius: 8px;
}

.beta-email-link {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 32px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--accent-gold);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s;
}

.beta-email-link:hover {
    background: var(--gold-dark);
}

.beta-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-gold);
    text-decoration: none;
}

.beta-link:hover {
    text-decoration: underline;
}

/* ── Responsive ── */

@media (max-width: 640px) {
    .hero {
        padding: 40px 16px 36px;
    }

    .app-icon {
        width: 96px;
        height: 96px;
        border-radius: 22px;
    }

    .app-name {
        font-size: 28px;
    }

    .screenshots-grid img {
        width: 100px;
        border-radius: 16px;
    }

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

    .info-bar-inner {
        gap: 24px;
    }

    .widget-tile {
        width: 130px;
        height: 130px;
        padding: 12px 12px 10px;
        border-radius: 18px;
    }

    .widget-value {
        font-size: 26px;
    }
}
