/* ============================================
   style-unified.css - Arth Technology
   Version: 3.0
   Description: Consolidated global styles with theme variable support
   Usage: Include this file in all pages, then override :root variables per page
   ============================================ */

/* ===== IMPORT GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES (DEFAULT THEME - BLUE/TEAL) ===== */
:root {
  /* Primary Colors */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  --secondary: #7c3aed;
  --secondary-dark: #6d28d9;
  --secondary-light: #a78bfa;
  --accent: #f97316;
  --accent-dark: #ea580c;
  
  /* Status Colors */
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #06b6d4;
  
  /* Neutral Colors */
  --dark: #1e293b;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --light: #f8fafc;
  --white: #ffffff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-accent: linear-gradient(135deg, var(--accent), #fbbf24);
  --gradient-dark: linear-gradient(135deg, var(--dark), #0f172a);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 35px -12px rgba(0,0,0,0.15);
  --shadow-hover: 0 20px 30px rgba(37,99,235,0.15);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 5rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --transition-fast: all 0.15s ease;
  
  /* Container */
  --container-max: 1300px;
  --container-padding: 20px;
  
  /* Font */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: var(--spacing-sm);
  color: var(--gray);
}

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

/* ===== SECTION STYLES ===== */
section {
  padding: var(--spacing-2xl) 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: var(--spacing-lg);
  color: var(--dark);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subhead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  color: var(--gray);
  font-size: 1.15rem;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: -1rem auto 3rem;
  color: var(--gray);
  font-size: 1.1rem;
}

/* ===== BUTTON STYLES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

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

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

.btn-secondary:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid currentColor;
}

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

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

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
}

.btn-large {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: 1rem;
}

/* ===== GRID SYSTEMS ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

/* ===== CARD STYLES ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary);
}

.card i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: var(--spacing-sm);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== FEATURE GRID & CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

.feature-card {
  background: var(--white);
  padding: var(--spacing-lg) var(--spacing-md);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.feature-card i {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--secondary);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== BENEFITS LIST ===== */
.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

.benefit-item {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateX(5px);
}

.benefit-item i {
  font-size: 2rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.benefit-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.benefit-item p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* ===== WORKFLOW STEPS ===== */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.workflow-step {
  text-align: center;
  padding: var(--spacing-md);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.workflow-step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto var(--spacing-sm);
}

.workflow-step h4 {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--dark);
}

/* ===== MODULES GRID ===== */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--spacing-sm);
  margin: var(--spacing-lg) 0;
}

.module-tag {
  background: var(--white);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}

.module-tag i {
  margin-right: 0.5rem;
  color: var(--secondary);
}

.module-tag:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.module-tag:hover i {
  color: var(--white);
}

/* ===== AUDIENCE GRID ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.audience-card {
  background: var(--white);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
}

.audience-card i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.audience-card span {
  display: block;
  font-weight: 500;
  color: var(--dark);
}

.audience-card:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.audience-card:hover i,
.audience-card:hover span {
  color: var(--white);
}

/* ===== INDUSTRIES MINI GRID ===== */
.industries-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.industries-mini-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: var(--spacing-sm);
  background: var(--white);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.industries-mini-grid a i {
  font-size: 1.2rem;
}

.industries-mini-grid a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-5px);
}

/* ===== COMPARISON TABLE ===== */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: var(--spacing-lg) 0;
}

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

.comparison-table th,
.comparison-table td {
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}

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

.comparison-table td:first-child {
  font-weight: 600;
  background: var(--light);
}

.comparison-table .check {
  color: var(--success);
}

.comparison-table .times {
  color: var(--danger);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 4rem 0;
  background: var(--light);
}

.faq-list {
  max-width: 900px;
  margin: 2rem auto 0;
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-xl);
  margin-bottom: var(--spacing-sm);
  border: 1px solid #e2edf2;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 1.2rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--primary);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1.5rem;
}

.faq-answer p {
  margin: 0 0 1.5rem 0;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== CTA SECTIONS ===== */
.cta-global {
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta-global h2 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.cta-global p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  font-size: 1.1rem;
}

.cta-section {
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-2xl);
  margin: 40px auto;
  padding: 60px 32px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: var(--gradient-primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 70px 0 90px;
}

.hero .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.hero-content {
  flex: 1.2;
  min-width: 280px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.hero-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0;
}

.hero-feature-list span {
  background: rgba(255,255,255,0.1);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-image {
  flex: 0.9;
  min-width: 280px;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ===== POPUP FORM STYLES ===== */
.inquiry-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.inquiry-popup.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.popup-container {
  position: relative;
  width: 90%;
  max-width: 500px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
  z-index: 100000;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.popup-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.popup-header h3 i {
  margin-right: 0.5rem;
}

.popup-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.2s;
  line-height: 1;
}

.popup-close:hover {
  transform: scale(1.1);
}

.popup-body {
  padding: 1.5rem;
  max-height: 80vh;
  overflow-y: auto;
}

.popup-reference {
  background: #fef3c7;
  border-left: 4px solid var(--warning);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #92400e;
}

.popup-reference i {
  margin-right: 0.5rem;
}

.popup-body .form-group {
  margin-bottom: 1.2rem;
}

.popup-body .form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--dark);
  font-size: 0.85rem;
}

.popup-body .form-group label i {
  width: 20px;
  color: var(--primary);
}

.popup-body .form-group input,
.popup-body .form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  box-sizing: border-box;
  font-family: inherit;
}

.popup-body .form-group input:focus,
.popup-body .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.popup-body .form-group.error input,
.popup-body .form-group.error textarea {
  border-color: var(--danger);
  background: #fef2f2;
}

.error-msg {
  display: none;
  font-size: 0.7rem;
  color: var(--danger);
  margin-top: 0.3rem;
}

.form-group.error .error-msg {
  display: block;
}

.popup-buttons {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: 1.5rem;
}

.btn-cancel,
.btn-submit {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cancel {
  background: var(--light);
  color: var(--gray);
}

.btn-cancel:hover {
  background: #e2e8f0;
}

.btn-submit {
  background: var(--gradient-primary);
  color: var(--white);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.popup-form-status {
  margin-top: var(--spacing-sm);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  text-align: center;
  display: none;
}

.popup-form-status.success {
  background: #d1fae5;
  color: #065f46;
  display: block;
}

.popup-form-status.error {
  background: #fee2e2;
  color: #991b1b;
  display: block;
}

/* Scrollbar styling */
.popup-body::-webkit-scrollbar {
  width: 6px;
}

.popup-body::-webkit-scrollbar-track {
  background: var(--light);
  border-radius: 3px;
}

.popup-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo a {
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  transition: var(--transition);
}

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

.header-demo-btn {
  background: var(--gradient-primary);
  color: var(--white) !important;
  padding: 8px 22px;
  border-radius: var(--radius-full);
}

/* ===== FOOTER STYLES ===== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 0 2rem;
  margin-top: 0;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-col p {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: #38bdf8;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

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

.social-links a i {
  font-size: 1rem;
  color: var(--white);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #1e293b;
  font-size: 0.8rem;
  color: #64748b;
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  z-index: 100;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #128C7E;
  color: var(--white);
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.animate-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations for grid items */
.features-grid .animate-on-scroll,
.benefits-list .animate-on-scroll,
.modules-grid .animate-on-scroll,
.audience-grid .animate-on-scroll {
  transition-delay: calc(0.05s * var(--item-index, 0));
}

/* ===== SKELETON LOADER ===== */
.skeleton-wrapper {
  min-height: 400px;
  background: var(--light);
}

.skeleton {
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

#main-content {
  opacity: 0;
  transition: opacity 0.6s ease;
}

#main-content.visible {
  opacity: 1;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.bg-light { background: var(--light); }
.bg-white { background: var(--white); }
.bg-dark { background: #0f172a; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  section { padding: 3rem 0; }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .features-grid {
    gap: 1.5rem;
  }
  
  .benefit-item {
    flex-direction: column;
    text-align: center;
  }
  
  .benefit-item i {
    margin: 0 auto 0.5rem;
  }
  
  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .industries-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem;
    font-size: 0.8rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }
  
  .popup-container {
    width: 95%;
  }
  
  .popup-buttons {
    flex-direction: column;
  }
  
  .btn {
    margin: 0.25rem;
  }
  
  .header-container {
    flex-direction: column;
  }
  
  .nav-links {
    justify-content: center;
    gap: 1.2rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .workflow-steps {
    grid-template-columns: 1fr;
  }
  
  .modules-grid {
    grid-template-columns: 1fr;
  }
  
  .audience-grid {
    grid-template-columns: 1fr;
  }
  
  .industries-mini-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .whatsapp-float,
  #header,
  .inquiry-popup,
  .cta-global .btn,
  .btn {
    display: none !important;
  }
  
  body {
    padding: 0;
    margin: 0;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
}

/* ===== THEME OVERRIDE EXAMPLE ===== */
/* For Education CRM Page - Override with teal theme */
/* Just add this to the page's inline style or a separate theme file:
:root {
  --primary: #0f766e;
  --primary-dark: #0d6b64;
  --secondary: #0891b2;
  --accent: #14b8a6;
  --gradient-primary: linear-gradient(135deg, #0f766e, #0891b2);
}
*/