/* =========================
   RESET
========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  background: #050b12;
  color: #ffffff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* =========================
   VARIABLES
========================= */

:root {
  --bg: #050b12;
  --bg-soft: #08111d;
  --card: #0c1522;

  --primary: #29e3d0;
  --primary-dark: #1ab8aa;

  --text: #ffffff;
  --text-soft: #a7b2c5;

  --border: rgba(255, 255, 255, 0.08);

  --radius: 18px;

  --shadow:
    0 20px 50px rgba(0, 0, 0, 0.30);

  --container: 1280px;
}

/* =========================
   LAYOUT
========================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 70px 20px;
}

/* =========================
   TYPOGRAPHY
========================= */

h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.05;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
}

p {
  color: var(--text-soft);
  font-size: 1rem;
}

span {
  color: var(--primary);
}

/* =========================
   LINKS
========================= */

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   HEADER
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 1000;

  background: rgba(5, 11, 18, 0.82);

  backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;

  padding: 0 24px;
  height: 74px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* logo */

.logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--primary);
}

/* nav */

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  color: #b4bfd3;
  font-size: 0.95rem;
  font-weight: 500;

  transition: 0.2s ease;
}

.nav-link:hover {
  color: white;
}

.nav-link.active {
  color: var(--primary);
}

/* button */

.header-btn {
  padding: 11px 18px;

  border-radius: 12px;

  background: rgba(41, 227, 208, 0.08);

  border: 1px solid rgba(41, 227, 208, 0.16);

  color: var(--primary);

  font-weight: 600;

  transition: 0.2s ease;
}

.header-btn:hover {
  background: rgba(41, 227, 208, 0.13);
}

/* mobile */

.mobile-menu-btn {
  display: none;
}

/* responsive */

@media (max-width: 860px) {

  .header-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;

    background: none;
    border: none;

    color: white;
    font-size: 1.5rem;

    cursor: pointer;
  }

  .nav-menu {
    position: absolute;

    top: 74px;
    left: 0;

    width: 100%;

    padding: 24px;

    background: #08111d;

    border-bottom: 1px solid rgba(255,255,255,0.06);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;

    opacity: 0;
    pointer-events: none;

    transform: translateY(-10px);

    transition: 0.25s ease;
  }

  .nav-menu.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

}

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

.hero,
.tools-hero {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding-top: 120px;
}

.hero-badge {
  display: inline-block;

  padding: 8px 18px;

  background: rgba(41, 227, 208, 0.08);

  border: 1px solid rgba(41, 227, 208, 0.20);

  border-radius: 999px;

  color: var(--primary);

  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;

  margin-bottom: 22px;
}

.hero p,
.tools-hero p {
  margin-top: 20px;
  font-size: 1.1rem;
}

/* =========================
   TABS
========================= */

.tabs,
.tools-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;

  margin-top: 40px;
}

.tabs button,
.tab-btn {
  border: none;
  cursor: pointer;

  background: #0d1625;
  color: #d8dfe9;

  padding: 14px 22px;

  border-radius: 14px;

  transition: 0.25s ease;
}

.tabs button:hover,
.tab-btn:hover {
  background: #132136;
}

.tabs .active,
.tab-btn.active {
  background: rgba(41, 227, 208, 0.12);
  color: var(--primary);
}

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

.tools-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(290px, 1fr));

  gap: 24px;

  max-width: 1300px;
  margin: 60px auto;
  padding: 0 20px;
}

/* =========================
   TOOL CARD
========================= */

.tool-card {
  background: linear-gradient(
    180deg,
    #09111d,
    #0b1522
  );

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 28px;

  transition: 0.25s ease;
}

.tool-card:hover {
  transform: translateY(-4px);

  border-color:
    rgba(41, 227, 208, 0.30);
}

.tool-card h2,
.tool-card h3 {
  margin-bottom: 12px;
}

.tool-card p {
  margin-bottom: 22px;
}

.tool-card a {
  display: inline-block;

  color: var(--primary);

  font-weight: 600;

  transition: 0.2s ease;
}

.tool-card a:hover {
  opacity: 0.8;
}

/* =========================
   TRUST SECTION
========================= */

.trust {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(250px, 1fr));

  gap: 20px;

  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px 100px;
}

.trust-card {
  background: #0a1420;

  border: 1px solid var(--border);

  padding: 28px;

  border-radius: var(--radius);
}

.trust-card h4 {
  margin-bottom: 10px;
  color: var(--primary);
}

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

footer {
  text-align: center;

  padding: 40px 20px;

  border-top: 1px solid var(--border);

  margin-top: 80px;
}

footer p {
  color: #7d889c;
  font-size: 0.95rem;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #08111d;
}

::-webkit-scrollbar-thumb {
  background: #143040;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e455a;
}

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

@media (max-width: 768px) {

  section {
    padding: 50px 16px;
  }

  .hero,
  .tools-hero {
    padding-top: 80px;
  }

  .tools-grid {
    margin-top: 40px;
  }

}