/* ===========================
   DATARH — style.css
   Dark editorial / Data aesthetic
   Fonts: Syne (display) + DM Mono (code)
=========================== */

:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --border: #222222;
  --border-light: #2a2a2a;
  --accent: #00ff88;
  --accent-dim: rgba(0, 255, 136, 0.12);
  --accent-glow: rgba(0, 255, 136, 0.06);
  --text: #f0f0f0;
  --text-muted: #888888;
  --text-dim: #444444;
  --white: #ffffff;
  --font-display: 'Syne', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --radius: 2px;
  --max-w: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── GRID BACKGROUND ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,136,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.04em;
}
.nav-cta:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2.5rem 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s 0.3s ease both;
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 400;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-full { width: 100%; text-align: center; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--border-light);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text); }

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  background: var(--bg-card);
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.marquee-track .sep { color: var(--accent); opacity: 0.5; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTIONS ── */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 2.5rem;
  position: relative;
  z-index: 1;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
}

/* ── CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--border);
}
.card {
  background: var(--bg-card);
  padding: 2.5rem;
  transition: background 0.2s;
}
.card:hover { background: var(--bg-card-hover); }
.card-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.card p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--accent-dim);
  border-top: 1px solid rgba(0,255,136,0.2);
  border-bottom: 1px solid rgba(0,255,136,0.2);
  position: relative;
  z-index: 1;
}
.cta-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band-text {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.footer-left p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ── PAGE HERO (Services, Contact) ── */
.page-hero {
  padding: 10rem 2.5rem 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.5rem;
}
.page-title em {
  font-style: normal;
  color: var(--accent);
}
.page-sub {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 560px;
}

/* ── SERVICES LIST ── */
.services-list { padding-top: 2rem; }
.service-item {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background 0.2s;
}
.service-item:hover { background: var(--accent-glow); }
.service-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 0.4rem;
}
.service-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.service-body p {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  max-width: 600px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}
.service-tags li {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  border: 1px solid rgba(0,255,136,0.3);
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.service-accent {
  font-size: 1.8rem;
  color: var(--border-light);
  text-align: right;
  padding-top: 0.3rem;
}

/* ── PROCESS ── */
.process { }
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.process-step {
  flex: 1;
  min-width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
}
.step-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 1rem;
}
.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.process-step p {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.process-arrow {
  font-size: 1.5rem;
  color: var(--text-dim);
  padding-top: 2rem;
  flex-shrink: 0;
}

/* ── CONTACT ── */
.contact-section { padding-top: 2rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}
.form-group textarea { resize: vertical; }
.form-group select option { background: var(--bg-card); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.info-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.info-icon {
  font-size: 1.2rem;
  color: var(--accent);
  width: 30px;
  flex-shrink: 0;
}
.info-block h4 {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.info-block p {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.info-separator {
  height: 1px;
  background: var(--border);
}
.mono-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}
.linkedin-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,255,136,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.linkedin-btn:hover { border-color: var(--accent); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.2rem; }
  .nav-links { display: none; }
  .hero { padding: 7rem 1.2rem 3rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .stat-divider { display: none; }
  .section { padding: 4rem 1.2rem; }
  .service-item { grid-template-columns: 50px 1fr; }
  .service-accent { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .process-steps { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); }
}