:root {
  --bg: #eef0f4;
  --bg-white: #ffffff;
  --text-dark: #14161a;
  --text-gray: #6b7280;
  --blue: #2e5bff;
  --blue-dark: #1f3fd6;
  --card-bg: #f4f5f8;
  --radius-lg: 20px;
  --radius-full: 999px;
  --shadow: 0 8px 24px rgba(20, 22, 26, 0.06);
  --shadow-hover: 0 16px 36px rgba(20, 22, 26, 0.1);
  --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name, .btn {
  font-family: var(--font-display);
  font-weight: 500;
}

a { text-decoration: none; color: inherit; }

.accent { color: var(--blue); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(46, 91, 255, 0.35);
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline {
  background: #fff;
  color: var(--text-dark);
  border: 1px solid #dfe2e8;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-small { padding: 10px 20px; font-size: 14px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e7e9ee;
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.brand-logo {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #7ba1ff);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 500;
  object-fit: cover;
}
.nav-links { display: flex; gap: 40px; font-size: 14px; font-weight: 500; color: var(--text-gray); font-family: var(--font-body); }
.nav-links a:hover { color: var(--text-dark); }
.nav-links a.active-link { color: var(--blue); }

/* ---------- FILTER BAR ---------- */
.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 24px 40px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1px solid #dfe2e8;
  background: #fff;
  color: var(--text-gray);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- PORTFOLIO GRID (YouTube-style cards) ---------- */
.portfolio-grid-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px 80px; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 20px;
}
.yt-card { cursor: default; }
.yt-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
  margin-bottom: 12px;
  cursor: pointer;
}
.yt-card:hover .yt-thumb { transform: translateY(-4px); }
.yt-niche-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  text-transform: capitalize;
}
.yt-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}
.yt-meta { display: flex; gap: 12px; align-items: flex-start; text-align: left; }
.yt-avatar {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #7ba1ff);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  font-family: var(--font-display);
}
.yt-info { min-width: 0; }
.yt-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-channel {
  font-size: 13px;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}
.yt-verified { color: #909296; flex-shrink: 0; }
.yt-stats { font-size: 13px; color: var(--text-gray); }
.yt-personal-label { font-style: italic; color: #9aa0a8; }

/* ---------- FORM PAGE ---------- */
.form-section { max-width: 560px; margin: 0 auto; padding: 20px 24px 80px; }
.hire-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.form-row input, .form-row select, .form-row textarea {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #dfe2e8;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-status { text-align: center; font-size: 14px; color: var(--blue); font-weight: 600; min-height: 20px; }

/* ---------- HERO ---------- */
.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 65px 24px 70px;
  text-align: center;
}
.chip {
  display: inline-block;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid #e2e5eb;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 32px;
  font-family: var(--font-body);
}
.chip-center { display: block; width: fit-content; margin-left: auto; margin-right: auto; }
.hero-title {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- MARQUEE THUMBNAIL GRID ---------- */
.marquee-wrap {
  display: flex;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 100px;
  height: 620px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}
.marquee-col {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.col-up .marquee-track { animation: scrollUp 26s linear infinite; }
.col-down .marquee-track { animation: scrollDown 26s linear infinite; }

@keyframes scrollUp {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@keyframes scrollDown {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

.thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
  cursor: pointer;
}


/* ---------- PROCESS ---------- */
.process, .services, .faq {
  max-width: 940px;
  margin: 0 auto;
  padding: 35px 24px;
  text-align: center;
}
.section-title { font-size: 42px; font-weight: 500; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-sub { color: var(--text-gray); font-size: 17px; margin-bottom: 64px; font-family: var(--font-body); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}
.step {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  border: 1px solid #e7e9ee;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.step:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(46, 91, 255, 0.1);
  color: var(--blue);
  margin-bottom: 20px;
}
.step h3 { font-size: 18px; margin-bottom: 10px; font-weight: 500; }
.step p { font-size: 14px; color: var(--text-gray); line-height: 1.6; font-family: var(--font-body); }

/* ---------- SERVICES ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}
.service-card {
  background: #fff;
  border: 1px solid #e7e9ee;
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(46, 91, 255, 0.1);
  color: var(--blue);
  margin-bottom: 18px;
}
.service-card h3 { font-size: 19px; margin-bottom: 12px; font-weight: 500; }
.service-card p { font-size: 14px; color: var(--text-gray); line-height: 1.65; font-family: var(--font-body); }

/* ---------- FAQ ---------- */
.faq-list { text-align: left; display: flex; flex-direction: column; gap: 14px; margin-bottom: 64px; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid #e7e9ee;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: #d3d7de; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-dark);
  font-family: var(--font-display);
}
.faq-q span { font-size: 20px; color: var(--blue); transition: transform 0.2s ease; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 26px;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 26px 22px; }
.faq-a p { color: var(--text-gray); font-size: 14px; line-height: 1.6; font-family: var(--font-body); }

.final-cta {
  background: linear-gradient(135deg, var(--blue), #6d8bff);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  color: #fff;
}
.final-cta h3 { font-size: 32px; margin-bottom: 14px; font-weight: 500; letter-spacing: -0.02em; }
.final-cta .accent { color: #eaf0ff; }
.final-cta p { margin-bottom: 30px; opacity: 0.9; font-family: var(--font-body); font-size: 16px; }
.final-cta .btn-primary { background: #fff; color: var(--blue); box-shadow: none; }
.final-cta .btn-primary:hover { background: #eef1ff; }

/* ---------- FOOTER ---------- */
.footer {
  max-width: 1140px;
  margin: 0 auto;
  padding: 70px 32px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-gray); flex-wrap: wrap; justify-content: center; font-family: var(--font-body); }
.footer-links a:hover { color: var(--text-dark); }
.footer-copy { font-size: 13px; color: var(--text-gray); font-family: var(--font-body); }

/* ---------- FOOTER SOCIALS ---------- */
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid #e7e9ee;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-socials a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- LIGHTBOX ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 14, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  padding: 40px;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-content {
  display: flex;
  flex-direction: column;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 75vh;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
  display: block;
}
.lightbox-meta {
  display: none;
  align-items: center;
  gap: 12px;
  background: #1a1c22;
  padding: 14px 20px;
  border-radius: 0 0 14px 14px;
  text-align: left;
}
.lightbox-meta.has-content { display: flex; }
.lightbox-avatar {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #7ba1ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
  background-size: cover;
  background-position: center;
}
.lightbox-title { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.lightbox-channel { color: #9aa0a8; font-size: 13px; }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .steps, .service-grid { grid-template-columns: 1fr; }
  .marquee-wrap { height: 460px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-title { font-size: 34px; }
  .marquee-wrap {
    flex-direction: row;
    height: 500px;
    gap: 10px;
    position: relative;
    margin-left: -24px;
    margin-right: -24px;
    width: calc(100% + 48px);
    padding-left: 0;
    padding-right: 0;
    justify-content: center;
  }
  .marquee-col { flex: 0 0 150px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .yt-title { font-size: 13px; }
  .yt-channel { font-size: 11.5px; }
  .yt-avatar { width: 30px; height: 30px; font-size: 12px; }
}