/* Enterprise CSS - Proactive Chart
 * Corporate blue color scheme for enterprise-grade design
 */

/* ===== Color Variables ===== */
:root {
  --enterprise-blue-900: #1e3a8a;
  --enterprise-blue-800: #1e40af;
  --enterprise-blue-700: #1d4ed8;
  --enterprise-blue-600: #2563eb;
  --enterprise-blue-500: #3b82f6;
  --enterprise-blue-400: #60a5fa;
  --enterprise-blue-100: #dbeafe;
  --enterprise-blue-50: #eff6ff;

  --enterprise-gray-900: #111827;
  --enterprise-gray-800: #1f2937;
  --enterprise-gray-700: #374151;
  --enterprise-gray-600: #4b5563;
  --enterprise-gray-500: #6b7280;
  --enterprise-gray-400: #9ca3af;
  --enterprise-gray-200: #e5e7eb;
  --enterprise-gray-100: #f3f4f6;
  --enterprise-gray-50: #f9fafb;

  --enterprise-green: #059669;
  --enterprise-red: #dc2626;
}

/* ===== Hero Sections ===== */
.enterprise-hero {
  background: linear-gradient(135deg, var(--enterprise-blue-700) 0%, var(--enterprise-blue-800) 100%);
  color: white;
  padding: 5rem 0 4rem 0;
  position: relative;
  overflow: hidden;
}

.enterprise-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.enterprise-hero .container {
  position: relative;
  z-index: 1;
}

.enterprise-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.enterprise-hero .lead {
  font-size: 1.35rem;
  opacity: 0.95;
  max-width: 700px;
  line-height: 1.6;
}

.enterprise-hero-split {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.enterprise-hero-content {
  flex: 1;
}

.enterprise-hero-image {
  flex: 1.2;
}

@media (max-width: 991px) {
  .enterprise-hero-split {
    flex-direction: column;
    text-align: center;
  }

  .enterprise-hero .lead {
    margin: 0 auto;
  }

  .enterprise-hero h1 {
    font-size: 2.25rem;
  }
}

/* ===== Screenshot Browser Mockup ===== */
.browser-mockup {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
  transition: transform 0.3s ease;
}

.browser-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.browser-mockup-header {
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #dee2e6;
}

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

.browser-mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-mockup-dots span:nth-child(1) { background: #ff5f56; }
.browser-mockup-dots span:nth-child(2) { background: #ffbd2e; }
.browser-mockup-dots span:nth-child(3) { background: #27ca40; }

.browser-mockup-url {
  flex: 1;
  background: white;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: var(--enterprise-gray-500);
  margin-left: 12px;
}

.browser-mockup-content {
  background: #fff;
}

.browser-mockup-content img {
  width: 100%;
  height: auto;
  display: block;
}

/* Smaller mockup variant */
.browser-mockup-sm {
  border-radius: 8px;
}

.browser-mockup-sm .browser-mockup-header {
  padding: 8px 12px;
}

.browser-mockup-sm .browser-mockup-dots span {
  width: 8px;
  height: 8px;
}

.browser-mockup-sm .browser-mockup-url {
  padding: 4px 8px;
  font-size: 0.7rem;
}

/* ===== Trust Badges ===== */
.trust-badges {
  background: var(--enterprise-gray-50);
  border-bottom: 1px solid var(--enterprise-gray-200);
  padding: 1rem 0;
}

.trust-badges-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--enterprise-gray-600);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-badge svg {
  width: 24px;
  height: 24px;
  color: var(--enterprise-blue-600);
}

.trust-badge-icon {
  width: 32px;
  height: 32px;
  background: var(--enterprise-blue-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge-icon svg {
  width: 18px;
  height: 18px;
  color: var(--enterprise-blue-700);
}

@media (max-width: 768px) {
  .trust-badges-container {
    gap: 1.5rem;
  }

  .trust-badge {
    font-size: 0.8rem;
  }
}

/* ===== Feature Cards ===== */
.feature-card-enterprise {
  background: white;
  border: 1px solid var(--enterprise-gray-200);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.feature-card-enterprise:hover {
  border-color: var(--enterprise-blue-500);
  box-shadow: 0 10px 40px -10px rgba(37, 99, 235, 0.2);
  transform: translateY(-4px);
}

.feature-card-enterprise h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--enterprise-gray-900);
  margin-bottom: 0.75rem;
}

.feature-card-enterprise:hover h3 {
  color: var(--enterprise-blue-700);
}

.feature-card-enterprise p {
  color: var(--enterprise-gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.feature-card-enterprise .card-link {
  color: var(--enterprise-blue-600);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.feature-card-enterprise:hover .card-link {
  gap: 0.5rem;
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  background: var(--enterprise-blue-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--enterprise-blue-700);
}

/* ===== Screenshot Showcase Section ===== */
.screenshot-showcase {
  padding: 5rem 0;
  background: var(--enterprise-gray-50);
}

.screenshot-showcase h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--enterprise-gray-900);
  margin-bottom: 1rem;
  text-align: center;
}

.screenshot-showcase .section-subtitle {
  font-size: 1.1rem;
  color: var(--enterprise-gray-600);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.screenshot-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--enterprise-gray-800);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.screenshot-item p {
  font-size: 0.9rem;
  color: var(--enterprise-gray-500);
}

@media (max-width: 991px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ===== Comparison Section ===== */
.comparison-section {
  padding: 4rem 0;
  background: white;
}

.comparison-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--enterprise-gray-900);
  margin-bottom: 2rem;
  text-align: center;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-card {
  background: var(--enterprise-gray-50);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--enterprise-gray-200);
}

.comparison-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--enterprise-gray-700);
  margin-bottom: 1rem;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--enterprise-gray-700);
}

.comparison-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-item svg.check {
  color: var(--enterprise-green);
}

.comparison-item svg.x {
  color: var(--enterprise-red);
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CTA Section ===== */
.cta-section-enterprise {
  background: linear-gradient(135deg, var(--enterprise-blue-700) 0%, var(--enterprise-blue-900) 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section-enterprise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section-enterprise .container {
  position: relative;
  z-index: 1;
}

.cta-section-enterprise h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section-enterprise p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Buttons ===== */
.btn-enterprise {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-enterprise-primary {
  background: var(--enterprise-blue-600);
  color: white;
}

.btn-enterprise-primary:hover {
  background: var(--enterprise-blue-700);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  color: white;
}

.btn-enterprise-white {
  background: white;
  color: var(--enterprise-blue-700);
}

.btn-enterprise-white:hover {
  background: var(--enterprise-blue-50);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
  color: var(--enterprise-blue-700);
}

.btn-enterprise-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-enterprise-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

/* ===== Section Styling ===== */
.section-enterprise {
  padding: 5rem 0;
}

.section-enterprise h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--enterprise-gray-900);
  margin-bottom: 1rem;
}

.section-enterprise .section-subtitle {
  font-size: 1.1rem;
  color: var(--enterprise-gray-600);
  max-width: 600px;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header-center {
  text-align: center;
}

.section-header-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ===== Pricing Card ===== */
.pricing-card-enterprise {
  background: white;
  border: 2px solid var(--enterprise-blue-200);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 10px 40px -10px rgba(37, 99, 235, 0.15);
}

.pricing-card-enterprise .price {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--enterprise-blue-700);
  line-height: 1;
}

.pricing-card-enterprise .price-period {
  font-size: 1rem;
  color: var(--enterprise-gray-500);
  font-weight: 400;
}

.pricing-card-enterprise .price-label {
  font-size: 1.1rem;
  color: var(--enterprise-gray-600);
  margin-top: 0.5rem;
}

.pricing-features {
  text-align: left;
  margin: 2rem 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--enterprise-gray-700);
  font-size: 0.95rem;
}

.pricing-features li svg {
  width: 20px;
  height: 20px;
  color: var(--enterprise-green);
  flex-shrink: 0;
}

/* ===== Features List ===== */
.features-list-enterprise {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list-enterprise li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--enterprise-gray-700);
  font-size: 1rem;
  border-bottom: 1px solid var(--enterprise-gray-100);
}

.features-list-enterprise li:last-child {
  border-bottom: none;
}

.features-list-enterprise li svg {
  width: 20px;
  height: 20px;
  color: var(--enterprise-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Services Page Specific ===== */
.services-hero-enterprise {
  background: linear-gradient(135deg, var(--enterprise-blue-700) 0%, var(--enterprise-blue-800) 100%);
  color: white;
  padding: 6rem 0 4rem 0;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.services-hero-enterprise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.services-hero-enterprise .container {
  position: relative;
  z-index: 1;
}

.services-hero-enterprise h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.services-hero-enterprise .lead {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 700px;
}

@media (max-width: 768px) {
  .services-hero-enterprise {
    padding: 4rem 0 3rem 0;
  }

  .services-hero-enterprise h1 {
    font-size: 2rem;
  }

  .services-hero-enterprise .lead {
    font-size: 1.1rem;
  }
}

/* ===== Feature Categories Grid ===== */
.feature-categories {
  padding: 4rem 0;
  background: white;
}

.feature-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .feature-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .feature-categories-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Detailed Features Section ===== */
.detailed-features {
  padding: 4rem 0;
  background: var(--enterprise-gray-50);
}

.detailed-features > .container > .row > div > h2:first-child {
  text-align: center;
  display: block;
  margin-bottom: 0.5rem;
}

.detailed-features > .container > .row > div > h2:first-child + p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
}

.detailed-features h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--enterprise-gray-900);
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--enterprise-blue-600);
  display: inline-block;
}

.detailed-features h2:first-child {
  margin-top: 0;
}

.detailed-features h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--enterprise-gray-900);
  margin-top: 0;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: var(--enterprise-blue-700);
  color: white;
  border-radius: 6px 6px 0 0;
  display: block;
}

.detailed-features h3 + ul {
  margin-top: 0;
  background: white;
  border: 1px solid var(--enterprise-gray-200);
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 1.25rem 1.25rem 1.25rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.detailed-features p {
  color: var(--enterprise-gray-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.detailed-features ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
}

.detailed-features li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--enterprise-gray-700);
  font-size: 0.95rem;
  line-height: 1.5;
}

.detailed-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--enterprise-green);
  font-weight: 700;
  font-size: 1rem;
}

.detailed-features strong {
  color: var(--enterprise-gray-900);
  font-weight: 600;
}

/* Feature category wrapper - groups h3 + ul together */
.detailed-features h2 ~ p + h3,
.detailed-features h2 + h3 {
  margin-top: 1.5rem;
}

/* Create visual sections */
.detailed-features h2 ~ h2 {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--enterprise-gray-200);
}

@media (max-width: 768px) {
  .detailed-features ul {
    grid-template-columns: 1fr;
  }

  .detailed-features h2 {
    font-size: 1.5rem;
  }

  .detailed-features h3 {
    font-size: 1rem;
  }
}

/* ===== Utilities ===== */
.text-enterprise-blue {
  color: var(--enterprise-blue-700);
}

.bg-enterprise-light {
  background: var(--enterprise-gray-50);
}

.bg-enterprise-white {
  background: white;
}

.mt-enterprise-section {
  margin-top: 5rem;
}

.mb-enterprise-section {
  margin-bottom: 5rem;
}
