/* ═══════════════════════════════════════════
   Izitech Mining Solutions — styles.css
   Final fully updated version
═══════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  --navy:    #061525;
  --deep:    #0b2e4a;
  --mid:     #0d4a7a;
  --accent:  #f5a623;
  --gold:    #e8961e;
  --bright:  #29b8e5;
  --white:   #ffffff;
  --text:    #c8d8e8;
  --muted:   #7a9bb5;
  --ease:    cubic-bezier(.25, .46, .45, .94);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ─── UTILITY ─── */
.container { max-width: 1400px; margin: auto; padding: 0 52px; }

/* ─── SECTION LABEL ─── */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── SECTION TITLE ─── */
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.section-title em { font-style: normal; color: var(--bright); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible     { opacity: 1; transform: translateY(0); }
.reveal-delay-1     { transition-delay: 0.10s; }
.reveal-delay-2     { transition-delay: 0.20s; }
.reveal-delay-3     { transition-delay: 0.30s; }
.reveal-delay-4     { transition-delay: 0.40s; }
.reveal-delay-5     { transition-delay: 0.50s; }


/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  height: 120px;
  background: #ffffff;
  border-bottom: 4px solid var(--accent);
  box-shadow: 0 4px 32px rgba(0,0,0,0.12);
  transition: height 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  height: 100px;
  box-shadow: 0 6px 40px rgba(0,0,0,0.18);
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 12px 0;
}
.logo-wrap img {
  height: 96px;
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
  list-style: none;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover          { color: var(--mid); }
.nav-links a:hover::after   { width: 100%; }

/* CTA button */
.nav-cta {
  background: var(--accent);
  color: var(--navy) !important;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 18px !important;
  font-weight: 800 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover          { background: var(--gold) !important; transform: translateY(-2px); }
.nav-cta::after         { display: none !important; }


/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  height: 65vh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 120px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.04);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(6,21,37,1) 0%, rgba(6,21,37,0.60) 50%, rgba(6,21,37,0.10) 100%),
    linear-gradient(to right, rgba(6,21,37,0.88) 0%, transparent 65%);
}
.hero-stripe {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(to right, var(--accent), var(--bright));
  z-index: 3;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 88px 64px;
  max-width: 900px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.45);
  color: var(--accent);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 3px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.3s var(--ease) both;
}
.hero-badge i { font-size: 13px; }

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(60px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.93;
  text-transform: uppercase;
  letter-spacing: -1px;
  animation: fadeUp 0.9s 0.5s var(--ease) both;
}
.hero h1 span { color: var(--bright); }

.hero-sub {
  margin-top: 22px;
  font-size: 20px;
  font-weight: 400;
  color: #daeaf8;
  max-width: 560px;
  line-height: 1.65;
  animation: fadeUp 0.9s 0.7s var(--ease) both;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.9s var(--ease) both;
}

/* Buttons */
.btn-primary {
  background: var(--accent);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--bright); background: rgba(41,184,229,0.10); }

/* Hero stat bar */
.hero-stats {
  position: absolute;
  bottom: 0; right: 0;
  z-index: 3;
  display: flex;
  animation: fadeUp 1s 1.1s var(--ease) both;
}
.stat-item {
  background: rgba(13,74,122,0.82);
  backdrop-filter: blur(14px);
  border-left: 1px solid rgba(41,184,229,0.28);
  padding: 20px 36px;
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-lbl {
  font-size: 13px;
  font-weight: 600;
  color: #a8c8e0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════════
   INTRO BAND
══════════════════════════════════════ */
.intro-band {
  background: var(--deep);
  border-top:    1px solid rgba(41,184,229,0.14);
  border-bottom: 1px solid rgba(41,184,229,0.14);
  padding: 88px 0;
}
.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}
.intro-text p {
  font-size: 24px;
  color: #daeaf8;
  line-height: 1.8;
  margin-top: 22px;
}

/* Pills */
.intro-pills { display: flex; flex-direction: column; gap: 16px; }
.pill {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(6,21,37,0.65);
  border: 1px solid rgba(41,184,229,0.16);
  border-left: 4px solid var(--bright);
  padding: 20px 24px;
  border-radius: 6px;
  transition: border-color 0.3s, background 0.3s;
}
.pill:hover { border-color: var(--accent); background: rgba(13,74,122,0.28); }
.pill-icon {
  width: 54px; height: 54px;
  background: rgba(41,184,229,0.14);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--bright);
  font-size: 22px;
  flex-shrink: 0;
}
.pill-body h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}
.pill-body p { font-size: 20px; color: #90b8d4; margin-top: 6px; }


/* ══════════════════════════════════════
   USE CASES GRID
══════════════════════════════════════ */
.usecases {
  padding: 96px 0;
  background: linear-gradient(to bottom, var(--navy) 0%, var(--deep) 100%);
}
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 52px;
  border: 1px solid rgba(41,184,229,0.14);
  border-radius: 10px;
  overflow: hidden;
}
.uc-item {
  background: rgba(13,74,122,0.18);
  padding: 40px 26px;
  text-align: center;
  border-right:  1px solid rgba(41,184,229,0.12);
  border-bottom: 1px solid rgba(41,184,229,0.12);
  transition: background 0.3s;
}
.uc-item:hover { background: rgba(13,74,122,0.50); }
.uc-icon {
  width: 64px; height: 64px;
  background: rgba(41,184,229,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
  color: var(--bright);
  transition: background 0.3s, color 0.3s;
}
.uc-item:hover .uc-icon { background: var(--accent); color: var(--navy); }
.uc-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d8eaf6;
  line-height: 1.3;
}


/* ══════════════════════════════════════
   SCENARIOS SLIDER
══════════════════════════════════════ */
#solution { padding: 96px 0; background: var(--navy); }
.solution-head { margin-bottom: 52px; }

.scenario-tabs {
  display: flex;
  border-bottom: 2px solid rgba(41,184,229,0.22);
  margin-bottom: 44px;
  overflow-x: auto;
}
.scenario-tab {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7a9bb5;
  padding: 16px 36px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.scenario-tab.active             { color: var(--white); border-bottom-color: var(--accent); }
.scenario-tab:hover:not(.active) { color: var(--text); }

.scenario-stage {
  position: relative;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
}
.scenario-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.scenario-panel.active { opacity: 1; pointer-events: all; }

.scenario-img-wrap { position: relative; overflow: hidden; }
.scenario-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.scenario-panel.active .scenario-img-wrap img { transform: scale(1); }
.scenario-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 65%, var(--navy));
}

.scenario-info {
  background: var(--deep);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(41,184,229,0.12);
  border-left: none;
  border-radius: 0 12px 12px 0;
}
.scenario-info h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 46px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 14px 0 18px;
  color: var(--white);
  line-height: 0.95;
}
.scenario-info p { font-size: 22px; color: #c8e0f4; line-height: 1.75; }

.scenario-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}
.feat-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 600;
  color: #d8eaf6;
  background: rgba(6,21,37,0.65);
  border: 1px solid rgba(41,184,229,0.16);
  padding: 13px 16px;
  border-radius: 6px;
}
.feat-chip i { color: var(--bright); font-size: 16px; flex-shrink: 0; }

/* Dot nav */
.slider-nav { display: flex; gap: 10px; margin-top: 24px; justify-content: center; }
.slider-dot {
  width: 32px; height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.slider-dot.active { background: var(--accent); width: 52px; }


/* ══════════════════════════════════════
   APPLICATION VALUES
══════════════════════════════════════ */
.values-section {
  background: linear-gradient(135deg, var(--deep) 0%, #07213a 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.values-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -60px;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(41,184,229,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.value-card {
  position: relative;
  background: rgba(6,21,37,0.75);
  border: 1px solid rgba(41,184,229,0.14);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.value-card:hover { transform: translateY(-6px); border-color: rgba(41,184,229,0.40); }
.value-card-img { height: 200px; overflow: hidden; }
.value-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.value-card:hover .value-card-img img { transform: scale(1.07); }
.value-card-body { padding: 28px 28px 36px; }
.value-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
}
.value-card-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--white);
  line-height: 1.1;
}
.value-card-body p { font-size: 22px; color: #a8c8e0; line-height: 1.8; }
.value-accent-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--bright), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.value-card:hover .value-accent-bar { transform: scaleX(1); }


/* ══════════════════════════════════════
   ARCHITECTURE
══════════════════════════════════════ */
#architecture { padding: 96px 0; background: var(--navy); }
.arch-wrap {
  margin-top: 52px;
  background: var(--deep);
  border: 1px solid rgba(41,184,229,0.16);
  border-radius: 12px;
  overflow: hidden;
}
.arch-wrap img { width: 100%; height: auto; display: block; }
.arch-caption {
  padding: 24px 40px;
  background: rgba(11,46,74,0.94);
  border-top: 1px solid rgba(41,184,229,0.16);
}
.arch-caption p {
  font-size: 17px;
  color: #b0d0e8;
  max-width: 900px;
  line-height: 1.75;
}


/* ══════════════════════════════════════
   DEMO KIT SECTION
══════════════════════════════════════ */
.demokit-section {
  padding: 96px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.demokit-section::before {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(41,184,229,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.demokit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.demokit-text p {
  font-size: 22px;
  color: #daeaf8;
  line-height: 1.8;
  margin-top: 20px;
  margin-bottom: 8px;
}
.demokit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.demokit-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 22px;
  font-weight: 600;
  color: #d8eaf6;
}
.demokit-list li i {
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: rgba(245,166,35,0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demokit-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demokit-img-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(41,184,229,0.10) 0%, transparent 70%);
  border-radius: 50%;
}
.demokit-img-wrap img {
  width: 100%;
  max-width: 500px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
  transition: transform 0.5s var(--ease);
}
.demokit-img-wrap img:hover { transform: scale(1.03) rotate(1deg); }


/* ══════════════════════════════════════
   VIDEO DEMO
══════════════════════════════════════ */
#video { padding: 96px 0; background: var(--deep); }
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}
.video-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid rgba(41,184,229,0.14);
}
.video-card video {
  width: 100%;
  display: block;
  border-radius: 12px 12px 0 0;
}
.video-label {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.video-label i    { color: var(--accent); font-size: 22px; }
.video-label span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* ══════════════════════════════════════
   CTA BAND
══════════════════════════════════════ */
.cta-band {
  padding: 88px 0;
  background: linear-gradient(135deg, var(--mid) 0%, #0a3e65 100%);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2329b8e5' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.04;
}
.cta-text p { color: #c8e4f4; margin-top: 14px; font-size: 19px; }


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--white);
  border-top: 1px solid rgba(41,184,229,0.14);
  padding: 32px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer img {
  height: 56px;
  opacity: 1;
  background: transparent;
}
footer p        { font-size: 17px; color: #0e558b; }
.footer-links   { display: flex; gap: 32px; }
.footer-links a { font-size: 17px; color: #0e558b; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }


/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1200px) {
  .intro-inner    { grid-template-columns: 1fr; gap: 48px; }
  .values-grid    { grid-template-columns: 1fr 1fr; }
  .usecase-grid   { grid-template-columns: repeat(2, 1fr); }
  .demokit-inner  { grid-template-columns: 1fr; gap: 44px; }
  .demokit-img-wrap img { max-width: 400px; }
}

@media (max-width: 900px) {
  .navbar          { padding: 0 24px; height: 84px; }
  .navbar.scrolled { height: 70px; }
  .logo-wrap img   { height: 60px; }
  .nav-links       { display: none; }
  .hero            { padding-top: 84px; height: 70vh; }
  .hero-content    { padding: 0 28px 52px; }
  .hero-stats      { display: none; }
  .container       { padding: 0 20px; }
  .scenario-panel  { grid-template-columns: 1fr; }
  .scenario-img-wrap { height: 240px; }
  .scenario-info   {
    border-radius: 0 0 12px 12px;
    border-left: 1px solid rgba(41,184,229,0.12);
    border-top: none;
  }
  .scenario-stage  { height: auto; }
  .video-grid      { grid-template-columns: 1fr; }
  .values-grid     { grid-template-columns: 1fr; }
  .usecase-grid    { grid-template-columns: repeat(2, 1fr); }
  .cta-inner       { flex-direction: column; }
  footer           { flex-direction: column; text-align: center; padding: 24px 20px; }
}