/* ==========================================================================
   Octoflow - Modern Enterprise CSS
   ========================================================================== */

/* -------------------------------------------------------------------------- */
:root {
    --color-bg-primary: #09090b;
    --color-bg-secondary: #0f0f12;
    --color-bg-tertiary: #18181b;
    --color-bg-elevated: #1f1f24;
    --color-bg-card: #141418;
    --color-text-primary: #fafafa;
    --color-text-secondary: #a1a1aa;
    --color-text-muted: #71717a;
    --color-border: #27272a;
    --color-border-subtle: #1f1f24;
    --color-accent: #3b82f6;
    --color-accent-hover: #60a5fa;
    --color-accent-muted: rgba(59, 130, 246, 0.15);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
    --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
    --text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
    --text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-xl: clamp(1.15rem, 1rem + 0.75vw, 1.25rem);
    --text-2xl: clamp(1.35rem, 1.1rem + 1.25vw, 1.75rem);
    --text-3xl: clamp(1.65rem, 1.2rem + 2.25vw, 2.5rem);
    --text-4xl: clamp(2rem, 1.4rem + 3vw, 3.5rem);
    --text-5xl: clamp(2.5rem, 1.6rem + 4.5vw, 4.5rem);
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-section: clamp(4rem, 8vw, 8rem);
    --container-max: 1280px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    overflow-x: hidden;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--color-accent); color: var(--color-text-primary); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--space-lg); }

/* Header */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-subtle);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: var(--space-xl); }
.nav__logo { flex-shrink: 0; }
.nav__logo-img { height: 32px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: var(--space-xl); }
.nav__link { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-secondary); transition: color var(--transition-fast); white-space: nowrap; }
.nav__link:hover { color: var(--color-text-primary); }
.nav__link--cta { background: var(--color-bg-tertiary); padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.nav__link--cta:hover { background: var(--color-bg-elevated); border-color: var(--color-text-muted); }
.nav__link--active { color: var(--color-text-primary) !important; }
.nav__link--cta.nav__link--active { border-color: var(--color-accent); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: var(--space-sm); background: none; border: none; cursor: pointer; }
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--color-text-primary); transition: var(--transition-fast); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 72px; overflow: hidden; }
.hero__bg-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(to right, var(--color-border-subtle) 1px, transparent 1px), linear-gradient(to bottom, var(--color-border-subtle) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    opacity: 0.4;
}
.hero__container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: center; padding-block: var(--space-4xl); }
.hero__content { position: relative; z-index: 1; }
.hero__title {
    font-size: var(--text-5xl); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: var(--space-lg);
    background: linear-gradient(180deg, var(--color-text-primary) 0%, var(--color-text-secondary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__subtitle { font-size: var(--text-xl); color: var(--color-text-secondary); line-height: 1.6; margin-bottom: var(--space-2xl); max-width: 560px; }
.hero__actions { display: flex; gap: var(--space-md); margin-bottom: var(--space-2xl); flex-wrap: wrap; }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.hero__trust-item { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.hero__trust-item svg { color: var(--color-accent); flex-shrink: 0; }

/* Dashboard Visual */
.hero__visual { position: relative; }
.hero__dashboard { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl), var(--shadow-glow); }
.hero__dashboard-header { display: flex; gap: var(--space-sm); padding: var(--space-md); background: var(--color-bg-tertiary); border-bottom: 1px solid var(--color-border); }
.hero__dashboard-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-text-muted); }
.hero__dashboard-dot:first-child { background: #ef4444; }
.hero__dashboard-dot:nth-child(2) { background: #f59e0b; }
.hero__dashboard-dot:nth-child(3) { background: #22c55e; }
.hero__dashboard-content { padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-xl); }
.hero__dashboard-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.hero__metric { text-align: center; padding: var(--space-md); background: var(--color-bg-secondary); border-radius: var(--radius-md); }
.hero__metric-value { display: block; font-size: var(--text-xl); font-weight: 700; color: var(--color-accent); }
.hero__metric-label { font-size: var(--text-xs); color: var(--color-text-muted); }
.hero__dashboard-chart { height: 100px; display: flex; align-items: flex-end; }
.hero__chart-bars { display: flex; align-items: flex-end; gap: var(--space-sm); width: 100%; height: 100%; }
.hero__chart-bars span { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--color-accent) 0%, rgba(59, 130, 246, 0.3) 100%); border-radius: var(--radius-sm) var(--radius-sm) 0 0; animation: barGrow 1s ease-out forwards; }
@keyframes barGrow { from { height: 0; opacity: 0; } to { height: var(--h); opacity: 1; } }
.hero__dashboard-activity { display: flex; flex-direction: column; gap: var(--space-sm); }
.hero__activity-item { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-sm); color: var(--color-text-secondary); }
.hero__activity-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); animation: pulse 2s ease-in-out infinite; }
.hero__activity-dot--ai { background: var(--color-accent); animation: pulse 1.5s ease-in-out infinite; }
.hero__activity-dot--data { background: var(--color-warning); animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: var(--space-md) var(--space-xl); font-size: var(--text-sm); font-weight: 600; border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; transition: all var(--transition-base); white-space: nowrap; }
.btn--primary { background: var(--color-accent); color: white; border-color: var(--color-accent); }
.btn--primary:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3); }
.btn--secondary { background: var(--color-bg-tertiary); color: var(--color-text-primary); border-color: var(--color-border); }
.btn--secondary:hover { background: var(--color-bg-elevated); border-color: var(--color-text-muted); }
.btn--outline { background: transparent; color: var(--color-text-primary); border-color: var(--color-border); }
.btn--outline:hover { background: var(--color-bg-tertiary); border-color: var(--color-text-muted); }
.btn--full { width: 100%; }

/* Sections */
.section-header { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: var(--space-3xl); }
.section-title { font-size: var(--text-4xl); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: var(--space-md); }
.section-subtitle { font-size: var(--text-lg); color: var(--color-text-secondary); line-height: 1.6; }
.section-link { display: inline-block; margin-top: var(--space-md); font-size: var(--text-sm); font-weight: 500; color: var(--color-accent); transition: color var(--transition-fast); }
.section-link:hover { color: var(--color-accent-hover); }

/* Metrics */
.metrics { padding-block: var(--space-section); background: var(--color-bg-secondary); border-top: 1px solid var(--color-border-subtle); border-bottom: 1px solid var(--color-border-subtle); }
.metrics .section-title { text-align: center; margin-bottom: var(--space-3xl); }
.metrics__list { display: flex; flex-direction: column; gap: var(--space-lg); max-width: 700px; margin-inline: auto; margin-bottom: var(--space-2xl); }
.metric-line { display: flex; align-items: flex-start; gap: var(--space-lg); padding: var(--space-lg); background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.metric-line__icon { width: 40px; height: 40px; background: var(--color-bg-tertiary); border: 1px solid var(--color-border); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--color-accent); }
.metric-line__content { display: flex; flex-direction: column; gap: var(--space-xs); }
.metric-line__value { font-size: var(--text-base); font-weight: 600; }
.metric-line__desc { font-size: var(--text-sm); color: var(--color-text-muted); }
.metrics__text { text-align: center; max-width: 720px; margin-inline: auto; color: var(--color-text-secondary); font-size: var(--text-base); }

/* Products */
.products { padding-block: var(--space-section); }
.products__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: var(--space-xl); }
.product-card { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-md); transition: all var(--transition-base); }
.product-card:hover { border-color: var(--color-text-muted); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-card__header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.product-card__title { font-size: var(--text-xl); font-weight: 700; }
.product-card__tag { font-size: var(--text-xs); font-weight: 500; color: var(--color-accent); background: var(--color-accent-muted); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: 0.05em; }
.product-card__description { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.6; }
.product-card__features { display: flex; flex-direction: column; gap: var(--space-sm); }
.product-card__features li { font-size: var(--text-sm); color: var(--color-text-secondary); padding-left: var(--space-lg); position: relative; }
.product-card__features li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; background: var(--color-accent); border-radius: 50%; }
.product-card__image { margin-top: auto; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); }
.product-card__image img { width: 100%; height: auto; display: block; }
.product-card__link { font-size: var(--text-sm); font-weight: 600; color: var(--color-accent); transition: color var(--transition-fast); }
.product-card__link:hover { color: var(--color-accent-hover); }

/* Infrastructure */
.infrastructure { padding-block: var(--space-section); background: var(--color-bg-secondary); }
.infrastructure__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-xl); }
.infra-card { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-xl); transition: all var(--transition-base); }
.infra-card:hover { border-color: var(--color-text-muted); transform: translateY(-2px); }
.infra-card__icon { width: 56px; height: 56px; background: var(--color-bg-tertiary); border: 1px solid var(--color-border); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-lg); color: var(--color-accent); }
.infra-card__title { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-sm); }
.infra-card__text { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.6; }

/* Screenshots */
.screenshots { padding-block: var(--space-section); }
.screenshots__showcase { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-xl); }
.screenshot-main { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-lg); }
.screenshot-main img { width: 100%; height: auto; display: block; }
.screenshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.screenshot-item { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; min-height: 140px; }
.screenshot-item img { width: 100%; height: 100%; object-fit: cover; }
.screenshot-item--analytics { background: var(--color-bg-tertiary); }
.analytics-placeholder { padding: var(--space-lg); height: 100%; display: flex; flex-direction: column; }
.analytics-placeholder__bars { display: flex; align-items: flex-end; gap: var(--space-sm); flex: 1; }
.analytics-placeholder__bars span { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--color-accent) 0%, rgba(59, 130, 246, 0.2) 100%); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.analytics-placeholder__label { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-sm); text-align: center; }
.screenshot-item--ai { background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-secondary) 100%); }
.ai-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-sm); color: var(--color-accent); }
.ai-placeholder__label { font-size: var(--text-xs); color: var(--color-text-muted); }
.screenshot-item--workforce { background: var(--color-bg-card); }
.workforce-placeholder { padding: var(--space-md); height: 100%; }
.workforce-placeholder__header { font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.workforce-placeholder__stats { display: flex; gap: var(--space-md); }
.stat { display: flex; flex-direction: column; }
.stat span { font-size: var(--text-xs); color: var(--color-text-muted); }
.stat strong { font-size: var(--text-lg); font-weight: 700; }

/* Industries */
.industries { padding-block: var(--space-section); background: var(--color-bg-secondary); border-top: 1px solid var(--color-border-subtle); border-bottom: 1px solid var(--color-border-subtle); }
.industries .section-title { text-align: center; margin-bottom: var(--space-2xl); }
.industries__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-md); }
.industry-tag { font-size: var(--text-sm); font-weight: 500; padding: var(--space-sm) var(--space-lg); background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); transition: all var(--transition-base); }
.industry-tag:hover { border-color: var(--color-text-muted); background: var(--color-bg-tertiary); }

/* Engineering */
.engineering { padding-block: var(--space-section); }
.engineering .container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: center; }
.engineering__content { max-width: 540px; }
.engineering__text { font-size: var(--text-base); color: var(--color-text-secondary); line-height: 1.7; margin-top: var(--space-lg); margin-bottom: var(--space-xl); }
.code-block { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; }
.code-block__header { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md); background: var(--color-bg-tertiary); border-bottom: 1px solid var(--color-border); }
.code-block__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-text-muted); }
.code-block__dot:first-child { background: #ef4444; }
.code-block__dot:nth-child(2) { background: #f59e0b; }
.code-block__dot:nth-child(3) { background: #22c55e; }
.code-block__name { margin-left: auto; font-size: var(--text-xs); color: var(--color-text-muted); }
.code-block__content { padding: var(--space-xl); overflow-x: auto; }
.code-block__content code { font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; font-size: var(--text-sm); line-height: 1.7; color: var(--color-text-secondary); }

/* Insights */
.insights { padding-block: var(--space-section); background: var(--color-bg-secondary); }
.insights .section-header { display: flex; align-items: center; justify-content: space-between; text-align: left; max-width: 100%; margin-bottom: var(--space-2xl); }
.insights .section-header .section-title { margin-bottom: 0; }
.insights__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-xl); }
.insight-card { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-md); transition: all var(--transition-base); }
.insight-card:hover { border-color: var(--color-text-muted); transform: translateY(-2px); }
.insight-card__category { font-size: var(--text-xs); font-weight: 600; color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.05em; }
.insight-card__date { font-size: var(--text-xs); color: var(--color-text-muted); }
.insight-card__title { font-size: var(--text-lg); font-weight: 600; line-height: 1.4; }
.insight-card__excerpt { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.6; flex: 1; }
.insight-card__read { font-size: var(--text-sm); font-weight: 600; color: var(--color-accent); transition: color var(--transition-fast); }
.insight-card:hover .insight-card__read { color: var(--color-accent-hover); }

/* Contact */
.contact { padding-block: var(--space-section); }
.contact__wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: start; }
.contact__info { margin-top: var(--space-xl); }
.contact__info-item { display: flex; align-items: flex-start; gap: var(--space-md); font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.6; }
.contact__info-item svg { flex-shrink: 0; margin-top: 2px; color: var(--color-accent); }
.contact__form { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-2xl); display: flex; flex-direction: column; gap: var(--space-lg); }
.form-group { display: flex; flex-direction: column; gap: var(--space-sm); }
.form-group label { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-secondary); }
.form-group input, .form-group textarea { padding: var(--space-md); background: var(--color-bg-secondary); border: 1px solid var(--color-border); border-radius: var(--radius-md); font-size: var(--text-base); transition: all var(--transition-fast); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-muted); }
.form-group textarea { resize: vertical; min-height: 120px; }

.contact__alert { padding: var(--space-lg); border-radius: var(--radius-md); margin-bottom: var(--space-xl); font-size: var(--text-sm); }
.contact__alert--success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); color: #22c55e; }
.contact__alert--error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #ef4444; }

/* Footer */
.footer { background: var(--color-bg-secondary); border-top: 1px solid var(--color-border-subtle); padding-top: var(--space-4xl); }
.footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: var(--space-3xl); padding-bottom: var(--space-3xl); border-bottom: 1px solid var(--color-border-subtle); }
.footer__logo { height: 28px; width: auto; margin-bottom: var(--space-md); }
.footer__tagline { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 280px; }
.footer__links h4 { font-size: var(--text-sm); font-weight: 600; color: var(--color-text-primary); margin-bottom: var(--space-lg); }
.footer__links ul { display: flex; flex-direction: column; gap: var(--space-md); }
.footer__links a { font-size: var(--text-sm); color: var(--color-text-secondary); transition: color var(--transition-fast); }
.footer__links a:hover { color: var(--color-text-primary); }
.footer__bottom { padding-block: var(--space-xl); text-align: center; }
.footer__bottom p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* Hero Page Variant */
.hero--page {
    padding-top: calc(72px + var(--space-4xl));
    padding-bottom: var(--space-4xl);
    min-height: 50vh;
    text-align: center;
}
.hero--page .hero__title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-lg);
}
.hero--page .hero__subtitle {
    max-width: 640px;
    margin-inline: auto;
}

/* Engineering Detail */
.engineering-detail { padding-block: var(--space-section); }
.engineering-detail__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: var(--space-xl); }
.eng-card { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-xl); }
.eng-card h2 { font-size: var(--text-xl); font-weight: 600; margin-bottom: var(--space-md); }
.eng-card p { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.7; }
.eng-card__icon { width: 48px; height: 48px; background: var(--color-bg-tertiary); border: 1px solid var(--color-border); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-lg); color: var(--color-accent); }

/* Tech Stack */
.tech-stack { padding-block: var(--space-section); background: var(--color-bg-secondary); border-top: 1px solid var(--color-border-subtle); }
.tech-stack__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-lg); }
.tech-item { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-xl); text-align: center; }
.tech-item__name { display: block; font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-sm); }
.tech-item__desc { font-size: var(--text-sm); color: var(--color-text-muted); }

/* About */
.about-content { padding-block: var(--space-section); }
.about-section { margin-bottom: var(--space-3xl); }
.about-section:last-child { margin-bottom: 0; }
.about-section h2 { font-size: var(--text-2xl); font-weight: 600; margin-bottom: var(--space-lg); }
.about-section p { font-size: var(--text-base); color: var(--color-text-secondary); line-height: 1.7; }

/* Careers */
.careers-content { padding-block: var(--space-section); }
.careers-section { margin-bottom: var(--space-3xl); }
.careers-section:last-child { margin-bottom: 0; }
.careers-section h2 { font-size: var(--text-2xl); font-weight: 600; margin-bottom: var(--space-lg); }
.careers-section p { font-size: var(--text-base); color: var(--color-text-secondary); line-height: 1.7; }
.careers-list { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-lg); }
.careers-list li { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-sm) var(--space-lg); font-size: var(--text-sm); font-weight: 500; }

/* Insights List */
.insights-list { padding-block: var(--space-section); }

/* Legal Pages */
.legal-content { padding-block: var(--space-section); }
.legal-content .container--narrow { max-width: 720px; }
.legal-section { margin-bottom: var(--space-3xl); }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 { font-size: var(--text-xl); font-weight: 600; margin-bottom: var(--space-lg); }
.legal-section p { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.8; margin-bottom: var(--space-md); }
.legal-section ul { margin-left: var(--space-lg); margin-bottom: var(--space-md); }
.legal-section li { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.8; margin-bottom: var(--space-sm); list-style: disc; }

/* Product Group */
.product-group { margin-bottom: var(--space-3xl); }
.product-group__title { font-size: var(--text-2xl); font-weight: 600; margin-bottom: var(--space-sm); }
.product-group__desc { font-size: var(--text-base); color: var(--color-text-secondary); margin-bottom: var(--space-xl); }
.products__grid--single { max-width: 400px; }
.products__note { text-align: center; font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-2xl); padding-top: var(--space-2xl); border-top: 1px solid var(--color-border-subtle); }

/* Product Detail Pages */
.product-hero { padding-top: calc(72px + var(--space-4xl)); padding-bottom: var(--space-4xl); position: relative; overflow: hidden; }
.product-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: var(--space-3xl); align-items: center; }
.product-hero__eyebrow { display: inline-flex; align-items: center; gap: var(--space-sm); font-size: var(--text-xs); font-weight: 600; color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-lg); }
.product-hero__title { font-size: var(--text-4xl); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: var(--space-lg); }
.product-hero__text { font-size: var(--text-lg); color: var(--color-text-secondary); line-height: 1.7; margin-bottom: var(--space-xl); max-width: 680px; }
.product-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-bottom: var(--space-xl); }
.product-hero__meta { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.product-hero__meta-item { padding: var(--space-sm) var(--space-lg); background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: 999px; font-size: var(--text-sm); color: var(--color-text-secondary); }
.product-hero__visual { background: linear-gradient(180deg, rgba(31, 31, 36, 0.92) 0%, rgba(20, 20, 24, 0.98) 100%); border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.product-hero__visual img { width: 100%; height: auto; display: block; }
.product-hero__caption { padding: var(--space-lg); border-top: 1px solid var(--color-border); font-size: var(--text-sm); color: var(--color-text-muted); }

.product-overview { padding-block: var(--space-section); }
.product-overview__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: var(--space-3xl); align-items: start; }
.product-copy h2 { font-size: var(--text-2xl); font-weight: 600; margin-bottom: var(--space-lg); }
.product-copy p { font-size: var(--text-base); color: var(--color-text-secondary); line-height: 1.8; margin-bottom: var(--space-lg); }
.product-copy p:last-child { margin-bottom: 0; }
.product-sidebar { display: flex; flex-direction: column; gap: var(--space-lg); }
.product-stat-card { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-xl); }
.product-stat-card h3 { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-md); }
.product-stat-card p { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.7; }
.product-stat-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.product-stat-list li { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.6; padding-left: var(--space-lg); position: relative; }
.product-stat-list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: var(--color-accent); border-radius: 50%; }

.product-features { padding-block: var(--space-section); background: var(--color-bg-secondary); border-top: 1px solid var(--color-border-subtle); border-bottom: 1px solid var(--color-border-subtle); }
.product-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-xl); }
.product-feature-card { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-xl); }
.product-feature-card h3 { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-sm); }
.product-feature-card p { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.7; }

.product-platforms { padding-block: var(--space-section); }
.product-links { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xl); }
.product-link-chip { display: inline-flex; align-items: center; justify-content: center; padding: var(--space-md) var(--space-lg); background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 500; color: var(--color-text-secondary); transition: all var(--transition-fast); }
.product-link-chip:hover { color: var(--color-text-primary); border-color: var(--color-text-muted); background: var(--color-bg-elevated); }

.product-cta { padding-block: var(--space-section); }
.product-cta__box { background: linear-gradient(180deg, rgba(59, 130, 246, 0.12) 0%, rgba(20, 20, 24, 1) 100%); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-3xl); text-align: center; }
.product-cta__box h2 { font-size: var(--text-3xl); font-weight: 700; margin-bottom: var(--space-md); }
.product-cta__box p { max-width: 760px; margin-inline: auto; font-size: var(--text-base); color: var(--color-text-secondary); line-height: 1.8; margin-bottom: var(--space-xl); }
.product-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-md); }

/* Architecture Section */
.architecture { padding-block: var(--space-section); background: var(--color-bg-secondary); }
.architecture__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-xl); }
.arch-card { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-xl); }
.arch-card__icon { width: 48px; height: 48px; background: var(--color-bg-tertiary); border: 1px solid var(--color-border); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-lg); color: var(--color-accent); }
.arch-card__title { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-sm); }
.arch-card__text { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.7; }

/* System Design Principles */
.principles { padding-block: var(--space-section); }
.principles__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-xl); }
.principle-item { padding: var(--space-xl); border-left: 2px solid var(--color-accent); }
.principle-item__number { font-size: var(--text-sm); font-weight: 600; color: var(--color-accent); margin-bottom: var(--space-md); }
.principle-item__title { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-sm); }
.principle-item__text { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.6; }

/* Engineering Focus */
.engineering-focus { padding-block: var(--space-section); background: var(--color-bg-secondary); border-top: 1px solid var(--color-border-subtle); border-bottom: 1px solid var(--color-border-subtle); }
.engineering-focus__content { max-width: var(--container-text); margin-inline: auto; text-align: center; }
.engineering-focus__list { text-align: left; margin-top: var(--space-xl); display: inline-block; }
.engineering-focus__list li { font-size: var(--text-sm); color: var(--color-text-secondary); margin-bottom: var(--space-md); padding-left: var(--space-lg); position: relative; }
.engineering-focus__list li::before { content: '→'; position: absolute; left: 0; color: var(--color-accent); }

/* Responsive */
@media (max-width: 1024px) {
    .hero__container { grid-template-columns: 1fr; }
    .hero__visual { display: none; }
    .screenshots__showcase { grid-template-columns: 1fr; }
    .engineering .container { grid-template-columns: 1fr; }
    .contact__wrapper { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .product-hero__grid, .product-overview__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav__menu { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--color-bg-primary); border-bottom: 1px solid var(--color-border); padding: var(--space-lg); gap: var(--space-md); }
    .nav__menu.active { display: flex; }
    .nav__toggle { display: flex; }
    .nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav__toggle.active span:nth-child(2) { opacity: 0; }
    .nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .products__grid { grid-template-columns: 1fr; }
    .metrics__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr; }
    .product-hero__actions, .product-cta__actions { flex-direction: column; }
    .product-link-chip, .product-hero__actions .btn, .product-cta__actions .btn { width: 100%; }
    .product-cta__box { padding: var(--space-2xl); }
}
