/* =============================================
   JASTRICKS — HOME PAGE SPECIFIC STYLES
   ============================================= */

/* ---- HERO TWEAKS ---- */
.hero { background: radial-gradient(ellipse at 60% 50%, rgba(13,110,253,0.06) 0%, transparent 60%); }
.hero-content { min-height: calc(100vh - 72px); }

/* Hero gradient text enhancement */
.hero-title .line2 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  background: linear-gradient(135deg, #00d4ff 0%, #7b2fff 50%, #00ffcc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.3));
}

/* Hero ambient orbs */
.hero::before {
  content: '';
  position: absolute;
  top: 20%; right: 10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
  animation: orbPulse 6s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 15%; left: 5%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 47, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: orbPulse 8s ease-in-out infinite reverse;
}
@keyframes orbPulse { 0%,100%{transform:scale(1);opacity:0.6} 50%{transform:scale(1.15);opacity:1} }

/* ---- HERO SIM CARD ENHANCED ---- */
.hero-sim-card {
  position: relative;
  padding: 24px;
}
.hero-sim-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(0,212,255,0.3), rgba(123,47,255,0.3), rgba(0,255,204,0.2));
  z-index: -1;
  animation: borderGlow 3s ease-in-out infinite;
}
@keyframes borderGlow { 0%,100%{opacity:0.5} 50%{opacity:1} }

/* Tooltip floating badge on hero card */
.sim-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(0,255,204,0.1);
  border: 1px solid rgba(0,255,204,0.25);
  border-radius: 50px;
  font-size: 0.72rem;
  color: #00ffcc;
  font-family: 'Rajdhani', sans-serif;
  margin-bottom: 8px;
}
.sim-live-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00ffcc;
  animation: pulseDotGreen 1.5s infinite;
}
@keyframes pulseDotGreen { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:0.6} }

/* ---- STATS COUNTER ---- */
.stat-num {
  position: relative;
  display: inline-block;
}

/* ---- TOOLS SECTION ---- */
.tools-section {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,212,255,0.03) 0%, transparent 70%);
}

/* Tool card shimmer */
.tool-card:hover {
  background: rgba(0,212,255,0.06);
}

/* ---- SHOWCASE GALLERY ---- */
.showcase-section {
  background: rgba(0,0,0,0.2);
}

/* Image lazy-load blur */
.showcase-item img {
  transition: transform 0.5s ease, filter 0.3s ease;
}

/* ---- PROCESS SECTION ---- */
.process-section { overflow: hidden; }
.process-step { padding: 16px; }
.step-icon {
  background: rgba(0,212,255,0.05);
}

/* ---- PRICING TEASER ---- */
.pricing-section {
  background: radial-gradient(ellipse at 70% 50%, rgba(123,47,255,0.04) 0%, transparent 70%);
}

/* ---- TESTIMONIALS ---- */
.testimonials-section { position: relative; overflow: hidden; }
.testimonials-section::before {
  content: '"';
  position: absolute;
  top: 60px; left: 60px;
  font-size: 12rem;
  line-height: 1;
  font-family: 'Orbitron', serif;
  color: rgba(0,212,255,0.04);
  pointer-events: none;
}

/* ---- FLOATING METRICS (decorative) ---- */
.float-metric {
  position: absolute;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,212,255,0.15);
  background: rgba(1,11,26,0.8);
  animation: floatMetric 5s ease-in-out infinite;
  pointer-events: none;
}
.float-metric span { color: var(--cyan); font-weight: 700; display: block; font-size: 1rem; }
.float-metric:nth-child(2) { animation-delay: 1.5s; }
.float-metric:nth-child(3) { animation-delay: 3s; }
@keyframes floatMetric { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ---- CTA BANNER ENHANCED ---- */
.cta-banner {
  background: radial-gradient(ellipse at 50% 50%, rgba(0,212,255,0.07) 0%, transparent 70%);
}

/* ---- HOME HERO TIMELINE READOUT ---- */
.hero-readout {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  color: rgba(0,212,255,0.6);
  margin-bottom: 20px;
}
.hero-readout::before {
  content: '';
  width: 6px; height: 6px;
  background: #00ffcc;
  border-radius: 50%;
  animation: pulseDotGreen 1.5s infinite;
}

/* ---- SECTION TRANSITIONS ---- */
.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #010b1a);
  pointer-events: none;
}

/* ---- TESTIMONIALS WRAP ---- */
.testimonials-wrap { padding: 32px; }

/* ---- ANIMATED GRID OVERLAY (hero below hero) ---- */
.section-container { position: relative; }

/* Process section specific */
.process-section .process-timeline {
  counter-reset: step;
}

/* ---- TOOL GLOW COLORS PER TOOL ---- */
.tool-card:nth-child(1):hover { box-shadow: 0 20px 60px rgba(255,160,50,0.1); }
.tool-card:nth-child(2):hover { box-shadow: 0 20px 60px rgba(0,212,255,0.1); }
.tool-card:nth-child(3):hover { box-shadow: 0 20px 60px rgba(123,47,255,0.1); }
.tool-card:nth-child(4):hover { box-shadow: 0 20px 60px rgba(46,213,115,0.1); }

/* ---- HERO SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
}

@media (max-width: 640px) {
  .testimonials-section::before { font-size: 6rem; top: 30px; left: 20px; }
  .hero-title .line2 { font-size: 2.4rem; }
}

/* ---- WORKFLOW TREE ---- */
.wf-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 22px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  min-width: 160px;
}
.wf-node i { font-size: 1.3rem; margin-bottom: 4px; }
.wf-node strong { font-size: 0.88rem; font-weight: 700; color: #fff; }
.wf-node span { font-size: 0.72rem; color: var(--text-muted, #8892a4); }
.wf-root { background: rgba(0,212,255,0.06); border-color: rgba(0,212,255,0.25); }
.wf-root i { color: var(--cyan, #00d4ff); }
.wf-mid { background: rgba(255,255,255,0.03); min-width: 200px; }
.wf-branch { padding: 12px 18px; min-width: auto; }
.wf-sub { padding: 8px 14px; border-radius: 8px; min-width: 140px; text-align: center; }
.wf-connector-center {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(0,212,255,0.4), rgba(0,212,255,0.1));
  margin: 0 auto;
}
.wf-connector-split {
  position: relative;
  height: 50px;
  max-width: 900px;
  margin: 0 auto;
  background: transparent;
}
.wf-connector-split::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(0,212,255,0.3), rgba(123,47,255,0.3));
}
.wf-connector-split::after {
  content: '';
  position: absolute;
  left: 16.5%;
  right: 16.5%;
  top: 49px;
  height: 1px;
  background: linear-gradient(to right, rgba(0,212,255,0.3), rgba(123,47,255,0.3), rgba(0,255,180,0.3));
}
.wf-connector-merge {
  position: relative;
  height: 50px;
  max-width: 900px;
  margin: 0 auto;
}
.wf-connector-merge::before {
  content: '';
  position: absolute;
  left: 16.5%;
  right: 16.5%;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(0,212,255,0.3), rgba(123,47,255,0.3), rgba(0,255,180,0.3));
}
.wf-connector-merge::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(123,47,255,0.3), rgba(0,229,160,0.3));
}
.wf-price-node {
  padding: 18px 16px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
}
.wf-price-tier { font-family: 'Orbitron', monospace; font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 4px; }
.wf-price-range { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.wf-price-desc { font-size: 0.72rem; color: var(--text-muted, #8892a4); margin-bottom: 8px; line-height: 1.5; }
.wf-price-time { font-size: 0.72rem; color: var(--cyan, #00d4ff); }
@media (max-width: 640px) {
  .wf-connector-split::after, .wf-connector-merge::before { display: none; }
  .wf-tree > div[style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
}
