/* ================================================
   DMANTRICS — Portfolio Stylesheet
   style.css
   ================================================ */

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

:root {
  --black: #0A0A0A;
  --white: #F5F2ED;
  --accent: #D4FF00;
  --accent-dark: #A8CC00;
  --gray: #1A1A1A;
  --gray-mid: #2A2A2A;
  --gray-light: #444;
  --muted: #888;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ================================================
   NAV
   ================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1e1e1e;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--accent);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--accent);
  color: var(--black) !important;
  padding: 10px 22px;
  border-radius: 2px;
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; color: var(--black) !important; }

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 260px);
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -4px;
  user-select: none;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.9;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 40px;
}

.hero h1 span { color: var(--accent); }

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  gap: 56px;
  margin-bottom: 56px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn-primary {
  background: var(--accent);
  color: var(--black);
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-ghost {
  color: var(--white);
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid #333;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-dark {
  background: var(--black);
  color: var(--white);
  padding: 18px 44px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}
.btn-dark:hover { opacity: 0.85; }

/* ================================================
   TICKER
   ================================================ */
.hero-ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--accent);
  color: var(--black);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-block;
  animation: ticker 25s linear infinite;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 3px;
}

/* ================================================
   SECTION SHARED
   ================================================ */
section { padding: 100px 48px; }

.section-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: 2px;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 56px;
}

/* ================================================
   SERVICES
   ================================================ */
.services { background: var(--gray); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #222;
  border: 1px solid #222;
}

.service-card {
  background: var(--gray);
  padding: 40px 36px;
  transition: background 0.25s;
  cursor: default;
}
.service-card:hover { background: #222; }

.service-num {
  font-family: var(--font-display);
  font-size: 42px;
  color: #2a2a2a;
  line-height: 1;
  margin-bottom: 20px;
}
.service-card:hover .service-num { color: var(--accent); }

.service-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid #333;
  padding: 4px 12px;
  border-radius: 2px;
  text-transform: uppercase;
}
.service-card:hover .tag { border-color: #444; color: #aaa; }

/* ================================================
   INDUSTRIES
   ================================================ */
.industries { padding: 80px 48px; }

.industries-strip {
  display: flex;
  gap: 0;
  overflow: hidden;
}

.ind-item {
  flex: 1;
  border: 1px solid #222;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  transition: all 0.2s;
  cursor: default;
}
.ind-item:hover { color: var(--white); background: #111; border-color: #333; }

.ind-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.4;
}
.ind-item:hover .ind-dot { opacity: 1; }

/* ================================================
   CASE STUDIES
   ================================================ */
.cases { background: var(--gray); }

.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #222;
}

.case-card {
  background: var(--gray);
  padding: 52px 48px;
  transition: background 0.2s;
}
.case-card:hover { background: #1e1e1e; }

.case-tag {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.case-title {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1;
}

.case-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
  font-weight: 300;
}

.case-results {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid #2a2a2a;
}

.result-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
}
.result-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ================================================
   CLIENTS
   ================================================ */
.clients-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
}

.client-item {
  background: var(--black);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}
.client-item:hover { background: #111; }

.client-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 12px;
  border: 1px solid #2a2a2a;
}
.client-item:hover .client-icon { border-color: var(--accent); }

.client-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}
.client-item:hover .client-name { color: var(--white); }

.client-sector {
  font-size: 10px;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ================================================
   TEAM
   ================================================ */
.team { background: var(--gray); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #222;
}

.team-card {
  background: var(--gray);
  padding: 48px 40px;
}

.team-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 24px;
  border: 1px solid #333;
}

.team-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 4px;
}

.team-role {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.team-bio {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ================================================
   WHY DMANTRICS
   ================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.why-left .section-title { margin-bottom: 24px; }
.why-left p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  max-width: 460px;
}

.why-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #1e1e1e;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid #1e1e1e;
  transition: background 0.2s;
}
.why-item:last-child { border-bottom: none; }
.why-item:hover { background: #111; }

.why-check {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--black);
  font-weight: 700;
}

.why-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
}

/* ================================================
   CTA
   ================================================ */
.cta {
  background: var(--accent);
  padding: 100px 48px;
  text-align: center;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 100px);
  letter-spacing: 3px;
  color: var(--black);
  line-height: 0.9;
  margin-bottom: 32px;
}

.cta p {
  font-size: 18px;
  color: rgba(0,0,0,0.6);
  margin-bottom: 48px;
  font-weight: 300;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.cta-email {
  font-size: 14px;
  color: rgba(0,0,0,0.5);
  letter-spacing: 0.05em;
}

/* ================================================
   FOOTER
   ================================================ */
footer {
  background: var(--black);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #1a1a1a;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 3px;
  color: var(--accent);
}

.footer-tagline {
  font-size: 12px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  color: #444;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 12px;
  color: #333;
}

/* ================================================
   DIVIDER
   ================================================ */
.divider {
  height: 1px;
  background: #1a1a1a;
  margin: 0 48px;
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow { animation: fadeUp 0.6s ease both; animation-delay: 0.1s; }
.hero h1      { animation: fadeUp 0.7s ease both; animation-delay: 0.2s; }
.hero-sub     { animation: fadeUp 0.7s ease both; animation-delay: 0.35s; }
.hero-stats   { animation: fadeUp 0.7s ease both; animation-delay: 0.5s; }
.hero-actions { animation: fadeUp 0.7s ease both; animation-delay: 0.6s; }
