@import url('fonts/fonts.css');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0E0D0F;
  --bg2: #171518;
  --bg3: #221D22;
  --accent: #FF6A5C;
  --accent2: #EF3125;
  --cta: #2F7BF6;
  --cta-hover: #4D8DF8;
  --text: #F2EEF2;
  --text2: #9B939B;
  --border: #262126;
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,13,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 38px; background:#fff; border-radius:6px; padding:3px 8px; }
.nav-logo span { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--text); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text2); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--cta); color: #fff; padding: 8px 18px; border-radius: 6px; font-weight: 700; font-size: 0.85rem; text-decoration: none; font-family: var(--font-display); transition: opacity .2s; }
.nav-cta:hover { background: var(--cta-hover); }

/* SECTIONS */
section { padding: 80px 5%; }
.section-label { font-size: 0.75rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.2; }
h2.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--text); margin-bottom: 16px; }
.section-sub { color: var(--text2); font-size: 1.05rem; max-width: 580px; margin-bottom: 48px; }

/* CARDS */
.card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--accent2); transform: translateY(-3px); }

/* FOOTER */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 40px 5%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-logo img { height: 28px; }
.footer-logo span { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--text2); }
footer p { color: var(--text2); font-size: 0.82rem; }
footer a { color: var(--text2); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* BUTTONS */
.btn-primary { display: inline-block; background: var(--cta); color: #fff; padding: 14px 28px; border-radius: 8px; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: opacity .2s; }
.btn-primary:hover { background: var(--cta-hover); }
.btn-outline { display: inline-block; border: 1px solid var(--border); color: var(--text2); padding: 13px 27px; border-radius: 8px; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: border-color .2s, color .2s; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* UTIL */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media(max-width:520px){
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  nav .nav-links { display: none; }
  section { padding: 60px 6%; }
}
