
:root {
  --primary-color: #002f6c;
  --primary-dark: #001f47;
  --primary-light: #004080;
  --accent-color: #3498db;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --danger-color: #e74c3c;
  --text-color: #333;
  --text-light: #666;
  --border-color: #e0e0e0;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-white);
}

.section-title {
  color: #002f6c;
  border-bottom: 3px solid #002f6c;
  display: inline-block;
  padding-bottom: 6px;
}
.text-color {
  color: #002f6c;
}
.btn-color {
  background-color: #002f6c;
  color: #fff;
  transition: all 0.3s ease;
}
.btn-color:hover {
  background-color: #004a9f;
  color: #fff;
}
.icon-wrapper {
  background-color: rgba(0, 47, 108, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-hover {
  transition: all 0.3s ease;
  background: #fff;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 47, 108, 0.15);
}

.industry-section {
  background-color: #f9fafc;
}
.section-title {
  color: #002f6c;
  font-size: 1.8rem;
  border-bottom: 3px solid #002f6c;
  display: inline-block;
  padding-bottom: 6px;
}
.text-color {
  color: #002f6c;
}
.card-hover {
  transition: all 0.3s ease;
  background: #fff;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 47, 108, 0.15);
}
.icon-wrapper {
  background-color: rgba(0, 47, 108, 0.08);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
a.text-color:hover {
  color: #0056b3;
  text-decoration: underline;
}


/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  display: flex;
  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: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scroll to Top Button */
#scroll-to-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: var(--shadow-hover);
}

#scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}



/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::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="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 1.4rem;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn-custom {
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom {
  background: #e74c3c;
  color: white;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.btn-primary-custom:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
  color: white;
}

.btn-outline-custom {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-custom:hover {
  background: white;
  color: var(--primary-color);
}

/* Stats Section */
.stats-section {
  background: var(--primary-color);
  color: white;
  padding: 60px 0;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  color: #e74c3c;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Content Sections */
.content-section {
  padding: 80px 0;
}

.content-section.bg-light {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: 700;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.8;
}
.feature-card i {
    font-size: 30px;
    color: white;
    margin-bottom: 20px;
    padding-top: 15px;
}
/* Feature Cards */
.feature-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border-top: 4px solid var(--primary-color);
  height: 100%;
  margin-bottom: 30px;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  margin-bottom: 25px;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin: 20px 0 12px 0;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.feature-card ul {
  list-style: none;
  margin-top: 20px;
  padding: 0;
}

.feature-card li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: var(--text-light);
}

.feature-card li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-size: 1.1rem;
}

/* Problem Box */
.problem-box {
  background: #fff3cd;
  border-left: 4px solid var(--warning-color);
  padding: 25px 30px;
  margin: 30px 0;
  border-radius: 8px;
}

.problem-box h4 {
  color: #856404;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.problem-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.problem-box li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
  color: #856404;
}

.problem-box li::before {
  content: "\f071";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--warning-color);
}

/* Solution Box */
.solution-box {
  background: #d4edda;
  border-left: 4px solid var(--success-color);
  padding: 25px 30px;
  margin: 30px 0;
  border-radius: 8px;
}

.solution-box h4 {
  color: #155724;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.solution-box p {
  color: #155724;
  margin: 0;
}

/* Flywheel Diagram */
.flywheel-container {
  position: relative;
  max-width: 600px;
  margin: 50px auto;
}

.flywheel-circle {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid var(--primary-color);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 47, 108, 0.05) 0%, rgba(0, 64, 128, 0.1) 100%);
}

.flywheel-center {
  text-align: center;
  padding: 30px;
}

.flywheel-center h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.flywheel-center p {
  color: var(--text-light);
  font-size: 1rem;
}

.flywheel-stage {
  position: absolute;
  width: 150px;
  text-align: center;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 2px solid var(--primary-color);
}

.flywheel-stage h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.flywheel-stage p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

.stage-1 { top: -20px; left: 50%; transform: translateX(-50%); }
.stage-2 { right: -20px; top: 50%; transform: translateY(-50%); }
.stage-3 { bottom: -20px; left: 50%; transform: translateX(-50%); }

/* Process Steps */
.process-step {
  position: relative;
  padding: 40px 30px;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  height: 100%;
  margin-bottom: 30px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 auto 25px;
}

.process-step h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.process-step p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* CTA Section */
.cta-section {
  background: var(--primary-color);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Architecture Diagram */
.architecture-layer {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border-left: 4px solid var(--primary-color);
}

.architecture-layer h4 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.architecture-layer p {
  color: var(--text-light);
  margin: 0;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  #scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  .flywheel-stage {
    width: 120px;
    padding: 15px;
    font-size: 0.85rem;
  }
  
  .stage-1 { top: -80px; }
  .stage-2 { right: -60px; }
  .stage-3 { bottom: -80px; }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero .subtitle {
    font-size: 1rem;
  }
  
  .btn-custom {
    padding: 14px 30px;
    font-size: 15px;
  }
  
  .stat-item h3 {
    font-size: 2.5rem;
  }
  
  .feature-card {
    padding: 25px 20px;
  }
  
  .flywheel-container {
    display: none;
  }
}
