/* ============================================================
   Defense Outreach — styles.css
   Brand: #220d38 (bg) / #f5c124 (gold) / #e8e8e8 (body) / #a89bbf (secondary)
   ============================================================ */

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

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #220d38;
  --gold:      #f5c124;
  --body-text: #e8e8e8;
  --secondary: #a89bbf;
  --btn-text:  #220d38;
  --divider:   rgba(245, 193, 36, 0.2);
  --card-bg:   rgba(255,255,255,0.04);
  --card-border: rgba(245, 193, 36, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--body-text);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  color: var(--gold);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout helpers ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

section {
  padding: 96px 0;
  border-top: 1px solid var(--divider);
  position: relative;
}
section:first-of-type { border-top: none; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--btn-text);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,193,36,0.35);
}
.btn-hero {
  font-size: 1.1rem;
  padding: 18px 48px;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
}
.btn-hero::after {
  content: ' →';
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn-hero:hover::after {
  transform: translateX(6px);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(245,193,36,0.08);
  transform: translateY(-2px);
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(34,13,56,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--secondary);
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta { margin-left: 24px; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.25s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(34,13,56,0.98);
  border-top: 1px solid var(--divider);
  padding: 0 24px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.mobile-menu.open {
  display: flex;
  max-height: 400px;
  padding: 16px 24px 24px;
}
.mobile-menu a {
  color: var(--secondary);
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
  transition: color 0.15s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); }

/* ── HERO ── */
.hero {
  padding: 120px 0 96px;
  border-top: none;
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--divider);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 28px;
}
.hero h1 { margin-bottom: 32px; }
.hero .subheadline {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--secondary);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}
.hero .subheadline-cta {
  margin-bottom: 48px;
  color: var(--body-text);
  font-weight: 500;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ── PROBLEM ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.problem-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 40px 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.problem-card:hover {
  border-color: rgba(245,193,36,0.4);
  transform: translateY(-4px);
}
.problem-icon {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.problem-card h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.problem-card p {
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ── TIDINGS OFFER ── */
.brand-name {
  font-family: 'Lora', Georgia, serif !important;
  font-style: italic !important;
  font-weight: 700;
  color: var(--gold);
}
.tidings-intro {
  max-width: 700px;
  margin: 0 auto 52px;
  text-align: center;
}
.tidings-intro .subheading {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 28px;
}
.tidings-intro p {
  color: var(--secondary);
  margin-bottom: 18px;
  line-height: 1.85;
}
.tidings-origin {
  margin-top: 36px;
  padding: 24px 28px;
  background: rgba(245, 193, 36, 0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  text-align: left;
}
.tidings-origin p {
  color: var(--secondary);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}
.deliverable-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 36px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.deliverable-card:hover {
  border-color: rgba(245,193,36,0.4);
  transform: translateY(-4px);
}
.deliverable-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 16px;
  line-height: 1;
}
.deliverable-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.deliverable-card p { color: var(--secondary); font-size: 0.95rem; }

.tidings-note {
  display: block;
  color: var(--secondary);
  font-size: 0.9rem;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin: 8px auto 0;
  max-width: fit-content;
}

/* ── NEWSLETTER SIGNUP ── */
.signup-section {
  background: rgba(245,193,36,0.04);
}
.signup-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.signup-inner h2 { margin-bottom: 16px; }
.signup-inner .subheading {
  color: var(--secondary);
  margin-bottom: 40px;
}
.signup-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; flex-direction: column; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.form-field label { font-size: 0.9rem; font-weight: 600; color: var(--body-text); }
.form-field .required { color: var(--gold); margin-left: 2px; }
input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  color: var(--body-text);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}
input[type="text"]::placeholder,
input[type="email"]::placeholder { color: var(--secondary); }
input[type="text"]:focus,
input[type="email"]:focus {
  border-color: rgba(245,193,36,0.5);
}
.signup-form .btn { width: 100%; font-size: 1rem; padding: 16px; }
.form-message {
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 24px;
}
.form-message.success { color: #6ee7b7; }
.form-message.error   { color: #f87171; }

/* ── PRICING ── */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 52px 44px;
  max-width: 640px;
  margin: 48px auto 0;
  text-align: center;
}
.pricing-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.pricing-item .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 8px;
}
.pricing-item .price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.pricing-item .sublabel {
  font-size: 0.9rem;
  color: var(--secondary);
  margin-top: 6px;
}
.pricing-divider {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 28px 0;
}
.anchor-line {
  color: var(--secondary);
  font-size: 0.95rem;
  margin-bottom: 32px;
  font-style: italic;
}

/* ── FIT SECTION ── */
.fit-list {
  list-style: none;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 680px;
}
.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.05rem;
  text-align: left;
}
.fit-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(245,193,36,0.12);
  border: 1px solid rgba(245,193,36,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.fit-check::after {
  content: '✓';
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ── BLOG ── */
.blog-hero { padding: 80px 0 56px; border-top: none; }
.blog-hero h1 { margin-bottom: 12px; }
.blog-hero p { color: var(--secondary); max-width: 540px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 16px;
}
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover {
  border-color: rgba(245,193,36,0.4);
  transform: translateY(-4px);
}
.blog-card-date {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 14px;
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.blog-card p {
  color: var(--secondary);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 24px;
}
.read-more {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: opacity 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.read-more:hover { opacity: 0.75; }
.read-more::after { content: '→'; }

/* ── BLOG POST ── */
.post-hero { padding: 80px 0 52px; border-top: none; }
.post-meta {
  font-size: 0.85rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.post-hero h1 { max-width: 800px; margin-bottom: 20px; }
.post-excerpt {
  font-size: 1.15rem;
  color: var(--secondary);
  max-width: 660px;
}
.post-body {
  max-width: 720px;
  padding-bottom: 96px;
}
.post-body h2 { margin: 48px 0 20px; }
.post-body h3 { margin: 36px 0 16px; }
.post-body p { margin-bottom: 1.4rem; }
.post-body ul, .post-body ol {
  padding-left: 24px;
  margin-bottom: 1.4rem;
}
.post-body li { margin-bottom: 8px; }
.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 32px 0;
  background: rgba(245,193,36,0.04);
  border-radius: 0 6px 6px 0;
  color: var(--secondary);
  font-style: italic;
}
.post-nav {
  border-top: 1px solid var(--divider);
  padding: 36px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.back-link {
  color: var(--secondary);
  font-size: 0.95rem;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.back-link::before { content: '←'; }
.back-link:hover { color: var(--gold); }

/* ── CONTACT / ABOUT ── */
.about-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.about-inner p { color: var(--secondary); margin-bottom: 1.4rem; }
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  justify-content: center;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--divider);
  padding: 56px 0 40px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
}
.footer-tagline {
  color: var(--secondary);
  font-size: 0.95rem;
  margin: 0;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--secondary);
  font-size: 0.9rem;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--gold); }
.footer-links a svg { width: 16px; height: 16px; fill: currentColor; }
.footer-copy {
  color: rgba(168,155,191,0.5);
  font-size: 0.82rem;
  margin: 0;
}

/* ── Section header helper ── */
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 16px;
  text-align: center;
}
.section-header { margin-bottom: 16px; text-align: center; }
.section-sub {
  color: var(--secondary);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .pricing-card { padding: 36px 24px; }
  .pricing-row { gap: 28px; }
  .pricing-item .price { font-size: 1.9rem; }

  .post-nav { flex-direction: column; align-items: flex-start; }

  .blog-grid { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }

  .social-links { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .footer-links { gap: 16px; }
}
