@font-face { font-family: 'FK Grotesk Neue'; src: url('./fonts/FKGroteskNeue-REGULAR.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'FK Grotesk Neue'; src: url('./fonts/FKGroteskNeue-MEDIUM.woff2') format('woff2'); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'FK Grotesk Neue'; src: url('./fonts/FKGroteskNeue-BOLD.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'FK Grotesk Neue'; src: url('./fonts/FKGroteskNeue-BLACK.woff2') format('woff2'); font-weight: 800 900; font-style: normal; font-display: swap; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; overflow-x: hidden; max-width: 100%; }
body {
  background: #121212;
  color: #F5F5F5;
  font-family: 'FK Grotesk Neue', sans-serif;
}
h1, h2, h3 { font-family: 'FK Grotesk Neue', sans-serif; margin: 0; }
a { color: #FF6B35; text-decoration: none; }
a:hover { color: #FF8555; }
p { margin: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18,18,18,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #2A2A2A;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-weight: 800; font-size: 22px; letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px; }
.logo-icon { display: block; border-radius: 6px; flex-shrink: 0; }
.accent { color: #FF6B35; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.btn-lang {
  background: #1A1A1A; border: 1px solid #2A2A2A; color: #D0D0D0;
  font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 8px; cursor: pointer;
  min-height: 44px;
}
.btn-nav { white-space: nowrap; }

/* Buttons */
.btn-primary {
  background: #FF6B35; color: #121212; font-weight: 700;
  padding: 16px 32px; border-radius: 10px; font-size: 16px; display: inline-block;
  border: none; cursor: pointer;
}
.btn-outline {
  background: transparent; color: #F5F5F5; font-weight: 700;
  padding: 16px 32px; border-radius: 10px; font-size: 16px;
  border: 1px solid #3A3A3A; display: inline-block; cursor: pointer;
}

/* Hero */
.hero {
  padding: 120px 32px 100px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  background: radial-gradient(circle at 50% 0%, rgba(255,107,53,0.10), transparent 60%);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1A1A1A; border: 1px solid #2A2A2A; padding: 8px 16px;
  border-radius: 999px; font-size: 13px; color: #A8A8A8;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #10B981; display: inline-block; }
.hero-title { font-size: 52px; font-weight: 800; line-height: 1.15; max-width: 900px; text-wrap: pretty; }
.hero-sub { font-size: 19px; color: #A8A8A8; max-width: 640px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* Section shared */
section[data-screen-label] h2 { font-size: 34px; font-weight: 800; text-align: center; }
.section-sub { font-size: 16px; color: #A8A8A8; max-width: 560px; text-align: center; line-height: 1.6; margin: 0 auto; }

/* Demo */
.demo-section {
  padding: 100px 32px; background: #161616;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.demo-devices {
  display: flex; gap: 64px; align-items: center; flex-wrap: wrap;
  justify-content: center; margin-top: 40px;
}
.ios-mockup-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.ios-mockup {
  width: 320px; height: 660px; border-radius: 36px; padding: 14px;
  background: #050505; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative; transition: box-shadow 0.15s;
}
.ios-mockup:hover { box-shadow: 0 20px 60px rgba(255,107,53,0.35); }
.ios-mockup-iframe {
  width: 100%; height: 100%; border: none; border-radius: 24px;
  background: #0F0F0F; display: block;
}
.ios-mockup-openfull {
  background: #1E1E1E; border: 1px solid #2A2A2A; color: #F5F5F5;
  font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px;
}
.ios-mockup-openfull:hover { color: #FF8555; border-color: #FF6B35; }
.qr-block { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.qr-box {
  width: 170px; height: 170px; background: #F5F5F5; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: box-shadow 0.15s;
}
.qr-box:hover { box-shadow: 0 0 0 3px rgba(255,107,53,0.4); }
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-label { max-width: 220px; text-align: center; color: #A8A8A8; font-size: 14px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 700px; }
.trust-badges .badge { font-size: 12px; }

/* Pain points */
.pain-section { padding: 100px 32px; background: #161616; }
.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 900px; margin: 48px auto 0;
}
.pain-card {
  display: flex; align-items: center; gap: 12px;
  background: #1A1A1A; border: 1px solid #2A2A2A; border-radius: 12px;
  padding: 20px; font-size: 15px; font-weight: 600; color: #D0D0D0;
}
.pain-card-icon { color: #EF4444; flex-shrink: 0; display: flex; }

/* Features */
.features-section { padding: 100px 32px; background: #121212; }
.feature-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  max-width: 1000px; margin: 48px auto 0;
}
.feature-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  background: #1A1A1A; border: 1px solid #2A2A2A; border-radius: 12px;
  padding: 20px 12px; font-size: 13px; font-weight: 600; color: #D0D0D0;
}
.feature-card-icon { color: #FF6B35; display: flex; }

/* Comparison */
.comparison { padding: 100px 32px; background: #121212; }
.cmp-table {
  max-width: 900px; margin: 48px auto 0; border: 1px solid #2A2A2A;
  border-radius: 16px; overflow: hidden;
}
.cmp-header-row, .cmp-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; }
.cmp-header-row { background: #1A1A1A; }
.cmp-header-row > div, .cmp-row > div { padding: 20px; display: flex; align-items: center; }
.cmp-col-them, .cmp-col-us { font-size: 14px; font-weight: 700; text-align: center; justify-content: center; border-left: 1px solid #2A2A2A; }
.cmp-col-them { color: #A8A8A8; }
.cmp-col-us { color: #FF6B35; }
.cmp-row { border-top: 1px solid #2A2A2A; }
.cmp-row-label { font-size: 14px; font-weight: 600; }
.cmp-row-them, .cmp-row-us {
  font-size: 13px; text-align: center; justify-content: center; border-left: 1px solid #2A2A2A;
}
.cmp-row-them { color: #808080; }
.cmp-row-us { background: rgba(255,107,53,0.07); font-weight: 600; }
.cmp-row-us-icon { display: inline-flex; color: #10B981; vertical-align: middle; margin-left: 2px; }

/* ROI */
.roi-section { padding: 100px 32px; background: #1A1A1A; }
.roi-flow {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  max-width: 480px; margin: 48px auto 0;
}
.roi-step {
  background: #121212; border: 1px solid #2A2A2A; border-radius: 12px;
  padding: 16px 24px; font-size: 16px; font-weight: 700; text-align: center; width: 100%;
}
.roi-step--cost {
  background: rgba(255,107,53,0.1); border-color: #FF6B35; color: #FF6B35; font-size: 20px;
}
.roi-arrow { color: #707070; display: flex; }
.roi-punchline {
  background: rgba(16,185,129,0.12); border: 2px solid #10B981; color: #10B981;
  border-radius: 12px; padding: 20px 24px; font-size: 22px; font-weight: 800;
  text-align: center; width: 100%;
}

/* Metrics / Case Study */
.metrics { padding: 100px 32px; background: #1A1A1A; }
.before-after {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 24px; font-size: 15px; font-weight: 700; flex-wrap: wrap;
}
.before-after-before { color: #808080; }
.before-after-arrow { color: #707070; }
.before-after-after { color: #10B981; }
.case-studies {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  max-width: 900px; margin: 40px auto 0;
}
.case-study-card {
  background: #121212; border: 1px solid #2A2A2A; border-radius: 16px; padding: 32px;
  flex: 1; min-width: 280px; display: flex; flex-direction: column; gap: 16px;
  color: inherit; text-decoration: none; transition: border-color 0.15s;
}
.case-study-card:hover { border-color: #FF6B35; color: inherit; }
.case-study-head { display: flex; gap: 16px; align-items: center; }
.case-study-photo {
  width: 72px; height: 72px; border-radius: 12px; background: #262626;
  object-fit: cover; flex-shrink: 0;
}
.case-study-name { font-size: 16px; font-weight: 700; }
.case-study-tag { font-size: 13px; color: #FF6B35; }
.case-study-quote { font-size: 17px; font-style: italic; line-height: 1.5; }
.case-study-attr { font-size: 13px; color: #808080; }
.metric-stats { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.metric-stat { text-align: center; padding: 16px 24px; }
.metric-stat-value { font-size: 28px; font-weight: 800; color: #FF6B35; }
.metric-stat-label { font-size: 13px; color: #808080; margin-top: 4px; }

/* Pricing */
.pricing { padding: 100px 32px; background: #121212; }
.pricing-grid { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; margin-top: 48px; align-items: stretch; }
.pricing-card {
  background: #1A1A1A; border: 1px solid #2A2A2A; border-radius: 20px; padding: 40px;
  width: 340px; display: flex; flex-direction: column; gap: 20px; position: relative;
}
.pricing-card--highlight { border: 2px solid #FF6B35; box-shadow: 0 0 40px rgba(255,107,53,0.15); }
.pkg-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #FF6B35; color: #121212; font-size: 12px; font-weight: 800;
  padding: 5px 16px; border-radius: 999px; letter-spacing: 0.5px;
}
.pkg-name { font-size: 13px; color: #FF6B35; font-weight: 700; letter-spacing: 1px; }
.pkg-tag { font-size: 15px; color: #808080; margin-top: 4px; }
.pkg-price { font-size: 44px; font-weight: 800; }
.pkg-period { font-size: 13px; color: #707070; margin-top: -12px; }
.pkg-anchor { font-size: 13px; color: #10B981; font-weight: 600; line-height: 1.5; margin: 0; }
.pkg-features { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pkg-feature { display: flex; gap: 10px; font-size: 14px; color: #D0D0D0; align-items: flex-start; }
.pkg-feature-check { color: #10B981; flex-shrink: 0; margin-top: 3px; }
.pkg-cta { text-align: center; }
.maint-note { text-align: center; color: #707070; font-size: 13px; margin-top: 32px; }

/* How It Works */
.how-it-works-section { padding: 100px 32px; background: #161616; }
.how-it-works-list { display: flex; flex-direction: column; gap: 16px; max-width: 560px; margin: 48px auto 0; }
.how-step {
  display: flex; align-items: center; gap: 16px;
  background: #1A1A1A; border: 1px solid #2A2A2A; border-radius: 12px; padding: 16px 20px;
}
.how-step-number {
  width: 36px; height: 36px; border-radius: 50%; background: #FF6B35; color: #121212;
  font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.how-step-text { font-size: 15px; font-weight: 600; }

/* What Happens Next */
.next-steps-section { padding: 100px 32px; background: #1A1A1A; }
.next-steps-list { display: flex; flex-direction: column; gap: 16px; max-width: 560px; margin: 48px auto 0; }
.next-step {
  display: flex; align-items: center; gap: 16px;
  background: #121212; border: 1px solid #2A2A2A; border-radius: 12px; padding: 16px 20px;
}
.next-step-number {
  width: 36px; height: 36px; border-radius: 50%; background: #10B981; color: #121212;
  font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.next-step-text { font-size: 15px; font-weight: 600; }

/* FAQ */
.faq { padding: 100px 32px; background: #1A1A1A; }
.faq-list { max-width: 760px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #121212; border: 1px solid #2A2A2A; border-radius: 12px; overflow: hidden; }
.faq-question {
  width: 100%; background: transparent; border: none; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; text-align: left; gap: 16px; color: #F5F5F5; min-height: 44px;
}
.faq-question-text { font-size: 16px; font-weight: 600; }
.faq-icon { font-size: 20px; color: #FF6B35; flex-shrink: 0; }
.faq-answer { padding: 0 24px 20px; font-size: 14px; color: #A8A8A8; line-height: 1.6; }

/* Lead form */
.lead-section { padding: 100px 32px; background: #121212; display: flex; justify-content: center; }
.lead-card { max-width: 520px; width: 100%; background: #1A1A1A; border: 1px solid #2A2A2A; border-radius: 20px; padding: 48px; }
.lead-success { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; padding: 32px 0; }
.success-check {
  width: 56px; height: 56px; border-radius: 50%; background: #10B981;
  display: flex; align-items: center; justify-content: center; font-size: 28px; color: #121212;
}
.success-title { font-size: 22px; font-weight: 800; }
.success-msg { font-size: 14px; color: #A8A8A8; }
.lead-title { font-size: 26px; font-weight: 800; }
.lead-sub { font-size: 14px; color: #A8A8A8; margin-top: 8px; margin-bottom: 28px; }
#lead-form-el { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: #A8A8A8; font-weight: 600; }
.field input {
  background: #121212; border: 1px solid #2A2A2A; border-radius: 10px;
  padding: 14px; color: #F5F5F5; font-size: 15px; min-height: 44px; font-family: inherit;
}
.pkg-choice-row { display: flex; gap: 10px; }
.pkg-choice-btn {
  flex: 1; border-radius: 8px; padding: 10px 14px; font-size: 13px; font-weight: 700;
  cursor: pointer; background: #121212; border: 1px solid #2A2A2A; color: #D0D0D0;
}
.pkg-choice-btn.active { background: #FF6B35; border-color: #FF6B35; color: #121212; }
.submit-error { font-size: 13px; color: #F87171; }
.submit-btn { width: 100%; margin-top: 8px; }
.submit-btn:disabled { background: #7A4326; cursor: not-allowed; }

/* Footer */
.site-footer {
  padding: 48px 32px; background: #0D0D0D; border-top: 1px solid #2A2A2A;
  text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.footer-logo { width: 340px; max-width: 88vw; height: auto; display: block; border-radius: 16px; }
.footer-tagline { font-size: 13px; color: #808080; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.footer-nav a { color: #D0D0D0; font-size: 13px; font-weight: 600; }
.footer-nav a:hover { color: #FF8555; }
.footer-contacts {
  display: flex; gap: 20px; flex-wrap: wrap; justify-content: center;
  margin-top: 8px; font-size: 13px;
}
.footer-contacts a { color: #D0D0D0; display: inline-flex; align-items: center; gap: 6px; }
.footer-contacts a:hover { color: #FF8555; }
.footer-contacts svg { flex-shrink: 0; }
.footer-rights { font-size: 12px; color: #505050; margin-top: 8px; }

/* Sticky mobile bar */
.sticky-mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: flex; gap: 8px; padding: 12px 16px; background: #1A1A1A; border-top: 1px solid #2A2A2A;
}
.sticky-btn { flex: 1; text-align: center; padding: 14px; border-radius: 10px; font-weight: 700; font-size: 14px; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.sticky-btn svg { flex-shrink: 0; }
.sticky-btn--chat { background: #1E1E1E; border: 1px solid #2A2A2A; color: #F5F5F5; }
.sticky-btn--order { background: #FF6B35; color: #121212; }

@media (min-width: 769px) { .sticky-mobile-bar { display: none !important; } }

@media (max-width: 768px) {
  body { padding-bottom: 76px; }

  .site-header { padding: 10px 12px !important; }
  .site-header a, .site-header button { white-space: nowrap; }
  .logo { font-size: 17px !important; gap: 6px !important; }
  .logo-icon { width: 22px !important; height: 22px !important; }
  .header-actions { gap: 6px !important; }
  .btn-lang { padding: 6px 8px !important; font-size: 11px !important; min-height: 36px; }
  .btn-nav { padding: 8px 10px !important; font-size: 11px !important; }

  .hero-title { font-size: 24px !important; }
  .hero-sub { font-size: 14px !important; }
  section[data-screen-label] { padding-left: 20px !important; padding-right: 20px !important; }
  .hero { padding-top: 40px !important; padding-bottom: 36px !important; gap: 16px !important; }
  .hero-ctas .btn-primary, .hero-ctas .btn-outline { padding: 13px 20px !important; font-size: 14px !important; }
  section[data-screen-label] h2 { font-size: 22px !important; }

  .demo-devices { flex-direction: column !important; gap: 32px !important; }
  .ios-mockup { transform: scale(0.92); transform-origin: top center; }

  .pain-grid { grid-template-columns: 1fr !important; }
  .feature-grid { grid-template-columns: repeat(2, 1fr) !important; }

  .cmp-table { border-radius: 12px !important; border: none !important; background: transparent !important; }
  .cmp-header-row { display: none !important; }
  .cmp-row {
    display: flex !important; flex-direction: column !important;
    background: #1A1A1A !important; border: 1px solid #2A2A2A !important;
    border-radius: 12px !important; margin-bottom: 12px !important; overflow: hidden;
  }
  .cmp-row > div { border-left: none !important; text-align: left !important; justify-content: flex-start !important; padding: 12px 16px !important; }
  .cmp-row-label { font-size: 13px !important; font-weight: 700 !important; color: #808080 !important; text-transform: uppercase; letter-spacing: 0.5px; background: #121212; }
  .cmp-row-them, .cmp-row-us { display: flex !important; gap: 8px; align-items: flex-start !important; }
  .cmp-row-them::before, .cmp-row-us::before { flex-shrink: 0; font-size: 11px; font-weight: 800; white-space: nowrap; }
  .cmp-row-them::before { color: #707070; }
  .cmp-row-us::before { color: #FF6B35; }
  html[lang="vi"] .cmp-row-them::before { content: '✕ Kiểu cũ'; }
  html[lang="vi"] .cmp-row-us::before { content: '✓ RoterWeb'; }
  html[lang="en"] .cmp-row-them::before { content: '✕ Old way'; }
  html[lang="en"] .cmp-row-us::before { content: '✓ RoterWeb'; }

  .pkg-choice-btn { min-height: 44px !important; padding: 12px 14px !important; }

  #lead-form-el input, #lead-form-el button[type="submit"] { min-height: 44px; }
}
