/* ========================================
   VictorC2B ERP - Global SaaS Website Styles
   Design Philosophy: Clean like Stripe
   Structured like SAP, Friendly like Zoho
   ======================================== */

/* CSS Variables - Design System */
:root {
  /* Colors */
  --primary: #4F46E5;
  --primary-dark: #4338CA;
  --primary-light: #6366F1;
  --secondary: #06B6D4;
  --accent: #9333EA;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  
  /* Background */
  --bg-light: #F9FAFB;
  --bg-white: #FFFFFF;
  --bg-dark: #0F172A;
  --bg-dark-secondary: #1E293B;
  
  /* Text */
  --text-dark: #111827;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  --text-white: #FFFFFF;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #9333EA 100%);
  --gradient-hero: linear-gradient(135deg, #4F46E5 0%, #06B6D4 50%, #9333EA 100%);
  --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --space-5xl: 120px;
  
  /* Container */
  --container-width: 1140px;
  --container-max: 1440px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.3);
  
  /* Typography */
  --font-heading: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-fluid {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Section */
.section {
  padding: var(--space-5xl) 0;
}

.section-sm {
  padding: var(--space-3xl) 0;
}

.section-lg {
  padding: var(--space-5xl) 0;
}

/* Background Variants */
.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.bg-primary { background-color: var(--primary); }

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .grid-6 {
    grid-template-columns: 1fr;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-white { color: var(--text-white); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-gray { color: var(--text-gray); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-white);
}

.btn-white {
  background: var(--bg-white);
  color: var(--primary);
  border-color: var(--bg-white);
}

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg-dark);
  color: var(--text-white);
  border-color: var(--bg-dark);
}

.btn-dark:hover {
  background: var(--bg-dark-secondary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.125rem;
}

/* Cards */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

.card-dark h3, .card-dark p {
  color: var(--text-white);
}

/* Badge */
.badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.badge-primary {
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

/* Icons */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  font-size: 1.5rem;
}

.icon-primary { background: rgba(79, 70, 229, 0.1); color: var(--primary); }
.icon-secondary { background: rgba(6, 182, 212, 0.1); color: var(--secondary); }
.icon-accent { background: rgba(147, 51, 234, 0.1); color: var(--accent); }
.icon-success { background: rgba(16, 185, 129, 0.1); color: var(--success); }

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-base);
}

.header.scrolled {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: var(--text-dark);
  padding: var(--space-sm) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-base);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-base);
}

.nav-dropdown:hover .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  color: var(--text-gray);
}

.nav-dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 100;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  padding: calc(80px + var(--space-5xl)) 0 var(--space-5xl);
  background: var(--bg-light);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.05;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(79, 70, 229, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(79, 70, 229, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-gray);
}

.hero-visual {
  position: relative;
}

.hero-dashboard {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.hero-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--bg-light);
  margin-bottom: var(--space-md);
}

.hero-dashboard-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-light);
}

.hero-floating-card {
  position: absolute;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.hero-floating-card-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.hero-floating-card-2 {
  bottom: 20%;
  right: -20%;
  animation-delay: 1s;
}

.hero-floating-card-3 {
  top: 40%;
  right: -30%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========================================
   TRUST BAR
   ======================================== */
.trust-bar {
  padding: var(--space-2xl) 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--bg-light);
}

.trust-bar p {
  text-align: center;
  font-weight: 500;
  color: var(--text-gray);
  margin-bottom: var(--space-lg);
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  opacity: 0.6;
}

.trust-logo {
  height: 32px;
  filter: grayscale(100%);
  transition: var(--transition-base);
}

.trust-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ========================================
   SOLUTIONS GRID
   ======================================== */
.solutions {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 1.125rem;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.product-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
}

.product-card h4 {
  margin-bottom: var(--space-sm);
}

.product-card p {
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  color: var(--primary);
  font-size: 0.875rem;
}

.product-card-link:hover {
  gap: var(--space-md);
}

/* ========================================
   FEATURED SECTION - JuteKeeper
   ======================================== */
.featured {
  background: linear-gradient(180deg, var(--bg-light) 0%, #F5F5DC 100%);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.featured-content h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.featured-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(147, 51, 234, 0.1);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.featured-list {
  margin: var(--space-xl) 0;
}

.featured-list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  color: var(--text-gray);
}

.featured-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--success);
  color: var(--text-white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.featured-visual {
  position: relative;
}

.featured-image {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-lg);
}

/* ========================================
   FEATURES / VALUE SECTION
   ======================================== */
.features {
  background: var(--bg-white);
}

.feature-item {
  text-align: center;
  padding: var(--space-xl);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-item h4 {
  margin-bottom: var(--space-sm);
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
  background: var(--bg-light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--primary);
  opacity: 0.2;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: var(--bg-white);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.step h4 {
  margin-bottom: var(--space-sm);
}

/* ========================================
   DASHBOARD SHOWCASE
   ======================================== */
.dashboard-showcase {
  background: var(--bg-dark);
  padding: var(--space-5xl) 0;
  overflow: hidden;
}

.dashboard-showcase h2,
.dashboard-showcase p {
  color: var(--text-white);
}

.dashboard-main {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-top: var(--space-2xl);
  box-shadow: var(--shadow-xl);
}

/* ========================================
   INDUSTRIES SECTION
   ======================================== */
.industries {
  background: var(--bg-light);
}

.industry-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: var(--transition-base);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.industry-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  background: var(--bg-white);
}

.testimonial-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.testimonial-quote {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: var(--space-lg);
  color: var(--text-dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 600;
}

.testimonial-info h5 {
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 0.875rem;
  margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: var(--gradient-dark);
  padding: var(--space-5xl) 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--text-white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-dark);
  padding: var(--space-4xl) 0 var(--space-xl);
  color: var(--text-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  color: var(--text-white);
  margin-bottom: var(--space-md);
}

/* Make uploaded logo image appear white in dark footer */
.footer-brand .logo img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  color: var(--text-light);
}

.footer-col h5 {
  color: var(--text-white);
  margin-bottom: var(--space-lg);
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  color: var(--text-light);
  font-size: 0.875rem;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
}

.footer-social a:hover {
  background: var(--primary);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero {
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-grid {
    display: none;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps::before {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }
  
  .nav {
    position: fixed;
    top: 80px;
    right: 0;
    left: auto;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    height: calc(100vh - 80px);
    background: var(--bg-white);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-md);
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    overflow-y: auto;
    z-index: 99;
  }
  
  .nav.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-dropdown:hover .nav-dropdown-content {
    opacity: 0;
    visibility: hidden;
    transform: none;
  }
  
  .nav-dropdown-content {
    position: static;
    box-shadow: none;
    padding: var(--space-sm) 0 0 var(--space-md);
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }
  
  .nav-dropdown.active .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }

.hidden { display: none; }
.visible { display: block; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }

/* Gradient Text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
