/* ==========================================================================
   SNUPUP STUDIO — MAIN STYLESHEET
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eaf1ff;
  --navy: #0b1c3d;
  --navy-2: #0a1730;
  --text-dark: #0f172a;
  --text-body: #5b6472;
  --text-muted: #7c8798;
  --border-color: #e7ecf3;
  --bg-soft: #f5f8fd;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 40, 110, 0.12);
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-body);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { text-decoration: none; }

.text-primary-blue { color: var(--primary) !important; }
.bg-primary-blue { background-color: var(--primary) !important; }
.bg-soft { background-color: var(--bg-soft) !important; }

.section-pad { padding: 72px 0; }
@media (max-width: 767px) {
  .section-pad { padding: 48px 0; }
}

.container-xl {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 11px 22px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary-blue {
  background-color: var(--primary);
  color: #fff;
}
.btn-primary-blue:hover {
  background-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-blue {
  background-color: #fff;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}
.btn-outline-blue:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-white-outline {
  background-color: #fff;
  color: var(--navy);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-white-outline:hover {
  background-color: #f1f5fb;
}

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

/* ---------- Navbar ---------- */
.site-navbar {
  padding: 16px 0;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.1;
}
.brand-logo .logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #1e40af);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}
.brand-logo small {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.site-navbar .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px !important;
  border-radius: 8px;
}
.site-navbar .nav-link.active,
.site-navbar .nav-link:hover {
  color: var(--primary);
}
.site-navbar .nav-link.active {
  background: var(--primary-light);
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}
.hero-heading {
  font-size: 2.75rem;
  line-height: 1.15;
}
@media (max-width: 767px) {
  .hero-heading { font-size: 2rem; }
}
.hero-subtext {
  font-size: 1.05rem;
  max-width: 480px;
}

.mini-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}
.mini-feature i { color: var(--primary); }

.hero-mockup-wrap {
  position: relative;
}
.hero-blob {
  position: absolute;
  top: -40px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, #dbe6ff, #b9cdfb);
  border-radius: 50%;
  z-index: 0;
  filter: blur(2px);
}
.mockup-laptop {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 5px solid #1b2437;
}
.mockup-phone {
  position: absolute;
  z-index: 2;
  bottom: -30px;
  right: 0;
  width: 35%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 4px solid #1b2437;
}

/* ---------- Industries Strip ---------- */
.industries-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 32px 24px;
  margin-top: -40px;
  position: relative;
  z-index: 5;
}
.industry-pill {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px 10px;
  text-align: center;
  height: 100%;
  transition: 0.2s;
}
.industry-pill:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.industry-pill .icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.1rem;
}
.industry-pill span {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
}

/* ---------- Section headings ---------- */
.section-eyebrow-line {
  width: 40px;
  height: 3px;
  background: var(--primary);
  margin: 8px auto 0;
  border-radius: 3px;
}
.section-heading {
  font-size: 1.9rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Design Cards ---------- */
.design-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: 0.25s;
  height: 100%;
}
.design-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.design-thumb {
  position: relative;
  /*aspect-ratio: 4/3;*/
  overflow: hidden;
}
.design-thumb img {
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/
}
.design-thumb .badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}
.design-thumb .badge-cat {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255,255,255,0.92);
  color: var(--text-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
}
.design-thumb .fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  border: none;
}
.design-card-body { padding: 18px; }
.design-card-body h5 { font-size: 1.05rem; margin-bottom: 6px; }
.design-card-body p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 12px; }
.tag-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 20px;
  margin-right: 6px;
  margin-bottom: 10px;
}

/* ---------- Systems Cards ---------- */
.system-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
  transition: 0.2s;
}
.system-card:hover { box-shadow: var(--shadow-md); }
.system-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.system-card h6 { font-size: 1rem; margin-bottom: 8px; }
.system-card p { font-size: 0.85rem; color: var(--text-muted); }
.learn-more-link { font-size: 0.85rem; font-weight: 700; color: var(--primary); }

/* ---------- Pricing ---------- */
.pricing-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  height: 100%;
  position: relative;
}
.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-tag {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.pricing-card ul { list-style: none; padding: 0; margin: 20px 0; }
.pricing-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-body);
  padding: 6px 0;
}
.pricing-card ul li i { color: var(--primary); }

.why-pricing-card {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  height: 100%;
}
.why-pricing-card ul { list-style: none; padding: 0; margin-top: 18px; }
.why-pricing-card ul li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.88rem;
  padding: 8px 0;
}
.why-pricing-card ul li i { color: var(--primary); }

/* ---------- Process ---------- */
.process-step { text-align: center; }
.process-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.process-step h6 { font-size: 0.95rem; }
.process-step p { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
}
.testimonial-card p.quote {
  font-size: 0.92rem;
  color: var(--text-body);
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.testi-author img {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
}
.testi-author strong { font-size: 0.88rem; display: block; color: var(--text-dark); }
.testi-author span { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 34px 40px;
  color: #fff;
}
@media (max-width: 767px) {
  .cta-band { padding: 28px 22px; text-align: center; }
}
.cta-chat-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c4cede;
  padding: 56px 0 22px;
  font-size: 0.9rem;
}
.site-footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.site-footer .brand-logo { color: #fff; }
.site-footer .brand-logo small { color: #8b96ab; }
.site-footer p { color: #97a2b8; font-size: 0.88rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a { color: #b7c1d6; transition: 0.2s; }
.site-footer ul li a:hover { color: #fff; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; margin-right: 8px;
}
.footer-social a:hover { background: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 36px;
  padding-top: 20px;
  font-size: 0.82rem;
  color: #8b96ab;
}
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-item i { color: var(--primary); margin-top: 3px; }

/* ---------- Page header banner (Designs / Projects / Detail) ---------- */
.page-banner {
  background: linear-gradient(120deg, var(--navy) 0%, #12275a 100%);
  border-radius: 0 0 24px 24px;
  padding: 40px 0 56px;
  color: #fff;
  margin-bottom: -30px;
  position: relative;
  z-index: 1;
}
.page-banner .breadcrumb-custom {
  font-size: 0.85rem;
  color: #a9b6d0;
  margin-bottom: 14px;
}
.page-banner .breadcrumb-custom a { color: #a9b6d0; }
.page-banner h1 { color: #fff; font-size: 2.2rem; }
.page-banner p.lead-sub { color: #c1cbe3; max-width: 520px; font-size: 0.95rem; }

.howworks-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 22px;
  backdrop-filter: blur(6px);
}
.howworks-card h6 { color: #fff; font-size: 0.95rem; display: flex; align-items: center; gap: 8px;}
.howworks-card p { color: #c1cbe3; font-size: 0.82rem; }
.howworks-card a { color: #8fb0ff; font-weight: 700; font-size: 0.82rem; }

/* ---------- Filter sidebar ---------- */
.filter-panel {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}
.filter-panel h6 { font-size: 0.9rem; margin-bottom: 14px; }
.filter-list { list-style: none; padding: 0; margin: 0 0 24px; }
.filter-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 0.88rem;
  color: var(--text-body);
}
.filter-list li.active { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.filter-list li .count-badge {
  background: #eef1f6; color: var(--text-muted); font-size: 0.72rem;
  padding: 2px 8px; border-radius: 10px;
}
.filter-list li.active .count-badge { background: var(--primary); color: #fff; }

.form-check-label { font-size: 0.88rem; color: var(--text-body); }

.pill-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-filter-bar .btn { padding: 8px 16px; font-size: 0.85rem; border-radius: 999px; }
.pill-filter-bar .btn.active-pill {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.pill-filter-bar .btn:not(.active-pill) {
  background: #fff; color: var(--text-dark); border: 1px solid var(--border-color);
}

.search-input-wrap { position: relative; }
.search-input-wrap i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted);
}
.search-input-wrap input {
  border-radius: 10px; padding: 10px 14px 10px 38px; border: 1px solid var(--border-color); width: 100%; font-size: 0.9rem;
}

/* ---------- Project cards ---------- */
.project-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
}
.project-thumb { 
  position: relative; 
  /*aspect-ratio: 16/10; */
  overflow: hidden; 
}
.project-thumb img { 
  width: 100%; 
  height: 100%; 
  /*object-fit: cover; */
}
.project-thumb .badge-type {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 5px 10px; border-radius: 6px;
}
.project-thumb .fav-btn {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center; border: none;
}
.project-card-body { padding: 18px; }
.project-card-body h5 { font-size: 1.02rem; margin-bottom: 2px; }
.project-card-body .proj-cat { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; display: block; }
.project-card-body p.desc { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 12px; }
.meta-chip {
  font-size: 0.72rem; color: var(--text-body); background: var(--bg-soft);
  padding: 3px 9px; border-radius: 6px; margin-right: 6px; margin-bottom: 10px; display: inline-flex; align-items: center; gap: 4px;
}

.stat-strip {
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md);
  padding: 20px; display: flex; align-items: center; gap: 12px; height: 100%;
}
.stat-strip .icon-wrap {
  width: 44px; height: 44px; border-radius: 10px; background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.stat-strip strong { font-size: 1.2rem; color: var(--text-dark); display: block; }
.stat-strip span { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- Detail page ---------- */
.detail-hero-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.detail-hero-frame img { width: 100%; display: block; }
.thumb-strip { display: flex; gap: 10px; margin-top: 14px; align-items: center; }
.thumb-strip img {
  width: 70px; height: 55px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer;
}
.thumb-strip img.active-thumb { border-color: var(--primary); }
.thumb-nav-btn {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-color); background: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.info-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600;
  color: var(--text-dark); background: var(--bg-soft); padding: 8px 12px; border-radius: 8px;
}

.detail-panel {
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 22px; margin-bottom: 20px;
}
.detail-panel h6 { font-size: 0.95rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.feature-check-list { list-style: none; padding: 0; margin: 0; columns: 1; }
.feature-check-list li { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; padding: 6px 0; color: var(--text-body); }
.feature-check-list li i { color: var(--primary); }

.page-chip {
  display: flex; align-items: center; gap: 8px; background: var(--bg-soft); border-radius: 8px;
  padding: 10px 12px; font-size: 0.85rem; font-weight: 600; color: var(--text-dark);
}
.page-chip i { color: var(--primary); }

.color-dot { width: 26px; height: 26px; border-radius: 50%; display: inline-block; margin-right: 6px; border: 1px solid rgba(0,0,0,0.08); }
.style-tag { display: inline-block; font-size: 0.78rem; font-weight: 600; background: var(--primary-light); color: var(--primary); padding: 4px 10px; border-radius: 20px; margin: 3px 4px 3px 0; }

.get-design-card {
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; position: sticky; top: 20px;
}
.tech-logo-item { text-align: center; }
.tech-logo-item .tech-badge {
  width: 60px; height: 60px; border-radius: 12px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px; font-weight: 800; color: var(--primary); font-size: 0.9rem;
}
.tech-logo-item span { font-size: 0.78rem; color: var(--text-muted); }

.need-unique-card {
  background: var(--primary-light); border-radius: var(--radius-md); padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.chat-round-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.carousel-arrow-btn {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---------- Utility ---------- */
.rounded-xl { border-radius: var(--radius-lg) !important; }
.badge-pill-count {
  background: var(--primary-light); color: var(--primary); font-size: 0.75rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-left: 6px;
}
::selection { background: var(--primary); color: #fff; }

.pagination-custom .page-link {
  border-radius: 8px; margin: 0 3px; color: var(--text-dark); border: 1px solid var(--border-color);
}
.pagination-custom .page-item.active .page-link {
  background: var(--primary); border-color: var(--primary);
}
