/* ══════════════════════════════════════════════════
   DEVLIQ — Shared Stylesheet
══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #062818;
  --bg-card:     #0d3e24;
  --bg-section:  #041d10;
  --accent:      #00C9A7;
  --accent-dim:  rgba(0,201,167,.16);
  --accent-glow: rgba(0,201,167,.32);
  --white:       #FFFFFF;
  --blue:        #82c6ff;
  --muted:       #c4d9d5;
  --border:      rgba(0,201,167,.28);
  --nav-h:       72px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  animation: pgIn .6s ease both;
}
@keyframes pgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* accent stripe at top */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 35%, var(--blue) 70%, transparent 100%);
  z-index: 9990;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,201,167,.32); border-radius: 3px; }

/* ══ NAV ══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 6%;
  justify-content: space-between;
  transition: background .35s, box-shadow .35s;
}
nav.scrolled {
  background: rgba(6,40,24,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 800;
  letter-spacing: .5px; color: var(--white); line-height: 1;
}
.nav-brand em { color: var(--accent); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px; font-weight: 500;
  letter-spacing: .2px;
  transition: color .2s;
  position: relative; padding-bottom: 3px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--accent); font-weight: 600; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.btn-nav {
  background: var(--accent) !important;
  color: #072E27 !important;
  font-weight: 700 !important;
  padding: 9px 22px;
  border-radius: 7px;
  font-size: 13px !important;
  transition: transform .2s, box-shadow .2s !important;
  letter-spacing: .2px !important;
}
.btn-nav:hover { transform: translateY(-2px) !important; box-shadow: 0 6px 20px var(--accent-glow) !important; }
.btn-nav::after, .btn-nav.active::after { display: none !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(6,40,24,.97);
  backdrop-filter: blur(20px);
  padding: 20px 6%;
  border-bottom: 1px solid var(--border);
  z-index: 999;
  flex-direction: column; gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--muted); text-decoration: none;
  font-size: 15px; font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,201,167,.08);
  transition: color .2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--accent); }

/* ══ PAGE BANNER (inner pages) ═══════════════════ */
.page-banner {
  padding: calc(var(--nav-h) + 64px) 6% 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-section);
}
.pb-mesh {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,201,167,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,201,167,.055) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.pb-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
  width: 500px; height: 500px;
  background: rgba(0,201,167,.09);
  top: -160px; left: -80px;
}
.pb-orb2 {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
  width: 280px; height: 280px;
  background: rgba(130,198,255,.07);
  bottom: -60px; right: 8%;
}
.pb-content { position: relative; z-index: 2; max-width: 760px; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted); font-weight: 500;
  margin-bottom: 22px; letter-spacing: .3px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.bc-sep { opacity: .35; font-size: 10px; }
.bc-cur { color: var(--accent); }

.pb-eyebrow {
  font-family: 'Space Grotesk', monospace;
  font-size: 11px; font-weight: 700;
  color: var(--accent); opacity: .7;
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.pb-eyebrow::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.pb-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.8px;
  margin-bottom: 16px;
}
.pb-title em { color: var(--accent); font-style: normal; }
.pb-sub {
  font-size: 16px; color: var(--muted);
  max-width: 520px; line-height: 1.75;
}

/* ══ SHARED SECTION ══════════════════════════════ */
.section-inner { max-width: 1180px; margin: 0 auto; }
section { padding: 88px 6%; }
section.dark { background: var(--bg-section); }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section-label::before {
  content: '//';
  color: rgba(0,201,167,.38);
  font-weight: 500; letter-spacing: 0;
  font-size: 13px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 14px;
  letter-spacing: -.5px;
}
.section-sub { font-size: 16px; color: var(--muted); line-height: 1.8; }
.section-header { margin-bottom: 52px; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 6%;
}

/* ══ BUTTONS ════════════════════════════════════ */
.btn-primary {
  display: inline-block; position: relative; overflow: hidden;
  background: var(--accent); color: #062818;
  padding: 14px 34px; border-radius: 9px;
  font-weight: 700; font-size: 14.5px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 28px rgba(0,201,167,.28);
  letter-spacing: .1px;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .5s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 44px rgba(0,201,167,.42); }
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,.28); color: var(--white);
  padding: 14px 34px; border-radius: 9px;
  font-weight: 600; font-size: 14.5px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(0,201,167,.08); }

/* ══ ABOUT ══════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text .section-header { margin-bottom: 28px; }
.about-text p { color: var(--muted); font-size: 16px; line-height: 1.85; margin-bottom: 18px; }
.about-text p strong { color: var(--white); font-weight: 600; }
.about-text p em { color: var(--accent); font-style: normal; font-weight: 600; }

.values-stack { display: flex; flex-direction: column; gap: 16px; }
.value-card {
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 26px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: border-color .3s, transform .3s;
}
.value-card:hover { border-color: var(--accent); transform: translateX(5px); }
.val-icon {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 10px;
  background: rgba(0,201,167,.13);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
}
.value-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 700;
  color: var(--accent); margin-bottom: 5px;
}
.value-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ══ TEAM CARDS ════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.team-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  border-radius: 18px 18px 0 0;
  opacity: 0; transition: opacity .3s;
}
.team-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 22px 48px rgba(0,0,0,.32), 0 0 32px rgba(0,201,167,.08); }
.team-card:hover::after { opacity: 1; }
.tc-teal::after  { background: linear-gradient(90deg, var(--accent), transparent); }
.tc-blue::after  { background: linear-gradient(90deg, #5BA8F5, transparent); }
.tc-purp::after  { background: linear-gradient(90deg, #a78bfa, transparent); }
.tc-amber::after { background: linear-gradient(90deg, #f59e0b, transparent); }

.team-avatar {
  width: 58px; height: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px; font-weight: 800; color: #fff;
  margin-bottom: 18px;
}
.av-teal  { background: linear-gradient(135deg, #00C9A7, #007A65); color: #072E27; }
.av-blue  { background: linear-gradient(135deg, #5BA8F5, #2563eb); }
.av-purp  { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.av-amber { background: linear-gradient(135deg, #f59e0b, #d97706); }

.team-role-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 5px; }
.team-name { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.team-bio { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.team-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.stag {
  background: rgba(0,201,167,.14);
  border: 1px solid rgba(0,201,167,.35);
  color: var(--accent);
  font-size: 11.5px; font-weight: 600;
  padding: 3px 11px; border-radius: 20px;
}
.team-links { border-top: 1px solid var(--border); padding-top: 16px; display: flex; gap: 16px; }
.tlink {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; color: var(--muted);
  text-decoration: none; transition: color .2s; font-weight: 600;
}
.tlink:hover { color: var(--accent); }

/* ══ PROJECT CARDS ════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}
.proj-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.proj-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 24px 52px rgba(0,0,0,.3), 0 0 32px rgba(0,201,167,.09); }

.proj-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.proj-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue); background: rgba(91,168,245,.1);
  border: 1px solid rgba(91,168,245,.22);
  padding: 3px 10px; border-radius: 20px;
}
.proj-status { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; }
.sdot { width: 7px; height: 7px; border-radius: 50%; }
.s-live .sdot { background: var(--accent); box-shadow: 0 0 7px var(--accent); }
.s-live        { color: var(--accent); }
.s-dev  .sdot  { background: #f59e0b; box-shadow: 0 0 7px #f59e0b; }
.s-dev         { color: #f59e0b; }
.proj-icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: var(--accent-dim); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.proj-title { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.proj-desc { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 18px; flex: 1; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.ttag {
  background: rgba(0,0,0,.35); border: 1px solid rgba(0,201,167,.25);
  color: #a8ccc7; font-size: 11.5px; font-weight: 500;
  padding: 4px 11px; border-radius: 5px;
  font-family: 'Consolas', 'Courier New', monospace;
}
.proj-foot { border-top: 1px solid var(--border); padding-top: 16px; display: flex; justify-content: space-between; align-items: center; }
.proj-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--accent); text-decoration: none;
  font-size: 13px; font-weight: 700; transition: gap .2s;
}
.proj-link:hover { gap: 9px; }
.proj-dim { color: var(--muted); font-size: 12px; }

/* ══ TECH CARDS ════════════════════════════════ */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.tech-card {
  background: #0e4439; border: 1px solid var(--border);
  border-radius: 13px; padding: 24px;
  transition: border-color .3s, box-shadow .3s;
}
.tech-card:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.tech-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 7px;
}
.tech-items { display: flex; flex-wrap: wrap; gap: 7px; }
.ti {
  background: rgba(0,0,0,.4); border: 1px solid rgba(0,201,167,.22);
  color: #a8ccc7; font-size: 12px; font-weight: 500;
  padding: 4px 12px; border-radius: 5px;
}

/* ══ CONTACT FORM ════════════════════════════ */
.cform { display: grid; gap: 15px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.fg label {
  display: block; font-size: 11.5px; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 7px;
}
.fg input, .fg textarea {
  width: 100%; background: rgba(0,0,0,.35);
  border: 1px solid rgba(0,201,167,.3); border-radius: 9px;
  padding: 13px 16px; color: var(--white);
  font-size: 14.5px; font-family: 'Inter', sans-serif;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.fg input:focus, .fg textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,201,167,.12); }
.fg textarea { resize: vertical; min-height: 120px; }
.btn-send {
  width: 100%; background: var(--accent); color: #072E27;
  border: none; padding: 14px; border-radius: 9px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif; letter-spacing: .2px;
  transition: transform .2s, box-shadow .2s;
}
.btn-send:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,201,167,.28); }

/* ══ FOOTER ════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 44px 6%;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-left { display: flex; align-items: center; gap: 14px; }
.footer-logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: .5px; line-height: 1; }
.footer-logo-text em { color: var(--accent); font-style: normal; }
.footer-tag { font-size: 10px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-top: 3px; }
.footer-subtag { font-size: 9.5px; color: rgba(196,217,213,.4); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2px; font-style: italic; }
.footer-motto { font-size: 13px; color: var(--muted); font-style: italic; }
.footer-motto em { color: var(--accent); font-style: normal; font-weight: 600; }
.footer-copy { font-size: 11.5px; color: rgba(196,217,213,.55); }

/* ══ FADE-UP ═══════════════════════════════════ */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger > .fade-up:nth-child(1) { transition-delay: .00s; }
.stagger > .fade-up:nth-child(2) { transition-delay: .10s; }
.stagger > .fade-up:nth-child(3) { transition-delay: .20s; }
.stagger > .fade-up:nth-child(4) { transition-delay: .30s; }

/* ══ RESPONSIVE ════════════════════════════════ */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 700px) {
  section { padding: 64px 5%; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  footer { flex-direction: column; text-align: center; }
  .form-row-2 { grid-template-columns: 1fr; }
  .page-banner { padding: calc(var(--nav-h) + 40px) 5% 44px; }
  .pb-title { font-size: clamp(30px, 8vw, 48px); }
}
