/* ── Reset & Base ────────────────────────────────────────────── */
[x-cloak] { display: none !important; }

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track { background: #0F0F1A; }
::-webkit-scrollbar-thumb { background: #F5A623; border-radius: 99px; }

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero-gradient {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,166,35,0.12) 0%, transparent 70%),
              linear-gradient(180deg, #0F0F1A 0%, #1A1A2E 50%, #0F0F1A 100%);
}

.grid-pattern {
  background-image:
    linear-gradient(rgba(245,166,35,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* ── Phone Mockup ─────────────────────────────────────────────── */
.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 0 2px rgba(245,166,35,0.3),
    0 30px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: #0F0F1A;
  border-radius: 0 0 12px 12px;
  z-index: 10;
}

.phone-screen {
  background: #0F0F1A;
  border-radius: 30px;
  height: 100%;
  overflow: hidden;
}

.map-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245,166,35,0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* ── Store Buttons ─────────────────────────────────────────────── */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  padding: 10px 20px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.store-btn:hover {
  background: rgba(245,166,35,0.15);
  border-color: rgba(245,166,35,0.4);
  transform: translateY(-2px);
}

.store-btn-lg {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  padding: 14px 28px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.25s;
  font-size: 1rem;
}

.store-btn-lg:hover {
  background: rgba(245,166,35,0.2);
  border-color: rgba(245,166,35,0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(245,166,35,0.15);
}

/* ── Feature Cards ─────────────────────────────────────────────── */
.feature-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(245,166,35,0.3);
  background: linear-gradient(135deg, rgba(245,166,35,0.06) 0%, rgba(255,255,255,0.02) 100%);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ── Download Section ──────────────────────────────────────────── */
.download-bg {
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(245,166,35,0.08) 0%, transparent 70%),
              linear-gradient(180deg, #0F0F1A 0%, #1A1A2E 50%, #0F0F1A 100%);
}

/* ── Screenshots ───────────────────────────────────────────────── */
.screenshot-card {
  width: 200px;
}

.screenshot-phone {
  width: 200px;
  height: 380px;
  background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
  border-radius: 30px;
  padding: 10px;
  border: 1px solid rgba(245,166,35,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  transition: all 0.3s;
}

.screenshot-phone:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(245,166,35,0.5);
  box-shadow: 0 30px 60px rgba(245,166,35,0.1);
}

/* ── Form ─────────────────────────────────────────────────────── */
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-input::placeholder { color: rgba(255,255,255,0.3); }

.form-input:focus {
  border-color: rgba(245,166,35,0.5);
  background: rgba(245,166,35,0.04);
}

/* ── Social Buttons ────────────────────────────────────────────── */
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s;
}

.social-btn:hover {
  background: rgba(245,166,35,0.2);
  border-color: rgba(245,166,35,0.4);
  color: #F5A623;
  transform: translateY(-2px);
}

/* ── Blog Cards ────────────────────────────────────────────────── */
.blog-featured-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 28px;
  overflow: hidden;
}

.blog-featured-img {
  height: 320px;
  background: linear-gradient(135deg, #1A1A2E 0%, #2A2A3E 100%);
  min-height: 280px;
}

.blog-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  border-color: rgba(245,166,35,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, #1A1A2E 0%, #2A2A3E 100%);
  position: relative;
}

/* ── POS Section ───────────────────────────────────────────────── */
.pos-visual-card {
  background: linear-gradient(135deg, rgba(245,166,35,0.06) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 28px;
  height: 420px;
  position: relative;
  overflow: hidden;
}

.pos-visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(245,166,35,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.pos-feature-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 22px;
  transition: all 0.3s;
}

.pos-feature-card:hover {
  border-color: rgba(245,166,35,0.3);
  background: linear-gradient(135deg, rgba(245,166,35,0.05) 0%, rgba(255,255,255,0.02) 100%);
  transform: translateY(-3px);
}

/* ── Trust Badges ──────────────────────────────────────────────── */
.trust-card-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  min-width: 52px;
  height: 36px;
}

.trust-badge-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 99px;
  font-size: 0.75rem;
  color: #d1d5db;
  white-space: nowrap;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .phone-mockup {
    width: 200px;
    height: 400px;
  }

  .feature-card {
    padding: 14px;
  }

  .feature-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
  }

  .pos-feature-card {
    padding: 16px;
  }

  .blog-featured-img {
    height: 200px;
    min-height: 160px;
  }

  .blog-card-img {
    height: 150px;
  }

  .trust-card-badge {
    height: 30px;
    padding: 4px 10px;
  }

  .trust-badge-pill {
    padding: 4px 10px;
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  .phone-mockup {
    width: 230px;
    height: 460px;
  }
}
