/* ============================================
   BuildandTeach Technology LLC — Site Styles
   ============================================ */

:root {
  --bg: #0b0e14;
  --bg-elevated: #12161f;
  --bg-card: #161b26;
  --border: #232936;
  --text: #e8ebf1;
  --text-muted: #9aa4b7;
  --text-faint: #656e80;
  --accent: #5b8cff;
  --accent-2: #8b5cf6;
  --accent-soft: rgba(91, 140, 255, 0.12);
  --success: #34d399;
  --radius: 14px;
  --max-width: 1120px;
  --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Background glow ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px circle at 15% 0%, rgba(91, 140, 255, 0.12), transparent 60%),
    radial-gradient(600px circle at 85% 20%, rgba(139, 92, 246, 0.10), transparent 60%);
  pointer-events: none;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 20, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-logo {
  height: 36px;
  width: auto;
  max-height: 36px;
  max-width: min(200px, 55vw);
  display: block;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  box-sizing: content-box;
}

@media (min-width: 768px) {
  .brand-logo {
    height: 40px;
    max-height: 40px;
    max-width: 220px;
  }
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--bg-card);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 8px;
    gap: 2px;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 14px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--gradient);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.hero .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 1.12rem;
}

.hero .btn-group {
  justify-content: center;
}

/* ---------- Section ---------- */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin: 0;
}

/* ---------- Cards / Grid ---------- */
.grid {
  display: grid;
  gap: 24px;
}

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

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

@media (max-width: 860px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(91, 140, 255, 0.35);
  transform: translateY(-2px);
}

.app-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  flex-shrink: 0;
}

.app-icon.gig { background: linear-gradient(135deg, #22c55e, #0ea5e9); }
.app-icon.dance { background: linear-gradient(135deg, #f472b6, #a855f7); }
.app-icon.studio { background: linear-gradient(135deg, #5b8cff, #8b5cf6); }

.app-icon-img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 20px;
  object-fit: cover;
  background: #000;
  flex-shrink: 0;
}

.app-platform {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.app-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.app-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 20px;
  flex-grow: 1;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
}

.app-card .btn-group {
  margin-top: auto;
}

.app-card-links {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card-links .btn-group {
  margin-top: 0;
}

.app-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.social-link:hover {
  color: var(--text);
  border-color: var(--accent);
}

.social-link svg,
.social-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: currentColor;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.follow-apps {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.follow-apps h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.follow-apps > p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.follow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.follow-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.follow-name {
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- Feature list (icon rows) ---------- */
.feature-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.feature-row h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.feature-row p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

.stat .num {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

/* ---------- Timeline (About) ---------- */
.timeline {
  border-left: 2px solid var(--border);
  margin-left: 8px;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 4px var(--bg);
}

.timeline-item h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.timeline-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ---------- Values grid ---------- */
.value-card {
  text-align: left;
}

.value-card .feature-icon {
  margin-bottom: 16px;
}

/* ---------- Contact ---------- */
.contact-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
  transition: border-color 0.2s ease;
}

.contact-method:hover {
  border-color: var(--accent);
}

.contact-method .feature-icon {
  background: var(--gradient);
  color: #fff;
}

.contact-method .label {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 2px;
}

.contact-method .value {
  font-size: 0.98rem;
  font-weight: 600;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at 50% 0%, rgba(91, 140, 255, 0.15), transparent 70%);
}

.cta-banner > * {
  position: relative;
}

.cta-banner h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-banner p {
  color: var(--text-muted);
  margin: 0 0 28px;
}

.cta-banner .btn-group {
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

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

/* ---------- Page header (non-home pages) ---------- */
.page-header {
  padding: 64px 0 8px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.page-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- Legacy note ---------- */
.note {
  max-width: 620px;
  margin: 32px auto 0;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(91, 140, 255, 0.25);
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }


/* ---------- Contact form ---------- */
.contact-form-card {
  margin-bottom: 24px;
  padding: 28px;
}

.contact-form-card h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.contact-form-intro {
  margin: 0 0 20px;
  color: var(--muted, #9aa3b2);
  font-size: 0.95rem;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form .field {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted, #9aa3b2);
}

.contact-form .field span {
  font-weight: 600;
  color: #e8ecf4;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border, #2a3140);
  background: rgba(255,255,255,0.04);
  color: #e8ecf4;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #5b8cff;
  box-shadow: 0 0 0 3px rgba(91,140,255,0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form .btn {
  justify-self: start;
}

.contact-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.contact-sent {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: #b6f3e8;
}

@media (min-width: 900px) {
  .contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: start;
  }
  .contact-layout > .card {
    margin: 0;
  }
}

/* ---------- Legal / long-form content (Support, Terms, Privacy) ---------- */
.legal-updated {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.85rem;
  margin: 0 0 40px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 26px 0 10px;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin: 0 0 16px;
}

.legal-content ul,
.legal-content ol {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-content li { margin-bottom: 6px; }

.legal-content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(91, 140, 255, 0.35);
}

.legal-content a:hover { border-bottom-color: var(--accent); }

.legal-content strong { color: var(--text); }

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 40px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.legal-toc a {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--text);
  border-color: var(--accent);
}

/* ---------- Support page FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.support-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}

.support-app-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.support-app-link:hover { border-color: var(--accent); }

.support-app-link img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: #000;
  flex-shrink: 0;
}

.support-app-link .name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.support-app-link .sub {
  font-size: 0.78rem;
  color: var(--text-faint);
}
