/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
:root {
  --brand: #0ea5e9;
  --brand-dark: #0284c7;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 25px rgba(2,8,23,0.08);
}

/* GLOBAL STYLES */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: var(--ink);
  background: url('https://39646145.fs1.hubspotusercontent-na1.net/hubfs/39646145/bg-desktop@3x.webp') center/cover no-repeat;
}

/* HEADER & NAVIGATION */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15,23,42,.08);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .2px;
}

.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
}

.links a:hover { color: var(--brand-dark); }

.pill {
  background: var(--brand);
  color: #fff !important;
  padding: .55rem .9rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

/* HAMBURGER MENU */
#nav-toggle { display: none; }
.hamburger {
  display: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  display: block;
}

.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }

@media (max-width:900px) {
  .links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  #nav-toggle:checked ~ .links { display: flex; }
  .hamburger { display: flex; }
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,8,23,.45), rgba(2,8,23,.55));
  z-index: 0;
}

.hero .bg {
  position: absolute;
  inset: 0;
  background: url('https://www.codeninjas.com/hubfs/logo-desktop-final_1@2.5x.webp') center/cover no-repeat;
  z-index: -1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4rem 1rem;
  max-width: 1100px;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
  margin: 0 0 .75rem;
  font-weight: 900;
}

.hero p {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  font-size: clamp(1rem, 1.1vw, 1.2rem);
}

.hero .cta {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  padding: .9rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.hero .cta:hover { background: #e2e8f0; }

/* SECTIONS & GRID */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  margin: 0 0 1rem;
}

.section-desc { color: var(--muted); margin: 0 0 2rem; }

.grid { display: grid; gap: 1.5rem; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width:900px) { .cols-3 { grid-template-columns: 1fr; } }

/* CARDS & TILES */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  
}

.card img { width: 100%; height: 360px; object-fit: cover; }

.card-body { padding: 1rem 1.25rem 1.25rem; }

.card h3 { margin: .25rem 0 .5rem; font-size: 1.1rem; }

.badge {
  display: inline-block;
  font-size: .75rem;
  background: #e0f2fe;
  color: #075985;
  padding: .2rem .5rem;
  border-radius: 999px;
  font-weight: 700;
}



.link {
  display: inline-block;
  margin-top: .6rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--brand);
}

.link:hover { color: var(--brand-dark); }

.tile {
  position: relative;
  height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(2,8,23,.55));
}

.tile-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #fff;
  font-weight: 900;
  letter-spacing: .2px;
}

/* STEPS & FINDER */
.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width:900px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: center;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e0f2fe;
  color: #075985;
  font-weight: 900;
  font-size: 1.2rem;
}

.finder {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.finder-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem;
}

.finder input {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .9rem 1rem;
  font-size: 1rem;
}

.finder button {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: .9rem 1.1rem;
  border-radius: 12px;
  font-weight: 800;
}

.finder button:hover { background: var(--brand-dark); }

/* FOOTER */
footer { background: #0b1220; color: #cbd5e1; margin-top: 3rem; }

.foot {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

@media (max-width:900px) { .foot { grid-template-columns: 1fr; } }

.foot h4 { margin: 0 0 .6rem; color: #e2e8f0; }
.foot a {
  display: block;
  text-decoration: none;
  color: #cbd5e1;
  margin: .25rem 0;
  font-size: .95rem;
}
.foot a:hover { color: #fff; }

.brand-alt {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.brand-alt .brand-badge { background: #1f2937; }
.brand-title { font-weight: 900; color: #fff; }

.copyright {
  border-top: 1px solid rgba(148,163,184,.25);
  text-align: center;
  padding: 1rem;
  font-size: .9rem;
}
iframe{
  display: block;
  margin-right: auto;
  margin-left: auto;
  height: 340px;
  width: 600px;
  border-radius: 6px;
  padding-top: 40px;
}
