:root {
  --color-bg-dark: #041114;
  --color-bg-darker: #020d10;
  --color-bg-light: #f5f9fa;
  --color-text-dark: #172b31;
  --color-text-light: #f3f8f9;
  --color-text-muted-dark: #53666c;
  --color-text-muted-light: #aec5cb;
  --color-accent: #2f97a8;
  --color-accent-hover: #37a6b8;
  --color-accent-light: #62b8c6;
  --color-border-dark: #2b4248;
  --color-border-light: #dbe8eb;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --spacing-gutter: clamp(1rem, 4vw, 2rem);
  --container-max: 80rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); line-height: 1.6; color: var(--color-text-dark); background: var(--color-bg-light); }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

.container { width: min(100% - 2 * var(--spacing-gutter), var(--container-max)); margin-inline: auto; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(4, 17, 20, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 0.5rem; color: #fff; font-weight: 700; font-size: 1.25rem; }
.logo-mark { width: 32px; height: 32px; }
.main-nav { display: none; align-items: center; gap: 1.5rem; }
.main-nav a { color: rgba(255,255,255,0.8); font-size: 0.9375rem; transition: color 0.2s; }
.main-nav a:hover { color: #fff; }
.nav-dropdown { position: relative; }
.nav-dropdown button { display: flex; align-items: center; gap: 0.25rem; background: none; border: none; color: rgba(255,255,255,0.8); font-size: 0.9375rem; cursor: pointer; }
.nav-dropdown button:hover { color: #fff; }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; border-radius: 0.5rem; box-shadow: 0 10px 40px rgba(0,0,0,0.2); padding: 0.5rem 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.2s; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 0.75rem 1.25rem; color: var(--color-text-dark); font-size: 0.9375rem; }
.dropdown-menu a:hover { background: var(--color-bg-light); color: var(--color-accent); }
.mobile-menu-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: none; border: none; color: #fff; cursor: pointer; }

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .mobile-menu-toggle { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 999px; font-weight: 500; font-size: 0.9375rem; transition: all 0.2s; }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); }
.btn-outline { border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-outline-light { border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-bg-dark); overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(4,17,20,0.55), transparent 65%); }
.hero-content { position: relative; z-index: 1; text-align: center; color: #fff; padding-top: 72px; }
.eyebrow { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.125em; text-transform: uppercase; color: var(--color-accent-light); margin-bottom: 0.75rem; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1.5rem; }
.hero-lede { font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.6; color: rgba(255,255,255,0.8); max-width: 42rem; margin: 0 auto 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* Sections */
.section { padding: clamp(4rem, 10vw, 7.5rem) 0; }
.section-dark { background: var(--color-bg-dark); color: var(--color-text-light); }
.section-light { background: var(--color-bg-light); color: var(--color-text-dark); }
.section-cta { background: var(--color-bg-darker); color: #fff; text-align: center; }
.section-cta h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.section-cta p { font-size: 1.125rem; color: rgba(255,255,255,0.75); max-width: 36rem; margin: 0 auto 2rem; }
.section-intro { max-width: 42rem; margin-bottom: 3rem; }
.section-intro h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1rem; }
.section-intro p { font-size: 1.0625rem; line-height: 1.6; color: rgba(255,255,255,0.72); }
.section-light .section-intro p { color: var(--color-text-muted-dark); }
.section-label { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.6); text-align: center; margin-bottom: 2rem; }
.section-cta { margin-top: 3rem; text-align: center; }

/* Logo grid */
.logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: center; }
.logo-item { display: flex; justify-content: center; }
.logo-item img { max-height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.7; }
@media (min-width: 768px) { .logo-grid { grid-template-columns: repeat(5, 1fr); } }

/* Product grid */
.product-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card { display: flex; flex-direction: column; padding: 1.5rem; border-radius: 1rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); transition: all 0.3s; }
.product-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.product-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 0.75rem; margin-bottom: 1.25rem; background: color-mix(in srgb, var(--card-accent) 20%, transparent); }
.product-icon img { width: 40px; height: 40px; }
.product-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.product-card p { font-size: 0.9375rem; line-height: 1.6; color: rgba(255,255,255,0.7); flex: 1; }
.product-link { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 1.25rem; font-size: 0.9375rem; font-weight: 500; color: var(--color-accent-light); }

/* Benefits */
.benefits-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit { padding-top: 1.5rem; border-top: 1px solid var(--color-border-light); }
.benefit-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 0.75rem; background: var(--icon-bg); margin-bottom: 1.25rem; }
.benefit-icon img { width: 32px; height: 32px; }
.benefit h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; }
.benefit p { font-size: 0.9375rem; color: var(--color-text-muted-dark); }

/* Story card */
.story-card { display: grid; gap: 2rem; padding: 2.5rem; border-radius: 1.5rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(47,151,168,0.3); }
@media (min-width: 768px) { .story-card { grid-template-columns: 1fr 1fr; align-items: center; } }
.story-media { display: flex; justify-content: center; }
.story-media img { max-width: 300px; }
.story-body h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.story-body p { color: rgba(255,255,255,0.78); margin-bottom: 1.5rem; }

/* News */
.news-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card { display: flex; flex-direction: column; background: #fff; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.news-thumb { aspect-ratio: 405/300; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-content time { font-size: 0.875rem; color: var(--color-text-muted-dark); margin-bottom: 0.5rem; }
.news-content h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; margin-bottom: 0.75rem; }
.news-content p { font-size: 0.9375rem; color: var(--color-text-muted-dark); flex: 1; }
.text-link { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 1rem; font-size: 0.9375rem; font-weight: 500; color: var(--color-accent); }
.text-link:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--color-bg-darker); color: #fff; padding: 4rem 0 2rem; }
.footer-grid { display: grid; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { margin-top: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.footer-links h4 { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.footer-links a { display: block; padding: 0.375rem 0; color: rgba(255,255,255,0.8); font-size: 0.9375rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08); }
.social-links { display: flex; gap: 1rem; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.06); transition: background 0.2s; }
.social-links a:hover { background: rgba(255,255,255,0.12); }
.social-links img { width: 20px; height: 20px; }

/* Mobile nav */
@media (max-width: 1023px) {
  .main-nav { position: fixed; inset: 72px 0 0 0; background: var(--color-bg-dark); flex-direction: column; align-items: flex-start; padding: 2rem; gap: 1rem; opacity: 0; visibility: hidden; transition: all 0.3s; }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav a { font-size: 1.25rem; }
  .dropdown-menu { position: static; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; padding-left: 1rem; }
  .dropdown-menu a { color: rgba(255,255,255,0.7); }
  .nav-dropdown:hover .dropdown-menu { transform: none; }
}

/* Page hero (inner pages) */
.page-hero { padding: calc(72px + 4rem) 0 4rem; background: var(--color-bg-dark); color: #fff; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1.5rem; }
.page-lede { font-size: 1.125rem; line-height: 1.6; color: rgba(255,255,255,0.75); max-width: 48rem; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.stat { text-align: center; }
.stat-number { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--color-accent); }
.stat-label { font-size: 0.9375rem; color: var(--color-text-muted-dark); }

/* Product page hero */
.product-hero { padding: calc(72px + 4rem) 0 4rem; background: var(--color-bg-dark); color: #fff; }
.product-hero .product-icon { width: 80px; height: 80px; margin-bottom: 1.5rem; }
.product-hero .product-icon img { width: 48px; height: 48px; }

/* Contact */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--color-border-light); border-radius: 0.5rem; font-family: inherit; font-size: 1rem; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--color-accent); outline-offset: -1px; border-color: transparent; }
.contact-steps { list-style: none; counter-reset: step; }
.contact-steps li { counter-increment: step; padding: 1rem 0; border-bottom: 1px solid var(--color-border-light); }
.contact-steps li:before { content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--color-accent); color: #fff; font-size: 0.875rem; font-weight: 600; margin-right: 0.75rem; }
.contact-steps strong { display: inline; }
.contact-steps p { margin-top: 0.375rem; margin-left: 2.25rem; font-size: 0.9375rem; color: var(--color-text-muted-dark); }

/* Customers */
.customer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .customer-grid { grid-template-columns: repeat(2, 1fr); } }
.customer-card { padding: 2rem; border-radius: 1rem; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.customer-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.customer-card p { color: var(--color-text-muted-dark); margin-bottom: 1rem; }
.customer-tag { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--color-bg-light); font-size: 0.8125rem; font-weight: 500; color: var(--color-accent); }
