/* ==========================================================================
   HEATSHIELD LANDING PAGE STYLESHEET (MOBILE & TABLET RESPONSIVE EDITION)
   ========================================================================== */

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

:root {
  --bg: #0A0A0A;
  --bg-surface: #121212;
  --bg-card: #1A1410;
  --card-border: rgba(245, 177, 98, 0.18);
  --card-border-hover: rgba(255, 204, 68, 0.45);
  
  --gold: #F5B162;
  --gold-bright: #FFCC44;
  --orange: #E87B00;
  --orange-glow: rgba(232, 123, 0, 0.35);
  
  --text: #F5B162;
  --text-muted: rgba(245, 177, 98, 0.7);
  --white: #FFFFFF;
  
  --font-brand: 'Oswald', sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-brand);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 3rem;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--gold-bright);
}

.nav-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--gold-bright);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Navigation Hamburger Menu Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
  padding: 0;
}

.hamburger-btn span {
  width: 100%;
  height: 3px;
  background-color: var(--gold-bright);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-cta-item {
  display: none;
}

/* Buttons (Touch Target Optimization) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-family: var(--font-brand);
  font-size: 1.05rem;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  min-height: 44px;
}

.btn-primary {
  background: linear-gradient(135deg, #E87B00 0%, #B35900 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px var(--orange-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF8C00 0%, #D46B00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 123, 0, 0.5);
}

.btn-secondary {
  background: rgba(43, 19, 0, 0.8);
  color: var(--gold-bright);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background: rgba(61, 30, 0, 0.9);
  border-color: var(--gold-bright);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Fresh Hero Section (Centered Clean Layout) */
.hero-fresh {
  position: relative;
  min-height: 85vh;
  padding: 9rem 2rem 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, rgba(232, 123, 0, 0.12) 0%, rgba(10, 10, 10, 1) 70%);
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  pointer-events: none;
}

.hero-badge-fresh {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  border-radius: 30px;
  background: rgba(232, 123, 0, 0.15);
  border: 1px solid rgba(232, 123, 0, 0.4);
  color: var(--gold-bright);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.hero-title-fresh {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.15;
  max-width: 950px;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.hero-subtitle-fresh {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

.hero-cta-fresh {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Feature Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  border-color: var(--gold-bright);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.pillar-title {
  font-size: 1.35rem;
  color: var(--gold-bright);
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Section Wrapper */
.section-fresh {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-family: var(--font-body);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Telemetry Interactive Demo Card Section */
.demo-box {
  background: #110A05;
  border: 1px solid var(--orange);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 0 40px rgba(232, 123, 0, 0.15);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.metric-card-fresh {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}

.metric-val {
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
}

.metric-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* Footer */
.footer-fresh {
  border-top: 1px solid var(--card-border);
  padding: 3rem 2rem;
  text-align: center;
  background: #070707;
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS (Mobile & Tablet Optimization)
   -------------------------------------------------------------------------- */

/* Tablet & Mobile Navigation (max-width: 992px) */
@media (max-width: 992px) {
  .navbar {
    padding: 0.85rem 1.5rem;
  }
  
  .desktop-only-btn {
    display: none !important;
  }
  
  .hamburger-btn {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--card-border);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 2rem 2rem 2rem;
    gap: 1.2rem;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .mobile-cta-item {
    display: block;
  }

  .nav-link {
    font-size: 1.15rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(245, 177, 98, 0.1);
  }
}

/* Small Smartphone Breakpoint (max-width: 576px) */
@media (max-width: 576px) {
  .hero-fresh {
    padding: 7rem 1.25rem 3.5rem 1.25rem;
    min-height: auto;
  }
  
  .hero-badge-fresh {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }
  
  .hero-title-fresh {
    font-size: 2.1rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle-fresh {
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
  }
  
  .hero-cta-fresh {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }
  
  .hero-cta-fresh .btn {
    width: 100%;
    min-height: 48px;
  }
  
  .section-fresh {
    padding: 3.5rem 1.25rem;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }
  
  .pillar-card {
    padding: 1.5rem;
  }
  
  .demo-box {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
  }
  
  .demo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .metric-card-fresh {
    padding: 1rem 0.5rem;
  }
  
  .metric-val {
    font-size: 1.6rem;
  }
  
  .metric-lbl {
    font-size: 0.75rem;
  }
}
