/* ==========================================================================
   🚀 LANDING-SEO.CSS - SEO Landing Page (Smallpdf-inspired)
   ========================================================================== */

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body.landing-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #1e293b;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- NAVBAR OVERRIDE for landing --- */
/* Removed navbar overrides to inherit universal styling from navbar.css */


.landing-page .btn-cta-nav {
  padding: 8px 20px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
  color: #fff; background: linear-gradient(135deg, #2563eb, #7c3aed);
  border: none; cursor: pointer; transition: all 0.25s;
}
.landing-page .btn-cta-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,0.35); }

/* --- HERO SECTION --- */
.landing-hero {
  padding: 65px 24px 50px; /* Reduced top padding to move higher */
  max-width: 1280px; /* Closer to center */
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 120px; /* Tăng khoảng cách giữa 2 khối lên đáng kể */
}
.landing-hero-text { flex: 1; max-width: 580px; }
.landing-hero-text h1 {
  font-size: 3rem; font-weight: 900; line-height: 1.15;
  color: #0f172a; letter-spacing: -1.5px; margin-bottom: 20px;
}
.landing-hero-text h1 .highlight {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.landing-hero-text .hero-desc {
  font-size: 1.15rem; line-height: 1.7; color: #64748b;
  margin-bottom: 32px; max-width: 480px;
}
.landing-hero-visual {
  flex: 1; max-width: 520px; display: flex;
  justify-content: center; align-items: center;
}
/* Hero Animation Composition */
.hero-visual-composition {
  position: relative; width: 100%; max-width: 480px; height: 420px;
  display: flex; align-items: center; justify-content: center;
}
.hero-glow {
  position: absolute; width: 340px; height: 340px; top: 50%; left: 50%;
  transform: translate(-50%, -50%); border-radius: 50%; z-index: 1;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(255,255,255,0) 70%);
}
.hero-doc {
  position: relative; width: 260px; height: 320px; z-index: 2;
  background: #ffffff; border-radius: 20px; padding: 28px;
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0; display: flex; flex-direction: column;
}
.doc-header { width: 35%; height: 16px; border-radius: 6px; background: #cbd5e1; margin-bottom: 32px; }
.doc-line { height: 12px; border-radius: 6px; background: #f1f5f9; margin-bottom: 20px; }
.line-1 { width: 100%; } .line-2 { width: 85%; } .line-3 { width: 90%; }
.line-s { width: 50%; background: #2563eb; margin-top: -4px; height: 14px; }

.doc-logo { 
  margin-top: auto; display: flex; align-items: center; gap: 8px; opacity: 0.8;
  border-top: 1px solid #f1f5f9; padding-top: 20px;
}
.doc-logo img { width: 24px; height: 24px; object-fit: contain; }
.doc-logo span { font-size: 14px; font-weight: 800; color: #1e293b; }

.hero-float-icon {
  position: absolute; width: 72px; height: 72px; z-index: 3;
  background: #ffffff; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #f8fafc;
}
.hero-float-icon img { width: 40px; height: 40px; object-fit: contain; }

.icon-chat { top: 0; left: 10px; }
.icon-translate { top: 50%; transform: translateY(-50%); right: 10px; }
.icon-compress { bottom: 0; left: 10px; }

/* CTA Buttons */
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, #2563eb, #4f46e5);
  border: none; cursor: pointer; text-decoration: none;
  transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px;
}
/* Hover behavior disabled */

.btn-secondary {
  padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  color: #1e293b; background: #fff;
  border: 1.5px solid #cbd5e1; cursor: pointer; text-decoration: none;
  transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px;
}
/* Hover behavior disabled */

/* Trust badges row */
.trust-row {
  display: flex; gap: 24px; margin-top: 32px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: #64748b;
}
.trust-item svg { width: 18px; height: 18px; flex-shrink: 0; }

.trust-tip-item {
  padding: 10px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  color: #1e3a8a;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.12);
}

.trust-tip-icon {
  font-size: 17px;
  line-height: 1;
  animation: trustTipWink 2.2s ease-in-out infinite;
}

@keyframes trustTipWink {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
  20% {
    transform: rotate(-8deg) scale(1.08);
    opacity: 0.9;
  }
  35% {
    transform: rotate(4deg) scale(0.98);
    opacity: 0.82;
  }
  55% {
    transform: rotate(-4deg) scale(1.04);
    opacity: 1;
  }
}

/* --- TOOLS GRID SECTION --- */
.landing-section {
  padding: 72px 24px;
  max-width: 1400px; margin: 0 auto;
}
.landing-section.alt-bg {
  background: #f8fafc;
  max-width: 100%; padding-left: 0; padding-right: 0;
}
.landing-section.alt-bg > .section-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
}
.section-header {
  text-align: center; margin-bottom: 48px;
}
.section-header h2 {
  font-size: 2rem; font-weight: 800; color: #0f172a;
  margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-header p {
  font-size: 1.05rem; color: #64748b; max-width: 600px; margin: 0 auto;
}

/* Tool cards grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tool-link {
  text-decoration: none; color: inherit;
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; border-radius: 14px;
  background: #fff; border: 1px solid #e2e8f0;
  transition: all 0.25s; cursor: pointer;
}
.tool-link:hover { border-color: #2563eb; }
.tool-link .tool-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tool-link .tool-icon img { width: 32px; height: 32px; object-fit: contain; }
.tool-link .tool-info h3 { font-size: 0.95rem; font-weight: 700; color: #1e293b; margin-bottom: 3px; }
.tool-link .tool-info p { font-size: 0.82rem; color: #94a3b8; margin: 0; line-height: 1.4; }
.tool-link .tool-arrow {
  margin-left: auto; color: #cbd5e1; font-size: 18px;
  transition: all 0.2s; flex-shrink: 0;
}
/* Hover behavior disabled */

/* --- HOW IT WORKS --- */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 48px;
}
.step-card {
  text-align: center; padding: 32px 24px;
}
.step-num-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff; font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; color: #64748b; line-height: 1.6; }

/* --- PRICING SECTION --- */
.home-pricing-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(500px, 2.1fr);
  gap: 24px;
  align-items: stretch;
  background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 72%);
  border: 1px solid #dbeafe;
  border-radius: 20px;
  padding: 32px;
}

.home-pricing-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-pricing-intro h2 {
  margin: 0;
  font-size: 2.1rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
}

.home-pricing-intro p {
  margin: 18px 0 0;
  max-width: 380px;
  font-size: 1rem;
  color: #334155;
  line-height: 1.6;
}

.home-pricing-currency {
  margin-top: 12px;
  font-size: 0.86rem;
  color: #475569;
  font-weight: 600;
}

.home-pricing-compare-btn {
  margin-top: 26px;
  align-self: flex-start;
  padding: 12px 20px;
  font-size: 0.9rem;
}

.home-pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
}

.home-pricing-card {
  background: #ffffff;
  border: 1px solid #dbe5f1;
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 214px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.home-pricing-card-featured {
  border-color: #3b82f6;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.16);
  transform: translateY(-2px);
}

.home-pricing-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.home-pricing-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #111827;
  font-weight: 700;
}

.home-pricing-badge {
  font-size: 0.75rem;
  color: #2563eb;
  font-weight: 600;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 4px 8px;
}

.home-pricing-amount {
  margin-top: 16px;
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.home-pricing-period {
  margin: 2px 0 0;
  font-size: 0.95rem;
  color: #1e3a8a;
  font-weight: 600;
}

.home-pricing-note {
  margin: 8px 0 0;
  font-size: 0.87rem;
  color: #64748b;
  line-height: 1.5;
}

/* --- FAQ SECTION --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid #e2e8f0; border-radius: 12px;
  margin-bottom: 12px; overflow: hidden; background: #fff;
}
.faq-item summary {
  padding: 18px 24px; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; color: #1e293b; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.2s;
}
/* Hover behavior disabled */
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: #94a3b8; transition: transform 0.2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  padding: 0 24px 18px; font-size: 0.9rem;
  color: #64748b; line-height: 1.7;
}
.faq-item .faq-answer a { color: #4f46e5; text-decoration: underline; }

/* --- FINAL CTA SECTION --- */
.landing-cta-section {
  text-align: center; padding: 80px 24px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
}
.landing-cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.landing-cta-section p { font-size: 1.05rem; color: #94a3b8; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.landing-cta-section .btn-primary { font-size: 16px; padding: 16px 40px; }

/* --- FOOTER (reuse from giaodienhtml.css) --- */

/* ==========================================================================
   📱 RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .landing-hero { flex-direction: column; padding: 100px 20px 40px; text-align: center; gap: 32px; }
  .landing-hero-text { max-width: 100%; }
  .landing-hero-text h1 { font-size: 2.2rem; }
  .landing-hero-text .hero-desc { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .trust-row { justify-content: center; }
  .landing-hero-visual { max-width: 320px; }

  .tools-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .home-pricing-showcase { grid-template-columns: 1fr; padding: 24px 18px; }
  .home-pricing-intro h2 { font-size: 1.9rem; }
  .home-pricing-intro p { font-size: 0.96rem; max-width: 100%; }
  .home-pricing-cards { grid-template-columns: 1fr; }
  .home-pricing-card-featured { transform: none; }

  .section-header h2 { font-size: 1.6rem; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   🌙 DARK MODE
   ========================================================================== */
body.landing-page.dark-mode {
  background: #0f172a; color: #e2e8f0;
}

body.landing-page.dark-mode .landing-hero-text h1 { color: #f1f5f9; }
body.landing-page.dark-mode .landing-hero-text .hero-desc { color: #94a3b8; }
body.landing-page.dark-mode .btn-secondary { background: #1e293b; color: #e2e8f0; border-color: #334155; }
/* Hover behavior disabled */

body.landing-page.dark-mode .trust-item { color: #94a3b8; }
body.landing-page.dark-mode .trust-tip-item {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.28), rgba(30, 41, 59, 0.75));
  border-color: #3b82f6;
  color: #dbeafe;
}
body.landing-page.dark-mode .trust-tip-icon { filter: drop-shadow(0 0 10px rgba(147, 197, 253, 0.35)); }

/* Dark mode for hero composition */
body.landing-page.dark-mode .hero-glow { background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, rgba(15,23,42,0) 70%); }
body.landing-page.dark-mode .hero-doc { background: #1e293b; border-color: #334155; box-shadow: 0 24px 48px rgba(0,0,0,0.5); }
body.landing-page.dark-mode .doc-header { background: #475569; }
body.landing-page.dark-mode .doc-line { background: #334155; }
body.landing-page.dark-mode .doc-logo span { color: #cbd5e1; }
body.landing-page.dark-mode .doc-logo { border-color: #334155; }
body.landing-page.dark-mode .hero-float-icon { background: #0f172a; border-color: #1e293b; box-shadow: 0 16px 32px rgba(0,0,0,0.4); }

body.landing-page.dark-mode .landing-section.alt-bg { background: #0c1322; }
body.landing-page.dark-mode .section-header h2 { color: #f1f5f9; }
body.landing-page.dark-mode .section-header p { color: #94a3b8; }

body.landing-page.dark-mode .tool-link { background: rgba(30,41,59,0.5); border-color: #1e293b; }
body.landing-page.dark-mode .tool-link:hover { border-color: #3b82f6; }
body.landing-page.dark-mode .tool-link .tool-info h3 { color: #e2e8f0; }
body.landing-page.dark-mode .tool-link .tool-info p { color: #64748b; }

body.landing-page.dark-mode .step-card h3 { color: #e2e8f0; }
body.landing-page.dark-mode .step-card p { color: #94a3b8; }

body.landing-page.dark-mode .home-pricing-showcase { background: linear-gradient(135deg, #111827 0%, #0b1220 72%); border-color: #243042; }
body.landing-page.dark-mode .home-pricing-intro h2 { color: #f8fafc; }
body.landing-page.dark-mode .home-pricing-intro p { color: #94a3b8; }
body.landing-page.dark-mode .home-pricing-currency { color: #cbd5e1; }
body.landing-page.dark-mode .home-pricing-card { background: #0f172a; border-color: #243042; box-shadow: none; }
body.landing-page.dark-mode .home-pricing-card-featured { border-color: #60a5fa; box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2); }
body.landing-page.dark-mode .home-pricing-card h3 { color: #e2e8f0; }
body.landing-page.dark-mode .home-pricing-badge { color: #bfdbfe; background: rgba(30, 58, 138, 0.35); border-color: #1d4ed8; }
body.landing-page.dark-mode .home-pricing-amount { color: #f8fafc; }
body.landing-page.dark-mode .home-pricing-period { color: #93c5fd; }
body.landing-page.dark-mode .home-pricing-note { color: #94a3b8; }

body.landing-page.dark-mode .faq-item { background: rgba(30,41,59,0.5); border-color: #1e293b; }
body.landing-page.dark-mode .faq-item summary { color: #e2e8f0; }
/* Hover behavior disabled */
body.landing-page.dark-mode .faq-item .faq-answer { color: #94a3b8; }
body.landing-page.dark-mode .faq-item .faq-answer a { color: #818cf8; }
