:root {
  --primary: #0a1a3d;
  --accent: #d1d5db;
  --muted: #eef1f5;
  --text: #2a2a2a;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: var(--muted);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Fade-in Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
header {
  background: var(--primary);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: wrap;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  animation: fadeInUp 1s ease-out;
}

/* Navigation */
nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 0.8;
}

nav a.active {
  border-bottom: 2px solid var(--accent);
}

/* Landing Content */
.landing-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: calc(100vh - 140px); /* header + footer height subtracted */
  padding: 1rem 2rem;
}

/* Hero */
.hero {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to right, var(--primary), #172b4d);
  color: var(--white);
  width: 100%;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta {
  background: var(--white);
  color: var(--primary);
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background 0.3s ease;
  animation: fadeInUp 1.2s ease-out;
}

.cta:hover {
  background: #f1f4f8;
}

/* Analytics Image */
.analytics-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  animation: fadeInUp 1.4s ease-out;
}

.analytics-image {
  max-width: 600px;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.analytics-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  height: 60px;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
  }

  .logo img {
    max-width: 50vw;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  .analytics-image {
    max-width: 90%;
  }

  .landing-wrap {
    height: auto;
    padding: 1rem;
  }

  footer {
    height: auto;
    padding: 1rem;
  }
}