/* Anti-copy protection */
body, img, p, h1, h2, h3, h4, h5, h6, span, div, a, li, ul, section, footer, header, main {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

:root {
  --blue-50: #f0fdf4;
  --blue-100: #dcfce7;
  --blue-200: #bfk;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --gold: #f59e0b;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --gradient-hero: linear-gradient(180deg, #fafafa 0%, #f1f5f9 100%);
  --gradient-btn: #0f172a;
  --gradient-btn-hover: #1e293b;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; font-weight: 700; }
a { text-decoration: none; color: inherit; }
.max-w-6xl { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-padding { padding: 120px 0; }
.text-center { text-align: center; }
.mb-lg { margin-bottom: 40px; }
.mb-xl { margin-bottom: 60px; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.04);
  padding: 10px 0;
}
.nav-container {
  display: flex; justify-content: space-between;
  align-items: center; height: 48px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-box {
  width: 36px; height: 36px; border-radius: 8px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.real-icon { width: 100%; height: 100%; object-fit: cover; }
.logo-text {
  font-size: 18px; font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-weight: 500; font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: 50px;
  font-weight: 600; font-size: 14px;
  cursor: pointer; transition: all 0.3s ease;
  text-align: center; border: none;
}
.btn-gradient {
  background: var(--gradient-btn);
  color: #fff;
}
.btn-gradient:hover {
  background: var(--gradient-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--text);
}
.btn-large { padding: 16px 36px; font-size: 16px; border-radius: 50px; }

/* ============ HERO ============ */
.hero {
  background: var(--gradient-hero);
  color: var(--text);
  text-align: center;
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 28px;
  color: var(--text-secondary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34d399;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero-title {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -2.5px;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
  color: var(--text);
}
.hero-desc {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-buttons {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 28px; border-radius: 16px;
  font-weight: 600; font-size: 15px;
  transition: all 0.3s ease; text-decoration: none;
}
.store-btn-apple {
  background: var(--text); color: #fff;
}
.store-btn-apple:hover {
  transform: translateY(-3px);
  background: #000;
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.store-btn-google {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.store-btn-google:hover {
  transform: translateY(-3px);
  border-color: var(--text-secondary);
  box-shadow: 0 12px 25px rgba(0,0,0,0.05);
}
.store-btn svg { width: 24px; height: 24px; }
.store-btn-text { text-align: left; }
.store-btn-text small { display: block; font-size: 11px; font-weight: 500; opacity: 0.8; line-height: 1; margin-bottom: 2px;}
.store-btn-text strong { font-size: 17px; line-height: 1; }
.store-btn-apple svg path { fill: #fff; }

/* ============ SECTION TITLES ============ */
.section-label {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--text);
}
.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============ STATS SECTION ============ */
.stats-section {
  padding: 60px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}
.stats-grid {
  display: flex;
  justify-content: space-around;
  text-align: center;
  flex-wrap: wrap;
  gap: 40px;
}
.stat-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.stat-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -2px;
  line-height: 1;
}
.stat-value.gold { color: #f59e0b; }
.stat-value.purple { color: #8b5cf6; }
.stat-value.text-blue { color: var(--blue-600); }

.stat-label {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============ STICKY SCROLL FEATURES ============ */
.scroll-feature-section {
  background: var(--bg);
  padding: 120px 0;
  border-bottom: 1px solid var(--border-light);
}
.sf-container {
  display: flex;
  gap: 80px;
  position: relative;
  align-items: flex-start;
  margin-top: 40px;
}
.sf-left {
  flex: 1;
  padding-top: 40px;
  padding-bottom: 40px;
}
.sf-text-block {
  min-height: 200px; /* Thu ngắn khoảng cách xa nhau giữa các tính năng */
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.2;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateX(-10px);
}
.sf-text-block:last-child {
  margin-bottom: 200px; 
}
.sf-text-block.active {
  opacity: 1;
  transform: translateX(0);
}
.sf-text-block h3 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -1px;
}
.sf-text-block p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.sf-right {
  flex: 1;
  position: sticky;
  top: 150px;
  height: max-content;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.sf-sticky-phone {
  width: 280px;
  height: 580px;
  border-radius: 40px;
  border: 10px solid #000;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.1);
  background: #000;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.2,0.8,0.2,1);
}
.sf-sticky-phone::after {
  content: '';
  position: absolute;
  top: 15px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 24px;
  background: #000; border-radius: 12px;
  z-index: 10;
}
.sf-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.8s ease;
  transform: scale(1.05);
}
.sf-img.active {
  opacity: 1;
  transform: scale(1);
}

/* ============ V2 LIST ============ */
.v2-features {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
}
.v2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.v2-item {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.v2-item-icon {
  width: 48px; height: 48px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.v2-item h4 {
  font-size: 18px; margin-bottom: 8px; color: var(--text);
}
.v2-item p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.6;
}

/* ============ HOW IT WORKS ============ */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 18%;
  right: 18%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.step-item { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 800;
  margin: 0 auto 24px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}
.step-item h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text);
}
.step-item p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ PRICING ============ */
.pricing-section {
  background: var(--bg-alt);
}
.pricing-card {
  max-width: 440px;
  margin: 60px auto 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}
.pricing-price {
  font-size: 64px; font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -2px;
}
.pricing-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-weight: 500;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 40px;
}
.pricing-features li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 15px;
  color: var(--text-secondary);
  display: flex; align-items: center; gap: 12px;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg { width: 18px; height: 18px; color: #10b981; flex-shrink: 0; }

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 40px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: transform 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 16px; letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-card .review-title {
  font-size: 18px; font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.testimonial-card .review-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.testimonial-card .reviewer {
  font-size: 14px; font-weight: 600;
  color: var(--text);
}
.testimonial-card .review-source {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============ FAQ ============ */
.faq-container { max-width: 720px; margin: 60px auto 0; }
.accordion { border-bottom: 1px solid var(--border); }
.accordion-header {
  width: 100%; padding: 24px 0;
  display: flex; justify-content: space-between;
  font-weight: 600; background: none; border: none;
  font-size: 18px; cursor: pointer; text-align: left;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  transition: color 0.2s;
}
.accordion-header:hover { color: var(--text-secondary); }
.acc-icon {
  color: var(--text-muted);
  font-size: 24px; font-weight: 400;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.accordion-content {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-content p {
  padding-bottom: 24px;
  color: var(--text-secondary);
  font-size: 16px; line-height: 1.7;
}

/* ============ CTA SECTION ============ */
.cta-section {
  background: var(--text);
  color: #fff;
  text-align: center;
}
.cta-section .section-title { color: #fff; }
.cta-section .section-desc { color: rgba(255,255,255,0.7); }

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: #fff;
}
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
}
.footer-brand {
  display: flex; align-items: center;
  gap: 12px; margin-bottom: 16px;
}
.footer-brand img {
  width: 40px; height: 40px;
  border-radius: 8px;
}
.footer-brand span {
  font-size: 20px; font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.footer-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 400px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.footer-links {
  display: flex; gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap; justify-content: center;
}
.footer-links a {
  font-size: 14px; font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.copyright {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============ MOBILE MENU ============ */
.menu-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; color: var(--text);
}
.menu-toggle svg { width: 24px; height: 24px; }
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 16px; right: 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 60px rgba(0,0,0,0.12);
  flex-direction: column;
  padding: 12px;
  border: 1px solid var(--border);
  z-index: 999;
}
.mobile-menu.active { display: flex; }
.mobile-link {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  font-weight: 600; font-size: 16px;
  color: var(--text);
}
.mobile-link:last-child { border-bottom: none; }

/* ============ ANIMATIONS ============ */
.fade-in-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2,0.8,0.2,1);
}
.fade-in-up.visible {
  opacity: 1; transform: translateY(0);
}

/* ============ BLOG/ARTICLE OVERRIDES ============ */
.blog-hero, .article-hero, .privacy-hero {
  padding: 160px 0 80px;
  background: var(--gradient-hero);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.blog-hero h1, .article-hero h1, .privacy-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.blog-hero p { font-size: 18px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.article-list { padding: 80px 0; max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.article-card {
  display: block; padding: 40px; border-radius: var(--radius-xl);
  background: #fff; border: 1px solid var(--border);
  transition: all 0.3s ease; text-decoration: none; color: inherit;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.04); }
.article-meta { font-size: 14px; color: var(--text-muted); font-weight: 500; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.meta-tag { color: var(--text); font-weight: 700; }
.article-title { font-size: 26px; color: var(--text); margin-bottom: 12px; letter-spacing: -0.5px; }
.article-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.6; }

.article-hero .meta { color: var(--text); font-weight: 700; margin-bottom: 20px; display: inline-block; font-size: 15px; }
.article-hero h1 { max-width: 800px; margin: 0 auto 24px; line-height: 1.1; }
.article-hero .author { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--text-secondary); font-size: 15px; }
.article-hero .author img { width: 40px; height: 40px; border-radius: 50%; }
.article-content { padding: 60px 20px; max-width: 720px; margin: 0 auto; font-size: 18px; color: var(--text-secondary); line-height: 1.8; }
.article-content h2 { font-size: 2rem; color: var(--text); margin: 48px 0 20px; letter-spacing: -0.5px; }
.article-content p { margin-bottom: 24px; }
.article-content .highlight-box { background: var(--bg-alt); border-left: 4px solid var(--text); padding: 32px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; margin: 40px 0; }
.article-content .highlight-box p { margin: 0; font-weight: 500; color: var(--text); font-size: 20px; }

.privacy-content { max-width: 720px; margin: 0 auto; padding: 60px 20px; font-size: 16px; color: var(--text-secondary); line-height: 1.8; }
.privacy-content h2 { font-size: 1.8rem; color: var(--text); margin: 40px 0 16px; letter-spacing: -0.5px; }
.privacy-content p { margin-bottom: 16px; }
.privacy-content ul { margin: 0 0 16px 24px; }
.privacy-content li { margin-bottom: 8px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .v2-grid { grid-template-columns: repeat(2, 1fr); }
  .sf-container { gap: 40px; }
  .sf-left { padding-top: 15vh; padding-bottom: 20vh; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .menu-toggle { display: block; }
  .max-w-6xl { padding: 0 24px; }
  .section-padding { padding: 80px 0; }

  .hero { padding: 140px 0 60px; }
  .steps-row { grid-template-columns: 1fr; gap: 40px; }
  .steps-row::before { display: none; }
  
  .sf-container { flex-direction: column; gap: 0; margin-top: 30px; }
  .sf-right { 
    position: sticky; top: 60px; height: auto; 
    order: -1; z-index: 10;
    background: var(--bg); padding: 10px 0 20px; width: 100%;
    margin-bottom: 20px;
  }
  .sf-sticky-phone { width: 140px; height: 290px; border-width: 5px; margin: 0 auto; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
  .sf-sticky-phone::after { width: 40px; height: 12px; top: 8px; border-radius: 6px; }
  .sf-left { padding-top: 10px; padding-bottom: 40px; }
  .sf-text-block { min-height: auto; margin-bottom: 60px; opacity: 0.3; transform: none; text-align: center; }
  .sf-text-block.active { opacity: 1; }
  .sf-text-block h3 { font-size: 22px; }
  
  .testimonials-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .testimonial-card { width: 100%; padding: 24px; }
  .pricing-card { padding: 32px; }
  
  .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .stat-block:last-child { grid-column: span 2; }
  .stat-value { font-size: 36px; }
}

@media (max-width: 480px) {
  .max-w-6xl { padding: 0 16px; }
  .hero-title { font-size: 2.2rem; letter-spacing: -1px; }
  .hero-desc { font-size: 16px; }
  .store-btn { padding: 12px 20px; width: 100%; justify-content: center; }
  .section-title { font-size: 1.8rem; }
  .v2-grid { grid-template-columns: 1fr; }
  .sf-text-block h3 { font-size: 24px; }
  .sf-text-block p { font-size: 16px; }
  .pricing-price { font-size: 48px; }
}
