/* ============================================================
   HOME PAGE STYLES
   ============================================================ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--blue-950);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 5% 80px;
  position: relative;
  overflow: hidden;
  gap: 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(37,99,235,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(14,165,233,.12) 0%, transparent 50%);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.025' stroke-width='1'%3E%3Cpath d='M0 0h80v80H0z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 70%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-1 {
  width: 500px; height: 500px;
  background: rgba(37,99,235,.15);
  top: -100px; right: -100px;
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  width: 300px; height: 300px;
  background: rgba(14,165,233,.12);
  bottom: -50px; left: 20%;
  animation: float 10s ease-in-out infinite reverse;
}

.orb-3 {
  width: 200px; height: 200px;
  background: rgba(99,102,241,.1);
  top: 40%; left: 40%;
  animation: float 12s ease-in-out infinite;
}

.hero-content {
  position: relative;
  flex: 1;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  margin-bottom: 28px;
  font-size: 13.5px;
  color: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  position: relative;
}

.badge-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(16,185,129,.4);
  animation: pulse-ring 1.5s ease infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #67e8f9 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

.hero-sub {
  color: rgba(255,255,255,.7);
  font-size: 17.5px;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 5px 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  font-family: var(--font-mono);
  letter-spacing: .02em;
  transition: var(--transition);
}

.tag:hover {
  background: rgba(255,255,255,.12);
  color: white;
}

/* ── HERO VISUAL ── */
.hero-visual {
  position: relative;
  flex-shrink: 0;
}

.hero-card {
  width: 320px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(20px);
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hc-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.hc-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.hc-dot.red    { background: #ef4444; }
.hc-dot.yellow { background: #f59e0b; }
.hc-dot.green  { background: #10b981; }

.hc-title {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-family: var(--font-mono);
}

.hc-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  margin-bottom: 18px;
}

.hc-bar {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(59,130,246,.9), rgba(14,165,233,.5));
  transition: height .3s ease;
  position: relative;
}

.hc-bar:nth-child(4) { background: linear-gradient(180deg, #38bdf8, #0ea5e9); }

.hc-metric { margin-bottom: 12px; }

.hc-m-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin-bottom: 5px;
}

.hc-m-row strong { color: white; font-weight: 600; }

.hc-progress {
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
}

.hc-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-500), var(--accent));
  border-radius: 2px;
}

.hc-fill.cyan { background: linear-gradient(90deg, #0891b2, #22d3ee); }

.hc-chips {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.hc-chip {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.hc-chip.green { background: rgba(16,185,129,.2); color: #10b981; }
.hc-chip.blue  { background: rgba(59,130,246,.2);  color: #60a5fa; }

/* Floating badges */
.float-badge {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

.float-badge i { color: var(--blue-600); }

.fb-1 {
  top: -20px; left: -40px;
  animation: float 5s ease-in-out infinite;
}

.fb-2 {
  bottom: -20px; right: -30px;
  animation: float 7s ease-in-out infinite reverse;
}

.fb-1 i { color: #10b981; }
.fb-2 i { color: #f59e0b; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(255,255,255,.5), transparent);
}

.hero-scroll-hint span {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  font-family: var(--font-mono);
  writing-mode: vertical-rl;
}

/* ── STATS SECTION ── */
.stats-section { padding: 0; }
.stats-section .container { padding: 0 5%; }
.stats-section .stats-row { border-radius: 0; }

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.svc-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition-slow);
  overflow: hidden;
  position: relative;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--accent));
  transform: scaleX(0);
  transition: transform .3s ease;
}

.svc-card:hover::before { transform: scaleX(1); }

.svc-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.svc-card.featured {
  background: linear-gradient(145deg, var(--blue-50), white);
  border-color: var(--blue-200);
}

.svc-card.featured::before { transform: scaleX(1); }

.svc-card-inner { padding: 32px; }

.svc-card h3 { margin-bottom: 12px; color: var(--gray-900); }
.svc-card p  { font-size: 14.5px; margin-bottom: 20px; }

.svc-list {
  list-style: none;
  margin-bottom: 24px;
}

.svc-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--gray-600);
  padding: 5px 0;
  border-bottom: 1px dashed var(--gray-100);
}

.svc-list li:last-child { border-bottom: none; }

.svc-list li i { color: var(--blue-500); font-size: 11px; }

.svc-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.svc-link:hover { gap: 10px; }

.section-cta {
  text-align: center;
  margin-top: 16px;
}

/* ── WHY US ── */
.why-us { background: white; }

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-left .label { margin-bottom: 16px; }
.why-us-left h2 { margin-bottom: 20px; }
.why-us-left > p { margin-bottom: 36px; }

.why-points { display: flex; flex-direction: column; gap: 24px; }

.why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  font-size: 17px;
  flex-shrink: 0;
}

.why-point h4 { color: var(--gray-900); margin-bottom: 4px; font-size: 15px; }
.why-point p  { font-size: 14px; margin: 0; }

/* Process card */
.process-card {
  background: var(--blue-950);
  border-radius: var(--radius-xl);
  padding: 36px;
  color: white;
}

.process-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--blue-300);
}

.process-steps { display: flex; flex-direction: column; }

.ps {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

.ps-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,.3);
  width: 24px;
  flex-shrink: 0;
}

.ps-content {
  flex: 1;
}

.ps-content strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 3px;
  color: white;
}

.ps-content span {
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
}

.ps-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.ps-check.done    { background: rgba(16,185,129,.2); color: #10b981; }
.ps-check.active  { background: rgba(37,99,235,.2);  color: #60a5fa; }
.ps-check.pending { background: rgba(255,255,255,.07); color: rgba(255,255,255,.3); }

.ps-line {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 0 0 0 40px;
}

/* ── TECH LOGOS ── */
.tech-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 90px;
  padding: 20px 12px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 24px;
  color: var(--blue-600);
  transition: var(--transition);
  cursor: default;
}

.tech-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  font-family: var(--font-body);
}

.tech-item:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  color: var(--blue-500);
}

/* ── WORK GRID ── */
.work-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.work-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
}

.work-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: var(--blue-200);
}

.work-image {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card.large .work-image { height: 260px; }

.work-info {
  padding: 24px;
}

.work-info .badge { margin-bottom: 10px; }
.work-info h3 { font-size: 16px; margin-bottom: 8px; color: var(--gray-900); }
.work-info p  { font-size: 14px; margin-bottom: 16px; }

/* Mockup inside work cards */
.work-mockup {
  width: 80%;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
}

.wm-header {
  height: 24px;
  background: rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
}

.wm-header::before,
.wm-header::after,
.wm-header.dark::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}

.wm-body {
  display: flex;
  height: 120px;
  gap: 4px;
  padding: 4px;
}

.wm-sidebar {
  width: 30%;
  background: rgba(0,0,0,.2);
  border-radius: 4px;
}

.wm-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wm-row {
  height: 16px;
  background: rgba(255,255,255,.15);
  border-radius: 3px;
}

.wm-row.short { width: 65%; }

.wm-cols {
  display: flex;
  gap: 4px;
  padding: 4px;
  flex: 1;
}

.wm-col {
  flex: 1;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
}

.work-mockup-mobile {
  width: 60px;
  background: rgba(0,0,0,.3);
  border-radius: 12px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.15);
}

.wm-screen {
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  overflow: hidden;
  height: 120px;
}

.wm-app-bar {
  height: 18px;
  background: rgba(0,0,0,.3);
  margin-bottom: 6px;
}

.wm-app-content {
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wm-card-row {
  height: 14px;
  background: rgba(255,255,255,.15);
  border-radius: 3px;
}

.wm-card-row.short { width: 70%; }

/* ── TESTIMONIALS PREVIEW ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.testi-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.testi-card:hover {
  background: rgba(255,255,255,.09);
  transform: translateY(-4px);
}

.testi-stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testi-card p {
  color: rgba(255,255,255,.75);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.testi-author strong {
  display: block;
  color: white;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 2px;
}

.testi-author span {
  color: rgba(255,255,255,.45);
  font-size: 12.5px;
}

/* ── CTA BAND ── */
.cta-band { padding: 96px 5%; }

.cta-band-inner {
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 100%);
  border-radius: var(--radius-xl);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(255,255,255,.08), transparent),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'%3E%3Cpath d='M0 0h40v40H0z'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-band-content { position: relative; }
.cta-band-content h2 { margin-bottom: 16px; }
.cta-band-content > p { font-size: 17px; margin-bottom: 36px; }

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-meta {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
}

.cta-meta i { color: var(--blue-300); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { flex-direction: column; min-height: auto; padding-bottom: 60px; gap: 48px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card.large { grid-column: span 2; }
  .why-us-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .hero { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-tags { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card.large { grid-column: span 1; }
  .testi-grid { grid-template-columns: 1fr; }
  .cta-band-inner { padding: 48px 28px; }
  .hero-scroll-hint { display: none; }
}
