/* ── HOME PAGE STYLES - home.css ── */
/* Only styles unique to index.html live here. */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(163,224,252,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163,224,252,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(163, 224, 252, 0.08);
  top: -100px; right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px; height: 300px;
  background: rgba(163, 224, 252, 0.05);
  bottom: 100px; left: 5%;
  animation-delay: -4s;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-mid);
  background: var(--accent-dim);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  width: fit-content;
  animation: fadeUp 0.7s ease both;
}

.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  max-width: 900px;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero-headline .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 540px;
  margin-top: 1.5rem;
  font-weight: 300;
  line-height: 1.7;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 5rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.45s ease both;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Wrap number + symbol together */
.stat-value {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.2rem; /* slightly smaller = nicer */
  font-weight: 600;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ── SERVICES ── */
.services {
  padding: 8rem 5%;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.service-card {
  background: var(--bg);
  padding: 2.5rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-dim);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-mid);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ── PROCESS (timeline) ── */
.process {
  padding: 6rem 5%;
  background: rgba(163,224,252,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-progress-bar {
  height: 1px;
  background: var(--border);
  border-radius: 1px;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.process-progress-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-track-outer { overflow: hidden; }

.process-rail {
  display: flex;
  gap: 12px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.process-step-card {
  min-width: 300px;
  flex: 0 0 300px;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, background 0.4s, opacity 0.4s;
  cursor: default;
}

.process-step-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.process-step-card.active {
  border-color: var(--accent-mid);
  background: var(--accent-dim);
}

.process-step-card.active::after { transform: scaleX(1); }
.process-step-card.done { opacity: 0.4; }

.psc-num {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.psc-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.psc-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

.process-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.proc-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.proc-btn:hover { border-color: var(--accent-mid); background: var(--accent-dim); }
.proc-btn:disabled { opacity: 0.25; cursor: default; }

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

.proc-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s, width 0.3s;
}

.proc-dot.active {
  background: var(--accent);
  width: 20px;
  border-radius: 3px;
}

.proc-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: auto;
}

@media (max-width: 600px) {
  .process-step-card { min-width: calc(85vw); flex: 0 0 calc(85vw); }
  .proc-hint { display: none; }
}

/* ── WHY ── */
.why {
  padding: 8rem 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.why-visual {
  position: relative;
  height: 440px;
}

.why-card {
  position: absolute;
  background: rgba(40,40,40,0.9);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.why-card-main {
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(163,224,252,0.08) 0%, transparent 60%);
}

.why-card-float {
  bottom: 100px;
  right: -20px;
  width: 200px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: floatCard 5s ease-in-out infinite;
}

.mockup-browser {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.browser-bar {
  background: rgba(255,255,255,0.06);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.browser-screen {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.screen-line {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  animation: shimmer 2s ease-in-out infinite;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.why-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-point-icon {
  width: 36px; height: 36px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-mid);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.why-point-text h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.why-point-text p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CTA ── */
.cta-section {
  padding: 8rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(163,224,252,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  position: relative;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-headline { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-stats { gap: 2rem; }
  .why { grid-template-columns: 1fr; gap: 3rem; }
  .why-visual { height: 280px; }
  .why-card-float { right: 0; width: 160px; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .process-steps { grid-template-columns: 1fr; }
}
