/* =========================================
   METRIAXIS GLOBAL LIMITED - COMPLETE CSS
   PROFESSIONAL NAVY & SILVER THEME
========================================= */

:root {
  --primary: #0A2540;
  --primary-dark: #05162B;
  --primary-light: #F1F5F9;
  --accent: #64748B;
  --accent-light: #F1F5F9;
  --white: #FFFFFF;
  --bg-light: #F8FAFC;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --border: #E2E8F0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 10px 15px -3px rgba(10, 37, 64, 0.1), 0 4px 6px -2px rgba(10, 37, 64, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* =========================
   NAVIGATION
========================= */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-weight: 800;
  font-size: 24px;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--primary-dark);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* =========================
   HERO
========================= */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  color: #94A3B8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero h1 span {
  color: #CBD5E1;
}

.hero-description {
  color: #E2E8F0;
  font-size: 18px;
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
}

.btn-primary:hover {
  background: #F1F5F9;
  transform: translateY(-2px);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.hero-note {
  color: #94A3B8;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
}

/* Technical Visual */
.technical-frame {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.frame-top, .frame-bottom {
  display: flex;
  justify-content: space-between;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.instrument-visual {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
  margin: 20px 0;
}

.instrument-body {
  width: min(100%, 320px);
  background: linear-gradient(145deg, #FFFFFF, #E2E8F0);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.instrument-screen {
  background: #0F172A;
  border-radius: 6px;
  padding: 16px;
  color: #10B981;
  text-align: right;
  font-family: 'Courier New', monospace;
  border: 1px solid #334155;
}

.screen-label {
  display: block;
  font-size: 10px;
  color: #94A3B8;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.screen-value {
  display: block;
  font-size: 36px;
  line-height: 1;
  margin-bottom: 4px;
}

.screen-sub {
  display: block;
  font-size: 10px;
  color: #10B981;
  letter-spacing: 1px;
}

.instrument-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.control-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
}

.control-dot.active {
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.instrument-platform {
  width: min(100%, 360px);
  height: 16px;
  background: linear-gradient(#E2E8F0, #94A3B8);
  border-radius: 4px;
  margin-top: 24px;
}

/* =========================
   TRUST STRIP
========================= */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-items > div {
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 1px solid var(--border);
}

.trust-items > div:last-child {
  border-right: none;
}

.trust-items strong {
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.trust-items span {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
}

/* =========================
   SECTIONS (GENERAL)
========================= */
.section {
  padding: 100px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}

.section-intro h2, .about-heading h2, .contact-info h2 {
  color: var(--primary);
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.section-intro > p, .about-content p, .contact-info > p:not(.eyebrow) {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 500;
}

/* =========================
   SERVICES
========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  padding: 36px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.card-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.card-icon {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--primary);
}

.service-card h3 {
  color: var(--primary);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Premium CTA Button */
.premium-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: auto;
  width: fit-content;
}

.premium-cta i {
  font-size: 12px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-cta:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.2);
}

.premium-cta:hover i {
  transform: translateX(4px);
}

/* =========================
   DARK SECTION (WHY US)
========================= */
.dark-section {
  background: var(--primary);
  color: var(--white);
}

.dark-intro h2 {
  color: var(--white);
}

.dark-intro > p {
  color: #94A3B8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature {
  border-top: 2px solid var(--accent);
  padding-top: 24px;
}

.feature > span {
  color: #CBD5E1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.feature h3 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  margin: 16px 0 12px;
}

.feature p {
  color: #94A3B8;
  font-size: 15px;
  line-height: 1.6;
}

/* =========================
   ABOUT
========================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-content .lead {
  color: var(--text-dark);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* =========================
   CONTACT
========================= */
.contact-section {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info > p:not(.eyebrow) {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 450px;
  margin-bottom: 40px;
}

.contact-details {
  display: grid;
  gap: 32px;
}

.contact-item > span {
  display: block;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.contact-item a {
  display: block;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-item p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-heading {
  margin-bottom: 32px;
}

.form-heading > span {
  color: var(--primary);
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 800;
}

.form-heading h3 {
  color: var(--primary);
  font-size: 28px;
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.2;
}

.contact-card label {
  display: block;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 15px;
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-card textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.1);
  background: var(--white);
}

.btn-full {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  border: none;
}

.btn-full:hover {
  background: var(--primary-dark);
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #05162B;
  color: var(--white);
  padding: 50px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand strong {
  font-size: 15px;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 13px;
  margin-bottom: 4px;
}

.rc-number {
  font-size: 11px !important;
  color: #64748B !important;
  margin-top: 8px !important;
  letter-spacing: 0.5px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-bottom > p {
  color: #94A3B8;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #64748B;
  font-size: 12px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

/* =========================
   SCROLL REVEAL
========================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 900px) {
  .nav-container { min-height: 70px; }
  .logo-text { display: none; }
  
  .menu-toggle { display: block; }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 5%;
    box-shadow: var(--shadow);
  }
  
  .nav-links.active { display: flex; }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--border); }
  .nav-cta { text-align: center; margin-top: 10px; }

  .hero-grid, .section-intro, .services-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero { padding: 60px 0; text-align: center; }
  .hero-description { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-note { justify-content: center; }
  
  .section { padding: 70px 0; }
  .section-intro { margin-bottom: 40px; text-align: center; }
  
  .features-grid { grid-template-columns: 1fr; gap: 30px; }
  
  .trust-items { grid-template-columns: 1fr; }
  .trust-items > div { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-items > div:last-child { border-bottom: none; }
  
  .footer-content { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom { align-items: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .contact-card { padding: 24px; }
}