/* =========================================================
   Valocitee — Homepage styles
   ========================================================= */

/* ---------- Hero ---------- */
.hero{
  padding: 76px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1{
  font-size: clamp(38px, 4.6vw, 60px);
  margin: 18px 0 22px;
  color: var(--ink);
}
.hero h1 em{
  font-style: normal;
  background: var(--grad-mark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede{
  font-size: 18px;
  color: var(--slate);
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-ctas{ display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badges{ display: flex; gap: 10px; flex-wrap: wrap; }
.hero-badges span{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--slate);
  border: 1px solid var(--line);
  background: var(--white);
  padding: 7px 12px;
  border-radius: 999px;
}

/* Hero visual: terminal card + pixel trail */
.hero-visual{ position: relative; }
.term{
  background: var(--navy-900);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(11,18,41,0.45);
  border: 1px solid var(--navy-700);
}
.term-bar{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: var(--navy-800);
  border-bottom: 1px solid var(--navy-700);
}
.term-dot{ width: 10px; height: 10px; border-radius: 50%; background: #3a4470; }
.term-dot:nth-child(1){ background: #ff6159; }
.term-dot:nth-child(2){ background: #ffbd2e; }
.term-dot:nth-child(3){ background: #27c93f; }
.term-file{
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-300);
}
.term-body{
  padding: 22px 22px 26px;
  font-family: var(--font-mono);
  font-size: 13.2px;
  line-height: 1.85;
  color: #cfe0ff;
}
.term-body .c-slate{ color: #6d7aa8; }
.term-body .c-blue{ color: #7fb3ff; }
.term-body .c-cyan{ color: var(--cyan-300); }
.term-body .c-green{ color: #6be3a6; }
.term-body .c-white{ color: #f3f6ff; }
.term-cursor{
  display: inline-block;
  width: 7px; height: 15px;
  background: var(--cyan-300);
  margin-left: 2px;
  vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink{ 50%{ opacity: 0; } }

.pixel-trail{
  position: absolute;
  top: -30px;
  right: -18px;
  width: 140px;
  height: 140px;
  pointer-events: none;
  z-index: 2;
}
.pixel-trail span{
  position: absolute;
  border-radius: 3px;
  background: var(--grad-mark);
  opacity: 1;
  box-shadow: 0 6px 14px -4px rgba(30,79,214,0.35);
  animation: pixel-float 3.6s ease-in-out infinite;
}
@keyframes pixel-float{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-7px); }
}

@media (max-width: 940px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; max-width: 480px; }
}

/* ---------- Section shell ---------- */
section{ padding: 96px 0; }
.section-head{
  max-width: 620px;
  margin-bottom: 52px;
}
.section-head h2{
  font-size: clamp(28px, 3.2vw, 38px);
  margin-top: 14px;
}
.section-head p{
  color: var(--slate);
  font-size: 16.5px;
  margin-top: 14px;
}

/* ---------- Services ---------- */
.services{ background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card{
  background: var(--white);
  padding: 32px 26px;
  transition: background .2s ease;
}
.service-card:hover{ background: var(--paper); }
.service-num{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue-600);
  margin-bottom: 22px;
  display: block;
}
.service-card h3{
  font-size: 18.5px;
  margin-bottom: 10px;
}
.service-card p{
  font-size: 14.5px;
  color: var(--slate);
}
@media (max-width: 940px){
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .service-grid{ grid-template-columns: 1fr; }
}

/* ---------- Featured work ---------- */
.work-card{
  background: var(--navy-900);
  border-radius: 20px;
  padding: clamp(30px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.work-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 260px at 88% -10%, rgba(63,197,240,0.22), transparent 60%),
    radial-gradient(420px 260px at 100% 100%, rgba(30,79,214,0.28), transparent 60%);
  pointer-events: none;
}
.work-eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cyan-300);
}
.work-card h3{
  font-size: clamp(24px, 3vw, 32px);
  margin: 14px 0 16px;
  position: relative;
}
.work-card p{
  color: var(--slate-300);
  font-size: 15.5px;
  max-width: 520px;
  position: relative;
}
.work-stats{
  display: flex;
  gap: 26px;
  margin: 26px 0 30px;
  flex-wrap: wrap;
  position: relative;
}
.work-stats div{ min-width: 110px; }
.work-stats strong{
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
}
.work-stats span{
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--slate-300);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.work-card .btn-primary{
  background: var(--white);
  color: var(--navy-900);
  position: relative;
}
.work-card .btn-primary:hover{ background: var(--cyan-300); }

.work-gauge{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-gauge svg{ width: 100%; max-width: 280px; height: auto; }

@media (max-width: 860px){
  .work-card{ grid-template-columns: 1fr; }
  .work-gauge{ order: -1; }
}

/* ---------- Process ---------- */
.process-list{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
}
.process-item{ border-top: 2px solid var(--ink); padding-top: 18px; }
.process-item .service-num{ color: var(--ink); font-size: 13px; margin-bottom: 14px;}
.process-item h4{ font-size: 16px; margin-bottom: 8px; }
.process-item p{ font-size: 13.8px; color: var(--slate); }
@media (max-width: 940px){
  .process-list{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .process-list{ grid-template-columns: 1fr; }
}

/* ---------- About / pillars ---------- */
.about{ background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about .wrap{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.about h2{ font-size: clamp(26px, 3vw, 34px); }
.pillars{ display: flex; flex-direction: column; gap: 30px; }
.pillar{ display: flex; gap: 18px; }
.pillar-mark{
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-mark);
  flex: none;
}
.pillar h4{ font-size: 16.5px; margin-bottom: 6px; }
.pillar p{ font-size: 14.5px; color: var(--slate); }
@media (max-width: 860px){
  .about .wrap{ grid-template-columns: 1fr; }
}

/* ---------- Contact band ---------- */
.contact-band{
  background: var(--ink);
  color: var(--white);
  border-radius: 20px;
  margin: 0 var(--pad);
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
}
.contact-band .eyebrow{ color: var(--cyan-300); justify-content: center; }
.contact-band h2{
  font-size: clamp(28px, 4vw, 42px);
  margin: 16px 0 18px;
  max-width: 620px;
  margin-inline: auto;
}
.contact-band p{
  color: var(--slate-300);
  max-width: 480px;
  margin: 0 auto 32px;
}
.contact-band .btn-primary{ background: var(--white); color: var(--ink); }
.contact-band .btn-primary:hover{ background: var(--cyan-300); }
.contact-links{
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--slate-300);
  font-family: var(--font-mono);
}
