/* ============================================
   Lankv Studio — Custom CSS (bổ sung Tailwind)
   Tone: Dark Mode + accent xanh công nghệ
   ============================================ */

/* --- Biến màu & font --- */
:root {
  --bg-deep: #070b10;
  --bg-card: #0e1620;
  --bg-elevated: #141e2a;
  --border-subtle: rgba(148, 163, 184, 0.12);
  --accent: #22d3a6;          /* xanh lá công nghệ / teal */
  --accent-strong: #14b8a6;   /* teal đậm hơn */
  --accent-blue: #38bdf8;     /* xanh dương phụ */
  --text-muted: #94a3b8;
  --glow: rgba(34, 211, 166, 0.35);
  --radius: 1rem;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

/* --- Nền & chữ cơ bản --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: #e2e8f0;
  -webkit-font-smoothing: antialiased;
}

/* Display typography (slogan, tiêu đề lớn) */
.font-display {
  font-family: var(--font-display);
}

/* --- Nền gradient / khí quyển --- */
.bg-atmosphere {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 211, 166, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(56, 189, 248, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 40%, rgba(20, 184, 166, 0.06), transparent 45%),
    var(--bg-deep);
}

.bg-grid {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
}

/* --- Logo --- */
.logo-mark {
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
  box-shadow: 0 0 20px var(--glow);
}

/* --- Nút cao cấp --- */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: #042f2e;
  background: linear-gradient(135deg, #2dd4bf, #22d3a6);
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 0 0 0 transparent, 0 8px 24px rgba(34, 211, 166, 0.25);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 32px var(--glow), 0 12px 28px rgba(34, 211, 166, 0.35);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #e2e8f0;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 9999px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(34, 211, 166, 0.08);
  box-shadow: 0 0 24px rgba(34, 211, 166, 0.15);
}

.btn-hotline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: #042f2e;
  background: linear-gradient(135deg, #34d399, #22d3a6);
  border-radius: 9999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(34, 211, 166, 0.3);
  text-decoration: none;
  white-space: nowrap;
}

.btn-hotline:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 8px 24px rgba(34, 211, 166, 0.45);
}

.btn-download {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.1rem 2.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #042f2e;
  background: linear-gradient(135deg, #5eead4, #22d3a6 50%, #38bdf8);
  background-size: 200% 200%;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  animation: shimmer 4s ease infinite;
  box-shadow: 0 10px 40px rgba(34, 211, 166, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-download:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 48px rgba(34, 211, 166, 0.55);
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- Card dịch vụ --- */
.service-card {
  position: relative;
  background: linear-gradient(160deg, rgba(20, 30, 42, 0.9), rgba(10, 16, 24, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(34, 211, 166, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 166, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(34, 211, 166, 0.08);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: rgba(34, 211, 166, 0.12);
  color: var(--accent);
  border: 1px solid rgba(34, 211, 166, 0.25);
}

/* --- Feature list LeadFinder --- */
.feature-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(14, 22, 32, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-item:hover {
  border-color: rgba(34, 211, 166, 0.35);
  transform: translateX(4px);
}

/* --- Bảng giá --- */
.price-card {
  background: linear-gradient(165deg, #121c28, #0a1018);
  border: 1px solid var(--border-subtle);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card--vip {
  border-color: rgba(34, 211, 166, 0.45);
  box-shadow: 0 0 0 1px rgba(34, 211, 166, 0.15), 0 24px 60px rgba(34, 211, 166, 0.12);
  position: relative;
  overflow: hidden;
}

.price-card--vip::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(34, 211, 166, 0.15), transparent 70%);
  pointer-events: none;
}

.badge-scarce {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 9999px;
  animation: pulse-soft 2.5s ease infinite;
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* --- Khung video demo giả lập --- */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #0f1720, #162030);
  border: 1px solid rgba(34, 211, 166, 0.25);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(34, 211, 166, 0.1);
}

.video-frame__glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(34, 211, 166, 0.4), transparent 40%, rgba(56, 189, 248, 0.3));
  opacity: 0.5;
  z-index: -1;
  filter: blur(12px);
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1rem;
  color: var(--text-muted);
  background:
    radial-gradient(circle at 50% 40%, rgba(34, 211, 166, 0.1), transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(148, 163, 184, 0.03) 2px,
      rgba(148, 163, 184, 0.03) 4px
    );
}

.play-btn {
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(34, 211, 166, 0.2);
  border: 2px solid var(--accent);
  color: var(--accent);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.play-btn:hover {
  transform: scale(1.1);
  background: rgba(34, 211, 166, 0.35);
  box-shadow: 0 0 40px var(--glow);
}

/* --- Bước cài đặt --- */
.step-num {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #042f2e;
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
  border-radius: 0.85rem;
  flex-shrink: 0;
}

/* --- QR placeholder --- */
.qr-box {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 0.75rem;
  color: #0f172a;
  font-size: 0.7rem;
  text-align: center;
  padding: 0.5rem;
  line-height: 1.35;
  overflow: hidden;
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* --- Header fixed --- */
.site-header {
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 16, 0.75);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header.is-scrolled {
  background: rgba(7, 11, 16, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* --- Mobile menu --- */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-menu.open {
  max-height: 320px;
}

/* --- Reveal khi cuộn --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- Accent text --- */
.text-gradient {
  background: linear-gradient(135deg, #5eead4, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #05080c;
}

/* --- Divider mỏng --- */
.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 166, 0.4), transparent);
}

/* --- Link nav --- */
.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--accent);
}

/* --- Founder avatar ring --- */
.avatar-ring {
  padding: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
  border-radius: 50%;
}

/* --- Strike giá cũ --- */
.price-old {
  text-decoration: line-through;
  color: var(--text-muted);
}

/* --- Selection --- */
::selection {
  background: rgba(34, 211, 166, 0.35);
  color: #fff;
}
