:root {
    --bg: #0a0d12;
    --surface: #111318;
    --surface-hover: #161a21;
    --text-primary: #eeeff1;
    --text-secondary: #8a8f98;
    --text-tertiary: #62666d;
    --text-quaternary: #3e3e44;
    --accent: #e07a5f;
    --border: rgba(238, 239, 241, 0.06);
    --border-hover: rgba(238, 239, 241, 0.1);
    --font: 'IBM Plex Sans', sans-serif;
    --ease: cubic-bezier(0.25, 0, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    background: var(--bg);
}
body {
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0a0d12;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
#loader svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    height: 54px;
    background: var(--bg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-wordmark {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.01em;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a {
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s var(--ease);
}
.nav-links a:hover {
    color: var(--text-primary);
}

.hero {
    padding: 140px 24px 72px;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-heading {
    font-family: var(--font);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin: 0 0 20px;
}
.hero-sub {
    font-family: var(--font);
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 420px;
    margin: 0;
}

.products {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
}
.product-row {
    display: grid;
    gap: 8px;
    margin-bottom: 8px;
}
.product-row--1 {
    grid-template-columns: 1.6fr 1fr 1fr;
}
.product-row--2 {
    grid-template-columns: 1fr 1.6fr 1fr;
}
.product-row--3 {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
@media (max-width: 768px) {
    .product-row--1,
    .product-row--2,
    .product-row--3 {
        grid-template-columns: 1fr;
    }
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.card:hover {
    background: var(--surface-hover);
    border-color: var(--border-hover);
}

.card-body {
    padding: 24px 24px 14px;
}
.card-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 12px;
}
.card-name {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px;
}
.card-desc {
    font-family: var(--font);
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0;
}

.card-img {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

/* Placeholder shapes — will be replaced with real mockup images */
.ph {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ph--phone {
    width: 90px;
    height: 150px;
    border-radius: 10px 10px 0 0;
    border: 1px solid var(--border);
    border-bottom: none;
    background: rgba(238, 239, 241, 0.01);
    margin-top: 16px;
}
.ph--dashboard {
    width: 92%;
    height: 140px;
    border-radius: 8px 8px 0 0;
    border: 1px solid var(--border);
    border-bottom: none;
    background: rgba(238, 239, 241, 0.01);
    margin-top: 16px;
}
.ph--desktop {
    width: 92%;
    height: 130px;
    border-radius: 8px 8px 0 0;
    border: 1px solid var(--border);
    border-bottom: none;
    background: rgba(238, 239, 241, 0.01);
    margin-top: 16px;
}
.ph--tag {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(238, 239, 241, 0.01);
    margin: 20px 0;
}
.ph--card {
    width: 120px;
    height: 78px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(238, 239, 241, 0.01);
    margin: 20px 0;
}
.ph-label {
    font-family: var(--font);
    font-size: 10px;
    color: var(--text-quaternary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.narrative {
    max-width: 540px;
    margin: 0 auto;
    padding: 24px 24px 120px;
}
.narrative-inner p {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 0 22px;
}
.narrative-inner p:last-child {
    margin-bottom: 0;
}
.narrative-inner a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(224, 122, 95, 0.2);
    transition: border-color 0.15s var(--ease);
}
.narrative-inner a:hover {
    border-color: var(--accent);
}

.site-footer {
    padding: 40px 24px 32px;
    border-top: 1px solid var(--border);
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    font-family: var(--font);
    font-size: 13px;
    font-weight: 400;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.15s var(--ease);
}
.footer-links a:hover {
    color: var(--text-primary);
}
.footer-meta {
    font-family: var(--font);
    font-size: 12px;
    color: var(--text-quaternary);
}
.footer-meta a {
    color: var(--text-quaternary);
    text-decoration: none;
    transition: color 0.15s var(--ease);
}
.footer-meta a:hover {
    color: var(--accent);
}
.footer-meta span {
    margin: 0 6px;
}
@media (max-width: 640px) {
    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
