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

:root {
  --blue-dark: #042C53;
  --blue-mid: #185FA5;
  --blue-light: #E6F1FB;
  --blue-accent: #378ADD;
  --green-accent: #3B6D11;
  --amber: #EF9F27;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --border: rgba(0,0,0,0.1);
  --bg: #fff;
  --bg-alt: #f6f8fc;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(4,44,83,0.08);
  --shadow-lg: 0 8px 40px rgba(4,44,83,0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- NAV ---- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 68px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-nav .logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 900;
  color: var(--blue-dark);
  text-decoration: none; letter-spacing: -0.5px;
}
.site-nav .logo span { color: var(--blue-mid); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--blue-mid); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* Sister-site top utility bar */
.sister-bar {
  background: var(--blue-dark);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.01em;
}
.sister-bar-label {
  opacity: 0.9;
}
.sister-bar-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--amber); color: var(--blue-dark);
  padding: 4px 14px; border-radius: 100px;
  font-weight: 800; font-size: 13px;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.sister-bar-btn:hover {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}
.sister-bar-btn .sister-bar-arrow { font-weight: 900; transition: transform .2s; }
.sister-bar-btn:hover .sister-bar-arrow { transform: translate(2px, -2px); }
@media (max-width: 600px) {
  .sister-bar { font-size: 12px; padding: 7px 12px; gap: 8px; }
  .sister-bar-label { display: none; }
  .sister-bar-btn { padding: 5px 14px; font-size: 12px; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: var(--radius);
  font-family: 'Barlow', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none; border: none;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--blue-mid); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 4px 16px rgba(24,95,165,0.35); }
.btn-outline { background: transparent; color: var(--blue-mid); border: 2px solid var(--blue-mid); }
.btn-outline:hover { background: var(--blue-light); }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { background: var(--blue-light); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-lg { padding: 14px 30px; font-size: 17px; border-radius: 12px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: #c07a0a; box-shadow: 0 4px 16px rgba(239,159,39,0.4); }

/* ---- HERO ---- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0d3d72 60%, #185FA5 100%);
  color: #fff; overflow: hidden;
  padding: 90px 40px 80px;
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: 0.06;
  background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
}
.hero-content { position: relative; max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 600;
  color: #85B7EB; margin-bottom: 24px; letter-spacing: 0.04em;
}
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 900; line-height: 1.0;
  letter-spacing: -1px; margin-bottom: 22px;
}
.hero h1 em { color: var(--amber); font-style: normal; }
.hero p { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 540px; margin-bottom: 36px; line-height: 1.65; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px;
}
.hero-stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px; padding: 18px 22px; text-align: center; min-width: 160px;
}
.hero-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 34px; font-weight: 900; color: var(--amber); line-height: 1;
}
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* ---- SECTION SCAFFOLD ---- */
.section { padding: 72px 40px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--blue-dark); color: #fff; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4vw, 48px); font-weight: 900;
  letter-spacing: -0.5px; line-height: 1.1; margin-bottom: 12px;
}
.section-header p { font-size: 17px; color: var(--text-muted); }
.section-dark .section-header p { color: rgba(255,255,255,0.65); }

/* ---- TRADES GRID ---- */
.trades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px; max-width: 1100px; margin: 0 auto;
}
.trade-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 16px; text-align: center;
  background: var(--bg); cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.trade-card:hover { border-color: var(--blue-mid); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.trade-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.trade-name { font-size: 14px; font-weight: 700; }
.trade-count { font-size: 12px; color: var(--text-muted); }

/* ---- LISTING CARDS ---- */
.listings-container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.listing-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 24px;
  background: var(--bg); display: flex; gap: 20px;
  align-items: flex-start; transition: box-shadow .2s;
}
.listing-card:hover { box-shadow: var(--shadow); }
.listing-card.featured { border-color: var(--blue-mid); border-width: 2px; }
.listing-card.featured::before {
  content: none;
}
.listing-logo {
  width: 56px; height: 56px; border-radius: 12px; flex-shrink: 0;
  background: var(--blue-light); display: flex; align-items: center;
  justify-content: center; font-size: 22px; font-weight: 900;
  color: var(--blue-mid); font-family: 'Barlow Condensed', sans-serif;
}
.listing-body { flex: 1; }
.listing-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.listing-body p { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin-bottom: 10px; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 6px; }
.tag-blue { background: #deeefb; color: #0C447C; }
.tag-green { background: #dff0d0; color: #2d5a0e; }
.tag-amber { background: #fef0d0; color: #7a4e00; }
.tag-feat { background: var(--blue-mid); color: #fff; }
.tag-red { background: #fde8e8; color: #7a1c1c; }
.listing-action { flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px; max-width: 1100px; margin: 0 auto;
}
.price-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 20px;
  background: var(--bg); display: flex; flex-direction: column;
}
.price-card.popular { border: 2.5px solid var(--blue-mid); position: relative; }
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue-mid); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 100px;
  white-space: nowrap; letter-spacing: 0.05em;
}
.price-tier { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.price-amount { font-family: 'Barlow Condensed', sans-serif; font-size: 44px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.price-amount sup { font-size: 20px; vertical-align: top; margin-top: 8px; }
.price-period { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.price-features { flex: 1; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.pf { font-size: 13px; color: var(--text-muted); display: flex; gap: 8px; align-items: flex-start; }
.pf::before { content: "✓"; color: var(--blue-mid); font-weight: 700; flex-shrink: 0; font-size: 14px; }
.price-card .btn { width: 100%; justify-content: center; }

/* ---- VIDEO GRID ---- */

/* ---- FORMS ---- */
.form-section { max-width: 640px; margin: 0 auto; }
.form-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 36px 40px; box-shadow: var(--shadow-lg); }
.form-title { font-family: 'Barlow Condensed', sans-serif; font-size: 30px; font-weight: 900; margin-bottom: 6px; }
.form-sub { color: var(--text-muted); font-size: 15px; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
input, select, textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: 'Barlow', sans-serif; font-size: 15px; color: var(--text);
  background: var(--bg); transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(24,95,165,0.12); }
textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.form-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.checkbox-group { display: flex; gap: 10px; align-items: flex-start; }
.checkbox-group input { width: auto; margin-top: 2px; }
.checkbox-group label { font-size: 13px; font-weight: 400; margin: 0; }
.form-success { background: #dff0d0; border: 1.5px solid #7ac84b; border-radius: var(--radius); padding: 16px 18px; color: #2d5a0e; font-weight: 600; display: none; }
.form-error { background: #fde8e8; border: 1.5px solid #f08080; border-radius: var(--radius); padding: 16px 18px; color: #7a1c1c; font-weight: 600; display: none; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- PAYMENT / STRIPE ---- */
#card-element {
  padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); background: var(--bg);
  transition: border-color .2s;
}
#card-element.StripeElement--focus { border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(24,95,165,0.12); }
#card-errors { color: #a30000; font-size: 13px; margin-top: 6px; min-height: 18px; }
.payment-security { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); margin-top: 12px; }
.plan-summary {
  background: var(--blue-light); border: 1.5px solid rgba(24,95,165,0.2);
  border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px;
}
.plan-summary h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.plan-summary p { font-size: 13px; color: var(--text-muted); }
.plan-summary .plan-price { font-size: 24px; font-weight: 900; color: var(--blue-mid); font-family: 'Barlow Condensed', sans-serif; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--blue-dark); color: rgba(255,255,255,0.75);
  padding: 60px 40px 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 900; color: #fff; text-decoration: none; }
.footer-brand .logo span { color: var(--blue-accent); }
.footer-brand p { font-size: 14px; margin-top: 12px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ---- ALERT BANNER ---- */
.alert-bar {
  background: var(--amber); color: var(--blue-dark);
  text-align: center; padding: 10px 20px; font-size: 14px; font-weight: 700;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-stats { display: none; }
  .hero { padding: 60px 24px 56px; }
  .section { padding: 56px 24px; }
  .site-nav { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
}

/* ---- YOUTUBE SEARCH THUMBNAILS ---- */

/* ===== VIDEO CARDS ===== */
.video-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; max-width:1100px; margin:0 auto; }
.video-card { background:#fff; border-radius:12px; overflow:hidden; border:1.5px solid #e5e7eb; transition:transform .2s,box-shadow .2s; }
.video-card:hover { transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,0.12); }
.video-thumb { position:relative; padding-top:56.25%; background:#111; overflow:hidden; }
.yt-link { position:absolute; top:0; left:0; width:100%; height:100%; display:block; text-decoration:none; }
.yt-link img { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.yt-link:hover img { transform:scale(1.05); }
.yt-play-btn { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:64px; height:44px; background:rgba(220,0,0,0.9); border-radius:12px; display:flex; align-items:center; justify-content:center; pointer-events:none; z-index:2; transition:background .15s,transform .15s; box-shadow:0 3px 20px rgba(0,0,0,0.6); }
.yt-link:hover .yt-play-btn { background:#cc0000; transform:translate(-50%,-50%) scale(1.12); }
.yt-play-btn::after { content:''; border-style:solid; border-width:10px 0 10px 18px; border-color:transparent transparent transparent #fff; margin-left:4px; }
.video-info { padding:14px 16px; }
.video-info h4 { font-size:14px; font-weight:700; margin-bottom:4px; color:#1a1a1a; }
.video-info p  { font-size:12px; color:#6b7280; margin:0; }
