
:root {
  --primary-color: #002f6c;
  --primary-dark: #001d42;
  --primary-light: #0047a0;
  --accent-color: #00b4d8;
  --text-dark: #1a1a1a;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  color: white;
  margin-top: 20px;
  font-size: 18px;
  font-weight: 500;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll to Top Button */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 47, 108, 0.3);
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 47, 108, 0.4);
}

/* Navigation */
.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.btn-primary-custom {
  background: var(--primary-color);
  color: white;
  padding: 10px 25px;
  border-radius: 5px;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 47, 108, 0.3);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-section .lead {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
  animation: fadeInUp 1s ease 0.4s both;
}

.btn-hero {
  padding: 15px 35px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  margin: 10px;
  transition: all 0.3s ease;
}

.btn-light-custom {
  background: white;
  color: var(--primary-color);
  border: none;
}

.btn-light-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline-custom {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-custom:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Feature Cards */
.feature-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 47, 108, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 35px;
  color: white;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* AI Trinity Section */
.ai-section {
  padding: 80px 0;
  background: white;
}

.ai-card {
  background: var(--bg-light);
  border-radius: 15px;
  padding: 35px;
  height: 100%;
  border-left: 5px solid var(--primary-color);
  transition: all 0.3s ease;
}

.ai-card:hover {
  transform: translateX(10px);
  box-shadow: -5px 5px 25px rgba(0, 47, 108, 0.1);
}

.ai-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.ai-card h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.ai-card .subtitle {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 15px;
  font-style: italic;
}

.ai-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ai-card li {
  padding: 8px 0;
  color: var(--text-dark);
  position: relative;
  padding-left: 25px;
}

.ai-card li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  background: var(--primary-color);
  color: white;
}

.benefits-section .section-title,
.benefits-section .section-subtitle {
  color: white;
}

.benefit-item {
  display: flex;
  align-items: start;
  margin-bottom: 30px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: white;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-right: 20px;
  flex-shrink: 0;
}

.benefit-content h5 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-content p {
  margin: 0;
  opacity: 0.9;
  line-height: 1.6;
}

/* Competitive Advantage Section */
.competitive-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.competitor-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--text-light);
}

.competitor-card.salesboom {
  border-top-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(0, 47, 108, 0.15);
}

.competitor-card h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.competitor-card .badge {
  background: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  margin-left: 10px;
}

.strengths, .weaknesses {
  margin-bottom: 20px;
}

.strengths h6, .weaknesses h6 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.strengths h6 {
  color: #28a745;
}

.weaknesses h6 {
  color: #dc3545;
}

.strengths ul, .weaknesses ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.strengths li, .weaknesses li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
}

.strengths li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #28a745;
}

.weaknesses li:before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #dc3545;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.95;
}


.feature-card i {
    font-size: 33px;
    color: white;
    margin-bottom: 20px;
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 36px;
  }
  
  .hero-section .lead {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .btn-hero {
    padding: 12px 25px;
    font-size: 16px;
  }
}
