/* ==========================================================================
   ShopeeBot Landing Page & Theme Stylesheet
   Pixel-faithful replication of design1.png (100% Fidelity)
   ========================================================================== */

/* Fonts and help-center.css are enqueued in functions.php */

:root {
  --primary: #EE4D2D;
  --primary-hover: #D94022;
  --primary-gradient: linear-gradient(135deg, #FF6B4A 0%, #EE4D2D 100%);
  --primary-gradient-subtle: linear-gradient(135deg, #FFF1EB 0%, #FFE6DA 100%);
  --accent-peach: #FFF0E9;
  --accent-peach-light: #FFFAF5;
  --text-main: #252B25;
  --text-muted: #73776E;
  --text-light: #9DA28F;
  --bg-page: #F5F4EF;
  --bg-surface: #FFFDF8;
  --line: #DEDFD5;
  --ink-deep: #1C211C;
  --bg-hero: var(--bg-page);
  --border-light: #E8E9E0;
  --border-card: #DEDFD5;
  --star-gold: #FF9800;
  --green-status: #4C6D43;
  --shadow-sm: 0 2px 6px rgba(40, 48, 28, 0.03);
  --shadow-card: 0 7px 22px rgba(40, 48, 28, 0.04);
  --shadow-hover: 0 12px 24px rgba(238, 77, 45, 0.08);
  --shadow-btn: 0 6px 16px rgba(238, 77, 45, 0.28);
  --radius-pill: 9999px;
  --radius-card: 16px;
  --radius-box: 12px;
  --container-max: 1160px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
  font-size: 15px;
  color: var(--text-main);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.5;
}

picture {
  display: contents;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.2s ease;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Badges & Global Buttons
   ========================================================================== */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-peach);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
}

.badge-pill svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(238, 77, 45, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #FFFFFF;
  color: var(--primary);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 20px;
  border: 1px solid #FFD1C4;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--accent-peach);
  border-color: var(--primary);
}

.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #FFFFFF;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border: 1px solid #FFBEAE;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  width: 100%;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-btn);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 239, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo .logo-icon {
  width: 32px;
  height: 32px;
}

.brand-logo .logo-text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text-main);
}

.brand-logo .logo-text span {
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  padding: 4px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .btn-login {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: #FFF5F0;
  border: 1px solid #FFE4DA;
}

.header-actions .btn-login:hover {
  background: #FFE8DE;
  color: var(--primary);
}

.header-actions .btn-register {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  box-shadow: 0 4px 10px rgba(238, 77, 45, 0.25);
}

.header-actions .btn-register:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  font-size: 22px;
  color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 36px 0 48px;
  background: var(--bg-hero);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 32px;
}

.hero-content {
  max-width: 540px;
}

.hero-brand-name {
  font-size: 46px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin-top: 14px;
  margin-bottom: 6px;
}

.hero-brand-name span {
  color: var(--primary);
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.hero-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin-bottom: 26px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.check-icon {
  width: 18px;
  height: 18px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg {
  width: 10px;
  height: 10px;
  fill: #FFFFFF;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}

.hero-cta-group .btn-primary {
  padding: 10px 24px;
  font-size: 14.5px;
}

.btn-video-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid #FFC9BC;
  background: #FFFFFF;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.btn-video-play:hover {
  background: var(--accent-peach-light);
  border-color: var(--primary);
}

.play-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #FFBEAE;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.play-circle svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  margin-left: 2px;
}

.video-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.video-btn-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.video-btn-time {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.2;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.8;
}

.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-mockup-img {
  width: 100%;
  max-width: 530px;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.06));
}

/* ==========================================================================
   Section 2: Features Grid (Tính năng nổi bật)
   ========================================================================== */
.features-section {
  padding: 64px 0 54px;
  background: var(--bg-surface);
}

.features-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: flex-start;
}

.features-intro {
  padding-right: 12px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  letter-spacing: -0.4px;
  margin-top: 12px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  min-height: 110px;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #FFD1C4;
  box-shadow: var(--shadow-hover);
}

.feature-icon-box {
  width: 38px;
  height: 38px;
  background: var(--accent-peach);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 12px;
  flex-shrink: 0;
}

.feature-icon-box svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
}

.feature-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 2px;
}

.feature-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   Section 3: Showcase (Trải nghiệm thực tế)
   ========================================================================== */
.showcase-section {
  padding: 56px 0;
  background: var(--bg-page);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 36px;
}

.showcase-mockup-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-mockup-img {
  width: 100%;
  max-width: 540px;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.05));
}

.showcase-content {
  padding-left: 10px;
}

.showcase-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

/* ==========================================================================
   Section 4: Pricing Section
   ========================================================================== */
.pricing-section {
  padding: 68px 0;
  background: var(--bg-surface);
}

.section-header-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 46px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 10px 24px rgba(238, 77, 45, 0.1);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 8px rgba(238, 77, 45, 0.3);
  white-space: nowrap;
}

.plan-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.plan-target {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  min-height: 36px;
  line-height: 1.45;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.plan-promo-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--accent-peach);
  border: 1px solid #FFD1C4;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 20px;
  line-height: 1.35;
}

.plan-promo-badge.subtle {
  color: var(--green-status);
  background: #ECFDF5;
  border-color: #A7F3D0;
}

.plan-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.plan-period {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 26px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.4;
}

.plan-feature-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-feature-item.disabled {
  color: var(--text-light);
}

.plan-feature-item.disabled svg {
  stroke: #C6CABD;
}

.plan-feature-item.disabled em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #EE4D2D;
  background: #FFF1EE;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 3px;
}

.pricing-card .btn-submit {
  margin-top: auto;
  font-size: 13.5px;
  padding: 9px 18px;
}

/* ==========================================================================
   Section 5: Testimonials Section
   ========================================================================== */
.testimonials-section {
  padding: 60px 0;
  background: var(--bg-page);
}

.testimonials-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: center;
}

.testimonials-intro {
  padding-right: 10px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.reviewer-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent-peach);
}

.reviewer-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.reviewer-role {
  font-size: 11.5px;
  color: var(--text-muted);
}

.star-rating {
  display: flex;
  gap: 2px;
  color: var(--star-gold);
  margin-bottom: 12px;
}

.star-rating svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.review-quote {
  font-size: 12.5px;
  color: var(--text-main);
  line-height: 1.55;
}

/* ==========================================================================
   Section: Contact & Support
   ========================================================================== */
.contact-section {
  padding: 64px 0;
  background: var(--bg-surface);
  scroll-margin-top: 72px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.contact-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #FFD1C4;
}

.contact-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 10px 24px rgba(238, 77, 45, 0.1);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-box);
  background: var(--accent-peach);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-title {
  font-size: 17px;
  font-weight: 750;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 10px;
}

.contact-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.contact-email {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  word-break: break-all;
}

.contact-email:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.contact-btn {
  width: 100%;
  text-align: center;
}

.contact-btn span {
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Section 6: Bottom CTA Banner
   ========================================================================== */
.cta-banner-section {
  padding: 32px 0 48px;
  background: var(--bg-surface);
}

.cta-banner-box {
  background: var(--primary-gradient-subtle);
  border: 1px solid #FFDDD2;
  border-radius: 20px;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 320px;
}

.cta-banner-left .cta-logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.cta-banner-left .cta-brand-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.cta-banner-left .cta-brand-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 3px;
}

.cta-banner-center {
  text-align: center;
  flex-grow: 1;
}

.cta-banner-center .banner-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cta-banner-center .banner-title span {
  color: var(--primary);
}

.cta-banner-center .banner-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.cta-banner-center .btn-primary {
  padding: 9px 24px;
  font-size: 14px;
}

.cta-banner-right {
  flex-shrink: 0;
  width: 140px;
}

.cta-banner-right img {
  width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 24px 0;
  background: var(--bg-page);
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-nav a {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #EEEEE6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.social-icon-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.copyright-text {
  font-size: 12.5px;
  color: var(--text-light);
}

/* ==========================================================================
   Modal Dialog Styles (Windows & macOS Download Selector)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32, 39, 29, 0.83);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 620px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #EEEEE6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: #E2E3D9;
  color: var(--text-main);
}

.modal-header {
  padding: 28px 28px 12px;
  text-align: center;
}

.modal-header .modal-badge {
  margin-bottom: 8px;
}

.modal-header h3 {
  font-size: 23px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.4px;
}

.modal-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.modal-body {
  padding: 12px 28px 24px;
}

.download-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.download-box {
  position: relative;
  border: 1.5px solid var(--border-card);
  border-radius: 16px;
  padding: 22px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s ease;
  background: #FAFAFA;
}

.download-box .os-detected-badge {
  display: none;
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 2px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 8px rgba(238, 77, 45, 0.3);
  white-space: nowrap;
}

.download-box.detected-os {
  border-color: var(--primary);
  background: #FFFDFB;
  box-shadow: 0 8px 20px rgba(238, 77, 45, 0.12);
}

.download-box.detected-os .os-detected-badge {
  display: inline-flex;
  align-items: center;
}

.download-box:hover {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 8px 20px rgba(238, 77, 45, 0.1);
  transform: translateY(-3px);
}

.os-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.os-icon.win {
  background: #EBF5FF;
  color: #0284C7;
}

.os-icon.mac {
  background: #EEEEE6;
  color: #334155;
}

.os-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.os-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.os-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.4;
}

.os-btn-download {
  width: 100%;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.os-btn-download.win-btn {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(238, 77, 45, 0.25);
}

.os-btn-download.win-btn:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 14px rgba(238, 77, 45, 0.35);
}

.os-btn-download.is-coming-soon,
.os-btn-download.is-coming-soon:hover {
  background: #E2E3D9;
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
}

.os-btn-download.mac-btn {
  background: var(--text-main);
  color: #FFFFFF;
}

.os-btn-download.mac-btn:hover {
  background: var(--ink-deep);
}

.modal-footer {
  background: var(--bg-surface);
  padding: 14px 28px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.modal-footer .secure-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green-status);
  font-weight: 600;
}

/* ==========================================================================
   Video Popup Modal
   ========================================================================== */
.video-modal-card {
  max-width: 960px;
  background: var(--ink-deep);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.video-modal-header {
  padding: 18px 60px 14px 24px;
  background: var(--ink-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.video-live-badge {
  margin-bottom: 0;
  font-size: 11px;
  padding: 4px 12px;
}

.video-modal-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: #000000;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: contain;
  background: #000000;
}

.video-modal-footer {
  padding: 14px 24px;
  background: var(--ink-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.video-footer-note {
  font-size: 13.5px;
  font-weight: 600;
  color: #C6CABD;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-checklist {
    justify-content: center;
    max-width: 440px;
    margin: 0 auto 26px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust-row {
    justify-content: center;
  }
  .hero-mockup-wrapper {
    justify-content: center;
  }
  .features-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .features-intro {
    padding-right: 0;
    max-width: 580px;
    margin: 0 auto;
  }
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .showcase-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .showcase-content {
    padding-left: 0;
    max-width: 540px;
    margin: 0 auto;
  }
  .showcase-checklist {
    align-items: center;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .testimonials-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .testimonials-intro {
    padding-right: 0;
    max-width: 540px;
    margin: 0 auto;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 48px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .container {
    padding: 0 16px;
  }
  .header-actions .btn-register {
    padding: 7px 15px;
    font-size: 12.5px;
  }
  .main-nav {
    display: none;
  }
  .main-nav.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    padding: 18px 20px 24px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border-bottom: 2px solid var(--accent-peach);
    gap: 4px;
    animation: fadeInDown 0.2s ease forwards;
    z-index: 99;
  }
  .main-nav.mobile-open .nav-link {
    font-size: 15px;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--text-main);
    text-align: left;
    border-bottom: none;
    transition: background 0.15s ease;
  }
  .main-nav.mobile-open .nav-link:hover,
  .main-nav.mobile-open .nav-link.active {
    background: var(--accent-peach);
    color: var(--primary);
  }
  .main-nav.mobile-open .nav-link.active::after {
    display: none;
  }
  .header-actions .btn-login {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-surface);
    color: var(--text-main);
    font-size: 20px;
  }
  .hero-section {
    padding: 28px 0 40px;
  }
  .hero-brand-name {
    font-size: 38px;
  }
  .hero-title {
    font-size: 26px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .feature-card {
    padding: 14px 12px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner-box {
    flex-direction: column;
    text-align: center;
    padding: 26px 18px;
  }
  .cta-banner-left {
    flex-direction: column;
    text-align: center;
  }
  .download-options-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .modal-card {
    max-height: 90vh;
    overflow-y: auto;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .hero-checklist {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto 22px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-video-play {
    width: 100%;
    justify-content: center;
  }
  .hero-trust-row {
    flex-direction: column;
    gap: 10px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}
