/* ===========================
   VARIABLES & RESET – LIGHT THEME
=========================== */
:root {
  --primary: #4285F4;
  --primary-dark: #1a73e8;
  --secondary: #FBBC05;
  --accent: #34A853;
  --danger: #EA4335;

  /* Light palette */
  --bg-body: #FFFFFF;
  --bg-section: #FFFFFF;
  --bg-section-alt: #F0F4FF;
  --card-bg: #FFFFFF;
  --card-border: #E8EAED;
  --card-hover-border: rgba(66, 133, 244, 0.4);

  --text-primary: #1a1a2e;
  --text-muted: #5F6368;
  --text-light: #80868B;

  --gradient-start: #4285F4;
  --gradient-end: #7c3aed;

  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

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

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo-g {
  color: #4285F4;
}

.logo-ads {
  color: #FBBC05;
}

.logo-pro {
  color: #34A853;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.btn-nav {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
  transition: transform var(--transition), box-shadow var(--transition) !important;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.45) !important;
  color: #fff !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 4px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 0;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--card-border);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.btn-mobile {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
  color: #fff !important;
  padding: 13px 0 !important;
  border-radius: 12px;
  text-align: center;
  font-weight: 700 !important;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 15% 50%, rgba(66, 133, 244, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(124, 58, 237, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 80%, rgba(251, 188, 5, 0.05) 0%, transparent 50%),
    #F8FBFF;
  padding: 100px 0 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: floatShape 10s ease-in-out infinite;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: #4285F4;
  top: -200px;
  left: -150px;
  animation-delay: 0s;
}

.shape-2 {
  width: 350px;
  height: 350px;
  background: #7c3aed;
  bottom: -50px;
  right: 10%;
  animation-delay: -3s;
}

.shape-3 {
  width: 280px;
  height: 280px;
  background: #FBBC05;
  top: 40%;
  left: 42%;
  animation-delay: -6s;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -30px) scale(1.05);
  }
}

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

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(66, 133, 244, 0.10);
  border: 1px solid rgba(66, 133, 244, 0.25);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.6);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(66, 133, 244, 0);
  }
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-text h1 em {
  font-style: normal;
  color: var(--secondary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(66, 133, 244, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(66, 133, 244, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--card-border);
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(66, 133, 244, 0.15);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeInUp 0.7s ease 0.4s both;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--card-border);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  animation: fadeInRight 0.8s ease 0.2s both;
}

.glass-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 20px;
}

.card-header-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background: #FF5F57;
}

.dot.yellow {
  background: #FEBC2E;
}

.dot.green {
  background: #28C840;
}

.card-header-bar span {
  margin-left: 8px;
  color: var(--text-muted);
}

.fake-chart {
  margin-bottom: 20px;
}

.chart-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-bottom: 12px;
}

.bar {
  flex: 1;
  background: #E8F0FE;
  border-radius: 6px 6px 0 0;
  height: var(--h);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: background 0.3s;
}

.bar span {
  font-size: 0.65rem;
  color: var(--text-muted);
  padding-bottom: 4px;
  position: absolute;
  bottom: -18px;
}

.bar.active {
  background: linear-gradient(to top, var(--primary), #7c3aed);
}

.bar:hover {
  background: #C5D9FB;
  cursor: pointer;
}

.chart-metric {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
}

.metric-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.metric-badge {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

.metric-badge.up {
  background: rgba(52, 168, 83, 0.12);
  color: #34A853;
}

.card-stats-row {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--card-border);
  padding-top: 16px;
}

.mini-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F8F9FA;
  padding: 10px;
  border-radius: 10px;
}

.mini-icon {
  font-size: 1.2rem;
}

.mini-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mini-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.floating-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
  color: var(--text-primary);
}

.badge-google {
  top: -20px;
  left: -30px;
  flex-direction: column;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  animation: float 4s ease-in-out infinite;
}

.badge-speed {
  bottom: -20px;
  right: -20px;
  animation: float 4s ease-in-out infinite;
  animation-delay: -2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-wave svg {
  display: block;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-sub {
    margin: 0 auto 32px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .badge-pill {
    justify-content: center;
  }

  .floating-badge {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 80px 0 56px;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 1.85rem;
    letter-spacing: -0.5px;
  }

  .hero-sub {
    font-size: 0.92rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.9rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .hero-stats {
    gap: 14px;
  }

  .stat-num {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.68rem;
  }

  .stat-divider {
    height: 30px;
  }

  .hero-card {
    padding: 14px;
  }

  .mini-stat {
    padding: 7px;
    gap: 5px;
  }

  .mini-val {
    font-size: 0.82rem;
  }

  .mini-lbl {
    font-size: 0.6rem;
  }

  .chart-bars {
    height: 70px;
    gap: 5px;
  }
}

/* ===========================
   SECTION HEADERS
=========================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: rgba(66, 133, 244, 0.09);
  border: 1px solid rgba(66, 133, 244, 0.2);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ===========================
   HIGHLIGHTS
=========================== */
.highlights {
  background: var(--bg-section);
  padding: 96px 0;
}

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

.highlight-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--card-hover-border);
}

.featured-card {
  background: linear-gradient(135deg, #EEF4FF, #F3EFFB);
  border-color: rgba(66, 133, 244, 0.3);
  box-shadow: 0 4px 24px rgba(66, 133, 244, 0.12);
}

.featured-label {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.highlight-icon {
  width: 64px;
  height: 64px;
  background: var(--icon-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--icon-color);
}

.highlight-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--text-primary);
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.highlight-chip {
  display: inline-block;
  background: rgba(66, 133, 244, 0.08);
  border: 1px solid rgba(66, 133, 244, 0.15);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 768px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .highlights {
    padding: 64px 0;
  }

  .highlight-card {
    padding: 24px 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .highlights-grid .highlight-card:nth-child(2) {
    order: -1;
  }
}

/* ===========================
   PRICING
=========================== */
.pricing {
  padding: 96px 0;
  background: var(--bg-section-alt);
  position: relative;
  overflow: hidden;
}

.pricing-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.p-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.10;
}

.p-shape-1 {
  width: 500px;
  height: 500px;
  background: #4285F4;
  top: -200px;
  right: -100px;
}

.p-shape-2 {
  width: 400px;
  height: 400px;
  background: #7c3aed;
  bottom: -150px;
  left: -50px;
}

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

.pricing-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.pricing-card.popular {
  border-color: rgba(66, 133, 244, 0.45);
  background: linear-gradient(160deg, #EEF4FF, #F6F0FF);
  transform: scale(1.03);
  box-shadow: 0 8px 40px rgba(66, 133, 244, 0.18);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-6px);
}

.pricing-card.premium {
  background: linear-gradient(160deg, #FFFBEB, #FFF5F5);
  border-color: rgba(251, 188, 5, 0.3);
  box-shadow: 0 4px 24px rgba(251, 188, 5, 0.10);
}

.popular-ribbon {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 20px;
  border-radius: 0 0 12px 12px;
  letter-spacing: 0.5px;
}

.plan-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.plan-badge.trial {
  background: rgba(52, 168, 83, 0.12);
  color: #34A853;
}

.plan-badge.basic {
  background: rgba(66, 133, 244, 0.12);
  color: #4285F4;
}

.plan-badge.premium-badge {
  background: rgba(251, 188, 5, 0.15);
  color: #C8960C;
}

.plan-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

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

.plan-duration {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

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

.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
}

.price-value {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text-primary);
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.plan-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.plan-features .check {
  color: #34A853;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-features .muted {
  color: #BBBFC4;
  flex-shrink: 0;
}

.btn-plan {
  display: block;
  text-align: center;
  padding: 14px 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  background: #F1F3F4;
  border: 1.5px solid var(--card-border);
  color: var(--text-primary);
  transition: var(--transition);
}

.btn-plan:hover {
  background: #E8EAED;
  border-color: #DADCE0;
  transform: scale(1.02);
}

.popular-btn {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(66, 133, 244, 0.4);
}

.popular-btn:hover {
  box-shadow: 0 8px 32px rgba(66, 133, 244, 0.55) !important;
}

.premium-btn {
  background: linear-gradient(135deg, #FBBC05, #EA4335) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(251, 188, 5, 0.3);
}

.premium-btn:hover {
  box-shadow: 0 8px 32px rgba(251, 188, 5, 0.45) !important;
}

/* ── pricing-note: luôn 1 hàng ── */
.pricing-note {
  display: flex;
  flex-wrap: wrap;
  /* fallback: xuống dòng nếu quá hẹp */
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  margin: 32px auto 0;
  max-width: 620px;
  padding: 12px 20px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
  background: rgba(66, 133, 244, 0.06);
  border: 1px solid rgba(66, 133, 244, 0.15);
  border-radius: 50px;
}

.pricing-note svg {
  flex-shrink: 0;
  /* icon không bị co */
  color: var(--primary);
}

.pricing-note span {
  flex: 1;
  /* chiếm phần còn lại */
  min-width: 0;
  /* ← FIX CHÍNH: cho phép flex child co nhỏ */
  overflow-wrap: break-word;
  word-break: break-word;
  text-align: center;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }

  .pricing {
    padding: 64px 0;
  }
}

@media (max-width: 600px) {
  .pricing-grid {
    max-width: 100%;
  }

  .pricing-card {
    padding: 24px 18px;
  }

  .plan-price .price-value {
    font-size: 1.7rem;
  }

  .pricing-note {
    /* Trên mobile: bỏ pill shape → block bình thường để text tràn full width */
    display: block;
    border-radius: 12px;
    padding: 12px 14px;
    max-width: 100%;
    font-size: 0.8rem;
    text-align: left;
  }

  .pricing-note svg {
    /* Icon hiển thị inline trước text */
    display: inline;
    vertical-align: middle;
    margin-right: 4px;
    margin-top: -2px;
  }

  .pricing-note span {
    display: inline;
    text-align: left;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header p {
    font-size: 0.88rem;
  }
}

/* ===========================
   CONTACT / FORM
=========================== */
.contact-section {
  padding: 96px 0;
  background: var(--bg-section);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-item:hover {
  border-color: rgba(66, 133, 244, 0.4);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(66, 133, 244, 0.12);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-icon {
  background: rgba(52, 168, 83, 0.12);
  color: #34A853;
}

.zalo-icon {
  background: rgba(0, 104, 255, 0.12);
  color: #0068FF;
}

.addr-icon {
  background: rgba(234, 67, 53, 0.12);
  color: #EA4335;
}

.ci-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ci-value {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 2px;
  color: var(--text-primary);
}

.working-hours {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.working-hours h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-muted);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-val {
  color: var(--text-primary);
  font-weight: 600;
}

.map-embed {
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

/* Booking Form */
.booking-form {
  padding: 36px;
}

.booking-form h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.required {
  color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--card-border);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: 'Be Vietnam Pro', sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235F6368' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #BBBFC4;
}

.form-group option {
  background: #fff;
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.field-error {
  display: block;
  font-size: 0.78rem;
  color: var(--danger);
  margin-top: 4px;
  min-height: 18px;
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px 0;
  font-size: 1rem;
  font-weight: 800;
  font-family: 'Be Vietnam Pro', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(66, 133, 244, 0.4);
  letter-spacing: 0.2px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(66, 133, 244, 0.55);
}

.btn-submit:active {
  transform: scale(0.99);
}

.btn-icon {
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.btn-submit:hover .btn-icon {
  transform: translateX(4px);
}

.btn-submit.loading .btn-text::after {
  content: '...';
  animation: dots 1s steps(4, end) infinite;
}

@keyframes dots {

  0%,
  100% {
    content: '';
  }

  25% {
    content: '.';
  }

  50% {
    content: '..';
  }

  75% {
    content: '...';
  }
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.form-success h4 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--accent);
}

.form-success p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 64px 0;
  }
}

@media (max-width: 600px) {
  .contact-info h3 {
    font-size: 1.15rem;
    margin-bottom: 20px;
  }

  .contact-item {
    padding: 12px 14px;
    gap: 12px;
  }

  .ci-value {
    font-size: 0.88rem;
  }

  .booking-form {
    padding: 20px 16px;
  }

  .booking-form h3 {
    font-size: 1.1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 11px 13px;
    font-size: 0.85rem;
  }

  .btn-submit {
    font-size: 0.92rem;
    padding: 13px 0;
  }

  .map-embed iframe {
    height: 140px;
  }

  .working-hours {
    padding: 14px;
  }
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #F0F4FF;
  border-top: 1px solid var(--card-border);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--card-border);
}

.footer-brand .logo {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.footer-links a,
.footer-links span {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer {
    padding: 48px 0 0;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    gap: 20px;
    padding-bottom: 32px;
  }

  .footer-brand .logo {
    font-size: 1.4rem;
  }

  .footer-links h5 {
    font-size: 0.75rem;
  }

  .footer-links a,
  .footer-links span {
    font-size: 0.82rem;
  }

  .footer-bottom {
    font-size: 0.72rem;
    padding: 16px 0;
  }
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(32px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

[data-aos] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos="fade-up"] {
  transform: translateY(32px);
}

[data-aos="fade-right"] {
  transform: translateX(-32px);
}

[data-aos="fade-left"] {
  transform: translateX(32px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0);
}