/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
  /* Colors */
  --primary: #1877F2;
  --primary-dark: #0d5dd7;
  --primary-light: #4795ff;
  --primary-glow: rgba(24, 119, 242, 0.12);
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --accent-glow: rgba(245, 158, 11, 0.15);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0b0f19;
  --bg-dark-card: #151d30;
  
  --border-light: #e2e8f0;
  --border-glass: rgba(255, 255, 255, 0.4);
  
  /* Status Colors */
  --color-blue: #1877F2;
  --color-purple: #8b5cf6;
  --color-red: #ef4444;
  --color-orange: #f97316;
  --color-teal: #14b8a6;
  --color-green: #22c55e;
  
  /* Shadow Styles */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(24, 119, 242, 0.05), 0 8px 10px -6px rgba(24, 119, 242, 0.05);
  --shadow-glow: 0 0 20px rgba(24, 119, 242, 0.25);
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --header-height-shrink: 68px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

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

ul {
  list-style: none;
}

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

/* ==========================================================================
   Reusable Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--primary-glow);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-green);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--color-green);
  border-radius: 50%;
  animation: pulse-ring 1.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.45);
}

.btn-secondary {
  background-color: var(--bg-alt);
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background-color: var(--border-light);
  transform: translateY(-2px);
}

.btn-secondary-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Section Common Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* ==========================================================================
   Animations & Transitions
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

/* Native CSS View Timeline Support */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes fade-in-up {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .reveal-on-scroll {
      animation: fade-in-up auto linear forwards;
      animation-timeline: view();
      animation-range: entry 10% entry 40%;
      /* Reset fallback properties so the animation takes over smoothly */
      opacity: 1;
      transform: none;
      transition: none;
    }
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
}

.site-header.shrink {
  height: var(--header-height-shrink);
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-light);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.logo-icon {
  color: var(--primary);
  transition: transform var(--transition-normal);
}

.logo:hover .logo-icon {
  transform: rotate(-10deg) scale(1.1);
}

.logo:hover .key-path {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

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

/* Nav Menu */
.nav-menu ul {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

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

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

.btn-nav {
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 8px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: all var(--transition-fast);
}

/* Mobile Nav Active States */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  background: radial-gradient(circle at 80% 20%, rgba(24, 119, 242, 0.04) 0%, transparent 60%);
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(24, 119, 242, 0.08) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

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

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.15);
  color: var(--color-green);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Visual Mockup & Badges */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.visual-wrapper {
  position: relative;
  max-width: 480px;
  width: 100%;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  padding: 12px 18px;
  border-radius: 16px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.floating-badge svg {
  color: var(--color-green);
}

.badge-1 {
  top: 15%;
  left: -15px;
  animation: float-badge-1 8s ease-in-out infinite;
}

.badge-2 {
  bottom: 15%;
  right: -15px;
  animation: float-badge-2 8s ease-in-out infinite 1s;
}

@keyframes float-badge-1 {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

@keyframes float-badge-2 {
  0% { transform: translateY(0px); }
  50% { transform: translateY(6px); }
  100% { transform: translateY(0px); }
}

/* ==========================================================================
   Trust Stats Section
   ========================================================================== */
.stats-section {
  background-color: var(--bg-alt);
  padding: 50px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-card {
  padding: 10px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

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

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  padding: 100px 0;
}

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

.service-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  padding: 40px 30px;
  border-radius: 20px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(24, 119, 242, 0.15);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--card-color, var(--primary));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Individual Icon Styles with Custom Colors */
.icon-blue { background-color: rgba(24, 119, 242, 0.08); color: var(--color-blue); }
.icon-purple { background-color: rgba(139, 92, 246, 0.08); color: var(--color-purple); }
.icon-red { background-color: rgba(239, 68, 68, 0.08); color: var(--color-red); }
.icon-orange { background-color: rgba(249, 115, 22, 0.08); color: var(--color-orange); }
.icon-teal { background-color: rgba(20, 184, 166, 0.08); color: var(--color-teal); }
.icon-green { background-color: rgba(34, 197, 94, 0.08); color: var(--color-green); }

.service-card:nth-child(1) { --card-color: var(--color-blue); }
.service-card:nth-child(2) { --card-color: var(--color-purple); }
.service-card:nth-child(3) { --card-color: var(--color-red); }
.service-card:nth-child(4) { --card-color: var(--color-orange); }
.service-card:nth-child(5) { --card-color: var(--color-teal); }
.service-card:nth-child(6) { --card-color: var(--color-green); }

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

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-section {
  padding: 100px 0;
  background-color: var(--bg-alt);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  margin-top: 40px;
}

/* Horizontal Line connecting steps */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: linear-gradient(to right, var(--primary-glow) 0%, var(--primary) 50%, var(--primary-glow) 100%);
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.3);
  position: relative;
  border: 4px solid var(--bg-alt);
}

.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 0 10px;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
  padding: 100px 0;
}

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

.pricing-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

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

/* Popular Card Style */
.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.pricing-card.popular:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 30px rgba(24, 119, 242, 0.1);
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: 24px;
  background-color: var(--primary);
  color: #ffffff;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
}

.card-header {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.price {
  font-size: 2.25rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary);
}

.price span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.features-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.features-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231877F2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.features-list li.checked {
  color: var(--text-main);
  font-weight: 600;
}

.features-list li.checked::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Guarantee Section
   ========================================================================== */
.guarantee-section {
  padding: 100px 0;
  background-color: var(--bg-alt);
}

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

.guarantee-content h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.guarantee-content > p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.commitment-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.commitment-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(34, 197, 94, 0.08);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.commitment-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.commitment-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Shield Badge Graphic */
.guarantee-badge-visual {
  display: flex;
  justify-content: center;
}

.shield-container {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 119, 242, 0.05) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.shield-icon {
  color: var(--primary);
  opacity: 0.15;
  animation: pulse-shield 4s ease-in-out infinite;
}

@keyframes pulse-shield {
  0% { transform: scale(1); opacity: 0.12; }
  50% { transform: scale(1.08); opacity: 0.20; }
  100% { transform: scale(1); opacity: 0.12; }
}

.shield-text {
  position: absolute;
  text-align: center;
  z-index: 2;
}

.shield-text h4 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.shield-text span {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
  padding: 100px 0;
}

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

.testimonial-card {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-glow);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}

.user-meta h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

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

.testimonial-content {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.rating {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 1.1rem;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-light);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(24, 119, 242, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 24px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

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

.faq-question svg {
  color: var(--text-light);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 24px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-bottom: 24px;
  line-height: 1.7;
}

/* FAQ Active States (handled via JS classes) */
.faq-item.active {
  border-color: var(--primary-glow);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.03);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-item.active .faq-question svg {
  transform: rotate(-180deg);
  color: var(--primary);
}

/* ==========================================================================
   Final Call to Action
   ========================================================================== */
.final-cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #050b18 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(24, 119, 242, 0.12) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.final-cta-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.final-cta-section h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.final-cta-section p {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.final-cta-section .btn-secondary-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.final-cta-section .btn-secondary-outline:hover {
  background-color: #ffffff;
  color: var(--bg-dark);
  border-color: #ffffff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 80px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.site-footer h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.site-footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-desc {
  color: var(--text-light);
  line-height: 1.7;
}

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

.footer-links a {
  color: var(--text-light);
}

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

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--text-light);
}

.footer-contact a {
  color: var(--primary-light);
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-light);
  font-size: 0.85rem;
}

.disclaimer {
  max-width: 600px;
  line-height: 1.6;
  text-align: right;
  opacity: 0.6;
}

/* ==========================================================================
   Floating Action Buttons & Tooltip
   ========================================================================== */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
  position: relative;
  transition: all var(--transition-normal);
}

.float-zalo {
  background-color: var(--primary);
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.5);
}

/* Simple Hover Tooltip */
.float-btn .tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.float-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
  right: 66px;
}

/* ==========================================================================
   Responsive Media Queries (Mobile & Tablet)
   ========================================================================== */
/* ==========================================================================
   Responsive Media Queries (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
  /* Fluid Typography for H1 */
  .hero-content h1 { 
    font-size: clamp(2.2rem, 5vw, 3rem) !important; 
    line-height: 1.2;
  }
  
  /* Section Padding reduction on mobile */
  .hero-section {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 50px;
  }
  .services-section,
  .process-section,
  .pricing-section,
  .guarantee-section,
  .testimonials-section,
  .faq-section,
  .final-cta-section {
    padding: 60px 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .guarantee-badge {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  
  .hero-actions {
    justify-content: center;
    width: 100%;
  }
  
  .hero-visual {
    order: 1; /* Hiển thị nội dung chữ/CTA lên trước, hình ảnh xuống sau để tăng chuyển đổi */
    margin-top: 20px;
  }
  
  .visual-wrapper {
    max-width: 380px; /* Thu nhỏ mockup trên di động */
  }

  .badge-1 { left: -10px; }
  .badge-2 { right: -10px; }
  
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-left: 10px;
  }
  .process-timeline::before {
    top: 0;
    left: 38px;
    width: 3px;
    height: 92%;
  }
  .process-step {
    display: flex;
    text-align: left;
    gap: 20px;
    align-items: flex-start;
  }
  .step-number {
    margin: 0;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    border: 3px solid var(--bg-main);
  }
  .step-content p {
    padding: 0;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
    gap: 30px;
  }
  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }
  
  .guarantee-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .guarantee-badge-visual {
    order: -1;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    gap: 24px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
  .disclaimer {
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  /* Mobile Navigation Glassmorphism Style */
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 40px 24px;
    transition: left var(--transition-normal);
    border-top: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }
  
  .nav-link {
    font-size: 1.35rem;
    font-weight: 600;
  }
  
  .site-header.shrink {
    height: var(--header-height);
  }
  
  /* Responsive Header CTA: Thu nhỏ thành nút icon Zalo tròn thay vì ẩn đi */
  .btn-nav {
    display: inline-flex;
    padding: 10px;
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    margin-right: 8px;
    justify-content: center;
    box-shadow: var(--shadow-sm);
  }
  
  .btn-nav .cta-text {
    display: none; /* Ẩn chữ 'Hỗ Trợ Ngay' trên Mobile */
  }
  
  .btn-nav svg {
    margin: 0;
    width: 20px;
    height: 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .hero-content h1 {
    font-size: 2rem !important;
  }
  
  .section-header h2 {
    font-size: 1.65rem;
  }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
  .floating-badge {
    display: none !important; /* Ẩn hẳn các badge nổi để tránh tràn ngang màn hình */
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%; /* Kéo giãn full-width nút trên màn hình siêu nhỏ */
  }
  
  .pricing-card {
    padding: 30px 20px;
  }
  
  .stats-number {
    font-size: 2.5rem;
  }
  
  .floating-contact {
    bottom: 20px;
    right: 20px;
  }
  .float-btn {
    width: 48px;
    height: 48px;
  }
}
