:root {
    --bg: #070910;
    --card: #111629;
    --text: #f6f7fb;
    --muted: #aab3d8;
    --accent: #5b7cff;
    --accent-dark: #4155c9;
    --pill-bg: rgba(91, 124, 255, 0.12);
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Lexend', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, #141c33 0%, #070910 55%);
    color: var(--text);
}
a { color: inherit; text-decoration: none; }
.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 96px;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0 32px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.03em;
}
.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-block;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(91,124,255,0.35);
}
.nav-buttons a {
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.15);
    transition: background 0.2s;
}
.nav-buttons a.primary {
    background: var(--accent);
    border: none;
}
.nav-buttons a:hover { background: rgba(255,255,255,0.08); }
.nav-buttons a.primary:hover { background: var(--accent-dark); }
.hero {
    position: relative;
    overflow: hidden;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
    padding: 70px 60px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, rgba(5,8,24,0.85), rgba(7,9,16,0.92));
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/static/images/photo-1518611012118-696072aa579a.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    filter: blur(4px);
}
.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    margin: 0 0 20px;
}
.hero p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 28px;
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.cta-buttons a {
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.15);
}
.cta-buttons .primary {
    background: linear-gradient(135deg, #7f9bff, #5b7cff);
    border: none;
}
.hero-visual {
    background: linear-gradient(135deg, rgba(91,124,255,0.25), rgba(255,255,255,0.03));
    border-radius: 32px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 16px;
}
.mock-card {
    background: rgba(7,9,16,0.6);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 18px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mock-card img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    height: 120px;
}
.section {
    margin-top: 80px;
}
.section.narrow {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}
.section-head h2 {
    margin: 0;
    font-size: 2rem;
}
.section-head p {
    margin: 0;
    color: var(--muted);
    max-width: 420px;
    line-height: 1.5;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.feature-card {
    background: var(--card);
    border-radius: 28px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.feature-card img {
    width: 100%;
    border-radius: 20px;
    height: 160px;
    object-fit: cover;
}
.pill {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--pill-bg);
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}
.hero .pill {
    font-size: 1.1rem;
    padding: 10px 18px;
    letter-spacing: 0.08em;
}
.feature-card p {
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}
.story-section {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    margin: 60px 0;
}
.story-section--reverse .story-text {
    order: 2;
}
.story-text {
    flex: 1 1 320px;
}
.story-text h3 {
    margin: 12px 0 12px;
    font-size: 1.8rem;
}
.story-text p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}
.story-media {
    flex: 1 1 320px;
}
.story-media img {
    width: 100%;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.split-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.showcase-card {
    background: rgba(255,255,255,0.03);
    border-radius: 32px;
    padding: 26px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.showcase-card img {
    width: 100%;
    border-radius: 24px;
    height: 220px;
    object-fit: cover;
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 18px;
}
.stat {
    background: rgba(255,255,255,0.02);
    border-radius: 18px;
    padding: 16px;
}
.stat strong {
    font-size: 1.6rem;
    display: block;
}
.final-cta {
    text-align: center;
    margin-top: 96px;
    padding: 48px;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(99,123,255,0.25), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.08);
}
.final-cta h2 { margin-bottom: 12px; font-size: 2.4rem; }
.final-cta p { color: var(--muted); margin-bottom: 28px; }
footer {
    margin-top: 72px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}
@media (max-width: 640px) {
    .hero-visual { grid-template-columns: 1fr; }
    .cta-buttons { width: 100%; }
    .cta-buttons a { flex: 1; text-align: center; }
    .final-cta { padding: 32px 24px; }
    .story-section { margin: 40px 0; }
}
