/* 
  DIGIBIZ — Neon dark theme
  Color palette (5 colors total):
  --bg: near-black
  --text: white
  --muted: gray
  --primary: electric blue
  --accent: neon purple
*/
:root {
  --bg: #0b0f1a;
  --bg-elevated: #101626;
  --text: #ffffff;
  --muted: #94a3b8;
  --primary: #00d4ff;
  --accent: #9b5cff;
  --radius: 14px;
  --shadow-neon: 0 0 0px rgba(0, 212, 255, 0), 0 0 18px rgba(155, 92, 255, 0.22), 0 0 36px rgba(0, 212, 255, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-color, #fff);
}

.logo-img {
  border-radius: 50%;
  height: 60px; /* adjust size */
}


h1,
h2,
h3 {
  font-family: Poppins, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.2;
  margin: 0 0 12px;
}

p {
  margin: 0 0 12px;
  color: var(--muted);
}

a {
  color: var(--text);
  text-decoration: none;
}
a:hover {
  color: var(--primary);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.text-balance {
  text-wrap: balance;
}
.text-pretty {
  text-wrap: pretty;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 8px 12px;
  background: var(--bg-elevated);
  border-radius: 8px;
  outline: 2px solid var(--primary);
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(11, 15, 26, 0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 20px;
  color: var(--text);
}
.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text);
  transition: color .25s ease, background-color .25s ease, transform .25s ease;
}
.primary-nav a[aria-current="page"] {
  background: rgba(155, 92, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(155, 92, 255, 0.25);
}
.primary-nav a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

/* Mobile nav */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease, background .2s ease;
}
.btn-primary {
  background: #0d1b2a;
  border-color: rgba(0, 212, 255, 0.35);
  color: var(--text);
}
.btn:hover {
  transform: translateY(-2px) scale(1.02);
}
.btn-primary:hover {
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.45), 0 0 24px rgba(155, 92, 255, 0.25);
  border-color: rgba(0, 212, 255, 0.6);
}
.btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.glow {
  box-shadow: var(--shadow-neon);
}

/* Hero */
.hero,
.page-hero {
  padding: 56px 0;
}
.hero-grid,
.page-hero .hero-grid {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
}
.hero-grid--stack {
  grid-template-columns: 1fr;
}
.hero-copy .title {
  font-size: 40px;
}
.subtitle {
  color: var(--muted);
  font-size: 16px;
}
.hero-cta {
  margin-top: 16px;
}
.hero-visual {
  min-height: 260px;
}

/* 3D canvas wrapper */
.three-wrap {
  width: 100%;
  height: 320px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.0));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 0 24px rgba(155, 92, 255, 0.16);
  overflow: hidden;
}
.three-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Sections / Cards */
.features {
  padding: 32px 0 64px;
}
.cards-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 0 0 0 rgba(0, 0, 0, 0);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(0, 212, 255, 0.18);
  border-color: rgba(0, 212, 255, 0.25);
}
.card h3 {
  margin-bottom: 8px;
}

.services-grid .card {
  min-height: 140px;
}

.work-grid .project .project-thumb {
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--muted);
  margin-bottom: 12px;
}

/* Testimonials */
.testimonial .quote {
  font-size: 18px;
  color: var(--text);
}
.testimonial .author {
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 16px;
  padding-bottom: 64px;
  grid-template-columns: 1.2fr 0.8fr;
}
.form .form-field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
label {
  color: var(--text);
  font-size: 14px;
}
input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  background: #0b1324;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
input:focus,
textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  color: var(--muted);
}

/* Page transition overlay */


/* Tilt */
.tilt {
  will-change: transform;
  transform-style: preserve-3d;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .primary-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(11, 15, 26, 0.95);
    display: none;
  }
  .primary-nav.open {
    display: block;
  }
  .primary-nav ul {
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
  }
  .menu-toggle {
    display: inline-block;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .hero,
  .page-hero {
    padding: 36px 0;
  }
  .hero-visual {
    min-height: 220px;
  }
  .three-wrap {
    height: 260px;
  }
  .hero-copy .title {
    font-size: 32px;
  }
}
