/* 
  BM-18 Premium Hair Removal Machine Landing Page CSS
  Theme: Blue (High-tech / Clinical) + White (Clean / Professional) + Gold (Luxury / Premium)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary-deep: #07162c;       /* Ultra deep navy */
  --primary-blue: #0f2c59;       /* Deep tech blue */
  --accent-blue: #1d4ed8;        /* Vivid blue */
  --soft-blue: #eff6ff;          /* Light soft blue background */
  --gold-primary: #d4af37;       /* Luxury gold */
  --gold-dark: #b89047;          /* Muted dark gold */
  --gold-light: #fbf5b7;         /* Bright reflection gold */
  --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  --gold-glow: 0 0 20px rgba(212, 175, 55, 0.4);
  
  --text-dark: #0f172a;          /* Slate 900 */
  --text-gray: #475569;          /* Slate 600 */
  --text-light: #ffffff;         /* Pure white */
  --bg-light: #ffffff;
  --bg-slate: #f8fafc;           /* Slate 50 */
  --border-light: rgba(15, 44, 89, 0.08);
  --border-gold: rgba(212, 175, 55, 0.3);
  
  /* Fonts */
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions & Shadows */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(7, 22, 44, 0.04);
  --shadow-md: 0 10px 30px rgba(7, 22, 44, 0.08);
  --shadow-lg: 0 20px 40px rgba(7, 22, 44, 0.12);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.2);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-deep);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-padding {
  padding: 100px 0;
}

.bg-dark-section {
  background-color: var(--primary-deep);
  color: var(--text-light);
}

.bg-dark-section h2, 
.bg-dark-section h3, 
.bg-dark-section h4 {
  color: var(--text-light);
}

.center-text {
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 16px;
  font-family: var(--font-header);
}

.badge-gold {
  background: var(--gold-gradient);
  color: var(--primary-deep);
  box-shadow: var(--shadow-gold);
}

.badge-blue {
  background-color: rgba(15, 44, 89, 0.1);
  color: var(--primary-blue);
  border: 1px solid rgba(15, 44, 89, 0.15);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(7, 22, 44, 0.95);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
}

header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

header.scrolled .nav-link:hover {
  color: var(--gold-primary);
}

header.scrolled .logo-text {
  color: var(--text-light);
}

header.scrolled .logo-subtext {
  color: var(--gold-primary);
}

header.scrolled .hamburger span {
  background-color: var(--text-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

.logo-subtext {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-header);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary-blue);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--primary-deep);
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #aa771c 0%, #b38728 50%, #bf953f 100%);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold-primary);
  border: 2px solid var(--gold-primary);
}

.btn-outline:hover {
  background: var(--gold-gradient);
  color: var(--primary-deep);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-blue {
  background-color: var(--accent-blue);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
}

.btn-blue:hover {
  background-color: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary-deep);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 100px;
  background: radial-gradient(circle at 80% 20%, rgba(15, 44, 89, 0.05) 0%, rgba(255, 255, 255, 1) 70%),
              linear-gradient(180deg, rgba(239, 246, 255, 0.6) 0%, rgba(255, 255, 255, 1) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-tagline {
  font-family: var(--font-header);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-tagline::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--gold-gradient);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-features {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.hf-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hf-icon {
  width: 44px;
  height: 44px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--gold-primary);
  border: 1px solid var(--border-gold);
}

.hf-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-deep);
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-bg {
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(15, 44, 89, 0.05) 50%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  border-radius: 50%;
  filter: blur(20px);
}

.hero-image {
  position: relative;
  z-index: 1;
  max-height: 520px;
  width: auto;
  filter: drop-shadow(0 20px 40px rgba(7, 22, 44, 0.15));
  animation: float 6s ease-in-out infinite;
}

.floating-badge {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.fb-1 {
  top: 15%;
  left: -5%;
}

.fb-2 {
  bottom: 15%;
  right: -5%;
}

.fb-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.fb-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-gray);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.fb-value {
  font-family: var(--font-header);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-deep);
}

/* Float Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Promo Banner / Countdown */
.promo-section {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-blue) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--gold-primary);
  border-bottom: 2px solid var(--gold-primary);
}

.promo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 90%, rgba(212, 175, 55, 0.08) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
}

.promo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 24px;
  flex-wrap: wrap;
  gap: 30px;
}

.promo-text h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--text-light);
}

.promo-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.countdown-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.countdown-title {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
}

.timer {
  display: flex;
  gap: 12px;
}

.timer-unit {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.timer-num {
  font-family: var(--font-header);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.1;
}

.timer-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  margin-top: 2px;
}

.promo-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.promo-price {
  text-align: right;
}

.price-old {
  font-size: 1rem;
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.price-new {
  font-family: var(--font-header);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
}

/* Sections Header */
.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
}

.bg-dark-section .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

/* Key Advantages / Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.2);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: var(--soft-blue);
  color: var(--primary-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--gold-gradient);
  color: var(--primary-deep);
  box-shadow: var(--shadow-gold);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.feature-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Detail specs & Technology Section */
.tech-tabs-section {
  background-color: var(--bg-slate);
}

.tech-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.tech-image-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.tech-image {
  max-height: 480px;
  filter: drop-shadow(0 20px 40px rgba(15, 44, 89, 0.15));
}

.tech-specs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tech-spec-item {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.tech-spec-item:hover {
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.ts-num {
  font-family: var(--font-header);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-dark);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.ts-details h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.ts-details p {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* Technical Specification Table */
.spec-table-container {
  max-width: 900px;
  margin: 50px auto 0;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid var(--border-light);
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table tr:nth-child(even) {
  background-color: var(--bg-slate);
}

.spec-table td {
  padding: 18px 24px;
  font-size: 0.95rem;
}

.spec-label {
  font-family: var(--font-header);
  font-weight: 600;
  color: var(--primary-deep);
  width: 40%;
}

.spec-val {
  color: var(--text-gray);
  font-weight: 500;
}

/* Before / After Treatment Section */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.ba-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.ba-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.2);
}

.ba-images {
  display: flex;
  position: relative;
}

.ba-img-wrapper {
  width: 50%;
  position: relative;
}

.ba-img-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: rgba(7, 22, 44, 0.85);
  color: var(--text-light);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ba-img-wrapper:last-child .ba-img-label {
  left: auto;
  right: 12px;
  background: var(--gold-gradient);
  color: var(--primary-deep);
}

.ba-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ba-info {
  padding: 20px;
  text-align: center;
}

.ba-info h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.ba-info p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* Guarantees and Services ("Cam Kết Vàng") */
.commitment-section {
  position: relative;
  background-color: var(--primary-deep);
  color: var(--text-light);
  overflow: hidden;
}

.commitment-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.commitment-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-smooth);
}

.commitment-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--gold-primary);
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.commitment-icon {
  font-size: 2.2rem;
  color: var(--gold-primary);
  margin-bottom: 20px;
  display: inline-block;
}

.commitment-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-light);
}

.commitment-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Testimonials / Feedbacks */
.testimonials-section {
  background-color: var(--bg-slate);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.stars {
  color: #f59e0b;
  margin-bottom: 20px;
  font-size: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-gray);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--soft-blue);
  color: var(--primary-blue);
  font-family: var(--font-header);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
}

.user-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.user-info p {
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* Form Section / Lead Capture */
.contact-section {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(15, 44, 89, 0.05) 0%, rgba(255, 255, 255, 1) 90%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-info-side h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-info-side .contact-desc {
  font-size: 1.05rem;
  color: var(--text-gray);
  margin-bottom: 40px;
}

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.perk-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.perk-icon {
  width: 44px;
  height: 44px;
  background-color: var(--soft-blue);
  border-radius: 50%;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.perk-text h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.perk-text p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.form-wrapper {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gold-gradient);
}

.form-header {
  margin-bottom: 30px;
  text-align: center;
}

.form-header h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

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

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

.form-label {
  display: block;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: var(--primary-deep);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid rgba(15, 44, 89, 0.15);
  border-radius: var(--radius-sm);
  background-color: var(--bg-slate);
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  background-color: var(--bg-light);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.08);
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  margin-top: 10px;
}

.form-footer-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-top: 16px;
}

/* Success Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 22, 44, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 90%;
  padding: 40px;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-icon {
  width: 80px;
  height: 80px;
  background: var(--gold-gradient);
  color: var(--primary-deep);
  font-size: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-gold);
}

.modal-content h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.modal-content p {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Footer Section */
footer {
  background-color: #030b16;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  color: var(--text-light);
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--text-light);
  font-family: var(--font-header);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-gradient);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact li {
  font-size: 0.9rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact li span:first-child {
  color: var(--gold-primary);
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: var(--gold-gradient);
  color: var(--primary-deep);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* Floating Hotline & Zalo Widgets */
.sticky-widgets {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.widget-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.6rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  position: relative;
}

.widget-btn:hover {
  transform: scale(1.1) translateY(-2px);
}

.widget-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  top: 0;
  left: 0;
  z-index: -1;
  animation: pulse-ring 2s infinite;
}

.widget-hotline {
  background-color: #ef4444; /* Alert red */
}

.widget-hotline::before {
  background-color: rgba(239, 68, 68, 0.4);
}

.widget-zalo {
  background-color: #0068ff; /* Zalo Blue */
}

.widget-zalo::before {
  background-color: rgba(0, 104, 255, 0.4);
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-grid,
  .tech-layout,
  .contact-grid {
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .section-padding {
    padding: 70px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  .hero-tagline {
    justify-content: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas,
  .hero-features {
    justify-content: center;
  }
  .hero-image-container {
    order: -1;
  }
  .floating-badge {
    display: none; /* Hide on smaller screens to avoid overlap issues */
  }
  .promo-container {
    flex-direction: column;
    text-align: center;
  }
  .promo-price {
    text-align: center;
  }
  .tech-layout {
    grid-template-columns: 1fr;
  }
  .tech-image-container {
    order: -1;
    margin-bottom: 20px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--primary-deep);
    flex-direction: column;
    padding: 40px 24px;
    align-items: flex-start;
    gap: 24px;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    width: 100%;
  }
  .nav-cta {
    display: none; /* Hidden on mobile menu, represented elsewhere */
  }
  .hamburger {
    display: flex;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .timer-unit {
    width: 60px;
    height: 60px;
  }
  .timer-num {
    font-size: 1.5rem;
  }
}
