/* ═══════════════════════════════════════════════════
   RAPTAX MEDIA — HOME PAGE STYLES
═══════════════════════════════════════════════════ */

/* ─── HERO ───────────────────────────────────────── */
.hero {
  min-height:  100vh;
  display:     flex;
  align-items: center;
  position:    relative;
  overflow:    hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position:       absolute;
  inset:          0;
  pointer-events: none;
}

.hero-grid {
  position:         absolute;
  inset:            0;
  background-image:
    linear-gradient(rgba(200,255,89,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,255,89,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position:      absolute;
  top:           -200px;
  right:         -200px;
  width:         700px;
  height:        700px;
  background:    radial-gradient(
    circle,
    rgba(200,255,89,0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.hero-inner {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   80px;
  align-items:           center;
  padding-top:           60px;
  padding-bottom:        60px;
  position:              relative;
  z-index:               1;
}

/* ─── HERO CONTENT ───────────────────────────────── */
.hero-title {
  font-family:   var(--font-head);
  font-size:     clamp(3rem, 6vw, 5.5rem);
  font-weight:   800;
  line-height:   1.0;
  color:         var(--white);
  margin-bottom: 24px;
  margin-top:    12px;
}

.hero-title .outlined {
  -webkit-text-stroke:     2px var(--lime);
  -webkit-text-fill-color: transparent;
  color:                   transparent;
}

.hero-desc {
  font-size:     1.05rem;
  line-height:   1.8;
  color:         var(--gray);
  max-width:     480px;
  margin-bottom: 36px;
}

.hero-btns {
  display:   flex;
  gap:       16px;
  flex-wrap: wrap;
}

.hero-btns .btn i {
  width:  16px;
  height: 16px;
}

/* ─── HERO STATS ─────────────────────────────────── */
.hero-stats {
  display:     flex;
  align-items: center;
  gap:         32px;
  margin-top:  48px;
  padding-top: 40px;
  border-top:  1px solid var(--border);
}

.stat-num {
  display:     block;
  font-family: var(--font-head);
  font-size:   2.2rem;
  font-weight: 800;
  color:       var(--lime);
  line-height: 1;
}

.stat-label {
  display:     block;
  font-size:   0.78rem;
  font-weight: 500;
  color:       var(--gray);
  margin-top:  4px;
}

.stat-divider {
  width:       1px;
  height:      48px;
  background:  var(--border);
  flex-shrink: 0;
}

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

.hero-img-wrap {
  position:      relative;
  border-radius: var(--radius-lg);
  overflow:      hidden;
  border:        1px solid var(--border);
  aspect-ratio:  4/3;
}

.hero-img-wrap img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-img-wrap:hover img {
  transform: scale(1.04);
}

.hero-img-badge {
  position:      absolute;
  bottom:        20px;
  left:          20px;
  background:    var(--surface);
  border:        1px solid var(--border);
  border-radius: 99px;
  padding:       8px 18px;
  font-size:     0.82rem;
  font-weight:   600;
  color:         var(--white);
  display:       flex;
  align-items:   center;
  gap:           10px;
  box-shadow:    0 4px 16px rgba(0, 0, 0, 0.4);
}

.badge-dot {
  width:         8px;
  height:        8px;
  border-radius: 50%;
  background:    var(--lime);
  flex-shrink:   0;
  animation:     pulse 2s infinite;
}

/* ─── FLOATING HERO CARDS ────────────────────────── */
.hero-card {
  position:      absolute;
  background:    var(--surface);
  border:        1px solid var(--border);
  border-radius: var(--radius-md);
  padding:       12px 18px;
  font-size:     0.85rem;
  font-weight:   600;
  color:         var(--white);
  display:       flex;
  align-items:   center;
  gap:           10px;
  white-space:   nowrap;
  animation:     float 4s ease-in-out infinite;
  box-shadow:    0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-card-icon {
  width:           32px;
  height:          32px;
  background:      var(--lime-dim);
  border-radius:   var(--radius-sm);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--lime);
}

.hero-card-icon i {
  width:  16px;
  height: 16px;
}

.hero-card-1 {
  top:             -20px;
  right:           -20px;
  animation-delay: 0s;
}

.hero-card-2 {
  bottom:          60px;
  right:           -30px;
  animation-delay: 1.5s;
}

.hero-card-3 {
  bottom:          80px;
  left:            -30px;
  animation-delay: 0.8s;
}

/* ─── SCROLL HINT ────────────────────────────────── */
.scroll-hint {
  position:       absolute;
  bottom:         32px;
  left:           50%;
  transform:      translateX(-50%);
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            8px;
  color:          var(--gray);
  font-size:      0.72rem;
  font-weight:    500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width:         1px;
  height:        48px;
  background:    linear-gradient(var(--lime), transparent);
  border-radius: 99px;
}

/* ─── MARQUEE ────────────────────────────────────── */
.marquee-strip {
  background:    var(--surface);
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding:       18px 0;
  overflow:      hidden;
  white-space:   nowrap;
}

.marquee-track {
  display:   inline-flex;
  gap:       32px;
  animation: marquee 25s linear infinite;
}

.marquee-track span {
  font-size:      0.82rem;
  font-weight:    600;
  color:          var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee-track .dot { color: var(--lime); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SERVICES PREVIEW ───────────────────────────── */
.services-preview { background: var(--black); }

.section-head        { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin: 0 auto; }

/* ── Equal 3 column grid ── */
.services-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   24px;
  align-items:           stretch;
}

.svc-card {
  background:     var(--surface);
  border:         1px solid var(--border);
  border-radius:  var(--radius-md);
  padding:        36px;
  position:       relative;
  overflow:       hidden;
  transition:     var(--transition);
  display:        flex;
  flex-direction: column;
  height:         100%;
}

.svc-card::before {
  content:    '';
  position:   absolute;
  top:        0;
  left:       0;
  right:      0;
  height:     2px;
  background: var(--border);
  transition: var(--transition);
}

.svc-card:hover {
  border-color: rgba(200,255,89,0.2);
  transform:    translateY(-6px);
  box-shadow:   0 20px 60px rgba(0,0,0,0.4);
}

.svc-card:hover::before {
  background: var(--lime);
}

.svc-featured {
  border-color: rgba(200,255,89,0.15);
  background:   linear-gradient(
    135deg,
    rgba(200,255,89,0.05) 0%,
    var(--surface) 60%
  );
}

.svc-featured::before {
  background: var(--lime) !important;
}

.svc-card-top {
  display:         flex;
  align-items:     flex-start;
  justify-content: space-between;
  margin-bottom:   20px;
}

.svc-icon {
  width:           56px;
  height:          56px;
  background:      var(--lime-dim);
  border-radius:   var(--radius-sm);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--lime);
  transition:      var(--transition);
}

.svc-card:hover .svc-icon {
  background: var(--lime);
  color:      var(--black);
}

.svc-icon i {
  width:  24px;
  height: 24px;
}

.svc-title {
  font-family:   var(--font-head);
  font-size:     1.6rem;
  font-weight:   700;
  color:         var(--white);
  margin-bottom: 12px;
}

.svc-desc {
  font-size:     0.92rem;
  line-height:   1.75;
  color:         var(--gray);
  margin-bottom: 24px;
}

.svc-list {
  display:        flex;
  flex-direction: column;
  gap:            10px;
  margin-bottom:  28px;
  flex:           1;
}

.svc-list li {
  display:     flex;
  align-items: center;
  gap:         10px;
  font-size:   0.88rem;
  font-weight: 500;
  color:       rgba(255,255,255,0.8);
}

.svc-list li i {
  width:       14px;
  height:      14px;
  color:       var(--lime);
  flex-shrink: 0;
}

.svc-btn {
  width:           100%;
  justify-content: center;
  margin-top:      auto;
}

.svc-btn i {
  width:  16px;
  height: 16px;
}

/* ─── WHY SECTION ────────────────────────────────── */
.why-section {
  background:    var(--surface);
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.why-right {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   16px;
}

.why-card {
  background:     var(--black);
  border:         1px solid var(--border);
  border-radius:  var(--radius-md);
  padding:        24px;
  display:        flex;
  flex-direction: column;
  gap:            16px;
  transition:     var(--transition);
}

.why-card:hover {
  border-color: rgba(200,255,89,0.25);
  transform:    translateY(-4px);
  box-shadow:   0 16px 48px rgba(0,0,0,0.3);
}

.why-icon {
  width:           44px;
  height:          44px;
  background:      var(--lime-dim);
  border-radius:   var(--radius-sm);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--lime);
  flex-shrink:     0;
  transition:      var(--transition);
}

.why-card:hover .why-icon {
  background: var(--lime);
  color:      var(--black);
}

.why-icon i {
  width:  20px;
  height: 20px;
}

.why-card h4 {
  font-family:   var(--font-head);
  font-size:     1rem;
  font-weight:   700;
  color:         var(--white);
  margin-bottom: 4px;
}

.why-card p {
  font-size:   0.85rem;
  line-height: 1.65;
  color:       var(--gray);
}

/* ─── WORK SECTION ───────────────────────────────── */
.work-section { background: var(--black); }

.work-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   24px;
}

.work-card {
  border-radius: var(--radius-md);
  overflow:      hidden;
  border:        1px solid var(--border);
  background:    var(--surface);
  transition:    var(--transition);
}

.work-card:hover {
  transform:    translateY(-6px);
  box-shadow:   0 20px 60px rgba(0,0,0,0.5);
  border-color: rgba(200,255,89,0.2);
}

.work-img {
  position:     relative;
  aspect-ratio: 16/10;
  overflow:     hidden;
}

.work-img img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover .work-img img {
  transform: scale(1.06);
}

.work-overlay {
  position: absolute;
  top:      16px;
  left:     16px;
}

.work-info {
  padding: 20px 24px;
}

.work-info h4 {
  font-family:   var(--font-head);
  font-size:     1.1rem;
  font-weight:   700;
  color:         var(--white);
  margin-bottom: 6px;
}

.work-info p {
  font-size: 0.85rem;
  color:     var(--gray);
}

/* ─── TESTIMONIALS ───────────────────────────────── */
.testimonials-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.testimonials-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   24px;
}

.testimonial-card {
  background:    var(--black);
  border:        1px solid var(--border);
  border-radius: var(--radius-md);
  padding:       32px;
  transition:    var(--transition);
  display:       flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: rgba(200,255,89,0.2);
  transform:    translateY(-4px);
}

.testimonial-stars {
  display:       flex;
  gap:           4px;
  margin-bottom: 16px;
}

.testimonial-stars i {
  width:  16px;
  height: 16px;
  color:  var(--lime);
  fill:   var(--lime);
}

.testimonial-text {
  font-size:     0.95rem;
  line-height:   1.75;
  color:         rgba(255,255,255,0.8);
  margin-bottom: 24px;
  font-style:    italic;
  flex:          1;
}

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

.author-avatar {
  width:           44px;
  height:          44px;
  border-radius:   50%;
  background:      var(--lime-dim);
  border:          1px solid rgba(200,255,89,0.2);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       0.78rem;
  font-weight:     700;
  color:           var(--lime);
  flex-shrink:     0;
}

.testimonial-author strong {
  display:     block;
  font-size:   0.9rem;
  font-weight: 700;
  color:       var(--white);
}

.testimonial-author span {
  display:   block;
  font-size: 0.8rem;
  color:     var(--gray);
}

/* ─── CTA BANNER ─────────────────────────────────── */
.cta-banner {
  background: var(--lime);
  padding:    80px 0;
}

.cta-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             48px;
  flex-wrap:       wrap;
}

.cta-title {
  font-family:   var(--font-head);
  font-size:     clamp(2rem, 4vw, 3rem);
  font-weight:   800;
  color:         var(--black);
  line-height:   1.1;
  margin-bottom: 12px;
}

.cta-text p {
  font-size: 1rem;
  color:     rgba(19,19,19,0.7);
}

.cta-btns {
  display:   flex;
  gap:       16px;
  flex-wrap: wrap;
}

.cta-btns .btn i {
  width:  16px;
  height: 16px;
}

.cta-banner .btn-primary {
  background:   var(--black);
  color:        var(--lime);
  border-color: var(--black);
}

.cta-banner .btn-primary:hover {
  background:   transparent;
  color:        var(--black);
}

.cta-banner .btn-outline {
  border-color: rgba(19,19,19,0.3);
  color:        var(--black);
}

.cta-banner .btn-outline:hover {
  border-color: var(--black);
  background:   rgba(19,19,19,0.1);
  color:        var(--black);
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap:                   48px;
    text-align:            center;
  }

  .hero-visual  { display: none; }

  .hero-stats {
    justify-content: center;
    flex-wrap:       wrap;
  }

  .hero-btns    { justify-content: center; }
  .section-desc { margin: 0 auto; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-inner {
    grid-template-columns: 1fr;
    gap:                   48px;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    gap:       20px;
    flex-wrap: wrap;
  }

  .why-right {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    text-align:     center;
  }

  .cta-btns {
    justify-content: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    align-items:    center;
  }

  .stat-divider {
    width:  40px;
    height: 1px;
  }
}