/* ===========================
   EVERNEST LABS DESIGN SYSTEM
=========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}
.card img {
  transition: transform 0.35s ease;
}

.card:hover img {
  transform: scale(1.03);
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.25s;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92%);
  margin: auto;
}

/* ===========================
NAVIGATION
=========================== */

header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 180px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-weight: 500;
}

.nav-links a:hover {
  color: #2563eb;
}

.btn {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.25s;
}

.btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.btn-outline {
  background: white;
  border: 1px solid #d1d5db;
  color: #111827;
}

.btn-outline:hover {
  background: #f3f4f6;
}

/* ===========================
HERO
=========================== */

.hero {
  padding: 55px 0 95px;
  text-align: center;
  background:
    radial-gradient(circle at top left, #dbeafe, transparent 35%),
    radial-gradient(circle at bottom right, #d1fae5, transparent 35%), white;
}

.badge {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 26px;
}

.hero-logo {
  display: block;
  width: 500px;
  max-width: 80%;
  height: auto;
  margin: 0 auto 38px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 26px;
}

.gradient {
  background: linear-gradient(90deg, #2563eb, #38bdf8, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 760px;
  margin: auto;
  font-size: 22px;
  color: #475569;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ===========================
SECTIONS
=========================== */

section {
  padding: 100px 0;
}

.section-title {
  font-size: 46px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 18px;
}

.section-subtitle {
  text-align: center;
  font-size: 20px;
  color: #64748b;
  max-width: 760px;
  margin: 0 auto 60px;
}

/* ===========================
CARDS
=========================== */

.card {
  background: white;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
  border: 1px solid #eef2f7;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.1);
  border-color: #dbeafe;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

/* ===========================
CTA
=========================== */

.cta {
  padding: 90px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, #dbeafe, transparent),
    radial-gradient(circle at bottom right, #d1fae5, transparent), white;
  text-align: center;
}

.cta h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 20px;
  color: #64748b;
  margin-bottom: 35px;
}

/* ===========================
FOOTER
=========================== */

footer {
  padding: 70px 0;
  border-top: 1px solid #e5e7eb;
  background: white;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: #2563eb;
}

/* ===========================
RESPONSIVE
=========================== */

@media (max-width: 768px) {
  .nav-links {
    gap: 18px;
    font-size: 15px;
  }

  .hero {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-logo {
    width: 170px;
  }

  .section-title {
    font-size: 34px;
  }

  .cta {
    padding: 55px 30px;
  }

  .footer {
    text-align: center;
    justify-content: center;
  }
}
