/* ==========================================================================
   SKOOL UNICORN (SU-FUNNEL) / TUDOR CRIȘAN DESIGN SYSTEM
   Direct response architecture matching 3d1k-funnel & tudorbuilds.com
   High contrast, Crimson Red (#dc2626) accents, Georgia Serif headings,
   Crisp modern typography, mobile responsive, authoritative layouts.
   ========================================================================== */

:root {
  --primary-red: #dc2626;
  --primary-red-hover: #b91c1c;
  --text-dark: #111827;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --border-dark: #111827;
  --bg-light: #f9fafb;
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --font-serif: Georgia, "Noto Serif", "Times New Roman", Times, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  background-color: var(--bg-page);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Headings with Georgia Serif */
h1, h2, h3, h4, h5, h6, .serif {
  font-family: var(--font-serif);
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

/* Top Navigation Header (Black Bar matching Sam Ovens & 3D1K) */
.header-bar {
  background-color: #000000;
  color: #ffffff;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.brand-badge::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  background: var(--primary-red);
  border-radius: 50%;
  border: 2px solid #000000;
}

.brand-name {
  color: #ffffff !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-decoration: none !important;
  font-family: var(--font-serif) !important;
  line-height: 1.2;
}

.btn-lock-nav {
  display: inline-flex;
  align-items: center;
  background: #111827;
  color: #f9fafb;
  border: 1.5px solid #374151;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.btn-lock-nav:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.btn-lock-nav svg {
  margin-right: 6px;
  vertical-align: -1px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.15s ease;
}

.header-nav a:hover {
  color: var(--primary-red);
}

.header-nav a.highlight-link {
  color: #ffffff;
  background-color: var(--primary-red);
  padding: 8px 16px;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.header-nav a.highlight-link:hover {
  background-color: var(--primary-red-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Main Container Layouts */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  flex: 1;
  width: 100%;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  flex: 1;
  width: 100%;
}

.container-wide {
  max-width: 1380px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  flex: 1;
  width: 100%;
}

/* Red Action Button */
.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary-red);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-red:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
  color: #ffffff;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 6px;
  border: 2px solid #111827;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-outline-dark:hover {
  background-color: #111827;
  color: #ffffff;
}

/* Eyebrows & Accents */
.eyebrow {
  color: var(--primary-red);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: inline-block;
  font-family: var(--font-mono);
}

.badge-tag {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* Cards & Brutalist Boxes */
.card-box {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 5px 5px 0px #000000;
  margin-bottom: 24px;
}

/* Footer (Matching tudorbuilds & 3d1k: white background, normal text) */
.footer-bar {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 32px 24px;
  width: 100%;
  margin-top: auto;
}

.footer-container,
.footer-content {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: #4b5563;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #374151;
  font-weight: 500;
  white-space: nowrap;
}

.footer-brand .footer-sep {
  color: #9ca3af;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--primary-red);
}

@media (max-width: 768px) {
  .container,
  .container-narrow,
  .container-wide {
    padding: 24px 16px 48px;
  }
  .header-bar {
    padding: 14px 18px;
    flex-direction: column;
    gap: 12px;
  }
  .header-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .footer-container,
  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  .footer-brand {
    justify-content: center;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
    text-align: center;
    gap: 16px;
  }
}

/* Black Rounded Floating Pop-Up Toast Bar */
.toast-notice {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(40px) scale(0.92);
  background: #000000;
  color: #ffffff;
  padding: 13px 26px;
  border-radius: 9999px; /* pure rounded black pill */
  font-family: var(--font-mono, monospace);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1.5px solid #27272a;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12);
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              visibility 0.25s;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  max-width: 90vw;
}

.toast-notice.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.toast-notice svg {
  flex-shrink: 0;
}
