/* =====================
   RESET & BASE
===================== */
* {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.65;
  color: #0f172a;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 40%);
}

/* =====================
   LAYOUT
===================== */
.container {
  width: min(100% - 2rem, 1150px);
  margin-inline: auto;
}

/* =====================
   HEADER
===================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 12px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between; /* pushes menu right */
}

/* Logo area */
.logo-wrap {
  display: flex;
  align-items: center;
}

.site-logo {
  max-height: 45px;
  width: auto;
  margin-right: 10px;
}

.logo {
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  color: #222;
}

.logo span {
  color: #007bff;
}

/* Navigation */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex; /* horizontal menu */
}

.main-nav li {
  margin-left: 22px;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.main-nav a:hover {
  color: #007bff;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}


.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}




nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  font-weight: 600;
  color: #334155;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #0ea5e9;
  transition: width 0.25s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* =====================
   HERO
===================== */
.hero {
  background:
    radial-gradient(circle at top right, rgba(14,165,233,0.25), transparent 40%),
    linear-gradient(135deg, #1e3a8a, #0284c7);
  color: #ffffff;
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  max-width: 520px;
  color: #e0f2fe;
}

.hero img {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* CTA Button */
.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.6rem;
  background: linear-gradient(135deg, #ffffff, #e0f2fe);
  color: #1e3a8a;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* =====================
   SECTIONS
===================== */
section {
  margin: 4rem 0;
}

section > h2 {
  font-size: 1.9rem;
  margin-bottom: 1.2rem;
  color: #020617;
}

/* =====================
   CARDS
===================== */
.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 8px 30px rgba(15,23,42,0.06);
  margin-top: 1.5rem;
}

.card ul {
  padding-left: 1.2rem;
  margin-top: 1rem;
}

/* =====================
   LINKS
===================== */
a {
  color: #0284c7;
}

a:hover {
  text-decoration: underline;
}

/* =====================
   FOOTER
===================== */
.site-footer {
  margin-top: 5rem;
  background:
    linear-gradient(135deg, #020617, #0f172a);
  color: #cbd5f5;
  text-align: center;
  padding: 2rem 1rem;
}

/* =====================
   RESPONSIVE
===================== */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}
.tools-video {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
  text-align: center;
}

.tools-video h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.tools-video p {
  color: #555;
  margin-bottom: 25px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
