:root {
  --black: #ffffff;
  --dark: #fbfbfd;
  --gray-900: #f5f5f7;
  --gray-800: #ebebef;
  --gray-700: #d2d2d7;
  --gray-400: #86868b;
  --gray-100: #1d1d1f;
  --white: #1d1d1f;
  --accent: #1B3A6B; /* Switch to a cooling Navy Blue for the refreshing look */
  --gold: #E8A020;
  --transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- LAYOUT ---- */
section { position: relative; width: 100%; overflow: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---- TYPE ---- */
.section-label {
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px;
}
.section-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 40px; color: #1d1d1f;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; height: 64px;
  z-index: 1000; display: flex; align-items: center;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-800);
}
.nav-inner {
  width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 1.25rem; font-weight: 900; letter-spacing: 0.05em;
  color: #1d1d1f; text-decoration: none;
}
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  color: rgba(0,0,0,0.6); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; transition: var(--transition);
}
.nav-links a:hover { color: #000; }

.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-cta {
  background: var(--accent); color: #fff;
  padding: 8px 20px; border-radius: 4px; font-size: 0.85rem; font-weight: 700;
  text-decoration: none; transition: var(--transition);
}
.nav-cta:hover { transform: scale(1.05); }

/* Lang switcher */
.lang-switcher { display: flex; gap: 8px; }
.lang-btn {
  background: none; border: none; color: rgba(0,0,0,0.3);
  font-size: 0.75rem; font-weight: 700; cursor: pointer; transition: var(--transition);
}
.lang-btn.active, .lang-btn:hover { color: #000; }

.menu-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
.menu-toggle span { width: 24px; height: 1.5px; background: #000; transition: var(--transition); }

/* =========================================
   HERO
   ========================================= */
.hero {
  height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.hero-media {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at center, #ffffff 0%, #f5f5f7 100%);
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 60%, rgba(255,255,255,1) 100%);
}
.hero-content { max-width: 800px; padding: 0 24px; }
.hero-eyebrow { font-size: 1.1rem; font-weight: 500; color: var(--accent); margin-bottom: 16px; }
.hero-title {
  font-size: clamp(3.5rem, 10vw, 6.5rem); font-weight: 900;
  line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 32px; color: #1d1d1f;
}
.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem); color: var(--gray-400);
  margin-bottom: 48px; font-weight: 400; line-height: 1.6;
}
.hero-actions { display: flex; gap: 20px; justify-content: center; }
.btn-hero-primary {
  background: var(--accent); color: #fff;
  padding: 16px 48px; border-radius: 4px; font-weight: 700;
  text-decoration: none; transition: var(--transition);
}
.btn-hero-ghost {
  border: 1px solid rgba(0,0,0,0.1); color: #1d1d1f;
  padding: 16px 48px; border-radius: 4px; font-weight: 700;
  text-decoration: none; transition: var(--transition);
}
.btn-hero-primary:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(27,58,107,0.2); }
.btn-hero-ghost:hover { background: rgba(0,0,0,0.03); border-color: #000; }

.hero-scroll-hint {
  position: absolute; bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  cursor: pointer;
}
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, transparent, var(--accent)); animation: scroll-line 2s infinite; }
@keyframes scroll-line { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.1% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero-scroll-hint span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gray-400); }

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar { padding: 80px 0; background: #fff; }
.stats-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: flex; justify-content: space-between; align-items: center;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 2.5rem; font-weight: 800; margin-bottom: 8px; color: #1d1d1f; }
.stat span { font-size: 0.85rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; }
.stat-divider { width: 1px; height: 40px; background: var(--gray-800); }

/* =========================================
   PRODUCTS
   ========================================= */
.products { padding: 160px 0; background: #fff; }
.products .section-label, .products .section-title { text-align: center; }

.product-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  padding: 100px 0; max-width: 1400px; margin: 0 auto; padding: 100px 40px;
}
.product-block.reverse { direction: rtl; }
.product-block.reverse .product-info { direction: ltr; }

.product-visual { position: relative; background: #fff; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.04); padding: 40px; }
.product-visual img { width: 100%; height: auto; border-radius: 12px; transition: var(--transition); }
.product-visual:hover img { transform: scale(1.03); }
.product-badge-top {
  position: absolute; top: 20px; left: 20px;
  background: var(--gold); color: #000;
  padding: 4px 14px; border-radius: 4px; font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase; z-index: 2;
}

.product-info { max-width: 480px; }
.product-model-tag { font-size: 0.85rem; color: var(--accent); margin-bottom: 16px; font-weight: 600; }
.product-name { font-size: 3rem; font-weight: 800; margin-bottom: 16px; color: #1d1d1f; }
.product-tagline { font-size: 1.1rem; color: var(--gray-400); margin-bottom: 40px; }

.spec-list { list-style: none; margin-bottom: 48px; }
.spec-list li { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.spec-name { width: 120px; font-size: 0.85rem; color: var(--gray-400); flex-shrink: 0; }
.spec-bar { flex: 1; height: 2px; background: var(--gray-800); position: relative; }
.spec-fill { position: absolute; left: 0; top: 0; height: 100%; background: var(--accent); transition: width 1.5s ease-in-out; }
.spec-val { font-size: 0.9rem; font-weight: 700; width: 120px; text-align: right; color: #1d1d1f; }

.btn-product {
  color: #1d1d1f; text-decoration: none; font-weight: 700;
  font-size: 1rem; border-bottom: 2px solid var(--accent); padding-bottom: 4px;
  transition: var(--transition);
}
.btn-product:hover { color: var(--accent); transform: translateX(5px); display: inline-block; }

/* =========================================
   FEATURES
   ========================================= */
.features { padding: 160px 0; background: var(--gray-900); }
.features-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 80px;
}
.feat-card {
  padding: 40px; background: #fff; border-radius: 12px;
  transition: var(--transition); box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.feat-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.feat-icon { font-size: 2.5rem; margin-bottom: 24px; }
.feat-card h4 { font-size: 1.1rem; margin-bottom: 16px; font-weight: 700; color: #1d1d1f; }
.feat-card p { font-size: 0.9rem; color: var(--gray-400); line-height: 1.6; }

/* =========================================
   APPLICATIONS
   ========================================= */
.applications { padding: 160px 0; background: #fff; }
.app-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--gray-800); border: 1px solid var(--gray-800);
  margin-top: 80px; max-width: 1400px; margin-left: auto; margin-right: auto;
}
.app-card {
  background: #fff; padding: 60px 40px; position: relative;
  transition: var(--transition); overflow: hidden;
}
.app-card:hover { background: var(--gray-900); }
.app-num {
  position: absolute; top: 40px; right: 40px;
  font-size: 4rem; font-weight: 900; color: rgba(0,0,0,0.03);
  line-height: 1;
}
.app-icon { font-size: 2rem; margin-bottom: 32px; }
.app-card h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; color: #1d1d1f; }
.app-card p { font-size: 0.95rem; color: var(--gray-400); line-height: 1.7; }

/* =========================================
   ABOUT
   ========================================= */
.about { padding: 160px 0; background: var(--gray-900); }
.about-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: center;
}
.about-left p { font-size: 1.1rem; color: var(--gray-400); margin-bottom: 24px; line-height: 1.8; }
.about-right { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.about-stat { border-left: 2px solid var(--accent); padding-left: 24px; }
.about-stat strong { display: block; font-size: 3rem; font-weight: 800; margin-bottom: 8px; color: #1d1d1f; }
.about-stat span { font-size: 0.85rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; }

/* =========================================
   CONTACT
   ========================================= */
.contact { padding: 160px 0; background: #fff; }
.contact-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px;
}
.contact-left .section-title { margin-bottom: 24px; }
.contact-left p { font-size: 1.1rem; color: var(--gray-400); margin-bottom: 48px; }
.contact-email span { display: block; font-size: 0.85rem; color: var(--gray-400); margin-bottom: 8px; }
.contact-email a { font-size: 1.5rem; font-weight: 700; color: #1d1d1f; text-decoration: none; border-bottom: 2px solid var(--accent); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.form-group { position: relative; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: none; border: none; border-bottom: 1px solid var(--gray-800);
  padding: 12px 0; font-family: inherit; font-size: 1rem; color: #000;
  outline: none; transition: var(--transition);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group label {
  position: absolute; left: 0; top: 12px; color: var(--gray-400);
  pointer-events: none; transition: var(--transition);
}
.form-group input:focus ~ label, .form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label, .form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label, .form-group select:valid ~ label {
  top: -20px; font-size: 0.75rem; color: var(--accent);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: #000; }

.btn-submit {
  align-self: flex-start; background: var(--accent); color: #fff;
  padding: 16px 64px; border: none; border-radius: 4px; font-weight: 700;
  font-size: 1rem; cursor: pointer; transition: var(--transition);
}
.btn-submit:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(27,58,107,0.2); }

/* =========================================
   FOOTER
   ========================================= */
.footer { padding: 80px 0; background: #fff; border-top: 1px solid var(--gray-800); }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.footer-left .logo { display: block; margin-bottom: 12px; }
.footer-left p { font-size: 0.85rem; color: var(--gray-400); }
.footer-center { display: flex; gap: 40px; }
.footer-center a { color: var(--gray-400); text-decoration: none; font-size: 0.85rem; transition: var(--transition); }
.footer-center a:hover { color: #000; }
.footer-right { text-align: right; }
.footer-right p { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 4px; }

/* =========================================
   REVEAL ANIMATIONS
   ========================================= */
.reveal, .reveal-left, .reveal-right {
  opacity: 0; transition: all 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.revealed { opacity: 1; transform: translate(0, 0); }

/* =========================================
   MOBILE
   ========================================= */
@media (max-width: 1024px) {
  .product-block { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .product-block.reverse { direction: ltr; }
  .product-info { max-width: 100%; }
  .spec-name, .spec-val { width: 80px; }
  .about-inner { grid-template-columns: 1fr; gap: 64px; }
  .contact-inner { grid-template-columns: 1fr; gap: 64px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta, .lang-switcher { display: none; }
  .menu-toggle { display: flex; }
  .stats-inner { flex-direction: column; gap: 40px; }
  .stat-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

