/* ============================================================
   DATA NUCLEAR — Premium Aesthetic (Linear / Vercel style)
   Pure black, high contrast, refined typography, zero neon
   ============================================================ */

:root {
  --bg: #000000;
  --bg-card: #0A0A0A;
  --border: #222222;
  --border-hover: #444444;
  --text-main: #EDEDED;
  --text-muted: #888888;
  --white: #FFFFFF;
  --nav-h: 64px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--white);
}

/* CONTAINER */
.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* UTILITIES */
.section { padding: 120px 0; }
.divider { height: 1px; background: var(--border); width: 100%; }

/* GRID BACKGROUND */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center 0%, black 0%, transparent 70%);
}
.bg-glow {
  position: fixed; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 60%);
}

/* OVERLINE */
.overline {
  display: inline-block;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 99px;
}

/* TEXT GRADIENT */
.text-grad {
  background: linear-gradient(180deg, #FFFFFF 0%, #888888 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; color: transparent;
}

/* SECTION HEADER */
.sh { max-width: 600px; margin-bottom: 64px; }
.sh.center { margin-left: auto; margin-right: auto; text-align: center; }
.sh h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1; margin-bottom: 16px;
}
.sh p { font-size: 1.1rem; color: var(--text-muted); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 99px;
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s var(--ease);
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--white); color: #000;
}
.btn--primary:hover {
  background: #E0E0E0; transform: translateY(-1px);
}
.btn--outline {
  background: transparent; color: var(--white);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--text-muted); background: rgba(255,255,255,0.02);
}
.btn--lg { padding: 14px 28px; font-size: 0.95rem; }
.btn--full { width: 100%; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.nav__inner {
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-size: 1.1rem; font-weight: 500; letter-spacing: -0.02em; color: var(--white);
  display: flex; align-items: center; gap: 12px;
}
.nav__logo img {
  display: block;
}
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s ease;
}
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__cta { display: flex; gap: 12px; }

/* BURGER */
.nav__burger {
  display: none; background: none; border: none; cursor: pointer; padding: 4px;
  flex-direction: column; gap: 4px;
}
.nav__burger span {
  display: block; width: 20px; height: 1px; background: var(--white);
  transition: 0.3s ease;
}
.nav__mobile {
  display: none; flex-direction: column;
  background: #000; border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
}
.nav__mobile a {
  padding: 12px 0; font-size: 0.95rem; color: var(--text-main);
  border-bottom: 1px solid var(--border);
}
.nav__mobile a:last-child { border: none; }
.nav__mobile.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding-top: var(--nav-h);
}
.hero__inner { max-width: 800px; }
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05; margin-bottom: 24px;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-muted);
  max-width: 600px; margin: 0 auto 40px; line-height: 1.6;
}
.hero__actions { display: flex; justify-content: center; gap: 16px; }

/* ============================================================
   BENTO GRID (Services Overview)
   ============================================================ */
.bento {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 40px;
  transition: border-color 0.2s ease;
  position: relative; overflow: hidden;
}
.bento-card:hover { border-color: var(--border-hover); }
.bento-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.bento-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }
.bento-link { font-size: 0.85rem; color: var(--white); border-bottom: 1px solid var(--border); padding-bottom: 2px; }
.bento-link:hover { border-bottom-color: var(--white); }

/* ============================================================
   FEATURE LIST (Why Us)
   ============================================================ */
.feature-list { display: flex; flex-direction: column; }
.feature-item {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px;
  padding: 48px 0; border-top: 1px solid var(--border);
}
.feature-item h4 { font-size: 1.2rem; }
.feature-item p { color: var(--text-muted); font-size: 1rem; }

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block { text-align: center; padding: 120px 0; }
.cta-block h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 24px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 80px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 64px; }
.footer__logo { font-size: 1.1rem; font-weight: 500; color: var(--white); margin-bottom: 16px; display: block;}
.footer__desc { color: var(--text-muted); font-size: 0.9rem; max-width: 300px; }
.footer__col h5 { font-size: 0.85rem; color: var(--white); margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 12px; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-header { padding: calc(var(--nav-h) + 80px) 0 80px; }
.page-header h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; line-height: 1.1; }
.page-header p { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; }

/* SERVICES DETAIL */
.svc-detail { padding: 80px 0; border-top: 1px solid var(--border); }
.svc-detail:first-of-type { border-top: none; padding-top: 0; }
.svc-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.svc-detail h2 { font-size: 2rem; margin-bottom: 20px; }
.svc-detail p { color: var(--text-muted); margin-bottom: 24px; font-size: 1.05rem; }
.svc-list li { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--text-main); }
.svc-list li:first-child { border-top: 1px solid var(--border); }
.svc-metric { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.svc-metric strong { display: block; font-size: 3rem; font-weight: 500; color: var(--white); margin-bottom: 8px; line-height: 1; }
.svc-metric span { color: var(--text-muted); font-size: 0.9rem; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-grid p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 20px; }
.stat-table { width: 100%; border-collapse: collapse; }
.stat-table td { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.stat-table td:first-child { color: var(--text-muted); width: 140px; }

/* CONTACT FORM */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: transparent; border: 1px solid var(--border);
  padding: 12px 16px; border-radius: 8px; color: var(--white);
  font-family: var(--font); font-size: 0.95rem; outline: none; transition: border 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--text-muted); }
.form-group textarea { min-height: 120px; resize: vertical; }

[data-fs-error] { color: #f87171; font-size: 0.8rem; margin-top: 8px; display: block; }
[data-fs-error]:empty { display: none; }
[data-fs-success] {
  padding: 24px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); border-radius: 8px; margin-bottom: 24px;
  color: var(--text-muted); text-align: center;
}
[data-fs-success] strong {
  display: block; color: var(--white); font-weight: 500; margin-bottom: 4px; font-size: 1rem;
} to { opacity: 1; transform: translateY(0); } }

.contact-info h3 { font-size: 1.2rem; margin-bottom: 24px; }
.contact-info-item { margin-bottom: 24px; }
.contact-info-item h4 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-item p { font-size: 0.95rem; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(10px); transition: 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 860px) {
  .bento, .feature-item, .footer__grid, .svc-detail__grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-item { padding: 32px 0; }
  .footer__grid { display: flex; flex-direction: column; gap: 32px; }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero h1 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  .section { padding: 80px 0; }
}
