/* ──────────────────────────────────────────
   NASPER THEME — Main Stylesheet
   ────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --bg:       #080c14;
  --surface:  #0d1522;
  --card:     #111927;
  --border:   #1e2d42;
  --accent:   #00d4ff;
  --accent2:  #0066ff;
  --text:     #e8edf5;
  --muted:    #6b7f99;
  --white:    #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 9999;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, nav, .label { font-family: 'Syne', sans-serif; }

.label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

/* ─── LAYOUT ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }

/* ─── LOGO ─── */
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
}
.logo-text span { color: var(--accent); }
.logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  margin-top: -2px;
}

/* ─── HEADER / NAV ─── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
#site-header.scrolled {
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(18px);
  border-color: var(--border);
}

nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.nav-logo { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; }

.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 3px;
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}
.btn-primary { background: var(--accent); color: #080c14; }
.btn-primary:hover {
  background: #33ddff;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,212,255,0.3);
}
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 70%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.hero-glow-1 { width: 600px; height: 600px; background: rgba(0,102,255,0.15); top: -100px; right: -100px; }
.hero-glow-2 { width: 400px; height: 400px; background: rgba(0,212,255,0.1); bottom: 0; left: -80px; }

.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-label { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.5rem; }
.hero-label::before { content: ''; width: 32px; height: 1px; background: var(--accent); }

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-desc { font-size: 1.05rem; color: var(--muted); max-width: 420px; margin-bottom: 2.5rem; line-height: 1.75; }

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 2.5rem;
  margin-top: 3.5rem; padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.stat-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-num span { color: var(--accent); }
.stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 0.3rem; letter-spacing: 0.04em; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }

/* ─── SECTIONS ─── */
section { padding: 7rem 0; }
.section-header { margin-bottom: 4rem; }
.section-header .label { margin-bottom: 0.8rem; }
.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--white);
}
.section-header p { margin-top: 1rem; color: var(--muted); max-width: 520px; font-size: 1rem; }

/* ─── SERVICES ─── */
.services { background: var(--surface); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--card);
  padding: 2.5rem;
  position: relative; overflow: hidden;
  transition: background 0.3s;
  cursor: default;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0;
  background: var(--accent);
  transition: width 0.4s;
}
.service-card:hover { background: #14202f; }
.service-card:hover::after { width: 100%; }
.service-icon { width: 48px; height: 48px; margin-bottom: 1.5rem; color: var(--accent); }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.service-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
.service-num { position: absolute; top: 1.5rem; right: 1.8rem; font-family: 'Syne',sans-serif; font-size: 0.7rem; color: var(--border); letter-spacing: 0.1em; font-weight: 700; }

/* ─── APPROACH ─── */
.approach-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.approach-card-stack { position: relative; height: 420px; }
.acard {
  position: absolute;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 4px; padding: 1.8rem;
}
.acard-main { width: 100%; bottom: 0; left: 0; z-index: 3; }
.acard-back1 { width: 88%; bottom: 24px; left: 6%; z-index: 2; opacity: 0.7; }
.acard-back2 { width: 76%; bottom: 44px; left: 12%; z-index: 1; opacity: 0.4; }
.acard-label { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-family: 'Syne',sans-serif; font-weight: 600; margin-bottom: 1rem; }
.acard-title { font-family: 'Syne',sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.8rem; }
.pb-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.4rem; font-size: 0.78rem; color: var(--muted); }
.pb { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; margin-bottom: 1rem; }
.pb-fill { height: 100%; background: linear-gradient(90deg, var(--accent2), var(--accent)); border-radius: 2px; }
.approach-content .label { margin-bottom: 1rem; }
.approach-content h2 { font-family: 'Syne',sans-serif; font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 800; line-height: 1.2; color: var(--white); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.approach-content p { color: var(--muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.2rem; }
.check-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--text); }
.check-list li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ─── PROCESS ─── */
.process { background: var(--surface); }
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 2rem; left: 2.5rem; right: 2.5rem; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), transparent); z-index: 0;
}
.process-step { padding: 0 2rem; position: relative; z-index: 1; }
.process-step:first-child { padding-left: 0; }
.process-step:last-child { padding-right: 0; }
.step-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); margin-bottom: 2rem; position: relative; }
.step-dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
.step-num { font-family: 'Syne',sans-serif; font-size: 0.65rem; letter-spacing: 0.2em; color: var(--accent); font-weight: 700; margin-bottom: 0.5rem; }
.process-step h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.6rem; }
.process-step p { font-size: 0.83rem; color: var(--muted); line-height: 1.65; }

/* ─── TECH STRIP ─── */
.tech-strip { padding: 4rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); }
.tech-row { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.tech-label-side { flex-shrink: 0; font-family: 'Syne',sans-serif; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--border); padding-right: 2rem; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.tech-pill { padding: 0.4rem 1rem; border: 1px solid var(--border); border-radius: 2px; font-size: 0.78rem; color: var(--muted); font-family: 'Syne',sans-serif; font-weight: 600; letter-spacing: 0.04em; transition: all 0.2s; }
.tech-pill:hover { border-color: var(--accent); color: var(--accent); }

/* ─── CTA SECTION ─── */
.cta-section { padding: 8rem 0; background: var(--bg); position: relative; overflow: hidden; }
.cta-glow { position: absolute; width: 700px; height: 700px; background: radial-gradient(circle, rgba(0,102,255,0.12) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 680px; margin: 0 auto; }
.cta-inner .label { justify-content: center; display: flex; margin-bottom: 1.5rem; }
.cta-inner h2 { font-family: 'Syne',sans-serif; font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 800; color: var(--white); letter-spacing: -0.02em; margin-bottom: 1.2rem; line-height: 1.1; }
.cta-inner p { color: var(--muted); font-size: 1rem; margin-bottom: 2.5rem; line-height: 1.7; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-meta { margin-top: 2.5rem; font-size: 0.78rem; color: var(--muted); }

/* ─── FOOTER ─── */
#site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--muted); font-size: 0.85rem; line-height: 1.75; margin-top: 1.2rem; max-width: 260px; }
.footer-col h5 { font-family: 'Syne',sans-serif; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text); font-weight: 700; margin-bottom: 1.2rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { text-decoration: none; color: var(--muted); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--muted); }

/* ─── ANIMATIONS ─── */
@keyframes spin-slow  { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }
@keyframes pulse-glow { 0%,100% { opacity: 0.6; }   50% { opacity: 1; } }
@keyframes fadeUp     { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.fade-up          { animation: fadeUp 0.7s ease both; }
.delay-1          { animation-delay: 0.1s; }
.delay-2          { animation-delay: 0.22s; }
.delay-3          { animation-delay: 0.36s; }
.delay-4          { animation-delay: 0.5s; }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible   { opacity: 1; transform: translateY(0); }

/* ─── SINGLE / BLOG ─── */
.page-content, .entry-content { max-width: 760px; margin: 8rem auto 5rem; padding: 0 2rem; color: var(--text); }
.entry-content h2, .entry-content h3 { font-family: 'Syne',sans-serif; color: var(--white); margin: 2rem 0 0.8rem; }
.entry-content p { color: var(--muted); line-height: 1.8; margin-bottom: 1.2rem; }
.entry-content a { color: var(--accent); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .approach-inner { grid-template-columns: 1fr; }
  .approach-visual { display: none; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: flex; }
  .nav-links {
    display: none; position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(8,12,20,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column; align-items: center;
    padding: 2rem; gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  header .btn { display: none; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .container { padding: 0 1.2rem; }
}
