/* ========================================
   MyFBRInvoice - Complete Styles
   Modern FBR Digital Invoicing Platform
   ======================================== */

/* ==================== CSS Variables ==================== */
:root {
  /* Color Palette - Indigo/Purple Theme */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --purple: #8b5cf6;
  --purple-dark: #7c3aed;
  --purple-light: #a78bfa;
  --pink: #ec4899;
  --rose: #f43f5e;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-accent: linear-gradient(135deg, #6366f1 0%, #d946ef 100%);
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --black: #000000;
  
  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  
  /* Spacing */
  --container-width: 1200px;
  --section-padding: 100px 20px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-colored: 0 20px 50px -12px rgba(99, 102, 241, 0.25);
  --shadow-glow: 0 0 30px -5px rgba(139, 92, 246, 0.4);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ==================== Container ==================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== Header ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(99, 102, 241, 0.1);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  transition: var(--transition);
  min-height: 72px;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-colored);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
}

.logo-icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  transition: var(--transition);
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-phone .phone-text {
  display: none;
}

@media (min-width: 769px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  
  .btn-phone .phone-text {
    display: inline;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-toggle:focus {
  outline: 2px solid rgba(99, 102, 241, 0.3);
  outline-offset: 2px;
  border-radius: 4px;
}

.hamburger {
  width: 24px;
  height: 2.5px;
  background: var(--gray-900);
  transition: all 0.3s ease;
  border-radius: 2px;
  display: block;
}

.nav-toggle.active .hamburger:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.nav-toggle.active .hamburger:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-cta-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  }
  50% {
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
  }
}

/* ==================== Hero Section ==================== */
.hero {
  padding: 100px 20px 100px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245, 158, 11, 0.2);
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.hero-alert svg {
  color: var(--warning);
  flex-shrink: 0;
}

.hero-alert span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-800);
  flex: 1;
}

.alert-btn {
  padding: 6px 14px;
  background: var(--white);
  color: var(--warning);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.alert-btn:hover {
  background: var(--warning);
  color: var(--white);
  transform: translateY(-1px);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  color: var(--primary);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 14px;
  color: var(--gray-500);
}

.hero-visual {
  position: relative;
}

.dashboard-mockup {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-colored);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
}

.mockup-dot:nth-child(1) {
  background: #ec4899;
}

.mockup-dot:nth-child(2) {
  background: #f59e0b;
}

.mockup-dot:nth-child(3) {
  background: #10b981;
}

.mockup-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-left: auto;
}

.mockup-content {
  padding: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
}

.stat-label {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card svg {
  color: var(--primary);
  opacity: 0.2;
}

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

.mini-stat {
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--primary);
}

.mini-stat.success {
  border-left-color: var(--success);
}

.mini-stat.warning {
  border-left-color: var(--warning);
}

.mini-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.mini-stat-label {
  font-size: 13px;
  color: var(--gray-600);
}

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--white);
  border-radius: 100px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  border: 1px solid var(--gray-200);
}

.float-badge svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.float-1 {
  top: 20px;
  right: -20px;
  animation: float 3s ease-in-out infinite;
}

.float-2 {
  bottom: 20px;
  left: -20px;
  animation: float 3s ease-in-out infinite 1.5s;
}

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

.social-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 60px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

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

.stat-number {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--gray-600);
}

/* ==================== Section Styles ==================== */
section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  color: var(--primary);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-description {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ==================== Features Section ==================== */
.features {
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

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

.feature-card {
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-colored);
  border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  color: var(--primary);
}

.feature-icon.purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(217, 70, 239, 0.1) 100%);
  color: var(--purple);
}

.feature-icon.rose {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(244, 63, 94, 0.1) 100%);
  color: var(--pink);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.feature-description {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ==================== How It Works Section ==================== */
.how-it-works {
  background: var(--white);
}

.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
}

.step-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.step-description {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

.step-arrow {
  flex-shrink: 0;
}

.step-arrow svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  opacity: 0.3;
}

/* ==================== Comparison Section ==================== */
.comparison {
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin: 0 auto;
  max-width: 100%;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.1);
  border: 2px solid rgba(99, 102, 241, 0.15);
}

.comparison-table thead {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.comparison-table th {
  padding: 20px 20px;
  color: var(--white);
  font-weight: 700;
  text-align: center;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.comparison-table th.highlight-col {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.table-logo {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}

.comparison-table tbody tr:hover {
  background: rgba(99, 102, 241, 0.02);
}

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

.comparison-table td {
  padding: 18px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--gray-700);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--gray-900);
  font-size: 14px;
}

.comparison-table td.highlight-col {
  background: rgba(99, 102, 241, 0.04);
  font-weight: 600;
}

.check-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.x-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.neutral-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

/* ==================== Product Preview Section ==================== */
.product-preview {
  background: var(--white);
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--transition);
}

.tab-btn svg {
  width: 20px;
  height: 20px;
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-colored);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.browser-mockup {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-colored);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  max-width: 900px;
  margin: 0 auto;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
}

.browser-dot:nth-child(1) {
  background: #ec4899;
}

.browser-dot:nth-child(2) {
  background: #f59e0b;
}

.browser-dot:nth-child(3) {
  background: #10b981;
}

.browser-url {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: var(--gray-600);
  background: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

.browser-content {
  padding: 40px;
  min-height: 400px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.dashboard-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.preview-stat-card {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.preview-stat-card h4 {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.preview-stat-value {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.preview-stat-change {
  font-size: 13px;
  font-weight: 600;
}

.preview-stat-change.positive {
  color: var(--success);
}

.preview-note {
  text-align: center;
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
}

.preview-highlight {
  padding: 40px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.8;
  border: 2px dashed rgba(99, 102, 241, 0.3);
}

.mobile-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.mobile-frame {
  width: 300px;
  height: 600px;
  background: var(--gray-900);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.mobile-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 28px;
  background: var(--gray-900);
  border-radius: 0 0 16px 16px;
}

.mobile-content {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 24px;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==================== Pricing Section ==================== */
.pricing {
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.pricing-mobile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.pricing-card {
  position: relative;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 2px solid var(--gray-200);
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-colored);
  border-color: rgba(99, 102, 241, 0.3);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-colored);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-colored);
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--gray-100);
}

.pricing-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.price-currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-600);
}

.price-amount {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-period {
  font-size: 16px;
  color: var(--gray-600);
}

.pricing-subtitle {
  font-size: 14px;
  color: var(--gray-500);
}

.pricing-features {
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--gray-700);
}

.pricing-features li.disabled {
  color: var(--gray-400);
}

.x-icon {
  width: 20px;
  height: 20px;
  color: var(--error);
  flex-shrink: 0;
}

.pricing-desktop {
  display: none;
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.1);
  border: 2px solid rgba(99, 102, 241, 0.15);
}

.pricing-table thead {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.pricing-table th {
  padding: 24px 20px;
  text-align: center;
  vertical-align: top;
  position: relative;
}

.pricing-table th:first-child {
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}

.pricing-table th.featured-col {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  position: relative;
}

.popular-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--white);
  color: var(--primary);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-header {
  margin-top: 8px;
}

.plan-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.plan-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}

.plan-price span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.pricing-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}

.pricing-table tbody tr:hover {
  background: rgba(99, 102, 241, 0.02);
}

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

.pricing-table td {
  padding: 16px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--gray-700);
}

.pricing-table td.feature-name {
  text-align: left;
  font-weight: 600;
  color: var(--gray-900);
  font-size: 14px;
}

.pricing-table td.featured-col {
  background: rgba(99, 102, 241, 0.04);
  font-weight: 600;
}

.table-check {
  color: var(--success);
  font-size: 18px;
  font-weight: 700;
}

.table-x {
  color: var(--error);
  font-size: 18px;
  opacity: 0.5;
}

.cta-row td {
  padding: 24px 20px;
}

.table-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  width: 100%;
}

.table-cta.primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.table-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.table-cta.secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.table-cta.secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 32px;
}

/* ==================== Testimonials Section ==================== */
.testimonials {
  background: var(--white);
}

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

.testimonial-card {
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 2px solid var(--gray-200);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-colored);
  border-color: rgba(99, 102, 241, 0.3);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.stars svg {
  width: 20px;
  height: 20px;
  color: var(--warning);
}

.testimonial-text {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.author-title {
  font-size: 14px;
  color: var(--gray-600);
}

/* ==================== FAQ Section ==================== */
.faq {
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 2px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  transition: var(--transition);
}

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

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 24px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ==================== CTA Section ==================== */
.cta {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.cta-buttons .btn-primary {
  background: var(--white);
  color: var(--primary);
}

.cta-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.cta-buttons .btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

.cta-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* ==================== Footer ==================== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 80px 20px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links li svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.footer-links a {
  font-size: 14px;
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--gray-800);
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

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

/* ==================== Responsive Design ==================== */
@media (min-width: 768px) {
  .pricing-desktop {
    display: block;
  }
  
  .pricing-mobile {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 42px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    border-bottom: 1px solid #f3f4f6 !important;
    z-index: 999 !important;
  }
  
  .nav-menu.active {
    max-height: 500px !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 20px !important;
    overflow-y: auto !important;
  }
  
  .nav-links {
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    margin-bottom: 16px !important;
  }
  
  .nav-link {
    padding: 14px 0 !important;
    width: 100% !important;
    border-bottom: 1px solid #f3f4f6 !important;
    font-size: 16px !important;
    display: block !important;
  }
  
  .nav-link::after {
    display: none !important;
  }
  
  .nav-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
    padding-top: 12px !important;
    border-top: 1px solid #f3f4f6 !important;
  }
  
  .nav-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  
  .btn-phone .phone-text {
    display: inline !important;
  }
  
  .nav-toggle {
    display: flex !important;
  }
  
  .hero {
    padding-top: 80px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .social-proof {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 32px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-container {
    flex-direction: column;
  }
  
  .step-arrow {
    transform: rotate(90deg);
  }
  
  .tabs {
    overflow-x: auto;
    justify-content: flex-start;
  }
  
  .preview-stats {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  
  .pricing-desktop {
    display: none;
  }
  
  .comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .comparison-table {
    min-width: 600px;
    font-size: 14px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
  }
  
  .cta-title {
    font-size: 32px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ==================== Utilities ==================== */
.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* ==================== WhatsApp Floating Button ==================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: var(--transition);
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 12px 32px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:active {
  transform: scale(1.05);
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 8px 24px rgba(0, 0, 0, 0.15);
  }
  50% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.6), 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ==================== Small Mobile Responsiveness (480px) ==================== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .logo span {
    font-size: 16px;
  }
  
  .logo-icon {
    width: 32px;
    height: 32px;
  }
  
  .hero-title {
    font-size: 26px;
    line-height: 1.3;
  }
  
  .hero-description {
    font-size: 15px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .section-description {
    font-size: 15px;
  }
  
  .btn {
    font-size: 14px;
    padding: 10px 18px;
  }
  
  .btn-lg {
    font-size: 15px;
    padding: 12px 24px;
  }
  
  .social-proof {
    grid-template-columns: 1fr;
  }
  
  .pricing-card {
    padding: 24px;
  }
  
  .price {
    font-size: 36px;
  }
  
  .comparison-table {
    min-width: 500px;
    font-size: 13px;
  }
  
  .faq-question {
    font-size: 15px;
  }
  
  .cta-title {
    font-size: 26px;
  }
}

/* ==================== Animations ==================== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tableZoomIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.comparison-table,
.pricing-table {
  animation: tableZoomIn 0.5s ease-out;
}
