/* ============================================================
   DANEXT ENTERPRISE — styles.css
   Colors: #0A0A0A (black) · #1AABF0 (electric blue) · #FFFFFF
   Fonts: Barlow Condensed (display) · Barlow (body)
   ============================================================ */

:root {
  --black:   #0A0A0A;
  --black2:  #111111;
  --black3:  #1A1A1A;
  --blue:    #1AABF0;
  --blue2:   #0D8FD4;
  --blue-dim: rgba(26,171,240,0.12);
  --white:   #FFFFFF;
  --gray-50:  #F7F9FC;
  --gray-100: #EAECEF;
  --gray-300: #B0B7C3;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --radius:   4px;
  --shadow:   0 4px 24px rgba(0,0,0,0.3);
  --tr:       220ms ease-out;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: var(--black); color: var(--white); line-height: 1.6; overflow-x: hidden; }
img { display: block; width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }

/* ── FADE IN ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
.hero-left > * { animation: fadeUp 0.7s ease-out both; }
.hero-left .badge      { animation-delay: 0.05s; }
.hero-left .hero-title { animation-delay: 0.15s; }
.hero-left .hero-sub   { animation-delay: 0.28s; }
.hero-left .hero-ctas  { animation-delay: 0.4s; }

/* ── TOP BAR ── */
.topbar {
  background: var(--blue);
  color: var(--black);
  text-align: center;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.topbar a { color: var(--black); font-weight: 700; }

/* ── HEADER ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: border-color var(--tr);
}
.header.scrolled { border-bottom-color: var(--blue); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }

/* LOGO */
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.5rem; color: var(--white); letter-spacing: 0.04em; }
.logo-sub  { font-family: 'Barlow Condensed', sans-serif; font-weight: 400; font-size: 0.65rem; color: var(--blue); letter-spacing: 0.16em; margin-top: -2px; }

/* NAV */
.nav { display: flex; gap: 36px; margin: 0 auto; }
.nav a { font-size: 0.88rem; font-weight: 500; color: var(--gray-300); letter-spacing: 0.04em; text-transform: uppercase; transition: color var(--tr); }
.nav a:hover { color: var(--blue); }

/* BUTTONS */
.btn-accent {
  background: var(--blue); color: var(--black);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 24px; border-radius: var(--radius);
  transition: background var(--tr), transform var(--tr);
  white-space: nowrap; border: none; cursor: pointer;
}
.btn-accent:hover { background: var(--blue2); transform: translateY(-1px); }
.btn-accent.full { width: 100%; padding: 14px; font-size: 1rem; }

.btn-primary {
  display: inline-block; background: var(--blue); color: var(--black);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 36px; border-radius: var(--radius);
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
}
.btn-primary:hover { background: var(--blue2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,171,240,0.35); }

.btn-ghost {
  display: inline-block; border: 1.5px solid rgba(255,255,255,0.3); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 36px; border-radius: var(--radius);
  transition: border-color var(--tr), color var(--tr);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--tr), opacity var(--tr); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SECTION LABELS ── */
.section-label {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.section-label.center { text-align: center; }

h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -0.01em; }
h2 span { color: var(--blue); }

.section-sub { color: var(--gray-300); font-size: 1rem; max-width: 580px; margin: 16px auto 0; }
.section-sub:not(.center) { margin-left: 0; }

/* ── HERO ── */
.hero {
  position: relative; min-height: calc(100vh - 104px);
  background: var(--black); padding: 100px 0 80px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}

/* Dots pattern background */
.hero-dots-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(26,171,240,0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 70% at 80% 50%, black 0%, transparent 100%);
}

.hero-inner { display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: center; position: relative; z-index: 1; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--blue); color: var(--blue);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--radius);
  margin-bottom: 28px;
}
.badge svg { width: 8px; height: 8px; fill: var(--blue); }

.hero-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.5rem); line-height: 0.95;
  color: var(--white); letter-spacing: -0.02em; margin-bottom: 28px;
}
.hero-title span { color: var(--blue); }

.hero-sub { font-size: 1.05rem; color: var(--gray-300); max-width: 500px; margin-bottom: 40px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* HERO CARDS */
.hero-right {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  animation: fadeUp 0.8s 0.3s ease-out both;
}
.hero-card {
  background: var(--black3); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color var(--tr), transform var(--tr);
}
.hero-card:hover { border-color: var(--blue); transform: translateY(-4px); }
.hc-icon { width: 40px; height: 40px; background: var(--blue-dim); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.hc-icon svg { width: 20px; height: 20px; color: var(--blue); }
.hero-card strong { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; color: var(--white); }
.hero-card span { font-size: 0.82rem; color: var(--gray-500); }

/* SCROLL HINT */
.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: var(--gray-500);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }
.hero-scroll-hint svg { width: 24px; height: 24px; }

/* ── STATS BAR ── */
.stats-bar { background: var(--black3); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 32px 0; }
.stats-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.stat { text-align: center; }
.stat strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 2.2rem; color: var(--blue); line-height: 1; }
.stat span { font-size: 0.8rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.08); }

/* ── ABOUT ── */
.about { padding: 120px 0; background: var(--black); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-text h2 { margin-bottom: 24px; }
.about-text p { color: var(--gray-300); font-size: 0.98rem; line-height: 1.8; margin-bottom: 16px; }
.about-text p strong { color: var(--white); }
.about-text .btn-primary { margin-top: 24px; }

.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.06); }
.pillar {
  background: var(--black); padding: 28px 24px;
  transition: background var(--tr);
}
.pillar:hover { background: var(--black3); }
.pillar-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 2rem; color: var(--blue); opacity: 0.6; line-height: 1; margin-bottom: 12px; }
.pillar h4 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; color: var(--white); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.pillar p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }

/* ── WHAT WE DO ── */
.whatwedo { padding: 120px 0; background: var(--black3); }
.whatwedo h2 { margin-bottom: 0; }
.whatwedo .section-sub { margin-bottom: 64px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.06); margin-top: 64px; }
.service-card {
  background: var(--black); padding: 36px 28px;
  transition: background var(--tr);
}
.service-card:hover { background: #141414; }
.sc-icon { width: 48px; height: 48px; background: var(--blue-dim); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.sc-icon svg { width: 24px; height: 24px; color: var(--blue); }
.service-card h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--white); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.service-card p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; }

/* ── CATEGORY HEADERS ── */
.cat-header {
  display: flex; align-items: center; gap: 20px;
  background: var(--black3); border: 1px solid rgba(255,255,255,0.07);
  border-left: 4px solid var(--blue);
  padding: 24px 28px; margin: 56px 0 20px;
  flex-wrap: wrap;
}
.cat-header-icon { width: 48px; height: 48px; background: var(--blue-dim); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-header-icon svg { width: 24px; height: 24px; color: var(--blue); }
.cat-header > div:nth-child(2) { flex: 1; min-width: 200px; }
.cat-header h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--white); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.cat-header p { font-size: 0.86rem; color: var(--gray-500); }
.cat-brands { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.cat-brands span { background: rgba(26,171,240,0.1); border: 1px solid rgba(26,171,240,0.25); color: var(--blue); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; padding: 5px 12px; border-radius: var(--radius); text-transform: uppercase; }

/* ── NEW PRODUCT CARDS WITH IMAGE ── */
.prod-card .prod-img { height: 200px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: #111; }
.prod-card .prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.prod-card:hover .prod-img img { transform: scale(1.04); }
.prod-card .prod-info { padding: 20px; }
.prod-brand { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; color: var(--blue); text-transform: uppercase; margin-bottom: 6px; }
.prod-card h4 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--white); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.prod-card p { font-size: 0.84rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 16px; }
.btn-prod { display: inline-block; background: transparent; border: 1px solid rgba(26,171,240,0.4); color: var(--blue); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 18px; border-radius: var(--radius); transition: background var(--tr), border-color var(--tr); }
.btn-prod:hover { background: var(--blue); color: var(--black); border-color: var(--blue); }

/* ── PRODUCTS ── */
.products { padding: 120px 0; background: var(--black); }
.products h2 { margin-bottom: 8px; }
.products .section-sub { margin-bottom: 56px; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.06); }

.prod-card {
  background: var(--black); padding: 32px 28px; position: relative;
  transition: background var(--tr);
}
.prod-card:hover { background: var(--black3); }
.prod-num {
  position: absolute; top: 20px; right: 20px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 0.75rem; color: rgba(255,255,255,0.12); letter-spacing: 0.08em;
}
.prod-icon { width: 44px; height: 44px; background: var(--blue-dim); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.prod-icon svg { width: 22px; height: 22px; color: var(--blue); }
.prod-card h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; color: var(--white); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.prod-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.7; }
.prod-card.featured { border: 1px solid rgba(26,171,240,0.3); }
.prod-card.featured .prod-icon { background: rgba(26,171,240,0.2); }

.cta-card {
  background: var(--blue); padding: 32px 28px;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.cta-card h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--black); text-transform: uppercase; }
.cta-card p { font-size: 0.88rem; color: rgba(0,0,0,0.65); line-height: 1.6; }
.cta-card .btn-accent { background: var(--black); color: var(--white); width: fit-content; margin-top: 8px; }
.cta-card .btn-accent:hover { background: var(--black3); }

/* ── WHY PARTNER ── */
.why-partner { padding: 120px 0; background: var(--black3); }
.why-partner h2 { margin-bottom: 64px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.06); }
.why-card {
  background: var(--black3); padding: 36px 28px;
  transition: background var(--tr);
}
.why-card:hover { background: #1E1E1E; }
.why-card svg { width: 36px; height: 36px; color: var(--blue); margin-bottom: 20px; }
.why-card h4 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--white); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.why-card p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; }

/* ── CONTACT ── */
.contact { padding: 120px 0; background: var(--black); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-left h2 { margin-bottom: 20px; }
.contact-left > p { color: var(--gray-300); font-size: 0.98rem; line-height: 1.7; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; color: var(--white); font-size: 0.95rem; margin-bottom: 2px; }
.contact-item span { font-size: 0.83rem; color: var(--gray-500); }

.contact-card {
  background: var(--black3); border: 1px solid rgba(255,255,255,0.08);
  padding: 40px; border-radius: var(--radius);
}
.contact-card h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.4rem; color: var(--white); text-transform: uppercase; margin-bottom: 8px; }
.contact-card > p { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 28px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--gray-300); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); color: var(--white); font-family: 'Barlow', sans-serif; font-size: 0.92rem;
  padding: 12px 16px; outline: none; resize: vertical;
  transition: border-color var(--tr);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); }

/* ── FOOTER ── */
.footer { background: #050505; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; padding: 72px 0 56px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-brand .logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand > p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.footer-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-pills span { border: 1px solid rgba(26,171,240,0.3); color: var(--blue); font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.1em; padding: 4px 12px; border-radius: var(--radius); }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--gray-500); margin-bottom: 10px; transition: color var(--tr); }
.footer-col a:hover { color: var(--blue); }
.footer-hours, .footer-location { font-size: 0.82rem; color: var(--gray-500); margin-top: 4px; }
.footer-bottom { text-align: center; padding: 20px; font-size: 0.8rem; color: rgba(255,255,255,0.2); }

/* ── PHONE FLOAT ── */
.phone-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; background: var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(26,171,240,0.4);
  transition: transform var(--tr), box-shadow var(--tr);
}
.phone-float svg { width: 26px; height: 26px; fill: var(--black); }
.phone-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(26,171,240,0.55); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 340px; gap: 48px; }
  .about-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--black2); padding: 20px 28px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav.open { display: flex; }
  .hamburger { display: flex; }
  .header .btn-accent { display: none; }
  .header-inner { position: relative; }

  .hero { padding: 72px 0 60px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .stats-inner { justify-content: center; gap: 32px; }
  .stat-divider { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-right { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
}
