/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* CONTAINER */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
header {
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-img {
  width: 150px;
  object-fit: contain;
}

/* NAV MENU */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #007bff;
}

/* AUTH BUTTONS */
.auth-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.login-btn {
  background: transparent;
  border: 1px solid #ccc;
  color: #333;
}

.login-btn:hover {
  background: #e9ecef;
}

.register-btn {
  background: #007bff;
  color: white;
}

.register-btn:hover {
  background: #0056b3;
}

/* MOBILE MENU */
.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

/* MOBILE NAV DROPDOWN */
.nav-links.show {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 80px;
  right: 20px;
  background: #fff;
  padding: 20px;
  gap: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* HERO SECTION */
.hero {
  height: 95vh;           /* shorter hero height */
  padding-top: 30px;      /* moves everything up */
  display: flex;
  align-items: flex-start; /* move content to the TOP */
  background: white;
  margin-top: -90px;
}


.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* MAIN TITLE */
.hero-text h1 {
  font-size: 6rem;        /* bigger text */
  font-weight: 900;
  line-height: 1.1;       /* tighter spacing */
  color: #000;
  padding-bottom: px;
}

.hero-text h1 {
  margin-top: 100px;      /* add space above title */
  margin-bottom: 0.5rem;  /* less space under title */
}


/* SUBTITLE */
.hero-text p {
  font-size: 1.5rem;
  max-width: 550px;
  color: #555;
  margin-top: 1rem;
}


.steps-section {
  padding: 4rem 0;
  margin-top: 1rem;   /* keeps it closer to hero */
}


.features {
  padding: 6rem 0;
}

.trusted {
  padding: 6rem 0;
}

.cta-button {
  display: inline-block;
  padding: 12px 28px;
  background: #333;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  transition: 0.2s;
}

.cta-button:hover {
  background: #555;
}

/* CHARTS */
.charts-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.chart-item {
  text-align: center;
}

.chart-title {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #666;
}

.pie-chart {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: 50%;
  background: conic-gradient(
    #4CAF50 0deg 72deg,
    #90EE90 72deg 144deg,
    #2196F3 144deg 252deg,
    #87CEEB 252deg 324deg,
    #FF6B6B 324deg 360deg
  );
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.line-chart {
  width: 100%;
  max-width: 280px;
  height: 200px;
  margin: 0 auto;
  background: #f1f1f1;
  border-radius: 10px;
}

/* STEPS SECTION */
.steps-section {
  text-align: center;
  padding: 4rem 0;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.step {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  width: 250px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.step-icon {
  font-size: 40px;
  margin-bottom: 1rem;
}

/* FEATURES */
.features {
  background: #fff;
  padding: 3rem 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.feature {
  text-align: center;
  background: #fefefe;
  padding: 1.5rem;
  border-radius: 10px;
  width: 260px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.icon {
  font-size: 40px;
  margin-bottom: 1rem;
}

/* TRUSTED BY */
.trusted {
  padding: 4rem 0;
  text-align: center;
}

.trusted-logos {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.logo-box {
  font-size: 40px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* FOOTER */
footer {
  background: #111;
  color: white;
  padding: 3rem 0;
  margin-top: 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
}

.footer-links a {
  display: block;
  color: #bbb;
  text-decoration: none;
  margin: 4px 0;
}

.footer-bottom {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.footer-bottom a {
  color: #aaa;
  text-decoration: none;
}

.socials {
  display: flex;
  gap: 1rem;
}

.socials .icon {
  font-size: 30px;
}


@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }
}