:root {
    --bg: #f5f5f7;
    --surface: #ffffff;
    --surface-muted: #f7f7f7;
    --text: #1d1d1f;
    --muted: rgba(29, 29, 31, 0.6);
    --border: #d4d4d4;
    --accent: #0071f3;
    --accent-dark: #0050c8;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 24px;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    z-index: 20;
}

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

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

.logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff9d68, #ff5a5f);
}

.logo-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

header nav {
    display: flex;
    gap: 1.25rem;
    font-weight: 500;
    color: var(--muted);
}

header nav a {
    text-decoration: none;
    color: var(--muted);
    transition: color 0.2s ease;
}

header nav a:hover {
    color: var(--text);
}

.language-switcher {
    display: flex;
    gap: 0.4rem;
}

.language-switcher a {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--muted);
}

.language-switcher a.active {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--text);
}

main {
    padding-top: 110px;
}

.hero {
    padding: 120px 0 60px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

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

.hero h1 {
    font-size: clamp(2.8rem, 3vw + 1rem, 3.8rem);
    margin-bottom: 1rem;
}

.hero .lead {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn {
    border-radius: 999px;
    padding: 0.95rem 1.8rem;
    font-weight: 600;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn.primary {
    background: var(--text);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.btn.ghost {
    border-color: var(--border);
    color: var(--text);
}

.btn:hover {
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stats strong {
    font-size: 1.6rem;
}

.hero-preview {
    background: var(--surface-muted);
    border-radius: 28px;
    padding: 1.6rem;
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

.preview-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.preview-image {
    height: 220px;
    background: linear-gradient(180deg, #111827, #4b2a7f);
    position: relative;
}

.filter-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 600;
    color: #111;
}

.preview-copy {
    padding: 1.5rem;
}

.preview-title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.preview-subtitle {
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.preview-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--muted);
}

.preview-footer {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--muted);
}

section {
    padding: 80px 0;
}

.showcase,
.features,
.layouts,
.components,
.timeline,
.contact,
.support-section,
.policy-section {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: clamp(2rem, 2vw + 1rem, 2.6rem);
    margin-bottom: 0.5rem;
}

.eyebrow {
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--muted);
}

.showcase-grid,
.features-grid,
.layout-grid,
.components-grid,
.support-grid,
.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.showcase-card,
.feature-card,
.layout-card,
.component-card,
.support-card,
.policy-card {
    background: var(--surface-muted);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid transparent;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.showcase-card:hover,
.feature-card:hover,
.layout-card:hover,
.component-card:hover,
.support-card:hover,
.policy-card:hover {
    border-color: var(--border);
}

.showcase-card h3,
.feature-card h3,
.layout-body strong,
.component-card h3,
.support-card h3,
.policy-card h3 {
    margin-bottom: 0.6rem;
}

.showcase-card p,
.feature-card p,
.component-card p,
.support-card p,
.policy-card p,
.layout-body span {
    color: var(--muted);
    line-height: 1.6;
}

.layout-grid {
    margin-top: 1rem;
}

.layout-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.layout-preview {
    height: 140px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0.05));
}

.layout-preview.top {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent);
}

.layout-preview.left {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
}

.layout-preview.collage {
    background: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.08) 0 20%, transparent 20% 40%);
}

.layout-preview.meta {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
}

.layout-note {
    margin-top: 1rem;
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    color: var(--muted);
}

.component-card {
    min-height: 210px;
}

.timeline ol,
.support-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.2rem;
}

.timeline li,
.support-timeline li {
    padding: 1.5rem 1.8rem;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--surface-muted);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.timeline h3,
.support-timeline strong {
    margin: 0;
    font-size: 1.3rem;
}

.timeline p,
.support-timeline p {
    margin: 0.4rem 0 0;
}

.contact {
    background: var(--surface);
    padding: 80px 0 120px;
}

.contact-card {
    background: var(--surface-muted);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 26px;
    padding: 2.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
}

.contact-card h2 {
    margin-bottom: 0.6rem;
    font-size: clamp(1.8rem, 2vw + 0.5rem, 2.5rem);
}

.contact-card p {
    color: var(--muted);
    max-width: 420px;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact a {
    color: var(--text);
}

footer {
    padding: 2.5rem 0;
    text-align: center;
    background: transparent;
}

footer p {
    margin: 0.4rem 0;
    color: var(--muted);
}

.policy-hero,
.support-hero {
    padding: 100px 0 60px;
    background: var(--surface);
}

.policy-hero h1,
.support-hero h1 {
    font-size: clamp(2rem, 2.5vw + 1rem, 3rem);
    margin-bottom: 0.5rem;
}

.policy-section,
.support-section {
    background: var(--surface);
}

.policy-grid {
    margin-bottom: 2rem;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    color: var(--muted);
}

.policy-list strong {
    color: var(--text);
}

@media (max-width: 900px) {
    header nav {
        display: none;
    }

    .nav-container {
        justify-content: space-between;
    }

    .hero-stats {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    header {
        border-bottom: 0;
    }

    .hero-preview {
        order: -1;
    }

    .contact-card {
        padding: 2rem;
    }

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