/* ==========================================================================
   Le-Grass CRM Landing Page Stylesheet
   Theme Palette:
   - Primary Dark Slate: #0F172A / #1E293B
   - Emerald Green (CRM/Growth Accent): #10B981 / #059669 / #34D399
   - Sky Blue (Tech/Automation Accent): #0EA5E9 / #38BDF8 / #0284C7
   - AI Gradient: #8B5CF6 to #EC4899
   - Light Neutral: #F8FAFC / #F1F5F9
   ========================================================================== */

:root {
  --primary-dark: #0F172A;
  --secondary-dark: #1E293B;
  --emerald-primary: #10B981;
  --emerald-dark: #059669;
  --emerald-light: #34D399;
  --emerald-glow: rgba(16, 185, 129, 0.2);
  --sky-primary: #0EA5E9;
  --sky-dark: #0284C7;
  --sky-light: #38BDF8;
  --sky-glow: rgba(14, 165, 233, 0.2);
  --purple-ai: #8B5CF6;
  --pink-ai: #EC4899;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 35px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}

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

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

.gradient-text-ai {
  background: linear-gradient(135deg, var(--purple-ai), var(--pink-ai));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-ai {
  background: rgba(139, 92, 246, 0.1);
  color: var(--purple-ai);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-dark);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-sky {
  background: rgba(14, 165, 233, 0.1);
  color: var(--sky-dark);
  border: 1px solid rgba(14, 165, 233, 0.25);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.95);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo img {
  height: 40px;
  width: auto;
  display: block;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

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

.btn-secondary-link {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-secondary-link:hover {
  background: var(--border-color);
}

.btn-primary-gradient {
  background: linear-gradient(135deg, var(--emerald-primary), var(--sky-primary));
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);

}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 24px 100px;
  background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
              linear-gradient(180deg, #FFFFFF 0%, var(--bg-light) 100%);
  overflow: hidden;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.25rem;
  line-height: 1.15;
  margin: 20px 0 24px;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

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

.btn-outline {
  border: 2px solid var(--border-color);
  background: #FFFFFF;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: var(--sky-primary);
  color: var(--sky-dark);
  background: rgba(14, 165, 233, 0.05);
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.trust-item i {
  color: var(--emerald-primary);
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.dashboard-card-mockup {
  background: var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  position: relative;
  z-index: 2;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.mockup-title {
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 600;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-label {
  font-size: 0.75rem;
  color: #94A3B8;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
}

.stat-change {
  font-size: 0.75rem;
  color: var(--emerald-light);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.ai-activity-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(14, 165, 233, 0.15));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.ai-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.875rem;
  color: #E2E8F0;
  margin-bottom: 10px;
}

.ai-status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-light);
  box-shadow: 0 0 10px var(--emerald-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.ai-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #CBD5E1;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.ai-item-row:last-child {
  border-bottom: none;
}

.tag-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.tag-bukku { background: rgba(14, 165, 233, 0.2); color: var(--sky-light); }
.tag-spawner { background: rgba(16, 185, 129, 0.2); color: var(--emerald-light); }

/* Floating Elements */
.float-card-1 {
  position: absolute;
  top: -20px;
  right: -20px;
  background: #FFFFFF;
  color: var(--primary-dark);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 3;
  border: 1px solid var(--border-color);
}

.float-card-1 i {
  font-size: 1.5rem;
  color: var(--emerald-primary);
}

.float-card-2 {
  position: absolute;
  bottom: -25px;
  left: -20px;
  background: #FFFFFF;
  color: var(--primary-dark);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 3;
  border: 1px solid var(--border-color);
}

.float-card-2 i {
  font-size: 1.5rem;
  color: var(--purple-ai);
}

/* Sections Common */
.section {
  padding: 100px 24px;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin: 16px 0;
}

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

/* AI Capabilities Section */
.ai-spotlight-section {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #090D16 100%);
  color: #FFFFFF;
  position: relative;
}

.ai-spotlight-section h2,
.ai-spotlight-section p {
  color: #FFFFFF;
}

.ai-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ai-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ai-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.ai-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.icon-purple {
  background: rgba(139, 92, 246, 0.2);
  color: var(--purple-ai);
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-light);
}

.icon-sky {
  background: rgba(14, 165, 233, 0.2);
  color: var(--sky-light);
}

.ai-card h3 {
  color: #FFFFFF;
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.ai-card p {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ai-feature-list {
  list-style: none;
}

.ai-feature-list li {
  font-size: 0.875rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ai-feature-list i {
  color: var(--emerald-light);
  font-size: 1rem;
}

/* Modules Grid Section */
.modules-section {
  background: #FFFFFF;
}

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

.tab-btn {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary-dark);
  color: #FFFFFF;
  border-color: var(--primary-dark);
}

.tab-btn.active i {
  color: var(--emerald-light);
}

.modules-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.module-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.3s ease;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-primary);
}

.module-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--sky-primary);
  margin-bottom: 20px;
}

.module-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.module-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.module-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
}

/* Pricing Section */
.pricing-section {
  background: linear-gradient(180deg, var(--bg-light) 0%, #FFFFFF 100%);
}

.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.pricing-toggle-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--secondary-dark);
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--emerald-primary);
}

input:checked + .slider:before {
  transform: translateX(28px);
}

.discount-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-dark);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
}

.pricing-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

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

.pricing-card.featured {
  border: 2px solid var(--emerald-primary);
  box-shadow: var(--shadow-glow);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-dark));
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 40px;
}

.price-box {
  margin: 24px 0;
}

.currency {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  vertical-align: top;
}

.amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.annual-hint {
  font-size: 0.75rem;
  color: var(--emerald-dark);
  font-weight: 700;
  margin-top: 4px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.pricing-features i {
  color: var(--emerald-primary);
  font-size: 1.1rem;
  margin-top: 2px;
}

.pricing-features i.ph-x-circle {
  color: #CBD5E1;
}

.pricing-card .btn-block {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Feature Comparison Table */
.matrix-section {
  background: #FFFFFF;
}

.matrix-table-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.matrix-table th, .matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.matrix-table th {
  background: var(--bg-light);
  font-weight: 700;
  color: var(--primary-dark);
}

.matrix-table tr:hover td {
  background: rgba(248, 250, 252, 0.7);
}

.matrix-table td i.ph-check-circle-fill {
  color: var(--emerald-primary);
  font-size: 1.25rem;
}

.matrix-table td i.ph-minus-circle {
  color: #CBD5E1;
  font-size: 1.25rem;
}

/* FAQ Section */
.faq-section {
  background: var(--bg-light);
}

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

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.faq-header i {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-header i {
  transform: rotate(180deg);
  color: var(--emerald-primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-body {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* CTA Section */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0F172A 100%);
  color: #FFFFFF;
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #94A3B8;
  font-size: 1.15rem;
  margin-bottom: 36px;
}

/* Footer */
footer {
  background: #090D16;
  color: #94A3B8;
  padding: 80px 24px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--emerald-light);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--emerald-primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content p {
    margin: 0 auto 36px;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-trust-badges {
    justify-content: center;
  }
  
  .ai-grid, .modules-grid, .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .ai-grid, .modules-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .float-card-1, .float-card-2 {
    display: none;
  }
}
