/* QR ORDER - Main Stylesheet */

@import url('variables.css');

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
}

h2 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
}

h4 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

.text-lg {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-light {
  color: var(--color-text-light);
}

.text-center {
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: none;
}

.btn-ghost:hover {
  background: var(--color-surface-alt);
  color: var(--color-text);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition-fast);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.nav-brand i {
  font-size: var(--font-size-2xl);
  color: var(--primary-300);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav-menu a {
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.language-toggle {
  display: flex;
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-1);
}

.lang-btn {
  padding: var(--space-2) var(--space-3);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: white;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-toggle:hover {
  background: var(--color-surface-alt);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  transform-origin: center;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-24)) 0 var(--space-24);
  background: linear-gradient(135deg, var(--primary-50) 0%, white 50%, var(--secondary-50) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(135deg, var(--primary-100), var(--secondary-100));
  color: var(--primary-600);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-6);
  animation: float 3s ease-in-out infinite;
}

.hero h1 {
  background: linear-gradient(135deg, var(--color-text), var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-6);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin: var(--space-8) 0;
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  position: relative;
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  border-radius: 40px;
  padding: var(--space-6);
  box-shadow: var(--shadow-2xl);
  animation: float 4s ease-in-out infinite;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 32px;
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.qr-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.qr-demo i {
  font-size: 4rem;
  color: var(--color-primary);
  animation: pulse 2s infinite;
}

.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: white;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(1) {
  top: 10%;
  right: -20%;
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  bottom: 30%;
  left: -25%;
  animation-delay: 1s;
}

.floating-card:nth-child(3) {
  top: 60%;
  right: -15%;
  animation-delay: 2s;
}

.floating-card i {
  color: var(--color-accent);
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--space-24) 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-16);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

/* ===== FEATURES SECTION ===== */
.features {
  background: var(--color-surface-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.feature-card {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--color-border-light);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-300), var(--primary-400));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.feature-icon i {
  font-size: var(--font-size-2xl);
  color: white;
}

.feature-benefits {
  list-style: none;
  margin-top: var(--space-4);
}

.feature-benefits li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.feature-benefits i {
  color: var(--color-primary);
  font-size: var(--font-size-sm);
}

/* ===== PRICING SECTION ===== */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-border);
  transition: var(--transition-fast);
  border-radius: var(--radius-full);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background: white;
  transition: var(--transition-fast);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

input:checked + .toggle-slider {
  background: var(--color-primary);
}

input:checked + .toggle-slider:before {
  transform: translateX(28px);
}

.discount-badge {
  background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
  color: white;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.pricing-card {
  background: white;
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

.pricing-price {
  text-align: center;
  margin: var(--space-6) 0;
}

.price-currency {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
}

.price-amount {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.price-period {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.pricing-features {
  list-style: none;
  margin: var(--space-6) 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--color-primary);
}

.pricing-guarantee {
  text-align: center;
  margin-top: var(--space-16);
  padding: var(--space-6);
  background: var(--primary-50);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
}

/* ===== FORMS ===== */
.form {
  max-width: 600px;
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  transition: border-color var(--transition-fast);
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-note {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-4);
}

.form-note a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.testimonial-card {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
}

.testimonial-rating {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.testimonial-rating i {
  color: var(--accent-400);
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
  color: var(--color-text-muted);
}

.testimonial-author h4 {
  margin-bottom: var(--space-1);
}

.testimonial-author p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.testimonials-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  margin-top: var(--space-16);
  padding: var(--space-8);
  background: var(--color-surface-alt);
  border-radius: var(--radius-2xl);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  display: block;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--color-surface-alt);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  margin-top: var(--space-16);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-details h3 {
  margin-bottom: var(--space-2);
}

.contact-details p {
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-1);
}

.contact-details span {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.social-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.social-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: white;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.social-link:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* ===== CONTACT BUBBLES ===== */
.contact-bubbles {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
}

.contact-bubble {
  pointer-events: auto;
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
  animation: bounce 2s infinite;
}

.contact-bubble:nth-child(1) {
  animation-delay: 0s;
}

.contact-bubble:nth-child(2) {
  animation-delay: 0.3s;
}

.contact-bubble:nth-child(3) {
  animation-delay: 0.6s;
}

.contact-bubble:nth-child(4) {
  animation-delay: 0.9s;
}

.contact-bubble:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.zalo-bubble {
  background: linear-gradient(135deg, #24c48e, #059669);
}

.whatsapp-bubble {
  background: linear-gradient(135deg, #25d366, #128c7e);
  animation: pulse 2s infinite;
  animation-delay: 1s;
}

.facebook-bubble {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
  animation: pulse 2s infinite;
  animation-delay: 0s;
}

.contact-bubble i {
  font-size: 30px;
  color: white;
}

.bubble-tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-text);
  color: white;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  margin-right: var(--space-3);
}

.bubble-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--color-text);
}

.contact-bubble:hover .bubble-tooltip {
  opacity: 1;
  visibility: visible;
}

.scroll-top-bubble {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  animation: none; /* No bounce/pulse for scroll button */
}

.scroll-top-bubble.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-bubble:hover {
  background: linear-gradient(135deg, #4b5563, #374151);
}

/* ===== NOTIFICATION SYSTEM ===== */
.notification {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  max-width: 400px;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  background: white;
  border-left: 4px solid;
  animation: slideInRight 0.3s ease-out;
  opacity: 0;
  transform: translateX(100%);
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification-success {
  border-left-color: var(--success);
}

.notification-error {
  border-left-color: var(--error);
}

.notification-info {
  border-left-color: var(--info);
}

.notification-content {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.notification-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  color: white;
}

.notification-success .notification-icon {
  background: var(--success);
}

.notification-error .notification-icon {
  background: var(--error);
}

.notification-info .notification-icon {
  background: var(--info);
}

.notification-message {
  flex: 1;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  color: var(--color-text);
}

.notification-close {
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 0;
  font-size: var(--font-size-lg);
  transition: color var(--transition-fast);
}

.notification-close:hover {
  color: var(--color-text);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .notification {
    top: var(--space-4);
    right: var(--space-4);
    left: var(--space-4);
    max-width: none;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: white;
  padding: var(--space-16) 0 var(--space-4);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-4);
}

.footer-brand i {
  font-size: var(--font-size-2xl);
  color: var(--primary-300);
}

.footer-description {
  font-size: var(--font-size-base);
  color: var(--gray-300);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
  max-width: 400px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gray-300);
  font-size: var(--font-size-sm);
}

.footer-contact-item i {
  width: 20px;
  color: var(--primary-300);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.footer-column h4 {
  color: white;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-4);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-column a {
  color: var(--gray-300);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: var(--space-4);
  position: relative;
  z-index: 1;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.footer-copyright {
  color: var(--gray-400);
  font-size: var(--font-size-sm);
}

.trust-badges {
  display: flex;
  gap: var(--space-4);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  color: var(--gray-300);
}

.trust-badge i {
  color: var(--primary-300);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--gray-300);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* ===== VIDEO DEMO ===== */
.video-demo-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.video-demo-trigger:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.video-demo-trigger i {
  font-size: var(--font-size-xl);
}

.video-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: var(--space-4);
}

.video-popup.active {
  opacity: 1;
  visibility: visible;
}

.video-popup-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: white;
  border: 4px solid var(--color-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: scale(0.8);
  transition: transform var(--transition-normal);
}

.video-popup.active .video-popup-content {
  transform: scale(1);
}

.video-close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  border: 3px solid white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: var(--font-size-lg);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-close-btn:hover {
  background: var(--color-primary-hover);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: var(--gray-900);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .video-popup {
    padding: var(--space-2);
  }
  
  .video-popup-content {
    max-width: 95vw;
    border-width: 3px;
  }
  
  .video-close-btn {
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    font-size: var(--font-size-base);
  }
  
  .video-demo-trigger {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
    max-width: 150px;
  }
  
  .video-demo-trigger i {
    font-size: var(--font-size-lg);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-background);
    flex-direction: column;
    padding: var(--space-6) var(--space-4);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--color-border);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    animation: slideDown 0.3s ease-out;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin: 0;
  }
  
  .nav-menu a {
    display: block;
    padding: var(--space-4) 0;
    font-weight: var(--font-weight-medium);
    border-bottom: 1px solid var(--color-border-light);
    transition: color var(--transition-fast);
  }
  
  .nav-menu a:hover {
    color: var(--color-primary);
  }
  
  .nav-menu li:last-child a {
    border-bottom: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .hero {
    padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
  }
  
  h1 {
    font-size: var(--font-size-4xl);
  }
  
  h2 {
    font-size: var(--font-size-3xl);
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-4);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-stats {
    flex-direction: column;
    gap: var(--space-6);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
  
  .trust-badges {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
  }
  
  .app-buttons {
    flex-direction: column;
  }
  
  .nav-actions .btn {
    display: none;
  }
  
  .language-toggle {
    order: -1;
  }
}

@media (max-width: 768px) {
  .contact-bubbles {
    bottom: var(--space-4);
    right: var(--space-4);
  }
  
  .contact-bubble {
    width: 50px;
    height: 50px;
  }
  
  .contact-bubble i {
    font-size: 24px;
  }
  
  .bubble-tooltip {
    font-size: var(--font-size-xs);
    padding: var(--space-1) var(--space-2);
  }
}
