/* ============================================
   iDev Tech Hub — Home Page Styles
   ============================================ */

/* ---- HERO ---- */
.hero-section {
  min-height: 100vh; display: flex; align-items: center;
  padding: 9rem 5% 5rem; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 80% 40%, rgba(0,229,255,.05) 0%, transparent 60%),
              radial-gradient(ellipse at 10% 70%, rgba(0,87,255,.07) 0%, transparent 55%);
  gap: 4rem; flex-wrap: wrap;
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.orb1 { width: 500px; height: 500px; background: rgba(0,229,255,.06); top: -100px; right: -100px; animation: orb-drift 12s ease-in-out infinite; }
.orb2 { width: 300px; height: 300px; background: rgba(0,87,255,.08); bottom: -50px; left: 10%; animation: orb-drift 16s ease-in-out infinite reverse; }
@keyframes orb-drift { 0%,100%{transform:translate(0,0)} 33%{transform:translate(30px,-20px)} 66%{transform:translate(-20px,30px)} }

.hero-content { flex: 1; min-width: 300px; max-width: 600px; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(0,229,255,.07); border: 1px solid rgba(0,229,255,.2);
  color: var(--cyan); font-size: .75rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; padding: .45rem 1rem; border-radius: 20px; margin-bottom: 1.8rem;
  animation: fadeIn 1s ease both;
}
.badge-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: glow-pulse 2s infinite; }
.hero-title {
  font-family: 'Syne', sans-serif; font-size: clamp(2.8rem,6vw,5rem);
  font-weight: 800; color: var(--white); line-height: 1.05; margin-bottom: 1.5rem;
  animation: fadeUp .9s .1s ease both;
}
.tw-wrap { color: var(--cyan); display: inline-block; min-width: 200px; }
.tw-cursor { animation: blink 1s step-end infinite; color: var(--cyan); }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero-title-sub { color: var(--muted); font-size: clamp(2rem,4vw,3.5rem); }

.hero-desc { font-size: 1.05rem; color: var(--muted); line-height: 1.75; margin-bottom: 2rem; animation: fadeUp .9s .2s ease both; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; animation: fadeUp .9s .3s ease both; }
.hero-phones { display: flex; gap: .8rem; flex-wrap: wrap; animation: fadeUp .9s .4s ease both; }
.phone-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.04); border: 1px solid var(--border2);
  color: var(--text); font-size: .82rem; padding: .45rem 1rem; border-radius: 20px;
  text-decoration: none; transition: all .2s;
}
.phone-chip:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-glow); }

/* ---- HERO VISUAL ---- */
.hero-visual { flex: 0 0 380px; position: relative; z-index: 2; animation: slideLeft .9s .3s ease both; }
.hv-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 40px rgba(0,229,255,.07);
}
.hv-top { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; background: var(--card2); border-bottom: 1px solid var(--border2); }
.hv-dots { display: flex; gap: .4rem; }
.hv-dots span { width: 10px; height: 10px; border-radius: 50%; }
.hv-dots span:nth-child(1) { background: #ff5f57; }
.hv-dots span:nth-child(2) { background: #febc2e; }
.hv-dots span:nth-child(3) { background: #28c840; }
.hv-code { padding: 1.5rem; font-family: 'Courier New', monospace; font-size: .82rem; line-height: 2; }
.c-k { color: #ff79c6; } .c-v { color: #caa9fa; } .c-p { color: #8be9fd; }
.c-s { color: #f1fa8c; } .c-n { color: #bd93f9; } .c-comment { color: #6272a4; font-style: italic; }
.hv-badge {
  position: absolute; background: var(--card); border: 1px solid var(--border);
  padding: .55rem 1rem; border-radius: 20px; font-size: .78rem; font-weight: 600;
  color: var(--white); white-space: nowrap; display: flex; align-items: center; gap: .4rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.hv-b1 { top: -18px; right: 30px; animation: float-pulse 4s ease-in-out infinite; }
.hv-b2 { bottom: 40px; left: -30px; animation: float-pulse 5s ease-in-out infinite .8s; }
.hv-b3 { bottom: -18px; right: 20px; animation: float-pulse 4.5s ease-in-out infinite 1.5s; }

/* ---- SERVICES GRID ---- */
.services-preview { background: var(--navy2); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card {
  padding: 2rem; text-decoration: none; display: flex; flex-direction: column; gap: 1rem;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,229,255,.03) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover::before { opacity: 1; }
.sc-icon {
  width: 52px; height: 52px; border-radius: 12px; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 0 20px color-mix(in srgb, var(--ic) 20%, transparent);
}
.service-card h3 { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); }
.service-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; flex: 1; }
.sc-arrow { color: var(--cyan); font-size: 1.2rem; opacity: 0; transform: translateX(-6px); transition: all .3s; }
.service-card:hover .sc-arrow { opacity: 1; transform: translateX(0); }
.service-card:hover h3 { color: var(--cyan); }

/* ---- STATS ---- */
.stats-section { padding: 4rem 5%; background: linear-gradient(135deg, rgba(0,229,255,.04) 0%, transparent 50%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-inner { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.stat-n { font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 800; color: var(--cyan); line-height: 1; }
.stat-l { font-size: .8rem; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.stat-div { width: 1px; height: 60px; background: var(--border); }

/* ---- WHY US ---- */
.why-section { background: var(--navy); }
.why-inner { display: flex; gap: 5rem; align-items: flex-start; flex-wrap: wrap; }
.why-text { flex: 1; min-width: 280px; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.why-list li { display: flex; align-items: flex-start; gap: 1rem; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.why-list li strong { color: var(--white); display: block; margin-bottom: .15rem; }
.wl-check { width: 26px; height: 26px; border-radius: 50%; background: rgba(0,229,255,.12); border: 1px solid rgba(0,229,255,.3); color: var(--cyan); font-size: .8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.why-visual { flex: 0 0 360px; }
.wv-stack { display: flex; flex-direction: column; gap: 1rem; }
.wv-card { background: var(--card); border: 1px solid var(--border2); border-radius: var(--r); padding: 1.3rem 1.5rem; display: flex; align-items: center; gap: 1.2rem; transition: all .2s; }
.wv-card:hover { border-color: var(--border); transform: translateX(6px); }
.wvc-icon { font-size: 1.8rem; flex-shrink: 0; }
.wv-card h4 { font-family: 'Syne', sans-serif; font-size: .95rem; color: var(--white); margin-bottom: .25rem; }
.wv-card p { font-size: .8rem; color: var(--muted); line-height: 1.4; }

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--navy2); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testi-card { padding: 2rem; }
.testi-stars { color: #FFD700; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-card p { font-size: .9rem; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 1.5rem; }
.testi-author { display: flex; align-items: center; gap: .9rem; }
.ta-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--cyan); color: var(--navy); font-family: 'Syne', sans-serif; font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.testi-author strong { font-size: .9rem; color: var(--white); display: block; }
.testi-author span { font-size: .78rem; color: var(--muted); }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, rgba(0,229,255,.06) 0%, rgba(0,87,255,.06) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 5rem 5%;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
