
: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);
}

/* 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;
}

.feature-card i{
  font-size: 30px;
  padding-top: 15px;
  color: white;
}

.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);
}

/* 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 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;
}

/* Highlight Box */
.highlight-box {
  background: #d4edda;
  border-left: 4px solid var(--success-color);
  padding: 25px 30px;
  margin: 30px 0;
  border-radius: 8px;
}

.highlight-box h4 {
  color: #155724;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.highlight-box p {
  color: #155724;
  margin-bottom: 10px;
  line-height: 1.8;
}

/* Info Box */
.info-box {
  background: #d1ecf1;
  border-left: 4px solid var(--accent-color);
  padding: 25px 30px;
  margin: 30px 0;
  border-radius: 8px;
}

.info-box h4 {
  color: #0c5460;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.info-box p {
  color: #0c5460;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* Warning Box */
.warning-box {
  background: #fff3cd;
  border-left: 4px solid var(--warning-color);
  padding: 25px 30px;
  margin: 30px 0;
  border-radius: 8px;
}

.warning-box h4 {
  color: #856404;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.warning-box p {
  color: #856404;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* Cost Comparison Box */
.cost-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin: 30px 0;
  border-left: 5px solid var(--primary-color);
}

.cost-box h3 {
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.cost-item:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
  padding-top: 20px;
  margin-top: 10px;
  border-top: 2px solid var(--primary-color);
}

.cost-label {
  color: var(--text-color);
}

.cost-value {
  color: var(--primary-color);
  font-weight: 600;
}

/* Team Role Card */
.team-role {
  background: white;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent-color);
}

.team-role h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.team-role p {
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.6;
}

.team-role .cost {
  color: var(--danger-color);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Final Comparison */
.comparison-highlight {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  padding: 60px;
  border-radius: 15px;
  text-align: center;
  margin: 40px 0;
  box-shadow: var(--shadow-hover);
}

.comparison-highlight h3 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.comparison-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.number-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.number-box .label {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

.number-box .amount {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.number-box .note {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* 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;
}

/* 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;
  }
  
  .comparison-numbers {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .comparison-highlight {
    padding: 40px 20px;
  }
  
  .number-box .amount {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero .subtitle {
    font-size: 1rem;
  }
  
  .btn-custom {
    padding: 14px 30px;
    font-size: 15px;
  }
  
  .feature-card {
    padding: 25px 20px;
  }
}
