/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}

/* Ambient background glow */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(196,181,253,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(125,211,252,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__badge {
  margin-bottom: 1.5rem;
}

.hero__title {
  margin-bottom: 1.5rem;
}

.hero__desc {
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__trust-avatars {
  display: flex;
}

.hero__trust-avatars span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-right: -10px;
}

.hero__trust-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 18px;
}

.hero__trust-text strong { color: var(--text-secondary); }

/* Hero Visual */
.hero__visual {
  position: relative;
}

.hero__card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.hero__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.hero__card-dots {
  display: flex;
  gap: 6px;
}

.hero__card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-hover);
}

.hero__card-dots span:nth-child(1) { background: rgba(252,165,161,0.6); }
.hero__card-dots span:nth-child(2) { background: rgba(253,230,138,0.6); }
.hero__card-dots span:nth-child(3) { background: rgba(110,231,183,0.6); }

.hero__chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  margin-bottom: 1.25rem;
}

.hero__bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: var(--bg-hover);
  transition: height 1.2s var(--ease-spring);
  position: relative;
}

.hero__bar--active {
  background: linear-gradient(180deg, var(--accent-lavender) 0%, rgba(196,181,253,0.4) 100%);
}

.hero__bar--sky   { background: linear-gradient(180deg, var(--accent-sky) 0%, rgba(125,211,252,0.4) 100%); }
.hero__bar--mint  { background: linear-gradient(180deg, var(--accent-mint) 0%, rgba(110,231,183,0.4) 100%); }
.hero__bar--rose  { background: linear-gradient(180deg, var(--accent-rose) 0%, rgba(253,164,175,0.4) 100%); }

.hero__card-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border-radius: var(--r-md);
}

.hero__card-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero__card-stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-lavender);
}

/* Floating badges on visual */
.hero__float {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  animation: float 4s ease-in-out infinite;
}

.hero__float--tl {
  top: -1rem;
  left: -1.5rem;
  animation-delay: 0s;
}

.hero__float--br {
  bottom: -1rem;
  right: -1.5rem;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

/* ============================================
   LOGOS / TRUSTED BY
   ============================================ */
.logos {
  padding: 4rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.logos__label {
  text-align: center;
  margin-bottom: 2rem;
}

.logos__track {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.logos__item {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  transition: color var(--t-med) var(--ease);
  opacity: 0.5;
}

.logos__item:hover { color: var(--text-secondary); opacity: 1; }

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--bg-surface);
  position: relative;
}

.services__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 4rem;
}

.services__header .label { margin-bottom: 1rem; }
.services__header h2     { margin-bottom: 1rem; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 980px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   WORK / PORTFOLIO
   ============================================ */
.work__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .work__grid { grid-template-columns: 1fr; }
}

.work-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-subtle);
  transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  cursor: pointer;
}

.work-item:hover { border-color: var(--border-strong); transform: translateY(-3px); }

.work-item__thumb {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.work-item__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}

.work-item:hover .work-item__thumb::after { opacity: 1; }

.work-item__body {
  padding: 1.5rem;
  background: var(--bg-card);
}

.work-item__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.work-item h4 { margin-bottom: 0.4rem; }

/* Color themes per project */
.work-item--lavender .work-item__thumb { background: linear-gradient(135deg, #1a1630 0%, #2d2460 100%); }
.work-item--rose     .work-item__thumb { background: linear-gradient(135deg, #1e1416 0%, #3d1f28 100%); }
.work-item--sky      .work-item__thumb { background: linear-gradient(135deg, #0e1a26 0%, #102840 100%); }
.work-item--mint     .work-item__thumb { background: linear-gradient(135deg, #0d1e1a 0%, #0e3028 100%); }

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
  background: var(--bg-surface);
}

.process__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Vertical line connecting steps */
.process__step-wrap {
  position: relative;
}

.process__step-wrap:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 22px;
  top: 44px;
  bottom: -2.5rem;
  width: 1px;
  background: linear-gradient(180deg, var(--border-strong), transparent);
}

@media (max-width: 768px) {
  .process__grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* Process visual panel */
.process__visual {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 2rem;
  overflow: hidden;
  position: relative;
}

.process__terminal {
  background: var(--bg-base);
  border-radius: var(--r-md);
  padding: 1.25rem;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
}

.process__terminal-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
}

.process__terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-line {
  line-height: 2;
  display: flex;
  gap: 0.5rem;
}

.terminal-prompt { color: var(--accent-mint); }
.terminal-cmd    { color: var(--text-secondary); }
.terminal-output { color: var(--accent-lavender); margin-left: 1.2rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 980px) {
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(196,181,253,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact__info .label { margin-bottom: 1rem; }
.contact__info h2     { margin-bottom: 1rem; }

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact__detail-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: rgba(196,181,253,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 2.5rem;
}

.contact__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact__form-group-full { grid-column: span 2; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 600px) {
  .contact__form-grid { grid-template-columns: 1fr; }
  .contact__form-group-full { grid-column: span 1; }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-mid);
  padding: 5rem 3rem;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(196,181,253,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2    { margin-bottom: 1rem; }
.cta-banner p     { margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
