:root {
  --primary: #4a24e8;
  --primary-light: #ede9fc;
  --primary-mid: #7b5df0;
  --secondary: #ff8000;
  --secondary-light: #fff3e6;
  --dark: #464646;
  --muted: #6c757d;
  --bg-soft: #f8f7ff;
  --border: #e8e4fb;
}


/* LOGO DOWNLOAD CARDS */
.logo-download-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.logo-download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(74, 36, 232, .1);
  border-color: var(--primary);
}

.logo-preview {
  padding: 2.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.logo-preview.dark-bg {
  background: linear-gradient(145deg, #0d0826, #1a0e5e);
}

.logo-preview.light-bg {
  background: var(--bg-soft);
}

.logo-preview.white-bg {
  background: #fff;
  border: 1px solid var(--border);
}

.logo-preview.primary-bg {
  background: linear-gradient(320deg, #230b83, #3d20b3);
}

.logo-preview img {
  max-height: 48px;
  max-width: 200px;
  object-fit: contain;
}

.logo-card-body {
  padding: 1.25rem .5rem;
}

.logo-card-body h5 {
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: .25rem;
}

.logo-card-body p {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: .9rem;
  line-height: 1.5;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: .45rem 1.1rem;
  font-size: .8rem;
  font-weight: 600;
  transition: background .2s, transform .15s;
  font-family: 'Inter', sans-serif;
}

.btn-download:hover {
  background: #3a17cc;
  color: #fff;
  transform: translateY(-1px);
}

.btn-download-sec {
  background: var(--primary-light);
  color: var(--primary);
}

.btn-download-sec:hover {
  background: var(--primary);
  color: #fff;
}

/* COLOR PALETTE */
.color-swatch {
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: transform .2s;
}

.color-swatch:hover {
  transform: translateY(-3px);
}

.swatch-block {
  height: 100px;
  width: 100%;
}

.swatch-body {
  padding: 1rem;
  background: #fff;
}

.swatch-body h6 {
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: .2rem;
}

.swatch-body .hex {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 400;
  margin-bottom: .25rem;
}

.swatch-body small {
  font-size: .72rem;
  color: var(--muted);
  display: block;
}

.copy-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .2rem .6rem;
  font-size: .7rem;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
  font-family: 'Inter', sans-serif;
  margin-top: .4rem;
}

.copy-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* TYPOGRAPHY */
.type-demo {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  height: 100%;
}

.type-demo .font-name {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 1rem;
}

.type-demo .use-case {
  font-size: .72rem;
  color: var(--muted);
  background: var(--bg-soft);
  padding: .25rem .65rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: .75rem;
}

/* PRESS CONTACT */
.press-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  transition: box-shadow .2s, transform .2s;
}

.press-card:hover {
  box-shadow: 0 8px 28px rgba(74, 36, 232, .1);
  transform: translateY(-2px);
}

.press-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.press-card h5 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: .35rem;
}

.press-card p {
  font-size: .84rem;
  color: #5a5a5a;
  margin-bottom: .85rem;
  line-height: 1.6;
}

.press-card a {
  color: var(--primary);
  font-weight: 600;
  font-size: .85rem;
}

/* USAGE GUIDELINES */
.guide-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: .75rem;
  border: 1px solid var(--border);
  background: #fff;
}

.guide-item.do {
  border-left: 4px solid #28a745;
}

.guide-item.dont {
  border-left: 4px solid #dc3545;
}

.guide-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: .05rem;
}

.guide-item h6 {
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: .25rem;
}

.guide-item p {
  font-size: .82rem;
  color: #5a5a5a;
  margin: 0;
  line-height: 1.6;
}

/* SOCIAL CARD */
.social-media-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}

.social-media-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 36, 232, .1);
}

.social-media-card .social-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto .9rem;
}

.social-media-card h6 {
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .25rem;
}

.social-media-card p {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .75rem;
}

.social-media-card a {
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
}

/* new Jul 14 */

/* ---------- On-page jump nav ---------- */
.jump-nav { border-bottom: 1px solid var(--border); background: var(--white); position: sticky; top: 64px; z-index: 10; }
.jump-nav .nav-link {
    color: var(--dark); font-weight: 600; font-size: .88rem;
    padding: 1rem .25rem; margin-right: 1.75rem; border-bottom: 2px solid transparent;
}
.jump-nav .nav-link:hover, .jump-nav .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); }


/* ---------- Featured news card ---------- */
.featured-news-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}
.featured-news-card:hover { transform: translateY(-3px); box-shadow: 0 14px 50px rgba(92,59,255,.18); }
.featured-news-media {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 60%, var(--primary) 130%);
    min-height: 260px;
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .6rem; padding: 2rem;
}
.featured-news-media::before {
    content:""; position:absolute; inset:0;
    background: radial-gradient(500px 260px at 85% 15%, rgba(255,128,0,.35), transparent 60%);
}
.featured-news-media i { position: relative; z-index: 1; font-size: 2.4rem; color: var(--secondary); }
.featured-news-media-lbl {
    position: relative; z-index: 1;
    font-family: 'Poppins'; font-weight: 700; font-size: 1.15rem; color: var(--white);
}
.featured-news-body { padding: 2.2rem; }
.featured-news-body h3 { font-weight: 600; font-size: clamp(1.25rem, 2.1vw, 1.55rem); }
.featured-news-body p { color: var(--muted); font-size: .95rem; }

.news-tag {
    display: inline-block; font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
    padding: .3rem .7rem; border-radius: 50px;
}
.tag-launch { background: var(--primary-light); color: var(--primary); }
.tag-product { background: var(--accent-dim); color: var(--accent); }
.tag-company { background: var(--blue-dim); color: var(--blue); }
.tag-press { background: var(--amber-dim); color: var(--amber); }

.news-card-meta { font-size: .8rem; color: var(--muted); }
.news-card-meta i { margin-right: .3rem; }
.news-read-more { font-weight: 600; font-size: .85rem; color: var(--primary); }
.featured-news-card:hover .news-read-more { color: var(--primary-dark); }

/* ---------- News grid cards ---------- */
.news-card {
    display: flex; flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card-media {
    height: 130px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--white);
}
.news-card-body { padding: 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.news-card-body h5 { font-weight: 600; font-size: 1.05rem; margin: .7rem 0 .5rem; color: var(--brand-dark); }
.news-card-body p { color: var(--muted); font-size: .88rem; flex-grow: 1; }
.news-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--border); }
.news-card:hover .news-read-more { color: var(--primary-dark); }

.grad-1 { background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%); }
.grad-2 { background: linear-gradient(135deg, var(--blue) 0%, var(--primary) 100%); }
.grad-3 { background: linear-gradient(135deg, var(--accent) 0%, #059669 100%); }
.grad-4 { background: linear-gradient(135deg, var(--secondary) 0%, var(--orange) 100%); }
.grad-placeholder { background: var(--gray-50); color: var(--primary-dark); }

.news-card-placeholder { border-style: dashed; box-shadow: none; opacity: .8; }
.news-card-placeholder:hover { transform: none; box-shadow: none; }

/* ---------- Logo download cards ---------- */
.logo-card {
    background: var(--white);  border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    overflow: hidden; height: 100%;
}
.logo-preview {
    height: 140px;  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
}
.logo-preview img { max-height: 48px; max-width: 80%; }
.logo-preview.bg-light-preview { background: var(--gray-50); }
.logo-preview.bg-dark-preview { background: var(--brand-dark); }
.logo-preview.bg-primary-preview { background: var(--primary); }
.logo-card-body { padding: 1.1rem 1.3rem 1.3rem; border-top: 1px solid var(--border); }
.logo-card-body h6 { font-weight: 600; margin-bottom: .3rem; }
.logo-card-body p { font-size: .82rem; color: var(--muted); margin-bottom: .8rem; }
.logo-download-btn {
    display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--primary);
    border: 1px solid var(--primary-light); border-radius: var(--radius-sm); padding: .35rem .7rem; justify-content: center; width: 100%;
}
.logo-download-btn:hover { background: var(--primary-light); }

/* ---------- Color palette swatches ---------- */
.swatch {
    border-radius: var(--radius-md);   height: 74px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.swatch-lbl { font-size: .78rem; font-weight: 600; margin-top: .5rem; }
.swatch-hex { font-size: .74rem; color: var(--muted); font-family: monospace; }

/* ---------- Typography specimen ---------- */
.type-specimen {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.6rem; box-shadow: var(--shadow-sm); height: 100%;
}
.type-specimen .sample { font-size: 2.1rem; margin: .4rem 0; }
.type-specimen .meta { font-size: .8rem; color: var(--muted); }


/* ---------- Brand kit stats strip ---------- */
.brand-stats { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); margin-bottom: 40px; }
.brand-stat { text-align: center; padding: 1.6rem .5rem; }
.brand-stat .num { font-family: 'Poppins'; font-weight: 600; font-size: 1.9rem; color: var(--primary); margin-bottom: 10px; }
.brand-stat .lbl { font-size: .82rem; color: var(--muted); }