/* ==============================================================================
   SMILEX WEB - THIẾT KẾ WEBSITE 1 TRIỆU TRỌN GÓI (web.smilex.vn)
   High-Tech Cyber Indigo & Purple Luxury Theme
   ============================================================================== */
:root {
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.4);
  --accent-purple: #a855f7;
  --accent-cyan: #00f0ff;
  --accent-gold: #fbbf24;
  --bg-main: #070913;
  --bg-card: rgba(15, 20, 42, 0.85);
  --border-card: rgba(255, 255, 255, 0.1);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

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

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

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

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 19, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  padding: 14px 0;
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.brand-icon {
  font-size: 26px;
  filter: drop-shadow(0 0 10px var(--primary-glow));
}
.brand-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-badge {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: #fff;
}
.btn-nav-order {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  color: #fff;
  padding: 8px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: all 0.2s ease;
}
.btn-nav-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* HERO */
.hero {
  position: relative;
  padding: 70px 0 50px;
  text-align: center;
  overflow: hidden;
}
.hero-glow-1 {
  position: absolute;
  top: -150px;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  top: -100px;
  right: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto;
}
.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid var(--primary);
  color: #fff;
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
}
.hero-title span.price-highlight {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ff007a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 34px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.btn-cta-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  color: #fff;
  padding: 16px 32px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 10px 30px var(--primary-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px var(--primary-glow);
}
.btn-cta-demo {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-card);
  color: #fff;
  padding: 16px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-cta-demo:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-cyan);
}

/* STATS BAR */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 60px;
  backdrop-filter: blur(12px);
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: var(--accent-cyan);
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* SECTIONS */
.section {
  padding: 60px 0;
}
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 40px;
}
.section-tag {
  color: var(--accent-purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: #fff;
}
.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* VALUE FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 26px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px var(--primary-glow);
}
.feature-icon {
  font-size: 34px;
  margin-bottom: 12px;
}
.feature-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* COMPARISON TABLE */
.comparison-wrapper {
  max-width: 850px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.comp-table th, .comp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-card);
  font-size: 14px;
}
.comp-table th {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}
.comp-table th.highlight, .comp-table td.highlight {
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-cyan);
  font-weight: 700;
  border-left: 1px solid var(--primary);
  border-right: 1px solid var(--primary);
}

/* DEMO SHOWCASE GRID */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.demo-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
}
.demo-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.demo-card-icon {
  font-size: 32px;
}
.demo-card-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.demo-card-tag {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 99px;
  color: var(--accent-gold);
}
.demo-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.btn-view-demo {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s ease;
}
.btn-view-demo:hover {
  background: var(--primary);
}

/* PROCESS STEPS */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 26px;
  position: relative;
  text-align: center;
}
.step-number {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 4px 15px var(--primary-glow);
}
.step-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.step-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* ORDER FORM */
.order-form-box {
  background: linear-gradient(145deg, rgba(15, 20, 42, 0.95), rgba(7, 9, 19, 0.98));
  border: 1.5px solid var(--primary);
  border-radius: 24px;
  padding: 36px;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 15px 50px var(--primary-glow);
}
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-muted);
}
.form-input, .form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  outline: none;
  font-family: var(--font-sans);
}
.form-select option {
  background: #0f142a;
  color: #fff;
}
.form-input:focus, .form-select:focus {
  border-color: var(--primary);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 20px;
}
.faq-q {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.faq-a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-card);
  padding: 40px 0 20px;
  text-align: center;
}
.footer-text {
  font-size: 13px;
  color: var(--text-muted);
}

/* FLOATING BAR */
.floating-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 20, 42, 0.95);
  border: 1px solid var(--primary);
  border-radius: 99px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  z-index: 999;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
}
.float-btn.zalo { background: #0068ff; }
.float-btn.order { background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%); }
.float-btn.call { background: #10b981; }

@media (max-width: 640px) {
  .floating-bar { width: 92%; justify-content: space-around; padding: 6px 10px; }
  .float-btn { padding: 6px 12px; font-size: 12px; }
  .nav-links .nav-link { display: none; }
}
