:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-2: #eef2ff;
    --text: #0f172a;
    --muted: #5b6475;
    --line: #d9e2f1;
    --primary: #b91c1c;
    --primary-dark: #7f1d1d;
    --accent: #1e3a8a;
    --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    --radius: 22px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 20px; top: 20px; z-index: 1000; background: #fff; padding: 12px 16px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 99;
    backdrop-filter: blur(16px);
    background: rgba(245, 247, 251, 0.88);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--primary), #ef4444); color: #fff; font-weight: 800;
    font-family: 'Outfit', sans-serif;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: 'Outfit', sans-serif; font-size: 1.05rem; }
.brand-text small { color: var(--muted); }
.desktop-nav { display: flex; align-items: center; gap: 26px; color: var(--muted); }
.desktop-nav a:hover { color: var(--primary); }
.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px;
    border-radius: 999px; font-weight: 600; transition: 0.25s ease;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary { background: #fff; border: 1px solid var(--line); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.menu-toggle span { display: block; height: 2px; background: var(--text); margin: 6px 0; }
.mobile-nav {
    display: none; flex-direction: column; gap: 14px; padding: 0 16px 18px; border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(245, 247, 251, 0.97);
}
.mobile-nav.active { display: flex; }

.hero { padding: 72px 0 44px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; }
.eyebrow {
    display: inline-flex; margin-bottom: 14px; padding: 8px 14px; border-radius: 999px;
    background: rgba(30, 58, 138, 0.08); color: var(--accent); font-size: 0.9rem; font-weight: 600;
}
.hero h1, .section-heading h2, .cta-box h2, .industries-grid h2, .site-footer h2 {
    font-family: 'Outfit', sans-serif; letter-spacing: -0.03em;
}
.hero h1 { margin: 0 0 16px; font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: 0.98; }
.hero p { margin: 0; max-width: 62ch; color: var(--muted); font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero-stats div, .feature-card, .product-card, .cta-box, .hero-card {
    background: rgba(255, 255, 255, 0.88); border: 1px solid rgba(217, 226, 241, 0.9); box-shadow: var(--shadow);
}
.hero-stats div { padding: 18px; border-radius: 18px; }
.hero-stats strong { display: block; margin-bottom: 8px; font-size: 1rem; }
.hero-stats span { color: var(--muted); font-size: 0.94rem; }
.hero-visual { position: relative; min-height: 800px; }
.hero-card { border-radius: 30px; overflow: hidden; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-main { height: 100%; }
.hero-card-main img { min-height: 520px; }
.hero-card-float {
    position: absolute; right: -16px; bottom: -18px; width: 47%; border: 8px solid rgba(255,255,255,0.92);
}

.section { padding: 88px 0; }
.alt-section { background: linear-gradient(180deg, rgba(238, 242, 255, 0.7), rgba(245, 247, 251, 0.3)); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2 { margin: 0 0 14px; font-size: clamp(1.9rem, 3vw, 3rem); }
.section-heading p { color: var(--muted); margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { border-radius: 24px; padding: 26px; }
.feature-card h3 { margin-top: 0; margin-bottom: 12px; font-family: 'Outfit', sans-serif; }
.feature-card p { margin: 0; color: var(--muted); }

.product-list { display: grid; gap: 24px; }
.product-card { border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 360px 1fr; }
.product-image-wrap { position: relative; background: #fff; min-height: 100%; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-category {
    position: absolute; left: 18px; top: 18px; padding: 8px 12px; border-radius: 999px;
    background: rgba(15, 23, 42, 0.8); color: #fff; font-size: 0.82rem;
}
.product-body { padding: 28px; }
.product-head { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.product-head h3 { margin: 0 0 10px; font-family: 'Outfit', sans-serif; font-size: 1.65rem; }
.product-head p { margin: 0; color: var(--muted); }
.price { color: var(--primary); white-space: nowrap; font-size: 1.05rem; }
.product-content-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 28px; }
.product-content-grid h4 { margin-top: 0; margin-bottom: 14px; font-size: 1rem; }
.product-content-grid ul { margin: 0; padding-left: 18px; color: var(--muted); }
.product-content-grid li { margin-bottom: 10px; }
.spec-list { list-style: none; padding: 0 !important; }
.spec-list li {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.spec-list span { color: var(--muted); }

.industries-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 14px; }
.industry-tags span {
    padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 600;
}
.cta-section { padding-top: 10px; }
.cta-box {
    border-radius: 30px; padding: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
    background: linear-gradient(135deg, #111827, #1e293b); color: #fff;
}
.cta-box p { color: rgba(255,255,255,0.78); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-box .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.25); }

.site-footer { padding: 64px 0 80px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 0.8fr 0.8fr; gap: 24px; }
.site-footer h2, .site-footer h3 { margin-top: 0; }
.site-footer p, .site-footer li, .site-footer a { color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

@media (max-width: 1080px) {
    .hero-grid, .industries-grid, .footer-grid, .product-card, .product-content-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-visual { min-height: auto; }
    .hero-card-main img { min-height: 420px; }
    .hero-card-float { width: 42%; }
    .cta-box { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 768px) {
    .desktop-nav, .nav-cta { display: none; }
    .menu-toggle { display: block; }
    .hero { padding-top: 44px; }
    .hero-stats, .feature-grid { grid-template-columns: 1fr; }
    .hero-card-float { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 16px; }
    .hero-card-main img { min-height: 300px; }
    .product-body, .feature-card, .cta-box { padding: 22px; }
    .section { padding: 68px 0; }
    .product-head { flex-direction: column; }
}

@media (max-width: 520px) {
    .container { width: min(var(--container), calc(100% - 20px)); }
    .hero h1 { font-size: 2.15rem; }
    .brand-mark { width: 42px; height: 42px; }
    .btn { width: 100%; }
    .hero-actions, .cta-actions { flex-direction: column; }
    .product-category { left: 12px; top: 12px; }
}
