/* ══════════════════════════════════════════════════════
   GLIDE — Home Page CSS
   ══════════════════════════════════════════════════════ */

/* ── HERO ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: var(--cyan);
  top: -200px; right: -100px;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: var(--purple);
  bottom: -150px; left: -100px;
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: var(--magenta);
  top: 40%; left: 40%;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-20px,15px) scale(0.95); }
}

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

.hero-content {
  flex: 1;
  max-width: 580px;
  animation: fadeUp 0.8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(0,198,215,0.1);
  border: 1px solid rgba(0,198,215,0.25);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 460px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 560px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-phone-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
}

.hero-app-img {
  width: 100%;
  display: block;
  border-radius: 24px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── APP BANNER ───────────────────────────────────── */
.app-banner {
  padding: 64px 0;
  background: linear-gradient(135deg, rgba(0,198,215,0.08) 0%, rgba(107,63,160,0.08) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.app-banner-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.app-banner-text { flex: 1; }
.app-banner-text h2 { font-size: 2rem; margin-bottom: 12px; }
.app-banner-text p { font-size: 1rem; margin-bottom: 24px; }
.store-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.store-badge img { height: 44px; width: auto; border-radius: 8px; transition: var(--transition); }
.store-badge:hover img { transform: translateY(-3px); }
.app-banner-img { flex: 1; max-width: 420px; border-radius: 16px; overflow: hidden; }
.app-banner-img img { width: 100%; border-radius: 16px; }

/* ── SERVICES ─────────────────────────────────────── */
.services {
  text-align: center;
}
.services .section-title { margin-bottom: 48px; }

.services-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.services-full-img { width: 100%; display: block; }

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  cursor: pointer;
}
.service-card:hover {
  border-color: rgba(0,198,215,0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  background: rgba(0,198,215,0.04);
}
.service-icon { font-size: 2rem; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; }
.service-card p { font-size: 0.88rem; color: var(--text-muted); flex: 1; }
.card-link { font-size: 0.85rem; font-weight: 600; color: var(--cyan); }

/* ── FEATURE SPLIT ────────────────────────────────── */
.feature-split { overflow: hidden; }
.split-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 80px;
}
.split-row.reverse { flex-direction: row-reverse; }
.split-img {
  flex: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.split-img img { width: 100%; display: block; }
.split-text { flex: 1; max-width: 480px; }
.split-text h2 { margin-bottom: 20px; }

.feature-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--grad);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

/* ── TESTIMONIALS ─────────────────────────────────── */
.testimonials { text-align: center; }
.testimonials-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.testimonials-img img { width: 100%; display: block; }

.testi-cards {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
  text-align: left;
}
.testi-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.testi-card:hover {
  border-color: rgba(0,198,215,0.25);
  transform: translateY(-4px);
}
.testi-card--featured {
  background: linear-gradient(135deg, rgba(0,198,215,0.08), rgba(107,63,160,0.08));
  border-color: rgba(0,198,215,0.25);
  position: relative;
  top: -16px;
}
.stars { color: #FFD700; font-size: 1rem; margin-bottom: 12px; }
.testi-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.testi-avatar-1 { background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.testi-avatar-2 { background: var(--grad); }
.testi-avatar-3 { background: linear-gradient(135deg, var(--purple), var(--magenta)); }
.testi-author strong { font-size: 0.9rem; color: var(--text); }
.testi-author small { font-size: 0.8rem; color: var(--text-muted); }

/* ── SAFETY ───────────────────────────────────────── */
.safety-section {
  background: linear-gradient(135deg, rgba(13,27,62,0.8), rgba(8,14,36,0.9));
}
.safety-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}
.safety-text { flex: 1; max-width: 540px; }
.safety-text h2 { margin-bottom: 16px; }
.safety-text > p { margin-bottom: 32px; }
.safety-img { flex: 1; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); }
.safety-img img { width: 100%; }

.safety-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.safety-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.safety-icon {
  font-size: 1.5rem;
  width: 48px; height: 48px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.safety-feat strong { font-size: 0.95rem; display: block; color: var(--text); margin-bottom: 2px; }
.safety-feat p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ── BRAND SECTION ────────────────────────────────── */
.brand-section { text-align: center; }
.brand-section .section-title { margin-bottom: 40px; }
.brand-full-img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ── CTA ──────────────────────────────────────────── */
.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 100px 0;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}
.cta-orb-1 { width: 500px; height: 500px; background: var(--cyan); top: -200px; left: 50%; transform: translateX(-50%); }
.cta-orb-2 { width: 400px; height: 400px; background: var(--purple); bottom: -150px; right: 10%; }

.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.cta-inner p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ───────────────────────────────────────── */
.footer {
  background: rgba(8,14,36,0.9);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { }
.footer-logo { height: 48px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link:hover { color: var(--cyan); border-color: rgba(0,198,215,0.3); }

.footer-col h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 140px; }
  .hero-content { max-width: 100%; }
  .hero-sub { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 500px; }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .split-row, .split-row.reverse { flex-direction: column; gap: 40px; }
  .split-text { max-width: 100%; }
  .testi-cards { grid-template-columns: 1fr; }
  .testi-card--featured { top: 0; }
  .safety-inner { flex-direction: column; gap: 40px; }
  .safety-text { max-width: 100%; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .app-banner-inner { flex-direction: column; text-align: center; }
  .store-badges { justify-content: center; }
}
@media (max-width: 640px) {
  .service-cards { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
