/* ═══ HERO - SPLIT LAYOUT ═══ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 120px 24px 80px; overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; z-index: var(--z-particles); }
.hero__glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  filter: blur(120px); opacity: 0.12; pointer-events: none;
}
.hero__glow--cyan { background: #0072ff; top: -200px; right: -100px; animation: orbFloat 12s ease-in-out infinite; }
.hero__glow--purple { background: #004aad; bottom: -200px; left: -100px; animation: orbFloat 15s ease-in-out infinite reverse; }

.hero__split {
  position: relative; z-index: var(--z-content);
  display: flex; align-items: center; gap: 60px;
  max-width: var(--container-max); width: 100%; margin: 0 auto;
}
.hero__left {
  flex: 1; text-align: left;
}
.hero__right {
  flex: 1; display: flex; justify-content: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px;
  background: var(--bg-glass); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full); font-size: 0.85rem; color: var(--text-secondary);
  margin-bottom: 28px; animation: fadeInDown 0.8s ease-out;
}
.hero__badge span { color: var(--cyan); font-weight: 600; }
.hero__title { margin-bottom: 20px; animation: fadeInUp 0.8s ease-out 0.2s both; }
.hero__title-gradient {
  background: var(--gradient-hero); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200% auto; animation: gradientShift 4s ease-in-out infinite;
}
.hero__subtitle {
  font-size: 1.15rem; max-width: 520px; margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero__actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}
.hero__stats-row {
  display: flex; gap: 24px; margin-top: 32px;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}
.hero__mini-stat {
  font-size: 0.85rem; color: var(--text-muted);
}
.hero__mini-stat strong {
  color: var(--cyan); font-weight: 700; font-size: 1rem;
  margin-right: 4px;
}

/* Phone Renders in Hero */
.hero__phones-preview {
  position: relative; animation: fadeInRight 1s ease-out 0.4s both;
  width: 100%; max-width: 500px; height: 500px; display: flex; justify-content: center; align-items: center;
}
.hero__phone-img {
  position: absolute;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  transition: transform var(--transition-slow);
}
.hero__phone-img--back {
  transform: translate(-60px, -20px) scale(0.9) rotate(-10deg);
  z-index: 1;
  opacity: 0.8;
  animation: floatBack 6s ease-in-out infinite;
}
.hero__phone-img--front {
  transform: translate(40px, 20px) rotate(5deg);
  z-index: 2;
  animation: floatFront 5s ease-in-out infinite;
}
.hero__phones-preview:hover .hero__phone-img--back {
  transform: translate(-80px, -30px) scale(0.95) rotate(-15deg);
  opacity: 1;
}
.hero__phones-preview:hover .hero__phone-img--front {
  transform: translate(60px, 30px) rotate(8deg) scale(1.05);
}

@keyframes floatBack {
  0%, 100% { transform: translate(-60px, -20px) scale(0.9) rotate(-10deg); }
  50% { transform: translate(-60px, -35px) scale(0.9) rotate(-8deg); }
}
@keyframes floatFront {
  0%, 100% { transform: translate(40px, 20px) rotate(5deg); }
  50% { transform: translate(40px, 5px) rotate(3deg); }
}
.hero__app-glow {
  position: absolute; bottom: -20px; left: 10%; right: 10%; height: 60px;
  background: radial-gradient(ellipse, rgba(0, 120, 255, 0.2), transparent);
  filter: blur(20px); pointer-events: none;
}

.hero__scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.75rem; animation: float 3s ease-in-out infinite;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}

/* ═══ APP SHOWCASE SECTION ═══ */
.showcase {
  padding: 80px 0 100px; position: relative;
}
.showcase__tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 32px;
}
.showcase__tab {
  padding: 10px 24px; border-radius: var(--radius-full);
  background: var(--bg-glass); border: 1px solid var(--border-subtle);
  color: var(--text-secondary); font-family: var(--font-sans);
  font-size: 0.9rem; font-weight: 500; cursor: pointer;
  transition: all var(--transition-base);
}
.showcase__tab:hover { border-color: var(--border-accent); color: var(--text-primary); }
.showcase__tab.active {
  background: var(--cyan-dim); border-color: var(--cyan);
  color: var(--cyan); font-weight: 600;
}
.showcase__window {
  position: relative; max-width: 900px; margin: 0 auto;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 120, 255, 0.08);
}
.showcase__browser-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: rgba(15, 20, 35, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}
.showcase__dots {
  display: flex; gap: 6px;
}
.showcase__dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.showcase__dots span:nth-child(1) { background: #ff5f57; }
.showcase__dots span:nth-child(2) { background: #ffbd2e; }
.showcase__dots span:nth-child(3) { background: #28c840; }
.showcase__title-bar {
  flex: 1; text-align: center; font-size: 0.8rem;
  color: var(--text-muted); font-weight: 500;
}
.showcase__img {
  width: 100%; display: block;
  transition: opacity 0.3s ease;
}
.showcase__glow {
  position: absolute; bottom: -30px; left: 10%; right: 10%; height: 80px;
  background: radial-gradient(ellipse, rgba(0, 120, 255, 0.15), transparent);
  filter: blur(30px); pointer-events: none;
}

/* ═══ PLATFORMS ═══ */
.platforms { padding: 80px 0; position: relative; }
.platforms__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto;
}
.platform-card { padding: 36px; text-align: center; }
.platform-card__icon { font-size: 2.5rem; margin-bottom: 16px; }
.platform-card__title { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.platform-card__desc { font-size: 0.9rem; color: var(--text-secondary); }

/* ═══ SERVER STATUS ═══ */
.server-status { padding: 60px 0; }
.server-status__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.server-card { padding: 24px; }
.server-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.server-card__title { font-size: 1.1rem; font-weight: 600; }
.server-card__desc { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }

.status-indicator { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.status-indicator--online { background-color: var(--green); color: var(--green); animation: pulseGreen 2s infinite; }
.status-indicator--offline { background-color: var(--red); color: var(--red); box-shadow: 0 0 10px var(--red); }
.status-indicator--loading { background-color: var(--amber); color: var(--amber); animation: pulseAmber 1s infinite; }

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@keyframes pulseAmber {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* ═══ FEATURES ═══ */
.features { padding: var(--section-padding); position: relative; }
.features::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-section); pointer-events: none;
}
.features__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}

/* ═══ BRANDS ═══ */
.brands { padding: var(--section-padding); }
.brands__grid {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 32px;
}

/* ═══ STATS ═══ */
.stats { padding: 60px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

/* ═══ PRICING ═══ */
.pricing { padding: var(--section-padding); position: relative; }
.pricing::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 400px; background: var(--gradient-glow); pointer-events: none;
}
.pricing__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; position: relative;
}

/* ═══ CTA ═══ */
.cta-section { padding: 80px 0; text-align: center; position: relative; }
.cta-section__box {
  padding: 60px 40px; border-radius: var(--radius-xl);
  background: var(--gradient-card); border: 1px solid var(--border-card);
  position: relative; overflow: hidden;
}
.cta-section__box::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: var(--gradient-glow); animation: orbFloat 10s ease-in-out infinite;
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 16px; position: relative; }
.cta-section p { margin-bottom: 32px; position: relative; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-section__actions { display: flex; gap: 16px; justify-content: center; position: relative; }

/* ═══ FAQ ═══ */
.faq-section { padding: var(--section-padding); }
.faq__list { max-width: 700px; margin: 0 auto; }

/* ═══ FOOTER ═══ */
.footer { padding: 40px 0; border-top: 1px solid var(--border-subtle); text-align: center; }
.footer__links { display: flex; gap: 24px; justify-content: center; margin-bottom: 16px; }
.footer__links a { color: var(--text-muted); font-size: 0.85rem; }
.footer__links a:hover { color: var(--cyan); }
.footer__copy { color: var(--text-muted); font-size: 0.8rem; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .hero__split { flex-direction: column; text-align: center; gap: 40px; }
  .hero__left { text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats-row { justify-content: center; }
  .hero__app-img { max-width: 100%; }
  .hero { min-height: auto; padding: 120px 24px 60px; }
  .platforms__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .devices-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ═══ DEVICES GALLERY ═══ */
.devices-gallery {
  padding: 80px 0 100px;
  position: relative;
}
.devices-gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-section);
  pointer-events: none;
}
.devices-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: default;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  animation-delay: calc(var(--i) * 0.1s);
  position: relative;
}
.device-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 200, 255, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.device-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(0, 200, 255, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 120, 255, 0.12);
}
.device-card:hover::before { opacity: 1; }

.device-card__img-wrap {
  background: radial-gradient(ellipse at 50% 60%, rgba(255,255,255,0.05) 0%, rgba(10,20,40,0.3) 100%);
  padding: 28px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  position: relative;
}
.device-card__img-wrap img {
  max-height: 200px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.4s ease;
}
.device-card:hover .device-card__img-wrap img {
  transform: translateY(-6px) scale(1.05);
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.6));
}

.device-card__info {
  padding: 14px 20px 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.device-card__brand {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  font-weight: 700;
}
.device-card__model {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.devices-gallery__note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.devices-gallery__note .icon { color: var(--cyan); }

