/* ================= ROOT & GLOBAL ================= */
:root {
  --orange: #f97316;
  --amber: #fbbf24;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

/* ================= TYPOGRAPHY ================= */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: var(--font-display);
}

h1 { font-size: clamp(2.5rem, 8vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================= UTILITIES ================= */
.text-gradient,
.grad-text {
  background: linear-gradient(135deg, var(--orange), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.grid-texture {
  background-image:
    linear-gradient(rgba(249,115,22,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.dot-texture {
  background-image: radial-gradient(rgba(249,115,22,.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ================= SCROLL REVEAL ================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ================= NAVBAR ================= */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: width .3s ease;
}

.nav-link:hover {
  color: #fff !important;
}

.nav-link:hover::after,
.nav-active::after {
  width: 100%;
}

.nav-active {
  color: var(--orange) !important;
}

#navbar {
  transition: background .3s, border-color .3s;
}

#navbar.nav-scrolled {
  background: rgba(7, 20, 40, .97) !important;
}

/* ================= MOBILE MENU ================= */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s ease, opacity .25s ease;
}

#mobileMenu.menu-open {
  max-height: 380px;
  opacity: 1;
}

.hb {
  transition: transform .3s ease, opacity .3s ease;
}

/* ================= CARDS ================= */
.prod-card,
.why-card,
.blog-card,
.strength-card {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.prod-card:hover,
.why-card:hover,
.blog-card:hover,
.strength-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}

/* Image zoom */
.prod-card img,
.blog-card img {
  transition: transform .5s ease;
}

.prod-card:hover img,
.blog-card:hover img {
  transform: scale(1.05);
}

/* Icon hover glow */
.why-card:hover .why-icon,
.strength-card:hover .card-icon {
  background: rgba(249,115,22,.18);
  border-color: var(--orange);
  box-shadow: 0 0 24px rgba(249,115,22,.3);
}

.why-icon,
.card-icon {
  transition: all .3s ease;
}

/* ================= BLOG ================= */
.read-more {
  transition: gap .2s ease, color .2s ease;
}

.blog-card:hover .read-more {
  gap: 10px;
  color: var(--amber);
}

.filter-btn {
  transition: all .2s ease;
}

.filter-active {
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #fff !important;
  border-color: transparent !important;
}

/* Featured grid */
.card-featured {
  grid-column: span 2;
}

@media (max-width: 1024px) {
  .card-featured {
    grid-column: span 1;
  }
}

/* ================= MODAL ================= */
#blogModal {
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

#blogModal.modal-open {
  opacity: 1;
  pointer-events: auto;
}

#blogModal .modal-panel {
  transform: translateY(20px) scale(.98);
  opacity: 0;
  transition: all .3s ease;
}

#blogModal.modal-open .modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ================= CONTACT ================= */
.field {
  position: relative;
}

.field input,
.field textarea {
  width: 100%;
  padding: .85rem 1rem .45rem;
  background: rgba(255,255,255,.03);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: #e2e8f0;
  font-size: .9rem;
}

.field label {
  position: absolute;
  left: 1rem;
  top: .8rem;
  font-size: .85rem;
  color: #64748b;
  transition: .2s;
}

.field input:focus ~ label,
.field textarea:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:not(:placeholder-shown) ~ label {
  top: .3rem;
  font-size: .7rem;
  color: var(--orange);
}

/* ================= FAQ ================= */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-btn i.fa-plus {
  transition: transform .3s;
}

.faq-btn.faq-open i.fa-plus {
  transform: rotate(45deg);
}

/* ================= SOCIAL ================= */
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: #94a3b8;
  transition: .2s;
}

.social-btn:hover {
  background: rgba(249,115,22,.12);
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ================= ANIMATION ================= */
@keyframes bounce-y {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.bounce-y {
  animation: bounce-y 1.8s infinite;
}

/* ================= SCROLLBAR ================= */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}