/*
Theme Name: GSA Launch
Theme URI: https://globalselleralliance.com
Author: Global Seller Alliance
Description: Bilingual launch theme for Global Seller Alliance.
Version: 1.0.0
Text Domain: gsa-launch
*/

:root {
  --orange: #f07020;
  --orange-dark: #c75410;
  --ink: #25211e;
  --muted: #6f665e;
  --line: #eadfd6;
  --warm: #fff8f1;
  --cream: #fbf1e7;
  --teal: #167c76;
  --teal-soft: #e8f4f2;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--white);
}
a { color: inherit; text-decoration: none; }
.topbar {
  height: 34px;
  background: var(--ink);
  color: rgba(255,255,255,.78);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
header {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 144px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(1320px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  min-width: 380px;
}
.logo img {
  height: auto;
  width: 360px;
  max-height: 116px;
  object-fit: contain;
}
.brand-name {
  font-size: 15px;
  line-height: 1.05;
  font-weight: 850;
  color: var(--orange);
  text-transform: uppercase;
}
.site-url {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}
.lang-switch {
  height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}
.lang-switch span, .lang-switch a {
  padding: 0 10px;
  height: 100%;
  display: inline-flex;
  align-items: center;
}
.lang-switch .active {
  color: white;
  background: var(--orange);
}
.nav-cta {
  border: 0;
  background: var(--orange);
  color: white;
  height: 42px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 750;
  box-shadow: 0 12px 26px rgba(240,112,32,.24);
}
.hero {
  background: linear-gradient(180deg, var(--warm) 0%, #fff 68%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 690px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 58px;
  align-items: center;
  padding: 72px 0 64px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(240,112,32,.34);
  border-radius: 999px;
  color: var(--orange-dark);
  background: rgba(240,112,32,.08);
  font-size: 13px;
  font-weight: 750;
}
h1 {
  margin: 24px 0 18px;
  font-size: 64px;
  line-height: 1.03;
  letter-spacing: 0;
  max-width: 620px;
}
.hero p {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}
.actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  font-size: 15px;
}
.btn.primary {
  color: white;
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 16px 36px rgba(240,112,32,.28);
}
.stats {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.stat { padding: 22px 20px 0 0; }
.stat strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.hero-visual {
  position: relative;
  min-height: 580px;
}
.hero-video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(37,33,30,.12);
}
.hero-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}
.hero-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hero-video-info {
  padding: 24px;
}
.hero-video-info h3 {
  margin: 14px 0 10px;
  font-size: 28px;
  line-height: 1.16;
}
.hero-video-info p {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}
.hero-video-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 210px;
  gap: 18px;
  align-items: stretch;
}
.photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 60px rgba(37,33,30,.12);
}
.photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.52));
}
.photo.large {
  grid-row: span 2;
  background-image: url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=900&q=80");
}
.photo.shop { background-image: url("https://images.unsplash.com/photo-1607083206968-13611e3d76db?auto=format&fit=crop&w=700&q=80"); }
.photo.product { background-image: url("https://images.unsplash.com/photo-1586880244406-556ebe35f282?auto=format&fit=crop&w=700&q=80"); }
.caption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: white;
  font-size: 14px;
  font-weight: 750;
}
.floating-panel {
  position: absolute;
  right: 28px;
  bottom: 10px;
  width: 315px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(37,33,30,.16);
  padding: 18px;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.launch-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.launch-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--orange);
  font-weight: 900;
}
.launch-row strong { display: block; font-size: 14px; }
.launch-row span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.chip {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 750;
}
section {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.08;
}
.section-head p {
  margin: 0;
  max-width: 460px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}
.filters {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.filter {
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.filter.active { color: white; background: var(--ink); border-color: var(--ink); }
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.short-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(40, 35, 29, .08);
}
.short-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #111;
  overflow: hidden;
}
.short-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.short-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.62);
  color: white;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}
.short-content {
  padding: 14px;
}
.short-content h3 { margin: 0; font-size: 18px; line-height: 1.18; }
.short-content p { margin: 8px 0 12px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.light-tag {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: white;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
}
.light-tag.dark {
  background: var(--warm);
  color: var(--ink);
}
.products-band {
  background: var(--warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.orange-tag {
  min-height: 25px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: rgba(240,112,32,.1);
  font-size: 12px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
}
.sponsor-band {
  background: #fff;
  border-top: 1px solid var(--line);
}
.sponsor-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 26px;
  align-items: stretch;
}
.sponsor-panel {
  border-radius: 8px;
  background: var(--ink);
  color: white;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.sponsor-panel:after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 42px solid rgba(240,112,32,.24);
}
.sponsor-panel h3 {
  margin: 18px 0 12px;
  font-size: 30px;
  line-height: 1.12;
  position: relative;
}
.sponsor-panel p {
  margin: 0 0 24px;
  color: rgba(255,255,255,.74);
  line-height: 1.6;
  position: relative;
}
.sponsor-panel .btn {
  position: relative;
  border-color: var(--orange);
}
.sponsor-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sponsor-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--warm);
  padding: 22px;
}
.sponsor-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.sponsor-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
  font-size: 14px;
}
.rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.rights-card {
  border: 1px solid rgba(240,112,32,.22);
  border-radius: 8px;
  padding: 20px;
  background: white;
  box-shadow: 0 16px 34px rgba(40, 35, 29, .06);
}
.rights-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}
.rights-card span {
  display: block;
  color: var(--muted);
  line-height: 1.48;
  font-size: 14px;
}
.archive-hero {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 54px;
}
.archive-hero h1 {
  margin: 20px 0 14px;
  max-width: 780px;
}
.archive-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.post-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(40, 35, 29, .08);
}
.post-card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: var(--warm);
  color: var(--orange);
  font-size: 34px;
  font-weight: 950;
  overflow: hidden;
}
.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card-body {
  padding: 20px;
}
.post-card-body h3 {
  margin: 14px 0 10px;
  font-size: 22px;
  line-height: 1.18;
}
.post-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}
.post-meta,
.single-meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}
.pagination-wrap {
  margin-top: 34px;
}
.pagination-wrap .nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pagination-wrap a,
.pagination-wrap span {
  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pagination-wrap .current {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--warm);
  padding: 34px;
}
.empty-state h3 {
  margin: 0 0 10px;
  font-size: 28px;
}
.empty-state p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.6;
}
.single-wrap {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 34px;
}
.single-kicker {
  margin-bottom: 18px;
}
.single-wrap h1 {
  margin: 0 0 12px;
  max-width: 860px;
}
.single-cover {
  margin: 34px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 58px rgba(37,33,30,.12);
}
.single-cover img {
  width: 100%;
  height: auto;
  display: block;
}
.single-content {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.78;
}
.single-content p,
.single-content ul,
.single-content ol {
  margin: 0 0 22px;
}
.single-content h2,
.single-content h3 {
  margin: 34px 0 14px;
  line-height: 1.2;
}
.single-content img,
.single-content iframe,
.single-content video {
  max-width: 100%;
}
.single-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.community-layout {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 22px;
  align-items: stretch;
}
.community-window {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--warm);
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 42px rgba(40, 35, 29, .08);
}
.community-window-bar {
  min-height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: white;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.community-window-bar span {
  color: var(--ink);
}
.community-window-bar a {
  color: var(--orange-dark);
}
.community-window iframe {
  width: 100%;
  height: 472px;
  border: 0;
  background: white;
}
.community-fallback {
  position: absolute;
  inset: 78px 42px 42px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(240,112,32,.2);
  pointer-events: none;
}
.community-fallback .btn {
  pointer-events: auto;
}
.community-fallback strong {
  font-size: 28px;
}
.community-fallback p {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.55;
}
.community-cards {
  display: grid;
  gap: 14px;
}
.community-card,
.community-link-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 20px;
  display: grid;
  gap: 8px;
}
.community-card strong,
.community-link-card strong {
  font-size: 18px;
}
.community-card span,
.community-link-card span {
  color: var(--muted);
  line-height: 1.48;
  font-size: 14px;
}
.community-link-card {
  background: var(--ink);
  color: white;
}
.community-link-card span {
  color: rgba(255,255,255,.72);
  word-break: break-all;
}
.cta-band {
  width: min(1200px, calc(100% - 40px));
  margin: 74px auto;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  padding: 48px 54px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  overflow: hidden;
  position: relative;
}
.cta-band:before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  right: -140px;
  top: -120px;
  border: 52px solid rgba(240,112,32,.26);
}
.cta-band h2 { margin: 0 0 10px; font-size: 34px; position: relative; }
.cta-band p { margin: 0; color: rgba(255,255,255,.72); max-width: 680px; line-height: 1.55; position: relative; }
.cta-band .btn { position: relative; border-color: var(--orange); }
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  min-height: 62px;
  padding: 10px 16px 10px 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: #25d366;
  color: white;
  box-shadow: 0 18px 42px rgba(37, 211, 102, .32);
}
.wa-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: white;
  color: #19a954;
  font-weight: 950;
  font-size: 20px;
}
.wa-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.wa-copy strong {
  font-size: 14px;
  font-weight: 850;
}
.wa-copy em {
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  opacity: .88;
}
@media (max-width: 980px) {
  header { height: auto; position: relative; }
  .nav { padding: 16px 0; align-items: flex-start; flex-direction: column; }
  .logo { min-width: min(100%, 380px); }
  .logo img { width: min(100%, 360px); height: auto; max-height: 116px; }
  nav {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-inner, .cta-band, .sponsor-layout, .community-layout, .archive-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; }
  .hero-inner {
    display: flex;
    flex-direction: column;
    min-height: auto;
    gap: 18px;
    padding: 14px 0 36px;
  }
  .hero-inner > div:first-child { order: 2; }
  .hero-visual {
    order: 1;
    width: 100%;
  }
  .hero-video-info { display: none; }
  .hero-video-card { box-shadow: 0 18px 38px rgba(37,33,30,.12); }
  .floating-panel { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 18px; }
  .shorts-grid { grid-template-columns: 1fr 1fr; }
  .rights-grid { grid-template-columns: 1fr; }
  h1 { font-size: 46px; }
  .archive-hero h1, .single-wrap h1 { font-size: 44px; }
}
@media (max-width: 640px) {
  .visual-grid, .shorts-grid, .stats, .sponsor-cards { grid-template-columns: 1fr; }
  .logo { min-width: 100%; }
  .logo img { width: min(100%, 360px); }
  .hero-inner {
    width: min(100% - 28px, 1200px);
  }
  .eyebrow { margin-top: 8px; }
  .actions { margin-top: 24px; }
  .stats { margin-top: 28px; }
  h1 { font-size: 38px; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .community-window { min-height: 420px; }
  .community-window iframe { height: 372px; }
  .community-window-bar { align-items: flex-start; flex-direction: column; padding: 12px 14px; }
  .community-fallback { inset: 92px 16px 16px; padding: 22px; }
  .community-fallback strong { font-size: 22px; }
  .archive-hero { padding: 48px 0 30px; }
  .archive-hero h1, .single-wrap h1 { font-size: 36px; }
  .single-content { font-size: 16px; }
  .post-card-body { padding: 18px; }
  .sponsor-panel { padding: 26px 22px; }
  .cta-band { padding: 32px 24px; }
  .whatsapp-float { right: 14px; bottom: 14px; min-height: 54px; padding: 8px; }
  .wa-copy { display: none; }
}
