/* ==========================================================================
   TikChốt — Design System
   Blue tone based on AppColors (#1877f2)
   ========================================================================== */

:root {
  /* ==== Primary Blue Tone ==== */
  --primary: #1877f2;
  --primary-dark: #0d5fd1;
  --primary-darker: #0a4aa8;
  --primary-light: #4a95f5;
  --primary-lighter: #e8f1fe;
  --primary-tint: #f2f7ff;

  /* ==== Background & Surface ==== */
  --background: #ffffff;
  --surface: #f8f9fa;

  /* ==== Text / Icon ==== */
  --text-primary: #212125;
  --text-secondary: #4f4f4f;
  --text-tertiary: #9e9e9e;

  /* ==== Border / Divider ==== */
  --border: #e0e0e0;
  --divider: #bdbdbd;

  /* ==== Status ==== */
  --success: #4caf50;
  --warning: #ffc107;
  --error: #f44336;

  /* ==== Utility ==== */
  --white: #ffffff;
  --black: #000000;
  --grey: #9e9e9e;
  --grey-light: #f2f2f2;
  --grey-dark: #616161;

  /* ==== Gradients ==== */
  --grad-primary: linear-gradient(135deg, #4a95f5 0%, #1877f2 50%, #0d5fd1 100%);
  --grad-soft: linear-gradient(180deg, #f2f7ff 0%, #ffffff 100%);
  --grad-glow: radial-gradient(circle at 50% 0%, rgba(24,119,242,0.18), transparent 60%);

  /* ==== Shadows ==== */
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 20px 48px rgba(16, 24, 40, 0.12);
  --shadow-primary: 0 12px 32px rgba(24, 119, 242, 0.30);

  /* ==== Radius ==== */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  /* ==== Layout ==== */
  --maxw: 1180px;
  --nav-h: 72px;

  /* ==== Motion ==== */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.5s;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--background);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { color: var(--text-secondary); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ==========================================================================
   Utility
   ========================================================================== */
.grad-text {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: var(--r-full);
  background: var(--primary-lighter); color: var(--primary-dark);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head p { margin-top: 14px; font-size: 1.08rem; }
.text-center { text-align: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--r-full);
  font-weight: 700; font-size: 0.98rem; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-primary); background-size: 160% 160%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(24,119,242,0.40); background-position: 100% 50%; }
.btn-primary:active { transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--text-primary); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn-ghost:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--primary), var(--shadow-md); color: var(--primary-dark); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { background: rgba(255,255,255,0.92); border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-primary);
  transition: transform 0.4s var(--ease);
}
.brand:hover .logo { transform: rotate(-8deg) scale(1.06); }
.brand .logo svg { width: 21px; height: 21px; }
.brand b { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 15px; border-radius: var(--r-full); font-weight: 600; font-size: 0.95rem;
  color: var(--text-secondary); position: relative; transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-tint); }
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px; height: 2px;
  background: var(--primary); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .login { font-weight: 600; color: var(--text-primary); padding: 9px 12px; }
.nav-cta .login:hover { color: var(--primary); }

.burger { display: none; width: 42px; height: 42px; border-radius: 12px; place-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; position: relative; transition: 0.3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: 0.3s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: calc(var(--nav-h) + 70px) 0 90px; background: var(--grad-soft); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-glow); pointer-events: none; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 1.15rem; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; color: var(--text-tertiary); font-size: 0.9rem; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 34px; height: 34px; border-radius: 50%; margin-left: -10px; border: 2.5px solid #fff;
  background: var(--grad-primary); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 0.8rem;
}
.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-trust strong { color: var(--text-primary); }
.stars { color: var(--warning); letter-spacing: 2px; }

/* Hero mockup */
.hero-visual { position: relative; }
.mock {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); overflow: hidden; position: relative;
  animation: floaty 6s ease-in-out infinite;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.mock-bar i:nth-child(1){ background:#ff5f57;} .mock-bar i:nth-child(2){ background:#febc2e;} .mock-bar i:nth-child(3){ background:#28c840;}
.mock-bar .url { margin-left: 10px; font-size: 0.78rem; color: var(--text-tertiary); background: #fff; border: 1px solid var(--border); padding: 4px 12px; border-radius: var(--r-full); }
.mock-body { padding: 18px; display: grid; gap: 12px; }
.live-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); opacity: 0; transform: translateX(14px); }
.live-row .ava { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-primary); display: grid; place-items: center; color: #fff; font-weight: 700; flex-shrink: 0; }
.live-row .c1 { font-weight: 700; font-size: 0.92rem; }
.live-row .c2 { font-size: 0.85rem; color: var(--text-secondary); }
.live-row .tag { margin-left: auto; font-size: 0.75rem; font-weight: 700; padding: 5px 11px; border-radius: var(--r-full); background: var(--primary-lighter); color: var(--primary-dark); white-space: nowrap; }
.live-row .tag.ok { background: #e7f6e8; color: #2f7d32; }
.badge-live { position: absolute; top: 60px; right: -14px; background: var(--error); color: #fff; font-weight: 800; font-size: 0.78rem; padding: 8px 14px; border-radius: var(--r-full); box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 7px; animation: floaty 5s ease-in-out infinite reverse; z-index: 3; }
.badge-live .rec { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.float-card {
  position: absolute; bottom: -22px; left: -22px; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 15px 18px; display: flex; align-items: center; gap: 13px;
  border: 1px solid var(--border); animation: floaty 7s ease-in-out infinite; z-index: 3;
}
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; background: #e7f6e8; color: var(--success); display: grid; place-items: center; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card .n { font-weight: 800; font-size: 1.15rem; }
.float-card .l { font-size: 0.78rem; color: var(--text-tertiary); }

/* ==========================================================================
   Logos strip
   ========================================================================== */
.logos { padding: 42px 0; border-bottom: 1px solid var(--border); }
.logos p { text-align: center; color: var(--text-tertiary); font-size: 0.9rem; margin-bottom: 22px; font-weight: 600; }
.logos-row { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; opacity: 0.6; }
.logos-row span { font-weight: 800; font-size: 1.25rem; color: var(--grey-dark); letter-spacing: -0.02em; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 30px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat .num { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.stat .lbl { color: var(--text-secondary); margin-top: 4px; font-size: 0.95rem; }

/* ==========================================================================
   Features
   ========================================================================== */
.features { padding: 90px 0; background: var(--surface); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 30px 26px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  position: relative; overflow: hidden;
}
.feat-card::after { content: ""; position: absolute; inset: 0; background: var(--grad-glow); opacity: 0; transition: opacity 0.4s; }
.feat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feat-card:hover::after { opacity: 1; }
.feat-card .ic {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--primary-lighter); color: var(--primary); transition: transform 0.4s var(--ease), background 0.4s;
}
.feat-card:hover .ic { transform: scale(1.08) rotate(-6deg); background: var(--grad-primary); color: #fff; }
.feat-card .ic svg { width: 26px; height: 26px; }
.feat-card h3 { margin-bottom: 9px; position: relative; }
.feat-card p { font-size: 0.96rem; position: relative; }

/* ==========================================================================
   Showcase (alternating rows)
   ========================================================================== */
.showcase { padding: 90px 0; }
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 90px; }
.show-row:last-child { margin-bottom: 0; }
.show-row.rev .show-text { order: 2; }
.show-text .eyebrow { margin-bottom: 14px; }
.show-text h2 { margin-bottom: 16px; }
.show-list { margin-top: 22px; display: grid; gap: 13px; }
.show-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-secondary); }
.show-list .chk { width: 24px; height: 24px; border-radius: 50%; background: var(--primary-lighter); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.show-list .chk svg { width: 14px; height: 14px; }
.show-media {
  border-radius: var(--r-lg); background: var(--grad-primary); padding: 34px; position: relative;
  box-shadow: var(--shadow-lg); overflow: hidden; min-height: 320px;
}
.show-media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 55%); }
.show-panel { position: relative; background: #fff; border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow-md); }
.show-panel h4 { font-size: 0.95rem; margin-bottom: 14px; color: var(--text-primary); }
.bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.bar-row .k { width: 74px; font-size: 0.82rem; color: var(--text-secondary); font-weight: 600; }
.bar-track { flex: 1; height: 10px; border-radius: var(--r-full); background: var(--grey-light); overflow: hidden; }
.bar-fill { height: 100%; border-radius: var(--r-full); background: var(--grad-primary); width: 0; transition: width 1.2s var(--ease); }
.mini-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 6px; }
.mini { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 14px; }
.mini .mn { font-size: 1.5rem; font-weight: 800; } .mini .ml { font-size: 0.78rem; color: var(--text-tertiary); }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { padding: 90px 0; background: var(--surface); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 32px 26px; position: relative; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step .num { counter-increment: step; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; box-shadow: var(--shadow-primary); }
.step .num::before { content: "0" counter(step); }
.step h3 { margin-bottom: 8px; }
.steps-grid .connector { display: none; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing { padding: 90px 0; }
.bill-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--border); margin: 0 auto 46px; }
.bill-toggle button { padding: 9px 20px; border-radius: var(--r-full); font-weight: 700; font-size: 0.9rem; color: var(--text-secondary); transition: 0.3s; }
.bill-toggle button.on { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.bill-toggle .save { font-size: 0.72rem; color: var(--success); font-weight: 800; margin-left: 4px; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 26px;
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card.pop { border-color: var(--primary); box-shadow: var(--shadow-primary); transform: scale(1.03); }
.price-card.pop:hover { transform: scale(1.03) translateY(-6px); }
.price-card .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-primary); color: #fff; font-size: 0.75rem; font-weight: 800; padding: 6px 16px; border-radius: var(--r-full); box-shadow: var(--shadow-primary); }
.price-card .tier { font-weight: 800; font-size: 1.15rem; }
.price-card .desc { font-size: 0.86rem; color: var(--text-tertiary); margin: 6px 0 18px; min-height: 40px; }
.price-card .amt { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; }
.price-card .amt small { font-size: 0.9rem; font-weight: 600; color: var(--text-tertiary); }
.price-card .per { font-size: 0.82rem; color: var(--text-tertiary); margin-bottom: 22px; }
.price-card ul { display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text-secondary); }
.price-card li .chk { width: 20px; height: 20px; border-radius: 50%; background: var(--primary-lighter); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.price-card li .chk svg { width: 12px; height: 12px; }
.price-card.pop li .chk { background: var(--grad-primary); color: #fff; }

/* ==========================================================================
   Compare table
   ========================================================================== */
.compare { padding: 40px 0 90px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
table.cmp th, table.cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
table.cmp thead th { background: var(--surface); font-weight: 800; font-size: 0.9rem; }
table.cmp tbody td { font-size: 0.92rem; color: var(--text-secondary); }
table.cmp td.c { text-align: center; }
table.cmp .yes { color: var(--success); } table.cmp .no { color: var(--divider); }
table.cmp tr:last-child td { border-bottom: none; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi { padding: 90px 0; background: var(--surface); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote .stars { margin-bottom: 14px; }
.quote p { color: var(--text-primary); font-size: 0.98rem; margin-bottom: 20px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .ava { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-primary); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote .who .nm { font-weight: 700; font-size: 0.92rem; } .quote .who .rl { font-size: 0.82rem; color: var(--text-tertiary); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: 90px 0; }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.02rem; text-align: left; color: var(--text-primary); }
.faq-q .ico { width: 28px; height: 28px; border-radius: 50%; background: var(--primary-lighter); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; transition: transform 0.4s var(--ease), background 0.3s; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--grad-primary); color: #fff; }
.faq-q .ico svg { width: 15px; height: 15px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--text-secondary); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta { padding: 40px 0 100px; }
.cta-box {
  background: var(--grad-primary); border-radius: var(--r-xl); padding: 66px 40px; text-align: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-primary);
}
.cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.22), transparent 45%), radial-gradient(circle at 85% 80%, rgba(255,255,255,0.14), transparent 45%); }
.cta-box h2 { color: #fff; position: relative; margin-bottom: 14px; }
.cta-box p { color: rgba(255,255,255,0.9); position: relative; max-width: 540px; margin: 0 auto 30px; font-size: 1.08rem; }
.cta-box .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: 0 12px 32px rgba(0,0,0,0.18); position: relative; }
.cta-box .btn-primary:hover { background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,0.24); }
.cta-box .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.6); position: relative; }
.cta-box .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,0.1); color: #fff; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { padding: calc(var(--nav-h) + 66px) 0 60px; text-align: center; background: var(--grad-soft); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-glow); }
.page-hero .container { position: relative; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.12rem; }

/* ==========================================================================
   Guide / Support
   ========================================================================== */
.guide { padding: 80px 0; }
.guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.guide-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.guide-card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--primary-lighter); color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; transition: 0.4s var(--ease); }
.guide-card:hover .ic { background: var(--grad-primary); color: #fff; transform: scale(1.06); }
.guide-card .ic svg { width: 24px; height: 24px; }
.guide-card h3 { margin-bottom: 8px; }
.guide-card p { font-size: 0.94rem; margin-bottom: 14px; }
.guide-card .link { color: var(--primary); font-weight: 700; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.3s; }
.guide-card:hover .link { gap: 11px; }

.support-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; max-width: 860px; margin: 0 auto; }
.sup-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 32px; display: flex; gap: 18px; align-items: flex-start; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.sup-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.sup-card .ic { width: 54px; height: 54px; border-radius: 15px; flex-shrink: 0; display: grid; place-items: center; background: var(--primary-lighter); color: var(--primary); }
.sup-card .ic svg { width: 26px; height: 26px; }
.sup-card h3 { margin-bottom: 6px; }
.sup-card p { font-size: 0.94rem; margin-bottom: 10px; }
.sup-card a.link { color: var(--primary); font-weight: 700; }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog { padding: 80px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.post { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); display: flex; flex-direction: column; }
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post .thumb { height: 180px; background: var(--grad-primary); position: relative; overflow: hidden; }
.post .thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.25), transparent 55%); }
.post .thumb .emoji { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.4rem; }
.post .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post .cat { font-size: 0.76rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.post h3 { font-size: 1.12rem; margin-bottom: 10px; }
.post p { font-size: 0.92rem; margin-bottom: 16px; flex: 1; }
.post .meta { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--text-tertiary); }
.post .meta .ava { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.72rem; }
.post.feat { grid-column: span 3; flex-direction: row; }
.post.feat .thumb { width: 46%; height: auto; }
.post.feat .thumb .emoji { font-size: 5rem; }
.post.feat .body { justify-content: center; padding: 40px; }
.post.feat h3 { font-size: 1.7rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #0e1116; color: #c7cdd6; padding: 66px 0 30px; }
.footer a { color: #c7cdd6; transition: color 0.25s; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand b { color: var(--primary-light); }
.footer .about { font-size: 0.92rem; max-width: 320px; color: #9aa3b0; }
.footer .socials { display: flex; gap: 10px; margin-top: 18px; }
.footer .socials a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,0.08); transition: background 0.3s, transform 0.3s; }
.footer .socials a:hover { background: var(--primary); transform: translateY(-3px); }
.footer .socials svg { width: 18px; height: 18px; }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; font-weight: 700; }
.footer ul { display: grid; gap: 11px; font-size: 0.92rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 0.86rem; color: #7c8697; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; } .reveal.d4 { transition-delay: 0.32s; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad-primary); z-index: 200; transition: width 0.1s linear; }

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(24,119,242,0.5);} 50% { box-shadow: 0 0 0 7px rgba(24,119,242,0);} }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-14px);} }
@keyframes slideIn { to { opacity: 1; transform: none; } }
@keyframes shimmer { 0% { background-position: -200% 0;} 100% { background-position: 200% 0;} }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .feat-grid, .steps-grid, .testi-grid, .guide-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .price-grid { grid-template-columns: repeat(2,1fr); }
  .show-row { grid-template-columns: 1fr; gap: 34px; }
  .show-row.rev .show-text { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .post.feat { grid-column: span 2; flex-direction: column; }
  .post.feat .thumb { width: 100%; height: 200px; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta .login { display: none; }
  .burger { display: grid; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 16px; gap: 4px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: 0.3s var(--ease);
  }
  body.menu-open .nav-links { display: flex; transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 16px; }
  .feat-grid, .steps-grid, .testi-grid, .guide-grid, .blog-grid, .stats-grid, .price-grid, .support-grid, .footer-grid { grid-template-columns: 1fr; }
  .post.feat { grid-column: span 1; }
  .cta-box { padding: 44px 24px; }
  .hero-actions .btn, .cta-actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
}
