/* ============================================
   BUILT BUSY - Main Stylesheet
   builtbusy.com
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --bg:           #161c1e;
  --bg-cell:      #1c2427;
  --bg-border:    #12181a;
  --orange:       #ff8c00;
  --orange-dark:  #cc7000;
  --white:        #ffffff;
  --text:         #b9b9b9;
  --text-muted:   #7a8a8e;
  --card-bg:      #1e2a2e;
  --card-border:  #263035;
  --nav-height:   72px;
  --max-width:    1100px;
  --radius:       8px;
  --font:         'Poppins', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

/* --- Honeycomb Background --- */
.hc-bg {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32L28 66zM28 98L0 82V50l28-16 28 16v32L28 98z' fill='none' stroke='%2312181a' stroke-width='1.5'/%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32L28 66z' fill='%231c2427'/%3E%3C/svg%3E");
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  color: var(--white);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.text-orange { color: var(--orange); }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-underline {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin: 12px auto 32px;
  border-radius: 2px;
}
.section-underline.left { margin-left: 0; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
  border: none;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); opacity: 1; }
.btn-primary {
  background: var(--orange);
  color: var(--bg);
}
.nav-cta .btn-primary {
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover { background: var(--orange); color: var(--bg); }
.btn-sm { padding: 10px 22px; font-size: 0.875rem; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(22, 28, 30, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  height: 72px;
  width: 72px;
  object-fit: contain;
}
.nav-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo-text span { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Mobile Nav --- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--card-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 24px 24px;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    pointer-events: all;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--card-border);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta { margin-left: 0; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: calc(var(--nav-height) + 80px) 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.hero h1 {
  margin-bottom: 24px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 span { color: var(--orange); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 64px;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: var(--bg-cell);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32L28 66zM28 98L0 82V50l28-16 28 16v32L28 98z' fill='none' stroke='%2312181a' stroke-width='1.5'/%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32L28 66z' fill='%231c2427'/%3E%3C/svg%3E");
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.card-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(22,28,30,0.7) 100%);
}
.card-img-placeholder::after {
  content: attr(data-category);
  position: relative;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255,140,0,0.1);
  border: 1px solid rgba(255,140,0,0.3);
  padding: 4px 14px;
  border-radius: 20px;
}
.card-body { padding: 24px; }
.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
}
.card-excerpt {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.6;
}
.card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-meta-dot { color: var(--card-border); }

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================
   PILLARS SECTION
   ============================================ */
.pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s;
}
.pillar-card:hover { transform: translateY(-3px); }
.pillar-icon {
  width: 40px;
  height: 3px;
  background: var(--orange);
  margin-bottom: 16px;
  border-radius: 2px;
}
.pillar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.pillar-card p {
  font-size: 0.875rem;
  color: var(--text);
  margin: 0;
}

/* ============================================
   SUBSCRIBE SECTION / FORM
   ============================================ */
.subscribe-section {
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.subscribe-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.subscribe-box h2 { margin-bottom: 12px; }
.subscribe-box p { margin-bottom: 32px; }
.subscribe-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.subscribe-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.subscribe-input::placeholder { color: var(--text-muted); }
.subscribe-input:focus { border-color: var(--orange); }
.subscribe-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  text-align: center;
}
.page-header h1 { margin-bottom: 16px; }
.page-header p {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================
   BLOG POST CONTENT
   ============================================ */
.post-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.post-content h1 { margin-bottom: 24px; }
.post-content h2 { margin: 40px 0 16px; }
.post-content h3 { margin: 32px 0 12px; }
.post-content p { color: var(--text); margin-bottom: 1.2rem; }
.post-content ul, .post-content ol {
  padding-left: 24px;
  margin-bottom: 1.2rem;
  color: var(--text);
}
.post-content li { margin-bottom: 6px; }
.post-content strong { color: var(--white); }
.post-content blockquote {
  border-left: 3px solid var(--orange);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--card-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--white);
  font-style: italic;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--card-border);
}
.post-meta-item { font-size: 0.85rem; color: var(--text-muted); }
.post-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255, 140, 0, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--card-border);
  aspect-ratio: 4/5;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.about-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.15;
  z-index: -1;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   COMING SOON PAGE
   ============================================ */
.coming-soon-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.coming-soon-inner { max-width: 520px; }
.coming-soon-inner .logo-wrap {
  margin: 0 auto 32px;
  width: 80px;
}
.coming-soon-inner h1 { margin-bottom: 16px; }
.coming-soon-inner p { font-size: 1.05rem; margin-bottom: 32px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-cell);
  border-top: 1px solid var(--card-border);
  padding: 48px 0 28px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}
.footer-logo img { height: 40px; width: 40px; object-fit: contain; }
.footer-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo-text span { color: var(--orange); }
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}
.footer-links h5 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-copy a { color: var(--text-muted); }
.footer-copy a:hover { color: var(--orange); }

/* ============================================
   DISCLAIMER PAGE
   ============================================ */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.prose h2 { margin: 40px 0 12px; font-size: 1.3rem; }
.prose p, .prose li { color: var(--text); font-size: 0.95rem; }
.prose ul { padding-left: 20px; margin-bottom: 1rem; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--orange); }

/* ============================================
   UTILITY
   ============================================ */
.divider {
  height: 1px;
  background: var(--card-border);
  margin: 0;
}
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 140, 0, 0.12);
  color: var(--orange);
  margin-bottom: 16px;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
