/* BrightShadow2k — shared stylesheet.
   One copy for every page. Page-specific rules live in a <style> block on the
   page that needs them, never here. */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --navy: #0f172a;
      --navy2: #1e293b;
      --blue: #3b82f6;
      --blue2: #2563eb;
      --green: #10b981;
      --light: #f8fafc;
      --mid: #e2e8f0;
      --text: #1e293b;
      --muted: #64748b;
      --white: #ffffff;
    }

    body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
    a { color: inherit; text-decoration: none; }

    .container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

    /* HEADER */
    header { background: var(--navy); padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; }
    .logo { color: var(--white); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
    .logo span { color: var(--blue); }
    .header-links { display: flex; gap: 1.5rem; align-items: center; }
    .header-links a { color: #94a3b8; font-size: 0.9rem; transition: color 0.2s; }
    .header-links a:hover { color: var(--white); }
    .header-links .cta-small { background: var(--blue); color: var(--white) !important; padding: 0.5rem 1.2rem; border-radius: 6px; font-size: 0.9rem; font-weight: 600; }
    .header-links .cta-small:hover { background: var(--blue2); }
    @media (max-width: 640px) { .header-links a:not(.cta-small) { display: none; } }
  /* Nav highlight for Move to Vietnam + blinking pointer arrow */
  .header-links .nav-vn { background: #fde047; color: #0f172a; padding: 0.45rem 1rem; border-radius: 6px; font-weight: 700; }
  .header-links .nav-vn:hover { background: #facc15; color: #0f172a; }
  .nav-arrow { color: #fde047; font-size: 1.35rem; font-weight: 800; line-height: 1; animation: navBlink 1s steps(1, end) infinite; }
  @keyframes navBlink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
  .nav-vn .vn-short { display: none; }
  @media (max-width: 640px) {
    .nav-arrow { display: none; }
    .header-links { gap: 0.6rem; }
    .logo { font-size: 0.95rem; }
    .header-links a.nav-vn { display: inline-block; padding: 0.4rem 0.65rem; font-size: 0.8rem; white-space: nowrap; }
    .nav-vn .vn-full { display: none; }
    .nav-vn .vn-short { display: inline; }
    .header-links .cta-small { white-space: nowrap; padding: 0.45rem 0.8rem; font-size: 0.82rem; }
  }
  @media (prefers-reduced-motion: reduce) { .nav-arrow { animation: none; } }

    /* HERO */
    .hero { background: linear-gradient(135deg, #0f172a 0%, #1a3a5c 100%); color: var(--white); padding: 5rem 1.5rem 4rem; text-align: center; }
    .hero-eyebrow { display: inline-block; background: rgba(59,130,246,0.2); color: #93c5fd; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.9rem; border-radius: 20px; margin-bottom: 1.5rem; }
    .hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.2rem; }
    .hero h1 span { color: #60a5fa; }
    .hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: #94a3b8; max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7; }
    /* Says the archive exists before the page asks for money. Deliberately
       quiet — it is evidence, not a third competing call to action. */
    .hero p.hero-archive { font-size: 0.92rem; color: #93c5fd; margin: 1.8rem auto 0; max-width: 460px; }
    .hero p.hero-archive a { color: inherit; border-bottom: 1px solid rgba(147,197,253,0.35); padding-bottom: 1px; transition: border-color .2s; }
    .hero p.hero-archive a:hover { border-bottom-color: #93c5fd; }
    .hero p.hero-archive strong { color: #fff; font-weight: 700; }
    .hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
    .btn-primary { background: var(--blue); color: var(--white); padding: 0.9rem 2rem; border-radius: 8px; font-size: 1rem; font-weight: 600; transition: background 0.2s, transform 0.15s; display: inline-block; }
    .btn-primary:hover { background: var(--blue2); transform: translateY(-1px); }
    .btn-outline { border: 1.5px solid rgba(255,255,255,0.3); color: var(--white); padding: 0.9rem 2rem; border-radius: 8px; font-size: 1rem; font-weight: 500; transition: border-color 0.2s; display: inline-block; }
    .btn-outline:hover { border-color: rgba(255,255,255,0.7); }

    /* TRUST BAR */
    .trust-bar { background: var(--navy2); padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .trust-bar .container { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
    .trust-stat { text-align: center; color: var(--white); }
    .trust-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: #60a5fa; }
    .trust-stat span { font-size: 0.8rem; color: #64748b; letter-spacing: 0.04em; text-transform: uppercase; }

    /* SECTION BASE */
    section { padding: 5rem 1.5rem; }
    .section-label { text-align: center; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.75rem; }
    .section-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 1rem; }
    .section-sub { text-align: center; color: var(--muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto 3.5rem; line-height: 1.7; }

    /* FEATURED CONSULT CARD */
    .featured-cta { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border: 1px solid #bfdbfe; border-radius: 16px; padding: 2.5rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; margin-bottom: 2.5rem; }
    .featured-cta h3 { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
    .featured-cta p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; }
    .featured-cta ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
    .featured-cta ul li { color: var(--text); font-size: 0.9rem; padding-left: 1.4rem; position: relative; }
    .featured-cta ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
    .price-block { text-align: center; min-width: 160px; }
    .big-price { font-size: 2.8rem; font-weight: 800; color: var(--navy); line-height: 1; }
    .big-price span { font-size: 1rem; color: var(--muted); font-weight: 400; }
    .price-block p { font-size: 0.8rem; color: var(--muted); margin: 0.4rem 0 1.2rem; }
    @media (max-width: 640px) { .featured-cta { grid-template-columns: 1fr; } }

    /* PRODUCT CARDS */
    .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    @media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 580px) { .cards { grid-template-columns: 1fr; } }
    .card { background: var(--white); border: 1px solid var(--mid); border-radius: 12px; padding: 1.8rem; transition: box-shadow 0.2s, transform 0.2s; }
    .card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
    .card-icon { font-size: 2rem; margin-bottom: 0.8rem; }
    .card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
    .card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.2rem; }
    .card-price { font-size: 1.2rem; font-weight: 700; color: var(--green); margin-bottom: 1.2rem; }
    .btn-card { display: block; width: 100%; text-align: center; padding: 0.65rem 1rem; border-radius: 7px; font-size: 0.9rem; font-weight: 600; transition: all 0.2s; cursor: pointer; }
    .btn-blue { background: var(--blue); color: var(--white); }
    .btn-blue:hover { background: var(--blue2); }
    .btn-green { background: var(--green); color: var(--white); }
    .btn-green:hover { background: #059669; }
    .btn-ghost-card { border: 1.5px solid var(--mid); color: var(--text); }
    .btn-ghost-card:hover { border-color: var(--blue); color: var(--blue); }

    /* FREE SECTION */
    .free-section { background: var(--light); }
    .free-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
    @media (max-width: 768px) { .free-grid { grid-template-columns: 1fr; } }
    .free-links { display: flex; flex-direction: column; gap: 0.8rem; }
    .free-link-item { display: flex; align-items: center; gap: 1rem; background: var(--white); border: 1px solid var(--mid); border-radius: 10px; padding: 0.9rem 1.1rem; transition: border-color 0.2s; }
    .free-link-item:hover { border-color: var(--blue); }
    .fli-icon { font-size: 1.4rem; flex-shrink: 0; }
    .free-link-item h4 { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
    .free-link-item p { font-size: 0.82rem; color: var(--muted); }

    /* DISCORD FORM */
    .discord-form-card { background: var(--white); border: 1px solid var(--mid); border-radius: 12px; padding: 2rem; }
    .discord-form-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
    .discord-form-card > p { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.4rem; }
    .form-group { margin-bottom: 0.9rem; }
    .form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 0.35rem; }
    .form-group input { width: 100%; padding: 0.65rem 0.85rem; border: 1.5px solid var(--mid); border-radius: 7px; font-size: 0.92rem; font-family: inherit; transition: border-color 0.2s; }
    .form-group input:focus { outline: none; border-color: var(--blue); }
    .btn-submit { width: 100%; padding: 0.75rem; background: var(--navy); color: var(--white); border: none; border-radius: 7px; font-size: 0.92rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: background 0.2s; }
    .btn-submit:hover { background: var(--navy2); }
    .success-box { display: none; background: #d1fae5; border: 1px solid #6ee7b7; border-radius: 8px; padding: 1.2rem; text-align: center; margin-top: 1rem; color: #065f46; font-size: 0.9rem; }

    /* BLOG */
    .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    @media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 580px) { .blog-grid { grid-template-columns: 1fr; } }
    .blog-card { border: 1px solid var(--mid); border-radius: 12px; overflow: hidden; display: block; color: inherit; transition: box-shadow 0.2s, transform 0.2s; }
    .blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
    .blog-thumb { width: 100%; height: 155px; background: linear-gradient(135deg, #0f172a 0%, #1a3a5c 100%); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; overflow: hidden; }
    .blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .blog-body { padding: 1.1rem; }
    .blog-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.35rem; display: block; }
    .blog-body h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 0.45rem; }
    .blog-body p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin-bottom: 0.7rem; }
    .blog-meta { font-size: 0.72rem; color: #94a3b8; }
    .blog-view-all { text-align: center; margin-top: 2.5rem; }
    .btn-ghost { display: inline-block; border: 1.5px solid var(--mid); color: var(--text); padding: 0.7rem 1.8rem; border-radius: 7px; font-size: 0.92rem; font-weight: 500; transition: border-color 0.2s, color 0.2s; }
    .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

    /* MODAL */
    .modal-overlay { display: none; position: fixed; z-index: 999; inset: 0; background: rgba(0,0,0,0.5); align-items: center; justify-content: center; }
    .modal-overlay.open { display: flex; }
    .modal { background: var(--white); border-radius: 14px; padding: 2rem; max-width: 440px; width: 90%; position: relative; }
    .modal-close { position: absolute; top: 0.9rem; right: 1rem; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--muted); }
    .modal h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
    .modal > p { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.4rem; }

    /* FOOTER */
    footer { background: var(--navy); color: #64748b; padding: 3rem 1.5rem; }
    .footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
    @media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } }
    .footer-logo { color: var(--white); font-size: 1rem; font-weight: 700; display: block; margin-bottom: 0.7rem; }
    .footer-logo span { color: var(--blue); }
    .footer-inner > div > p { font-size: 0.85rem; line-height: 1.6; }
    footer h4 { color: #94a3b8; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.8rem; }
    footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
    footer ul li a { font-size: 0.85rem; color: #64748b; transition: color 0.2s; }
    footer ul li a:hover { color: #94a3b8; }
    .footer-bottom { max-width: 1100px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.78rem; text-align: center; }

/* ── Vietnam section ─────────────────────────────── */
    .vn-launch { display: inline-block; background: rgba(16,185,129,0.12); color: #047857; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.8rem; border-radius: 20px; margin-bottom: 0.9rem; }
    .vn-wrap { text-align: center; }
    .vn-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 820px; margin: 0 auto; text-align: left; }
    @media (max-width: 640px) { .vn-cards { grid-template-columns: 1fr; } }
    .vn-cards .card { display: flex; flex-direction: column; }
    .vn-cards .card p { flex-grow: 1; }
    .vn-was { font-size: 0.8rem; color: var(--muted); font-weight: 500; text-decoration: line-through; margin-left: 0.4rem; }
    .vn-note { text-align: center; color: var(--muted); font-size: 0.85rem; max-width: 640px; margin: 1.8rem auto 0; line-height: 1.6; }
    .vn-sub-h { text-align: center; font-size: 1.35rem; margin: 2.8rem 0 1.2rem; }

/* ── AI workshop banner + countdown ──────────────── */
.workshop-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem;background:linear-gradient(135deg,#10141b,#0a0c10);border:1px solid #1e2535;border-radius:16px;padding:1.6rem 1.8rem;margin-bottom:1.8rem}
.wb-left{flex:1 1 320px}
.wb-label{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#00d4aa;font-weight:700;margin:0 0 .4rem}
.workshop-banner h3{margin:0 0 .4rem;font-size:1.5rem;color:#fff}
.wb-sub{margin:0 0 1rem;color:#94a3b8;font-size:.95rem;max-width:48ch}
.wb-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}
.wb-link{color:#7c6fff;font-size:.88rem;text-decoration:none;font-weight:600}
.wb-link:hover{text-decoration:underline}
.wb-count{display:flex;gap:.7rem}
.wb-unit{background:#0a0c10;border:1px solid #1e2535;border-radius:10px;min-width:62px;padding:.6rem .3rem;text-align:center}
.wb-unit span{display:block;font-size:1.7rem;font-weight:800;color:#00d4aa;font-variant-numeric:tabular-nums;line-height:1}
.wb-unit small{display:block;margin-top:.3rem;font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;color:#64748b}

/* Active page in the nav */
.header-links a.nav-on { color: #fff; font-weight: 600; }

/* Secondary links under a section's main CTA */
.alt-links { text-align: center; margin-top: 1rem; font-size: .88rem; color: var(--muted); }
.alt-links a { color: var(--blue); font-weight: 600; }
.alt-links a:hover { text-decoration: underline; }
