/* ============================================================
   KUBASE ENERGY — STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:        #0B1426;
  --navy-mid:    #0F1E3A;
  --navy-light:  #152847;
  --navy-card:   rgba(15, 30, 58, 0.85);
  --teal:        #00C9A7;
  --teal-dim:    rgba(0, 201, 167, 0.12);
  --teal-glow:   rgba(0, 201, 167, 0.25);
  --amber:       #F5A623;
  --amber-dim:   rgba(245, 166, 35, 0.12);
  --white:       #FFFFFF;
  --text-primary:   #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted:     #475569;
  --border:         rgba(0, 201, 167, 0.13);
  --border-hover:   rgba(0, 201, 167, 0.38);
  --font-display:   'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body:      'Inter', 'Segoe UI', sans-serif;
  --shadow-card:    0 4px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow:    0 0 48px rgba(0, 201, 167, 0.08);
  --radius:         12px;
  --radius-sm:      7px;
  --max-width:      1200px;
  --nav-height:     80px;
  --ease:           0.3s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utilities ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: 6rem 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--teal);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 58ch;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: var(--navy);
  transition: all var(--ease);
}
.btn-primary:hover {
  background: #00dfba;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 201, 167, 0.42);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all var(--ease);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-dim);
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(11, 20, 38, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease);
}
.nav.scrolled {
  background: rgba(11, 20, 38, 0.97);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img, .nav-logo svg { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  transition: color var(--ease);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--teal);
  transition: width var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: var(--navy) !important;
  transition: all var(--ease);
  letter-spacing: 0.04em;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: #00dfba;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 201, 167, 0.38);
}

/* ── Language Toggle ───────────────────────────────────── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-btn {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--ease);
  line-height: 1;
}
.lang-btn:first-child {
  border-right: 1px solid var(--border);
}
.lang-btn.active {
  background: var(--teal);
  color: var(--navy);
}
.lang-btn:not(.active):hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--ease);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center 40%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 20, 38, 0.96) 0%,
    rgba(11, 20, 38, 0.78) 45%,
    rgba(11, 20, 38, 0.92) 100%
  );
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 201, 167, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 201, 167, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: 20%; left: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: calc(var(--nav-height) + 2rem);
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--teal);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.5vw, 5.8rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.2s forwards;
}
.hero-title .accent { color: var(--teal); }
.hero-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--amber);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.3s forwards;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.5s forwards;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
  z-index: 2;
}
.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--teal), transparent);
}

/* ── Stats Bar ─────────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(90deg, var(--navy-mid), #162d50, var(--navy-mid));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 2.25rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--ease);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(0, 201, 167, 0.03); }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-num sup {
  font-size: 1.1rem;
  vertical-align: super;
  margin-left: 1px;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ── Product Cards (Home overview) ────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}
.product-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: 0;
  transition: opacity var(--ease);
}
.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}
.product-card:hover::before { opacity: 1; }

.product-icon {
  width: 48px; height: 48px;
  background: var(--teal-dim);
  border: 1px solid rgba(0, 201, 167, 0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.product-icon svg { width: 22px; height: 22px; }
.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.65rem;
}
.product-card p {
  font-size: 0.895rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 1.25rem;
}
.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.spec-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.7rem;
  border-radius: 20px;
  background: var(--teal-dim);
  color: var(--teal);
  border: 1px solid rgba(0, 201, 167, 0.16);
  letter-spacing: 0.03em;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--ease);
}
.product-link:hover { gap: 0.7rem; }

/* ── Why Us ────────────────────────────────────────────────── */
.why-section { background: var(--navy-mid); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.why-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(11, 20, 38, 0.55);
  transition: all var(--ease);
  position: relative;
}
.why-card:hover {
  border-color: var(--border-hover);
  background: var(--navy-card);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.why-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(0, 201, 167, 0.1);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.65rem;
}
.why-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Applications ──────────────────────────────────────────── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.app-card {
  position: relative;
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.app-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.app-card:hover img { transform: scale(1.06); }
.app-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(11, 20, 38, 0.97) 0%,
    rgba(11, 20, 38, 0.4) 55%,
    transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}
.app-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.app-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.app-overlay p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ── Certifications ────────────────────────────────────────── */
.cert-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(0, 201, 167, 0.04);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  transition: all var(--ease);
}
.cert-badge:hover {
  border-color: rgba(0, 201, 167, 0.35);
  color: var(--teal);
  background: var(--teal-dim);
}
.cert-badge svg {
  width: 14px; height: 14px;
  color: var(--teal);
  flex-shrink: 0;
}

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 9rem 0;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(0, 201, 167, 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
}
.cta-section p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 50ch;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-height) + 5rem) 0 5rem;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 201, 167, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 201, 167, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
}
.page-hero-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.05) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.1rem;
  line-height: 1.1;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 54ch;
  line-height: 1.75;
}

/* ── Products Page ─────────────────────────────────────────── */
.product-block {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border);
}
.product-block:nth-child(even) { background: var(--navy-mid); }
.product-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.product-block:nth-child(even) .product-block-inner { direction: rtl; }
.product-block:nth-child(even) .product-block-inner > * { direction: ltr; }

.product-visual {
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.product-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-visual:hover img { transform: scale(1.03); }
.product-visual-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 201, 167, 0.08), transparent 60%);
  pointer-events: none;
}

.product-block-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.product-block-content .lead {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.spec-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.855rem;
  line-height: 1.45;
}
.spec-row::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 0.42rem;
  flex-shrink: 0;
}
.spec-key { color: var(--text-secondary); }
.spec-val { color: var(--white); font-weight: 500; }

/* ── Tech Advantage Table ──────────────────────────────────── */
.tech-section { background: var(--navy-mid); }
.advantage-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.875rem;
}
.advantage-table th {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.advantage-table th:not(:first-child) { text-align: center; }
.advantage-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0,201,167,0.07);
  color: var(--text-secondary);
  vertical-align: middle;
}
.advantage-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}
.advantage-table td:not(:first-child) { text-align: center; }
.advantage-table tr:last-child td { border-bottom: none; }
.advantage-table tr:hover td { background: rgba(0,201,167,0.03); }
.td-highlight {
  color: var(--teal) !important;
  font-weight: 600 !important;
}
.td-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--teal-dim);
  border-radius: 50%;
  color: var(--teal);
}

/* ── About Page ────────────────────────────────────────────── */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.about-visual {
  height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 201, 167, 0.12), transparent 60%);
  pointer-events: none;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.about-text p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}
.about-text p:last-of-type { margin-bottom: 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.value-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--navy-card);
  transition: all var(--ease);
}
.value-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.value-icon {
  width: 40px; height: 40px;
  background: var(--teal-dim);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.value-icon svg { width: 20px; height: 20px; color: var(--teal); }
.value-card h3 {
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.45rem;
}
.value-card p {
  font-size: 0.845rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.location-block {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--navy-card);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.location-icon {
  width: 40px; height: 40px;
  background: var(--amber-dim);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.location-icon svg { width: 20px; height: 20px; color: var(--amber); }
.location-block h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.location-block p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Contact Page ──────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-form-wrap {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.contact-form-wrap .form-intro {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(11, 20, 38, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all var(--ease);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option { background: #0F1E3A; color: var(--text-primary); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: rgba(0, 201, 167, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 201, 167, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.btn-submit {
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  padding: 1rem;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.form-success {
  display: none;
  text-align: center;
  padding: 3.5rem 2rem;
}
.form-success-icon {
  width: 64px; height: 64px;
  background: var(--teal-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.form-success-icon svg { width: 32px; height: 32px; color: var(--teal); }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.form-success p { color: var(--text-secondary); font-size: 0.95rem; }

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.info-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--navy-card);
}
.info-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.info-card p, .info-card address {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: normal;
}
.info-card a {
  color: var(--teal);
  transition: opacity var(--ease);
  display: block;
  margin-top: 0.2rem;
}
.info-card a:hover { opacity: 0.75; }

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: #060D18;
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 1.25rem;
  max-width: 28ch;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--ease);
}
.footer-col a:hover { color: var(--teal); }
.footer-contact-info p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.footer-contact-info a {
  color: var(--teal);
  display: block;
  margin-top: 0.4rem;
  font-size: 0.86rem;
  transition: opacity var(--ease);
}
.footer-contact-info a:hover { opacity: 0.75; }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ── Divider ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Scroll Animations ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Keyframes ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);  }
  50%       { transform: translateX(-50%) translateY(-8px); }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .product-block-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-block:nth-child(even) .product-block-inner { direction: ltr; }
  .about-story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  section { padding: 4rem 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height); left: 0; right: 0; bottom: 0;
    background: rgba(8, 15, 30, 0.98);
    backdrop-filter: blur(24px);
    padding: 2.5rem 2rem;
    gap: 1.75rem;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open a {
    font-size: 1.2rem;
    color: var(--text-primary);
  }
  .nav-links.open .nav-cta {
    display: inline-flex;
    align-self: flex-start;
    font-size: 0.9rem;
  }
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .specs-grid { grid-template-columns: 1fr; }
  .advantage-table { font-size: 0.78rem; }
  .advantage-table th, .advantage-table td { padding: 0.65rem 0.75rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-title { font-size: 2.8rem; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .cert-grid { gap: 0.5rem; }
}
