/* ══════════════════════════════════════════════════════
   QUANTUM HORIZON AI — Global Stylesheet
   ══════════════════════════════════════════════════════ */

/* ─── RESET & VARIABLES ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #0a0f1a;
    --bg-secondary: #0d1526;
    --bg-tertiary: #111b30;
    --bg-card: rgba(17, 27, 48, 0.7);
    --bg-card-hover: rgba(22, 35, 60, 0.85);
    --bg-glass: rgba(10, 15, 26, 0.75);

    --text-primary: #eaf0f7;
    --text-secondary: #8a9bb5;
    --text-muted: #5a6d85;

    --accent: #fc6720;
    --accent-light: #ff8a4c;
    --accent-dark: #d4510f;
    --accent-glow: rgba(252, 103, 32, 0.15);
    --accent-green: #22c55e;
    --accent-blue: #3b82f6;

    --gradient-accent: linear-gradient(135deg, #fc6720, #f59e0b);
    --gradient-hero: linear-gradient(160deg, #0a0f1a 0%, #111b30 40%, #0d1526 100%);
    --gradient-card: linear-gradient(135deg, rgba(252, 103, 32, 0.05), rgba(245, 158, 11, 0.03));

    --border-subtle: rgba(252, 103, 32, 0.12);
    --border-light: rgba(138, 155, 181, 0.1);

    --font-display: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.2);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 40px rgba(252, 103, 32, 0.1);

    --max-width: 1240px;
    --nav-height: 80px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.5;
    overflow: visible;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    background: var(--accent-glow);
}

.section-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.section-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.section-title em {
    font-style: normal;
    color: var(--accent);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 620px;
    line-height: 1.8;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(252, 103, 32, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(252, 103, 32, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(234, 240, 247, 0.2);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ─── NAVIGATION ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.nav.scrolled {
    height: 64px;
    box-shadow: var(--shadow-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-logo img {
    height: 42px;
    width: auto;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.nav-logo-text span {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(252, 103, 32, 0.06);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

/* Services dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 260px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background: var(--accent-glow);
    color: var(--accent);
}

.nav-cta {
    margin-left: 12px;
    padding: 10px 24px !important;
    background: var(--gradient-accent);
    color: #fff !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 12px rgba(252, 103, 32, 0.2);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(252, 103, 32, 0.3);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translateY(5px) translateX(5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translateY(-5px) translateX(5px); }

/* ─── HERO (full-bleed background video) ─── */
.hero {
    padding: calc(var(--nav-height) + 100px) 40px 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(252, 103, 32, 0.18) 0%, transparent 55%),
        linear-gradient(180deg, rgba(10, 15, 26, 0.55) 0%, rgba(10, 15, 26, 0.85) 100%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: radial-gradient(rgba(252, 103, 32, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-aside {
    position: absolute;
    top: calc(var(--nav-height) + 80px);
    width: clamp(220px, 18vw, 300px);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    animation: fadeUp 0.9s ease forwards;
}

.hero-aside--left {
    left: max(2vw, calc((100vw - 920px) / 7));
    animation-delay: 0.5s;
}

.hero-aside--right {
    right: max(2vw, calc((100vw - 920px) / 7));
    animation-delay: 0.6s;
}

.hero-graphic {
    width: 100%;
    height: auto;
    max-height: 78vh;
    display: block;
    filter: drop-shadow(0 18px 40px rgba(0,0,0,0.5));
}

.hero-content {
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 16px;
}

.hero-content .section-label {
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: clamp(36px, 4.8vw, 60px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #fc6720, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lede {
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0 auto 32px;
    max-width: 620px;
}

.hero-chips {
    list-style: none;
    padding: 0;
    margin: 0 auto 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 680px;
}

.hero-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 100px;
    background: rgba(13, 21, 38, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.hero-chips li:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.hero-chips li svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex-shrink: 0;
}

.hero-sub {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0 auto 32px;
    max-width: 620px;
}

.hero-sub strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 20px 28px;
    background: rgba(13, 21, 38, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    max-width: 580px;
    margin: 0 auto;
}

.hero-proof-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.hero-proof-num {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.hero-proof-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-proof-sep {
    width: 1px;
    height: 32px;
    background: var(--border-light);
}

/* Hero animations */
.hero-content > * {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.7s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
.hero-content > *:nth-child(6) { animation-delay: 0.6s; }
.hero-content > *:nth-child(7) { animation-delay: 0.7s; }
.hero-content > *:nth-child(8) { animation-delay: 0.8s; }

@media (prefers-reduced-motion: reduce) {
    .hero-graphic *, .hero-graphic { animation: none !important; }
    .hero-graphic animate, .hero-graphic animateTransform { display: none; }
}

/* ─── VIDEO SHOWCASE ─── */
.video-section {
    padding: 80px 40px 100px;
    position: relative;
    z-index: 2;
}

.video-section-header {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.video-section-header .section-label {
    margin-left: auto;
    margin-right: auto;
}

.video-section-header .section-subtitle {
    margin: 0 auto;
}

.video-stage {
    max-width: min(100%, 1640px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr 240px;
    gap: clamp(28px, 5vw, 96px);
    align-items: center;
}

.video-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-self: start;
}

.video-aside--right {
    justify-self: end;
}

.video-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-lg);
    position: relative;
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
    justify-self: center;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Telemetry cards (sides of video) */
.telemetry-card {
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.telemetry-card:hover {
    border-color: var(--border-subtle);
    transform: translateY(-2px);
}

.telemetry-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.telemetry-card-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.telemetry-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulseDot 1.6s ease-in-out infinite;
}

.telemetry-dot--green {
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

.telemetry-dot--orange {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

@keyframes pulseDot {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.telemetry-card-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.telemetry-card-value--sm {
    font-size: 18px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    color: var(--accent);
    letter-spacing: -0.3px;
}

.telemetry-card-foot {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.telemetry-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 5px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.telemetry-card-row:last-child {
    border-bottom: none;
}

.telemetry-card-row strong {
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.text-green { color: var(--accent-green); }
.text-orange { color: var(--accent); }

.telemetry-card-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 36px;
}

.telemetry-card-bars span {
    flex: 1;
    background: linear-gradient(to top, rgba(252,103,32,0.4), var(--accent));
    border-radius: 2px;
    min-height: 4px;
    animation: barPulse 2.4s ease-in-out infinite;
}

.telemetry-card-bars span:nth-child(1) { animation-delay: 0s; }
.telemetry-card-bars span:nth-child(2) { animation-delay: 0.15s; }
.telemetry-card-bars span:nth-child(3) { animation-delay: 0.3s; }
.telemetry-card-bars span:nth-child(4) { animation-delay: 0.45s; }
.telemetry-card-bars span:nth-child(5) { animation-delay: 0.6s; }
.telemetry-card-bars span:nth-child(6) { animation-delay: 0.75s; }
.telemetry-card-bars span:nth-child(7) { animation-delay: 0.9s; }
.telemetry-card-bars span:nth-child(8) { animation-delay: 1.05s; }

@keyframes barPulse {
    0%, 100% { opacity: 0.65; transform: scaleY(0.85); }
    50% { opacity: 1; transform: scaleY(1); }
}

.telemetry-spark {
    width: 100%;
    height: 56px;
    margin-bottom: 8px;
    overflow: visible;
}

.telemetry-ring {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 4px auto 0;
}

.telemetry-ring svg {
    width: 100%;
    height: 100%;
}

.telemetry-ring-fg {
    transition: stroke-dashoffset 1.2s ease;
    filter: drop-shadow(0 0 6px rgba(252,103,32,0.5));
}

.telemetry-ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
}

/* Feature row beneath video */
.video-features {
    max-width: var(--max-width);
    margin: 56px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.video-feature {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
    text-align: left;
}

.video-feature:hover {
    border-color: var(--border-subtle);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.video-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--accent-glow);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 14px;
}

.video-feature-icon svg {
    width: 20px;
    height: 20px;
}

.video-feature-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.video-feature-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ─── SERVICES SECTION ─── */
.services-section {
    padding: 120px 40px;
    position: relative;
}

.services-header {
    text-align: center;
    margin-bottom: 72px;
}

.services-header .section-subtitle {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-card {
    padding: 40px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: var(--border-subtle);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-card:hover::before { opacity: 1; }

/* Pulsing accent dot in the top-right corner */
.service-card-status {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 8px;
    height: 8px;
    pointer-events: none;
}

.service-card-pulse {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(252, 103, 32, 0.55);
    animation: servicePulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes servicePulse {
    0%   { box-shadow: 0 0 0 0   rgba(252, 103, 32, 0.55); transform: scale(1);    }
    70%  { box-shadow: 0 0 0 12px rgba(252, 103, 32, 0);    transform: scale(1.1); }
    100% { box-shadow: 0 0 0 0   rgba(252, 103, 32, 0);    transform: scale(1);    }
}

/* Feature pills row inside the service card */
.service-card-pills {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.service-card-pills li {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(252, 103, 32, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover .service-card-pills li {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(252, 103, 32, 0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--accent-glow);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.3s ease;
}

.learn-more:hover { gap: 14px; }

.learn-more svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ─── STATS ─── */
.stats-section {
    padding: 80px 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {}

.stat-number {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.4;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ─── ABOUT / FOUNDER ─── */
.about-section {
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
}

.about-bg-graphic {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 72px;
    align-items: start;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content h2 {
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-content p:last-of-type {
    margin-bottom: 32px;
}

/* About pillars (left column under copy) */
.about-pillars {
    list-style: none;
    padding: 0;
    margin: 8px 0 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-pillars li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.about-pillars li:hover {
    border-color: var(--border-subtle);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.about-pillar-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--accent-glow);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.about-pillar-icon svg {
    width: 20px;
    height: 20px;
}

.about-pillar-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.about-pillar-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Right column — stacked cards */
.about-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.about-card {
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0.6;
}

.about-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}

/* Stats inside about card */
.about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
    max-width: none;
}

.about-stats .stat-item {
    padding: 8px 4px;
}

.about-stats .stat-number {
    font-size: clamp(28px, 3.5vw, 40px);
    margin-bottom: 4px;
}

.about-stats .stat-label {
    font-size: 11px;
    letter-spacing: 1px;
}

/* Industry pills */
.industry-pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.industry-pills li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 100px;
    background: rgba(252, 103, 32, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.industry-pills li:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.industry-pills svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Quote card */
.about-card--quote {
    background: linear-gradient(135deg, rgba(252,103,32,0.08), rgba(245,158,11,0.03));
    border-color: var(--border-subtle);
}

.quote-mark {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 72px;
    line-height: 0.7;
    color: var(--accent);
    opacity: 0.55;
    user-select: none;
}

.quote-mark--open {
    margin-bottom: 4px;
}

.quote-mark--close {
    text-align: right;
    margin-top: 4px;
    margin-bottom: 12px;
}

.about-card--quote blockquote {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-primary);
    font-weight: 500;
    font-style: italic;
    margin: 0;
    padding: 0;
}

.about-card-attrib {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.about-card-attrib-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.about-card-attrib-role {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

/* ─── CTA SECTION ─── */
.cta-section {
    padding: 120px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(252, 103, 32, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-inner h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cta-inner p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* ─── FOOTER ─── */
.footer {
    padding: 80px 40px 36px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 48px;
    max-width: var(--max-width);
    margin: 0 auto 60px;
}

.footer-brand .nav-logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-contact-item {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-contact-item strong {
    color: var(--text-primary);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
    color: var(--accent);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.back-to-top {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    transition: opacity 0.3s;
}

.back-to-top:hover { opacity: 0.7; }

/* ─── COMPANY PAGE ─── */
.company-mission {
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.company-mission-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.company-mission-copy h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.company-mission-copy h2 em {
    font-style: normal;
    color: var(--accent);
}

.company-mission-copy p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.company-mission-copy strong {
    color: var(--text-primary);
    font-weight: 600;
}

.company-mission-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.meta-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.meta-card:hover {
    border-color: var(--border-subtle);
    transform: translateY(-3px);
}

.meta-card-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.meta-card-value {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.1;
}

.meta-card-foot {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.company-approach {
    padding: 100px 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.company-approach-header {
    max-width: 760px;
    margin: 0 auto 64px;
    text-align: center;
}

.approach-flow {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: stretch;
}

.approach-step {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.approach-step:hover {
    border-color: var(--border-subtle);
    transform: translateY(-4px);
}

.approach-step-num {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 2px;
    opacity: 0.7;
}

.approach-step-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-glow);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 18px;
}

.approach-step-icon svg {
    width: 20px;
    height: 20px;
}

.approach-step-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.approach-step p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.approach-step-arrow {
    align-self: center;
    width: 60px;
}

.approach-step-arrow svg {
    width: 100%;
    height: auto;
    display: block;
}

.company-scenarios {
    padding: 100px 40px;
}

.scenarios-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.scenario-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.scenario-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scenario-card:hover {
    border-color: var(--border-subtle);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.scenario-card:hover::before { opacity: 1; }

.scenario-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--accent);
    background: var(--accent-glow);
    border: 1px solid var(--border-subtle);
}

.scenario-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.35;
}

.scenario-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
}

.scenario-stat {
    padding: 14px 16px;
    background: rgba(252, 103, 32, 0.04);
    border-left: 2px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.scenario-stat-value {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.1;
}

.scenario-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.company-principles {
    padding: 100px 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.company-principles-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.company-principles-copy h2 {
    font-size: clamp(30px, 3.6vw, 40px);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.4px;
}

.company-principles-copy h2 em {
    font-style: normal;
    color: var(--accent);
}

.company-principles-copy p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.principles-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.principles-list li {
    display: flex;
    gap: 18px;
    padding: 18px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.principles-list li:hover {
    border-color: var(--border-subtle);
    transform: translateX(4px);
}

.principles-num {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1.5px;
    flex-shrink: 0;
    padding-top: 2px;
    min-width: 32px;
}

.principles-list li > div {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.principles-list strong {
    display: block;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
}

/* ─── TEAM PAGE ─── */
.founder-skills {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
}

.founder-skills li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.founder-skills li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.team-grow-section {
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.team-grow-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.team-grow-inner .section-label {
    margin-left: auto;
    margin-right: auto;
}

.team-placeholder-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.team-placeholder-card {
    padding: 28px 18px;
    background: var(--bg-card);
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-md);
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.team-placeholder-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.team-placeholder-avatar {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--accent-glow);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.team-placeholder-avatar svg {
    width: 28px;
    height: 28px;
}

.team-placeholder-role {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.team-placeholder-status {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
    padding: calc(var(--nav-height) + 80px) 40px 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.service-hero {
    padding: calc(var(--nav-height) + 100px) 40px 120px;
    min-height: 820px;
}

.service-hero .hero-aside {
    top: calc(var(--nav-height) + 60px);
}

.service-hero .hero-graphic {
    max-height: 660px;
}

.service-hero .page-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.service-hero .page-hero-inner .section-label {
    margin-left: auto;
    margin-right: auto;
}

.service-hero .page-hero-inner p {
    margin-left: auto;
    margin-right: auto;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(252, 103, 32, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}

.page-hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.8;
}

/* ─── CONTENT SECTION ─── */
.content-section {
    padding: 100px 40px;
}

.content-prose {
    max-width: 800px;
    margin: 0 auto;
}

.content-prose h2 {
    font-size: 32px;
    margin: 48px 0 20px;
    color: var(--text-primary);
}

.content-prose h2:first-child {
    margin-top: 0;
}

.content-prose p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.content-prose ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
}

.content-prose ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ─── CONTACT FORM ─── */
.contact-form {
    max-width: 640px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group label .required {
    color: var(--accent);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(252, 103, 32, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* ─── BLOG ─── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
}

.blog-card:hover {
    border-color: var(--border-subtle);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image-link {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-tertiary);
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-image {
    transform: scale(1.04);
}

.post-feature {
    margin: 32px 0 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-md);
}

.post-feature img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-card-body {
    padding: 28px;
}

.blog-card-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
}

.blog-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.35;
}

.blog-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ─── BLOG POST ─── */
.post-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-content h2 {
    font-size: 28px;
    margin: 48px 0 16px;
}

.post-content p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ─── FOUNDER CARD ─── */
.founder-section {
    padding: 100px 40px;
    background: var(--bg-secondary);
}

.founder-card {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
}

.founder-image {
    aspect-ratio: 3 / 4;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
}

.founder-info h2 {
    font-size: 36px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.founder-info .founder-title {
    font-size: 16px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 24px;
}

.founder-info p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ─── PUBLICATIONS ─── */
.publications-section {
    padding: 100px 40px;
}

.pub-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.pub-card:hover {
    border-color: var(--border-subtle);
}

.pub-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.pub-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ─── INDUSTRY PAGES ─── */
.industry-hero {
    padding-bottom: 100px;
}

.industry-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.industry-breadcrumbs a {
    color: var(--text-secondary);
    transition: color 0.25s ease;
}

.industry-breadcrumbs a:hover {
    color: var(--accent);
}

.industry-breadcrumbs span {
    color: var(--text-muted);
    user-select: none;
}

.industry-trust-strip {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.industry-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(13, 21, 38, 0.55);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 13px;
    color: var(--text-secondary);
}

.industry-trust-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
    flex-shrink: 0;
}

.industry-trust-item strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* ─── COOKIE CONSENT BANNER ─── */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    right: 16px;
    left: 16px;
    z-index: 1100;
    max-width: 480px;
    margin-left: auto;
    background: rgba(13, 21, 38, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.cookie-banner--visible { transform: translateY(0); opacity: 1; }
.cookie-banner--leaving { transform: translateY(20px); opacity: 0; }

.cookie-banner-inner {
    padding: 22px 24px;
}

.cookie-banner-text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.cookie-banner-text strong {
    display: block;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
}

.cookie-banner-text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-banner .cookie-accept {
    flex: 1 1 auto;
    min-width: 140px;
    justify-content: center;
}

.cookie-prefs-toggle {
    background: transparent;
    border: 0;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.25s ease;
}

.cookie-prefs-toggle:hover { color: var(--accent); }

.cookie-prefs {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cookie-pref-row {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
}

.cookie-pref-info { flex: 1; }

.cookie-pref-info strong {
    display: block;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.cookie-pref-info span {
    display: block;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.55;
}

.cookie-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

.cookie-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-track {
    width: 36px;
    height: 20px;
    background: rgba(138, 155, 181, 0.2);
    border-radius: 100px;
    position: relative;
    transition: background 0.25s ease;
}

.cookie-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #eaf0f7;
    transition: transform 0.25s ease, background 0.25s ease;
}

.cookie-toggle input:checked + .cookie-toggle-track {
    background: var(--accent);
}

.cookie-toggle input:checked + .cookie-toggle-track .cookie-toggle-thumb {
    transform: translateX(16px);
    background: #fff;
}

.cookie-toggle.is-locked .cookie-toggle-track { opacity: 0.5; cursor: not-allowed; }

.cookie-prefs-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.cookie-prefs .cookie-save {
    padding: 10px 20px;
    font-size: 13px;
}

@media (max-width: 480px) {
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
    .cookie-banner-inner { padding: 18px; }
}

/* ─── NEWSLETTER STRIP ─── */
.newsletter-section {
    padding: 36px 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.newsletter-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.newsletter-copy {
    flex: 1 1 320px;
    min-width: 280px;
}

.newsletter-copy strong {
    display: block;
    color: var(--text-primary);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.newsletter-copy span {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.55;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 360px;
    max-width: 480px;
    flex-wrap: wrap;
    position: relative;
}

.newsletter-form .honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(252, 103, 32, 0.12);
}

.newsletter-form button {
    padding: 12px 22px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gradient-accent);
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 2px 12px rgba(252, 103, 32, 0.2);
}

.newsletter-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(252, 103, 32, 0.3);
}

.newsletter-form button[disabled],
.newsletter-form button.is-loading {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.newsletter-status {
    flex-basis: 100%;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 4px;
    min-height: 18px;
    color: var(--text-secondary);
}

.newsletter-status--success { color: var(--accent-green); }
.newsletter-status--error   { color: #f87171; }
.newsletter-status--info    { color: var(--accent-blue); }

@media (max-width: 768px) {
    .newsletter-section { padding: 28px 24px; }
    .newsletter-inner { gap: 20px; flex-direction: column; align-items: stretch; }
    .newsletter-form { max-width: 100%; }
}

/* ─── FOOTER CTA STRIP ─── */
.footer-cta {
    padding: 56px 40px;
    background: linear-gradient(135deg, rgba(252, 103, 32, 0.08), rgba(245, 158, 11, 0.03));
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(252, 103, 32, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.5;
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.footer-cta-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.footer-cta-copy {
    flex: 1;
    min-width: 0;
}

.footer-cta-copy h3 {
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.footer-cta-copy h3 em {
    font-style: normal;
    color: var(--accent);
}

.footer-cta-copy p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    max-width: 580px;
}

.footer-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .footer-cta-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
    .footer-cta-actions { width: 100%; }
    .footer-cta-actions .btn { flex: 1; justify-content: center; }
}

/* ─── 404 PAGE ─── */
.error-section {
    padding: calc(var(--nav-height) + 80px) 40px 100px;
    min-height: 80vh;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.error-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(252, 103, 32, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.error-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(80px, 14vw, 180px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 24px;
}

.error-section h1 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.error-section h1 em {
    font-style: normal;
    color: var(--accent);
}

.error-section > .error-inner > p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.75;
}

.error-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 880px;
    margin: 0 auto;
}

.error-card {
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
    text-align: left;
    color: inherit;
    text-decoration: none;
    display: block;
}

.error-card:hover {
    border-color: var(--border-subtle);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.error-card-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

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

.error-card-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ─── LEGAL PAGES (privacy, terms, security) ─── */
.legal-effective {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.content-prose h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 28px 0 12px;
}

.content-prose code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.92em;
    background: var(--bg-tertiary);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent-light);
    border: 1px solid var(--border-light);
}

.content-prose a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(252, 103, 32, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.25s ease;
}

.content-prose a:hover {
    text-decoration-color: var(--accent);
}

/* ─── CONTACT PAGE — refactored from inline styles ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: start;
}

.contact-form-wrap {
    max-width: 100%;
}

.contact-form-title {
    font-size: 28px;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.contact-form-lede {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.7;
}

/* Honeypot — visually hidden but available to bots and screen readers (we ignore SR submissions silently) */
.honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-error {
    display: block;
    font-size: 12px;
    color: #ef4444;
    margin-top: 6px;
    min-height: 14px;
    line-height: 1.4;
}

.form-helper {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    text-align: right;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    transition: color 0.3s ease;
}

.form-helper.is-near-limit {
    color: var(--accent);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.form-consent {
    margin: 24px 0 16px;
    padding: 14px 18px;
    background: rgba(252, 103, 32, 0.04);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.form-consent p { margin: 0; }

.form-consent a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-submit {
    width: 100%;
    justify-content: center;
    position: relative;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.contact-submit[disabled],
.contact-submit.is-loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.contact-submit-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-left: 4px;
}

.contact-submit.is-loading .contact-submit-spinner {
    display: inline-block;
}

.contact-submit.is-loading .btn-icon {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-status {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid transparent;
    display: none;
}

.form-status:not(:empty) {
    display: block;
}

.form-status--info {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
    color: var(--accent-blue);
}

.form-status--success {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.25);
    color: var(--accent-green);
}

.form-status--error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Right column on contact page */
.contact-side {
    padding-top: 20px;
}

.contact-side-title {
    font-size: 22px;
    margin-bottom: 28px;
    font-family: var(--font-display);
    font-weight: 700;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-method:last-of-type {
    margin-bottom: 32px;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-glow);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.contact-method-icon svg {
    width: 20px;
    height: 20px;
}

.contact-method-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-method-value {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
}

.contact-method-value:hover {
    color: var(--accent);
}

.contact-card {
    padding: 24px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
}

.contact-card:last-child { margin-bottom: 0; }

.contact-card-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-card h4 {
    font-size: 18px;
    font-family: var(--font-display);
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.contact-card--security {
    background: linear-gradient(135deg, rgba(252,103,32,0.06), rgba(245,158,11,0.02));
    border-color: var(--border-subtle);
}

.contact-card a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ─── SCROLL ANIMATIONS ─── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
/* ─── PRODUCTS PAGE ─── */
.products-section {
    padding: 80px 40px 120px;
}

.products-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-subtle);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.product-card-media {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.product-card-media--qcoder {
    background: linear-gradient(135deg, rgba(252, 103, 32, 0.18) 0%, rgba(13, 21, 38, 0.6) 100%);
}

.product-card-media--masar {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(13, 21, 38, 0.6) 100%);
}

.product-card-graphic {
    width: 88%;
    height: 88%;
    display: block;
    filter: drop-shadow(0 12px 30px rgba(0,0,0,0.35));
}

.product-card-body {
    padding: 36px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-green);
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    margin-bottom: 16px;
}

.product-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

.product-tag--soon {
    color: var(--accent);
    background: var(--accent-glow);
    border-color: var(--border-subtle);
}

.product-tag--soon::before {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.product-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.product-tagline {
    font-size: 16px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 20px;
}

.product-card-body > p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-features li {
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-glow);
    border: 1px solid var(--border-subtle);
}

.product-features li::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 11px;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

.product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.product-actions .btn {
    padding: 12px 24px;
    font-size: 14px;
}

/* ─── BLOG POST EXTRAS ─── */
.post-content code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.92em;
    background: var(--bg-tertiary);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent-light);
    border: 1px solid var(--border-light);
}

.post-content ul,
.content-prose ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
}

.post-content > ul li,
.content-prose > ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.post-content > ul li::before,
.content-prose > ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.content-prose-ol {
    list-style: none;
    counter-reset: prose-counter;
    padding-left: 0;
    margin-bottom: 24px;
}

.content-prose-ol li {
    position: relative;
    counter-increment: prose-counter;
    padding-left: 44px;
    margin-bottom: 14px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-prose-ol li::before {
    content: counter(prose-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-glow);
    border: 1px solid var(--border-subtle);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-table-wrap {
    margin: 32px 0;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.data-table th,
.data-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.data-table thead th {
    background: rgba(252, 103, 32, 0.05);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody td {
    color: var(--text-secondary);
}

.data-table tbody td:first-child {
    color: var(--text-primary);
    font-weight: 600;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.callout {
    margin: 36px 0;
    padding: 28px 32px;
    background: var(--accent-glow);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-md);
}

.callout-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 12px;
}

.callout p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.references {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
}

.references li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 0;
}

.references li::before {
    display: none !important;
}

@media (max-width: 1100px) {
    .hero-aside { display: none; }
    .video-stage { grid-template-columns: 1fr; }
    .video-aside { display: none; }
    .video-features { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-side { position: static; }
    .founder-card { grid-template-columns: 1fr; }
    .founder-image { max-width: 320px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .products-grid { grid-template-columns: 1fr; }
    .company-mission-grid { grid-template-columns: 1fr; gap: 40px; }
    .company-principles-grid { grid-template-columns: 1fr; gap: 32px; }
    .approach-flow { grid-template-columns: 1fr 1fr; gap: 16px; }
    .approach-step-arrow { display: none; }
    .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
    .team-placeholder-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .error-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .approach-flow { grid-template-columns: 1fr; }
    .scenarios-grid { grid-template-columns: 1fr; }
    .company-mission-meta { grid-template-columns: 1fr; }
    .founder-skills { grid-template-columns: 1fr; }
    .team-placeholder-grid { grid-template-columns: 1fr; }
    .error-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .about-stats .stat-number { font-size: 28px; }
    .about-card { padding: 24px; }
    .video-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --nav-height: 64px; }

    .nav { padding: 0 20px; }

    /* Mobile menu — full-screen overlay, slides down from the top.
       The fixed top:0 covers the navbar itself so the menu sits above it. */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 15, 26, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        z-index: 999;
        padding: calc(var(--nav-height) + 24px) 24px 32px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
    }
    .nav-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
    }

    /* Toggle stays above the open menu so users can close it */
    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    /* Each link as a row */
    .nav-menu .nav-link {
        display: block;
        padding: 14px 16px;
        font-size: 16px;
        color: var(--text-primary);
        border-radius: var(--radius-sm);
        text-align: left;
        width: 100%;
    }
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(252, 103, 32, 0.1);
        color: var(--accent);
    }
    .nav-menu .nav-link.active::after { display: none; }
    .nav-menu .nav-cta {
        margin: 16px 0 0;
        text-align: center;
        font-weight: 700;
    }

    /* Services dropdown becomes an inline expansion under the parent link */
    .nav-dropdown {
        width: 100%;
        position: relative;
    }
    .nav-dropdown > .nav-link {
        position: relative;
    }
    .nav-dropdown > .nav-link::after {
        content: '\203A';
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        color: var(--text-secondary);
        font-size: 18px;
        line-height: 1;
    }
    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: rgba(252, 103, 32, 0.04);
        min-width: auto;
        padding: 4px 8px 4px 24px;
        margin: 0 0 8px;
        border-radius: var(--radius-sm);
        border-left: 2px solid rgba(252, 103, 32, 0.3);
    }
    .nav-dropdown-menu a {
        padding: 10px 12px;
        font-size: 14px;
        color: var(--text-secondary);
    }
    .nav-dropdown-menu a:hover {
        background: rgba(252, 103, 32, 0.12);
        color: var(--accent);
    }

    /* Lock body scroll when menu is open (the JS already toggles overflow) */
    body.menu-open { overflow: hidden; }

    .hero {
        padding: calc(var(--nav-height) + 48px) 20px 48px;
    }

    .hero h1 { font-size: 36px; }

    .container,
    .video-section,
    .services-section,
    .content-section,
    .cta-section,
    .about-section,
    .founder-section,
    .publications-section,
    .stats-section,
    .page-hero {
        padding-left: 20px;
        padding-right: 20px;
    }

    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 32px; }
    .blog-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .service-card { padding: 28px 24px; }
    .stat-number { font-size: 44px; }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-chips { gap: 6px; }
    .hero-chips li { font-size: 12px; padding: 6px 12px; }
    .hero-proof { gap: 16px; padding: 16px 18px; }
    .hero-proof-num { font-size: 22px; }
    .hero-proof-label { font-size: 10px; letter-spacing: 1px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 30px; line-height: 1.2; }
    .hero-lede, .hero-sub { font-size: 15px; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .section-title { font-size: 28px; }
    .hero-proof { flex-wrap: wrap; }
    .hero-proof-sep { display: none; }
}
