:root {
  --bg: #020617;
  --card: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #22c55e;
  --border: #1f2933;
}

/* Reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #020617, #020617 40%, #020617);
  color: var(--text);
  line-height: 1.6;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}

/* Header */
header {
  padding: 20px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 50;
}

header h1 {
  font-size: 1.2rem;
  margin: 0;
  letter-spacing: 0.6px;
}

nav a {
  margin-left: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

nav a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 90px 6% 70px;
  max-width: 1100px;
  margin: auto;
  animation: fadeUp 0.9s ease forwards;
}

.hero h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.05rem;
  max-width: 720px;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-right: 12px;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.btn.primary {
  background: var(--accent);
  color: #022c22;
  border-color: var(--accent);
}

.btn:hover {
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 70px 6%;
  max-width: 1100px;
  margin: auto;
}

.section h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.section p {
  max-width: 750px;
  color: var(--muted);
}

/* Grid + Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 35px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.card h4 {
  margin-top: 0;
  margin-bottom: 8px;
}

/* CTA */
.cta {
  text-align: center;
  padding: 80px 6%;
  border-top: 1px solid var(--border);
}

.cta h3 {
  font-size: 2rem;
  margin-bottom: 14px;
}

/* Footer */
footer {
  padding: 30px 6%;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

footer a {
  color: var(--muted);
  margin-right: 15px;
}

footer a:hover {
  color: var(--text);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* MOBILE MENU FIX */
@media (max-width: 720px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  nav a {
    font-size: 0.9rem;
  }
}
/* HEADER STRUCTURE */
.header-inner{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* HAMBURGER BUTTON */
.menu-toggle{
  display:none;
  font-size:1.6rem;
  background:none;
  border:none;
  color:var(--text);
  cursor:pointer;
}

/* MOBILE MENU */
@media (max-width: 720px){
  .menu-toggle{
    display:block;
  }

  nav{
    display:none;
    width:100%;
    flex-direction:column;
    margin-top:14px;
    gap:14px;
  }

  nav a{
    padding:8px 0;
    border-bottom:1px solid var(--border);
  }

  nav.show{
    display:flex;
  }

  header{
    flex-direction:column;
    align-items:flex-start;
  }
}