/* =====================================================
   BEST NOTCH GROUP LLC — Global Base Styles
   Theme: Industrial Orange / Gold on Deep Black
   ===================================================== */

/* 1. DESIGN TOKENS */
:root {
  --orange:        #FF6B00;
  --orange-dark:   #CC5500;
  --gold:          #FFA500;
  --gold-light:    #FFD700;
  --black:         #030303;
  --dark:          #0D0D0D;
  --dark-2:        #141414;
  --dark-card:     rgba(20, 20, 20, 0.85);
  --white:         #FFFFFF;
  --gray-100:      #F5F5F5;
  --gray-300:      #CCCCCC;
  --gray-400:      #A0AEC0;
  --gray-600:      #718096;
  --glass-bg:      rgba(255, 107, 0, 0.06);
  --glass-border:  rgba(255, 107, 0, 0.2);
  --orange-glow:   rgba(255, 107, 0, 0.5);
  --gold-glow:     rgba(255, 165, 0, 0.4);

  /* Typography */
  --font-heading: 'Orbitron', 'Exo 2', sans-serif;
  --font-body:    'Poppins', 'Inter', sans-serif;

  /* Spacing */
  --section-pad: 100px 0;
  --container-max: 1200px;

  /* Transitions */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--black);
  color: var(--gray-300);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  display: block;
}

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

ul { list-style: none; }

/* 3. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.8;
}

/* 4. UTILITY CLASSES */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-orange { color: var(--orange) !important; }
.text-gold   { color: var(--gold) !important; }
.text-gray   { color: var(--gray-400) !important; }

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 40px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 40px; }

.electric-orange { color: var(--orange); text-shadow: 0 0 20px var(--orange-glow); }
.electric-gold   { color: var(--gold); text-shadow: 0 0 20px var(--gold-glow); }

.font-bold   { font-weight: 700; }
.text-sm     { font-size: 0.875rem; }
.text-xl     { font-size: 1.25rem; }
.text-lg     { font-size: 1.125rem; }

/* 5. BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.4s var(--ease-premium);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 107, 0, 0.5);
}

.btn-primary:hover::before { opacity: 1; }

.btn-primary span { position: relative; z-index: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.4s var(--ease-premium);
}

.btn-secondary:hover {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 0 30px var(--orange-glow);
  transform: translateY(-2px);
}

.btn-3d-pulse {
  display: inline-flex;
  align-items: center;
  padding: 18px 44px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  border-radius: 60px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s var(--ease-premium);
  box-shadow: 0 0 0 0 var(--orange-glow);
  animation: pulse-orange 2.5s infinite;
  position: relative;
  overflow: hidden;
}

@keyframes pulse-orange {
  0%   { box-shadow: 0 0 0 0 rgba(255,107,0,0.7); }
  70%  { box-shadow: 0 0 0 18px rgba(255,107,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,0,0); }
}

.btn-3d-pulse:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 50px rgba(255,107,0,0.5);
  animation: none;
}

/* 6. CARDS & GLASS */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  transition: all 0.4s var(--ease-premium);
}

.glass-card:hover {
  border-color: var(--orange);
  box-shadow: 0 0 30px rgba(255,107,0,0.15), inset 0 0 20px rgba(255,107,0,0.05);
  transform: translateY(-4px);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.hover-3d {
  transition: transform 0.4s ease;
  transform-style: preserve-3d;
}
.hover-3d:hover {
  transform: perspective(800px) rotateX(-5deg) rotateY(8deg) translateY(-4px);
}

/* 7. SECTION SPACING */
section {
  padding: var(--section-pad);
  position: relative;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255,107,0,0.1);
  border: 1px solid rgba(255,107,0,0.3);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

/* 8. GRID SYSTEMS */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* 9. GSAP REVEAL HELPER */
.gsap-reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  /* Fallback: auto-reveal after 2s if IntersectionObserver hasn't fired */
  animation: reveal-fallback 0.7s ease 2s forwards;
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}
@keyframes reveal-fallback {
  to { opacity: 1; transform: translateY(0); }
}

/* 10. DIVIDERS */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  border-radius: 2px;
  margin: 0 auto 32px;
}

/* scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }


/* selection */
::selection {
  background: var(--orange);
  color: var(--white);
}

/* ── GLOBAL MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  h2 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
  h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); }

  /* WhatsApp on mobile — move inward to not cover scroll-to-top */
  .sticky-chat-btn {
    padding: 11px 16px;
    font-size: 0.8rem;
    bottom: 20px !important;
    right: 16px !important;
  }
}

@media (max-width: 480px) {
  /* Stack hero CTA buttons vertically on very small screens */
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-3d-pulse {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  /* Scroll to top closer to WhatsApp */
  #scroll-to-top {
    right: 20px;
    bottom: 78px;
  }
}
