@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg: #f3f8ff;
  --surface: #ffffff;
  --surface-2: #f3f8ff;
  --text: #0b1f4d;
  --muted: #5a6a8a;
  --border: #e4eaf4;
  --primary: #0b1f4d;
  --accent: #0b1f4d;
  --accent-soft: #e8f0ff;
  --gold: #d4af37;
  --shadow: 0 4px 24px rgba(11, 31, 77, 0.07);
  --radius: 20px;
  --max-width: 1180px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f8ff;
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0b1f4d;
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: 0 4px 24px rgba(11, 31, 77, 0.22);
}

.nav-container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  overflow: visible;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: 0.2s ease;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: #d4af37;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-outline {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
}

.btn-outline:hover {
  background: #f9fafb;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.card-link {
  color: var(--accent);
  font-weight: 700;
  display: inline-block;
  margin-top: 12px;
}

/* HERO */
.resources-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 42px;
  text-align: center;
}

.resources-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 820px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), transparent 68%);
  pointer-events: none;
}

.resources-hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.resources-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  max-width: 850px;
  margin: 0 auto 18px;
}

.hero-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--muted);
}

.section-header {
  text-align: center;
  margin-bottom: 26px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-subtitle {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* GENERAL SECTION SPACING */
.resource-section,
.video-section,
.sample-section,
.tools-section,
.faq-section {
  padding: 24px 0 56px;
}

/* RESOURCE GRID */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

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

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.resource-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.resource-card p {
  color: var(--muted);
}

/* VIDEO GRID */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.video-thumb {
  height: 180px;
  border-radius: 16px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 700;
}

.video-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.video-card p {
  color: var(--muted);
}

.tutorial-btn {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}

/* SAMPLE GRID */
.sample-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.sample-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.sample-card.large {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
}

.sample-card.large p {
  color: #d1d5db;
}

.sample-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}

.sample-card.large .sample-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.sample-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.sample-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

/* TOOLS */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.tool-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.tool-card p {
  color: var(--muted);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.faq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.faq-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.faq-card p {
  color: var(--muted);
}

/* CTA */
.final-cta {
  padding: 10px 0 80px;
}

.cta-box {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 42px 24px;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  max-width: 860px;
  margin: 0 auto 12px;
}

.cta-box p {
  color: var(--muted);
  margin-bottom: 22px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .resource-grid,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sample-grid {
    grid-template-columns: 1fr;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .nav-container {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .faq-grid,
  .resource-grid,
  .video-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .resources-hero {
    padding-top: 60px;
  }
}

@media (max-width: 560px) {
  .nav-actions {
    width: 100%;
    justify-content: center;
  }

  .resource-card,
  .video-card,
  .sample-card,
  .tool-card,
  .faq-card {
    padding: 22px 18px;
  }

  .cta-box {
    padding: 34px 18px;
  }

  .video-thumb {
    height: 150px;
  }
}