* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* CSS Variables */
:root {
  --navy-blue: #1e3c72;
  --light-blue: #87ceeb;
  --gold: #ffd700;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
}

.curved-header {
  background-color: #1d2a56;
  height: 180px;
  position: relative;
  border-radius: 0 0 50% 50%;
  display: flex;
  justify-content: center;
}

.header-content {
  text-align: center;
  z-index: 2;
  height: 150px;
}

.logo {
  padding: 0;
  margin: 0;
}

.logo img {
  max-width: 200px;
  height: 120px;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  justify-content: center;
}

.nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Hero Section - Modern Design Without Numbers */
.hero-section {
  position: relative;
  padding: 120px 0 100px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 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='%233b82f6' 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");
  opacity: 0.5;
  z-index: 0;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  position: relative;
  z-index: 1;
  gap: 40px;
}

/* Hero Content */
.hero-content {
  padding-right: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #3b82f6;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #1e293b;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, #1e3c72 0%, #374e79 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e3c72 0%, rgb(64, 88, 138) 100%);
  color: white;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: white;
  color: #1e293b;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-feature-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: white;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #475569;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hero-feature-tag svg {
  color: #3b82f6;
}

.hero-feature-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.platform-showcase {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  height: 480px;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: all 0.5s ease;
}

.platform-showcase:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg) translateY(-5px);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.2);
}

.platform-header {
  background: #f8fafc;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
}

.platform-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #0f172a;
}

.platform-logo svg {
  color: #3b82f6;
}

.status-badge {
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 500;
}

.status-badge.online {
  background: rgba(34, 197, 94, 0.1);
  color: #ffd700;
}

.platform-content {
  padding: 24px;
  height: calc(100% - 60px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.feature-icon {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-info h4 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  color: #0f172a;
}

.feature-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.platform-visual {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.visual-element {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  height: 160px;
}

.graph {
  position: relative;
}

.graph-trend {
  height: 80px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 20px;
}

.trend-line {
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 100 60'%3E%3Cpath fill='none' stroke='%233b82f6' stroke-width='2' d='M0,50 Q20,45 25,30 T50,20 T75,25 T100,10'/%3E%3C/svg%3E")
    no-repeat;
  background-size: 100% 100%;
}

.graph-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding: 0 8px;
}

.graph-labels span {
  font-size: 0.85rem;
  color: #64748b;
}

.trend-label {
  font-weight: 500;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.trend-label.positive {
  color: #22c55e;
}

.trend-label.positive::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.workflow {
  position: relative;
  display: flex;
  align-items: center;
}

.workflow-steps {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.workflow-steps::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  width: 24%;
  text-align: center;
}

.step-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.workflow-step.completed .step-icon {
  background: rgba(34, 197, 94, 0.1);
  border-color: #ffd700;
  color: #ffd700;
}

.workflow-step.active .step-icon {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
  color: #3b82f6;
}

.workflow-step span {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.platform-features {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

.mini-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
}

.mini-feature svg {
  color: #3b82f6;
}

/* Hamburger Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1000;
  padding: 0;
}

.hamburger-icon {
  display: block;
  position: relative;
  width: 30px;
  height: 3px;
  background: white;
  margin: 0 auto;
  transition: all 0.3s ease-in-out;
}

.hamburger-icon:before,
.hamburger-icon:after {
  content: "";
  position: absolute;
  width: 30px;
  height: 3px;
  background: white;
  left: 0;
  transition: all 0.3s ease-in-out;
}

.hamburger-icon:before {
  top: -10px;
}

.hamburger-icon:after {
  top: 10px;
}

/* Active state for hamburger icon */
.mobile-menu-toggle.active .hamburger-icon {
  background: transparent;
}

.mobile-menu-toggle.active .hamburger-icon:before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-toggle.active .hamburger-icon:after {
  transform: rotate(-45deg);
  top: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    width: 100%;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .logo {
    z-index: 1000;
    position: relative;
  }

  .logo img {
    max-height: 70px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #1d2a56;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 999;
    overflow-y: auto;
    padding-top: 80px;
  }

  .nav.active {
    right: 0;
  }

  .nav ul {
    flex-direction: column;
    gap: 5px;
    padding: 20px;
  }

  .nav li {
    width: 100%;
  }

  .nav a {
    display: block;
    padding: 15px;
    width: 100%;
    text-align: left;
    border-radius: 8px;
  }

  /* Overlay when menu is active */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 990;
  }

  .menu-overlay.active {
    display: block;
  }
}

/* Extra Small Devices */
@media (max-width: 576px) {
  .curved-header {
    height: 120px;
  }

  .header-content {
    height: 100px;
  }

  .logo img {
    max-height: 60px;
  }

  .nav {
    width: 260px;
  }
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-right: 0;
    text-align: center;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-features {
    justify-content: center;
  }

  .platform-showcase {
    max-width: 600px;
    margin: 0 auto;
    transform: none;
  }

  .platform-showcase:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-section {
    padding: 100px 0 80px;
  }

  .platform-showcase {
    height: auto;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .workflow-step span {
    font-size: 0.7rem;
  }

  .platform-features {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* Loading State (Optional) */
.chart-loading {
  height: 80px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
  margin-bottom: 12px;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
