/* ============================================
   VIETTEL OCEAN - Unified Design System
   Shared CSS for all pages
   ============================================ */

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  background: var(--light);
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid #e0e0e0;
}
.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--red);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  color: var(--gray);
}

/* ---------- 1. RESET & VARIABLES ---------- */

:root {
  --red: #E4001B;
  --red-dark: #b80015;
  --red-gradient: linear-gradient(135deg, #E4001B 0%, #b80015 100%);
  --dark: #1a1a1a;
  --light: #f5f5f5;
  --gold: #FFC107;
  --gold-dark: #e0a800;
  --white: #fff;
  --gray: #666;
  --text: #333;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

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


/* ---------- 2. HEADER ---------- */

.header {
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}

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

.nav-links a.active {
  color: var(--red);
  border-bottom: 2px solid var(--red);
}

.nav-phone {
  background: var(--red);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-phone:hover {
  background: var(--red-dark);
  color: var(--white);
}

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

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  background: var(--white);
  width: 100%;
  padding: 1rem 20px 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid #eee;
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--red);
}

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


/* ---------- 3. HERO SECTIONS ---------- */

.hero {
  padding: 100px 0 80px;
  background: var(--red-gradient);
  color: var(--white);
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}


/* ---------- 4. BUTTONS ---------- */

.btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  font-family: inherit;
  line-height: 1;
}

.btn-white {
  background: var(--white);
  color: var(--red);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}

.btn-gold:hover {
  background: var(--gold-dark);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-dark);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--red);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}


/* ---------- 5. SECTIONS ---------- */

.section {
  padding: 80px 0;
}

.section-light {
  background: var(--light);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

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

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.section-dark .section-subtitle {
  color: #aaa;
}


/* ---------- 6. CARDS ---------- */

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: var(--transition);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--red-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--gray);
  line-height: 1.6;
}


/* ---------- 7. GRID LAYOUTS ---------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
}


/* ---------- 8. PRICING TABLE ---------- */

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.pricing-card.featured {
  border: 3px solid var(--red);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-header {
  background: var(--light);
  padding: 2rem;
  text-align: center;
}

.pricing-card.featured .pricing-header {
  background: var(--red-gradient);
  color: var(--white);
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
}

.pricing-period {
  font-size: 0.9rem;
  opacity: 0.8;
}

.pricing-features {
  padding: 2rem;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  padding-left: 28px;
  position: relative;
  color: var(--text);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "\2713";
  color: #22c55e;
  position: absolute;
  left: 0;
  font-weight: 700;
}


/* ---------- 9. FAQ ACCORDION ---------- */

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--red);
}

.faq-question::after {
  content: "+";
  color: var(--red);
  font-size: 1.5rem;
  font-weight: 700;
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question::after {
  content: "\2212";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--gray);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}


/* ---------- 10. TESTIMONIALS ---------- */

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 700;
}

.testimonial-location {
  color: var(--gray);
  font-size: 0.9rem;
}


/* ---------- 11. LEAD FORM ---------- */

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(228, 0, 27, 0.1);
}

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


/* ---------- 12. BADGES ---------- */

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-red {
  background: var(--red);
  color: var(--white);
}

.badge-gold {
  background: var(--gold);
  color: var(--dark);
}

.badge-blue {
  background: #007bff;
  color: var(--white);
}


/* ---------- 13. FOOTER ---------- */

.footer {
  background: var(--dark);
  color: #ccc;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer a {
  color: #aaa;
  transition: var(--transition);
  display: block;
  padding: 4px 0;
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.footer-contact-item i {
  color: var(--gold);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}


/* ---------- 14. FLOATING BUTTONS ---------- */

.float-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-phone {
  background: var(--red);
  animation: pulse 2s infinite;
}

.float-zalo {
  background: #0068ff;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(228, 0, 27, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(228, 0, 27, 0);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(228, 0, 27, 0);
  }
}


/* ---------- 15. STEPS / PROCESS ---------- */

.steps-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  flex: 1;
  min-width: 200px;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--red-gradient);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--gray);
  font-size: 0.95rem;
}


/* ---------- 16. CTA SECTION ---------- */

.cta-section {
  background: var(--red-gradient);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ---------- 17. COMPARISON TABLE ---------- */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-table th {
  background: var(--dark);
  color: var(--white);
  padding: 15px;
  text-align: center;
  font-weight: 600;
}

.compare-table th.highlight {
  background: var(--red);
}

.compare-table td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

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

.compare-table tr:hover {
  background: #f9f9f9;
}

.compare-table td.highlight {
  background: rgba(228, 0, 27, 0.05);
  font-weight: 600;
}


/* ---------- 18. ANIMATIONS ---------- */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ---------- 19. RESPONSIVE ---------- */

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step {
    min-width: unset;
    width: 100%;
    max-width: 360px;
  }

  .cta-section {
    padding: 50px 0;
  }

  .cta-section h2 {
    font-size: 1.6rem;
  }

  .compare-table {
    font-size: 0.85rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 8px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .hero-badges {
    gap: 0.75rem;
  }

  .hero-badge {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .pricing-price {
    font-size: 2rem;
  }

  .container {
    padding: 0 16px;
  }
}


/* ---------- 20. UTILITY CLASSES ---------- */

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

.text-red {
  color: var(--red);
}

.text-gold {
  color: var(--gold);
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

/* ---------- TRUST WARNING ---------- */
.trust-warning {
  background: #fff3e0;
  border: 2px solid #ff9800;
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.trust-warning h3 {
  color: #e65100;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.trust-warning ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
}
.trust-warning li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.6;
}
.trust-warning li::before {
  content: "⚠";
  position: absolute;
  left: 0;
}
.trust-warning .trust-store {
  background: white;
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.trust-warning .trust-store i {
  font-size: 2rem;
  color: var(--red);
}
.trust-warning .trust-store strong {
  color: var(--red);
}

/* ---------- ARTICLE CONTENT ---------- */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--text);
  font-size: 1.05rem;
}
.article-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin: 2.5rem 0 1rem;
}
.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2rem 0 0.75rem;
}
.article-content p {
  margin-bottom: 1.25rem;
}
.article-content ul, .article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.article-content li {
  margin-bottom: 0.5rem;
}
.article-content strong {
  color: var(--dark);
}
.article-content a {
  color: var(--red);
  font-weight: 500;
}
.article-content a:hover {
  text-decoration: underline;
}
.article-content a.btn {
  color: var(--white);
  text-decoration: none;
}
.article-content a.btn:hover {
  text-decoration: none;
  opacity: 0.9;
}
.article-content .mid-cta {
  text-align: center;
  margin: 2rem 0;
}
.article-content .mid-cta a {
  color: white;
  font-size: 1rem;
  padding: 14px 32px;
  box-shadow: 0 4px 15px rgba(228, 0, 27, 0.3);
}
.article-content .highlight-box {
  background: var(--light);
  border-left: 4px solid var(--red);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.article-content .highlight-box strong {
  color: var(--red);
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.article-content table th,
.article-content table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}
.article-content table th {
  background: var(--dark);
  color: white;
  font-weight: 600;
}
.article-content table tr:hover {
  background: var(--light);
}
.article-content table .recommend {
  background: #fff8e1;
  font-weight: 600;
}
