/* -----------------------------------------------------------------
    Landing Page (Sales Engine)
    Memakai design token dari style.css (charcoal + aksen amber).
----------------------------------------------------------------- */

.landing-section {
  margin-top: 2.5rem;
}

.landing-lead {
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  max-width: 42rem;
}

.landing-icon {
  align-items: center;
  background: var(--color-gradient-icon);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-12);
  color: var(--color-accent);
  display: inline-flex;
  flex-shrink: 0;
  font-size: 1.25rem;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.check-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.check-list li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}

.check-list i {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.3rem;
}

/* Accent button (CTA utama) */
.btn--accent,
.btn--accent:hover {
  background: var(--color-gradient);
  color: #121212;
  font-weight: 500;
}

.btn--accent::before {
  display: none;
}

.btn--accent:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn i {
  vertical-align: -2px;
}

/* -----------------------------------------------------------------
    Hero
----------------------------------------------------------------- */
/* Nav desktop berposisi absolute di kanan atas (tinggi 4rem),
   beri jarak agar hero tidak sejajar/menempel dengan nav */
@media only screen and (min-width: 992px) {
  .hero {
    padding-top: 3.5rem;
  }
}

.hero__eyebrow {
  background: var(--color-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.hero__headline {
  font-size: 2.25rem;
  line-height: 1.2;
  max-width: 40rem;
}

.hero__subheadline {
  font-size: 1.0625rem;
  max-width: 42rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.hero__highlights i {
  color: var(--color-accent);
  margin-right: 0.25rem;
}

@media only screen and (max-width: 580px) {
  .hero__headline {
    font-size: 1.625rem;
  }
  .hero__subheadline {
    font-size: 0.9375rem;
  }
  .hero__actions .btn {
    text-align: center;
    width: 100%;
  }
}

/* -----------------------------------------------------------------
    Problem & Solution
----------------------------------------------------------------- */
.problem-item {
  display: flex;
  gap: 1rem;
  height: calc(100% - 1.875rem);
}

.problem-item__solution {
  margin-bottom: 0;
}

.problem-item__solution i {
  color: var(--color-accent);
  margin-right: 0.25rem;
}

@media only screen and (max-width: 580px) {
  .problem-item {
    height: auto;
  }
}

/* -----------------------------------------------------------------
    Packages
----------------------------------------------------------------- */
.package-item {
  display: flex;
  flex-direction: column;
  height: calc(100% - 1.875rem);
}

.package-item__head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.package-item__badge {
  background: var(--color-gradient);
  border-radius: var(--radius-8);
  color: #121212;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
}

.package-item__tagline {
  color: var(--color-heading);
  font-weight: 400;
}

.package-item__foot {
  align-items: center;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
}

.package-item__duration {
  font-size: 0.875rem;
}

.package-item__duration i {
  color: var(--color-accent);
  margin-right: 0.25rem;
}

@media only screen and (max-width: 580px) {
  .package-item {
    height: auto;
  }
}

/* -----------------------------------------------------------------
    Case Studies
----------------------------------------------------------------- */
.case-study__image {
  border-radius: var(--radius-14);
  display: block;
  margin-bottom: 1rem;
  overflow: hidden;
}

.case-study__image img {
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  transition: transform .4s ease;
  width: 100%;
}

.case-study__image:hover img {
  transform: scale(1.03);
}

.case-study__pas {
  margin: 1rem 0 0;
}

.case-study__pas dt {
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-study__pas dd {
  margin: 0 0 0.875rem;
}

.case-study__pas dd:last-child {
  margin-bottom: 0;
}

/* Box case study di dalam modal portfolio (di antara URL dan deskripsi) */
.case-study__pas--modal {
  margin: 1.5rem 0 1.75rem;
}

.project-description > p:first-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------------------
    Process
----------------------------------------------------------------- */
.process {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.process__step {
  margin-bottom: 0;
}

.process__number {
  background: var(--color-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.75rem;
}

@media only screen and (max-width: 991px) {
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 580px) {
  .process {
    gap: 0.9375rem;
    grid-template-columns: minmax(0, 1fr);
  }
}

/* -----------------------------------------------------------------
    About
----------------------------------------------------------------- */
.about-copy {
  max-width: 44rem;
}

.about-copy p:last-child {
  margin-bottom: 1rem;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  font-size: 0.875rem;
}

/* -----------------------------------------------------------------
    Tech Stack
----------------------------------------------------------------- */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tech-stack li {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-8);
  color: var(--color-heading);
  font-size: 0.8125rem;
  padding: 0.3rem 0.75rem;
}

/* -----------------------------------------------------------------
    FAQ
----------------------------------------------------------------- */
.faq__item {
  border-radius: var(--radius-14);
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
}

.faq__question {
  color: var(--color-heading);
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  padding-right: 1.75rem;
  position: relative;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  color: var(--color-accent);
  content: '+';
  font-size: 1.25rem;
  line-height: 1;
  position: absolute;
  right: 0;
  top: 0.1rem;
}

.faq__item[open] .faq__question::after {
  content: '\2212';
}

.faq__answer {
  margin: 0.75rem 0 0;
}

/* -----------------------------------------------------------------
    Closing CTA
----------------------------------------------------------------- */
.closing-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.closing-cta p {
  margin: 0 auto;
  max-width: 34rem;
}

/* -----------------------------------------------------------------
    Contact
----------------------------------------------------------------- */
.quick-contact {
  align-items: center;
  color: var(--color-paragraph);
  display: flex;
  gap: 1rem;
  text-decoration: none;
}

.quick-contact:hover {
  color: var(--color-paragraph);
}

.quick-contact:hover .title {
  color: var(--color-accent);
}

select.form-control {
  appearance: auto;
}

select.form-control option {
  background: var(--color-surface-1);
  color: var(--color-heading);
}

/* -----------------------------------------------------------------
    Sidebar CTA
----------------------------------------------------------------- */
.sidebar__cta {
  display: block;
  margin: 1.25rem 1.875rem 0;
  text-align: center;
}

@media only screen and (max-width: 1199px) {
  .sidebar__cta {
    display: none;
  }
}

/* -----------------------------------------------------------------
    Footer
----------------------------------------------------------------- */
.site-footer {
  overflow: hidden;
  padding-bottom: 0;
}

/* Stats strip */
.site-footer__stats {
  border-bottom: 1px solid var(--color-border);
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0 0 1.75rem;
}

.site-footer__stats li {
  padding: 0 1rem;
  text-align: center;
}

.site-footer__stats li + li {
  border-left: 1px solid var(--color-border);
}

.site-footer__stats strong {
  background: var(--color-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
}

.site-footer__stats span {
  font-size: 0.8125rem;
}

/* Grid */
.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
}

.site-footer__logo {
  align-items: center;
  color: var(--color-heading);
  display: inline-flex;
  font-weight: 600;
  gap: 0.75rem;
  text-decoration: none;
}

.site-footer__logo:hover {
  color: var(--color-accent);
}

.site-footer__logo img {
  height: 44px;
  width: 44px;
}

.site-footer__tagline {
  font-size: 0.875rem;
  margin: 0.875rem 0 1rem;
  max-width: 20rem;
}

.site-footer__status {
  align-items: center;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 999px;
  color: #6EE7A0;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 400;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
}

.site-footer__pulse {
  background: #25D366;
  border-radius: 50%;
  height: 0.5rem;
  position: relative;
  width: 0.5rem;
}

.site-footer__pulse::after {
  animation: footer-pulse 1.8s ease-out infinite;
  border: 2px solid #25D366;
  border-radius: 50%;
  content: '';
  inset: -4px;
  position: absolute;
}

@keyframes footer-pulse {
  from { opacity: .8; transform: scale(.6); }
  to { opacity: 0; transform: scale(1.6); }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__pulse::after {
    animation: none;
  }
}

.site-footer__heading {
  color: var(--color-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__col li {
  font-size: 0.875rem;
  margin-bottom: 0.625rem;
}

.site-footer__col a {
  color: var(--color-paragraph);
  text-decoration: none;
  transition: color .25s ease;
}

.site-footer__col a:hover {
  color: var(--color-accent);
}

/* Tile menu (terinspirasi menu bergambar) */
.site-footer__tiles {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer__tiles li {
  margin: 0;
}

.site-footer__tiles a {
  align-items: center;
  background: var(--color-surface-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-12);
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  gap: 0.375rem;
  padding: 0.75rem 0.5rem;
  transition: all .25s ease;
}

.site-footer__tiles i {
  color: var(--color-accent);
  font-size: 1.125rem;
}

.site-footer__tiles a:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.site-footer__contact li {
  align-items: flex-start;
  display: flex;
  gap: 0.625rem;
}

.site-footer__contact i {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.site-footer__contact a {
  word-break: break-all;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.site-footer__socials a {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
}

/* Bottom bar */
.site-footer__bottom {
  align-items: center;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.25rem;
}

.site-footer__made {
  opacity: .8;
}

.site-footer__heart {
  animation: footer-heartbeat 1.6s ease-in-out infinite;
  color: #C8102E;
  margin: 0 0.125rem;
  vertical-align: -2px;
}

@keyframes footer-heartbeat {
  0%, 60%, 100% { transform: scale(1); }
  20% { transform: scale(1.18); }
  40% { transform: scale(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__heart {
    animation: none;
  }
}

.site-footer__top {
  color: var(--color-accent);
  text-decoration: none;
}

.site-footer__top:hover {
  color: var(--color-heading);
}

/* Wordmark besar */
.site-footer__wordmark {
  -webkit-text-stroke: 1px rgba(255, 219, 110, 0.18);
  color: transparent;
  font-size: clamp(3rem, 11vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.8;
  margin: 1.5rem -0.25rem -0.12em;
  pointer-events: none;
  text-align: center;
  user-select: none;
  white-space: nowrap;
}

@media only screen and (max-width: 991px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* beri ruang untuk bottom nav mobile */
  .site-footer {
    margin-bottom: 4.5rem;
  }
}

@media only screen and (max-width: 580px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-footer__stats li {
    padding: 0 0.5rem;
  }
  .site-footer__stats strong {
    font-size: 1.5rem;
  }
  .site-footer__stats span {
    font-size: 0.75rem;
  }
  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* -----------------------------------------------------------------
    Floating WhatsApp
----------------------------------------------------------------- */
/* Tombol "Top" bawaan template: diposisikan di atas tombol WhatsApp
   (sejajar tengah) dan dipertebal agar lebih jelas */
.back-to-top {
  border-top-width: 3px;
  border-left-width: 3px;
  bottom: 6.5rem;
  opacity: .85;
  right: 2.75rem;
}

.back-to-top:hover {
  opacity: 1;
}

.wa-float {
  align-items: center;
  background: transparent;
  bottom: 1.75rem;
  color: var(--color-accent);
  display: flex;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
  height: 3.5rem;
  justify-content: center;
  position: fixed;
  right: 1.75rem;
  transition: transform .25s ease, color .25s ease;
  width: 3.5rem;
  z-index: 20;
}

.wa-float svg {
  height: 2.75rem;
  width: 2.75rem;
}

.wa-float:hover {
  color: #FFBC5E;
  transform: scale(1.1);
}

/* Nav berubah jadi bottom bar di <= 991px, geser tombol ke atasnya */
@media only screen and (max-width: 991px) {
  .wa-float {
    bottom: 5rem;
  }
  .back-to-top {
    bottom: 9.75rem;
  }
}

@media only screen and (max-width: 580px) {
  .wa-float {
    bottom: 3.75rem;
    height: 3.125rem;
    right: 1rem;
    width: 3.125rem;
  }
}

/* Thumbnail berupa logo proyek: tampil utuh, tidak di-crop */
.gallery-grid__image.is-logo,
.case-study__image img.is-logo {
  background: var(--color-surface-3);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-14);
  box-sizing: border-box;
  object-fit: contain;
  padding: 2rem;
}

.gallery-grid__image.is-logo {
  aspect-ratio: 3 / 2;
  height: auto;
  width: 100%;
}

/* Header modal portfolio: logo proyek di samping judul */
.header-project--logo {
  align-items: center;
  display: flex;
  gap: 1.25rem;
}

.header-project--logo .title {
  margin-bottom: 0;
  position: static;
}

.header-project__logo {
  background: var(--color-surface-3);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-14);
  box-sizing: border-box;
  flex: 0 0 auto;
  height: 5rem;
  object-fit: contain;
  padding: .75rem;
  width: 5rem;
}

/* -----------------------------------------------------------------
    Products
----------------------------------------------------------------- */
.product-breadcrumb {
  font-size: 0.8125rem;
  margin-bottom: 1.25rem;
  opacity: .7;
}

.product-breadcrumb a {
  color: inherit;
}

.product-breadcrumb span {
  margin: 0 0.25rem;
}

.product-hero {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.product-hero__logo,
.product-card__logo {
  align-items: center;
  background: var(--color-surface-3);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-14);
  box-sizing: border-box;
  display: flex;
  flex: 0 0 auto;
  height: 6rem;
  justify-content: center;
  padding: .75rem;
  width: 6rem;
}

.product-hero__logo img,
.product-card__logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-card__logo {
  margin-bottom: 1rem;
}

.product-hero__tagline {
  margin: 0.5rem 0 0;
}

.product-note {
  font-size: 0.8125rem;
  margin: 0.75rem 0 1.5rem;
  opacity: .7;
}

.product-shot {
  margin: 0 0 2rem;
}

.product-shot img {
  border-radius: var(--radius-14);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.product-card {
  display: block;
  margin-bottom: 1.5rem;
  transition: transform .3s ease;
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-feature {
  height: 100%;
  margin-bottom: 1.5rem;
}

.product-cta-band {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.product-cta-band strong,
.product-cta-band span {
  display: block;
}

.closing-cta__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.product-sticky-cta {
  display: none;
}

@media only screen and (max-width: 768px) {
  .product-hero__logo {
    height: 4.5rem;
    width: 4.5rem;
  }

  .product-cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-sticky-cta {
    background: rgba(18, 18, 18, 0.92);
    bottom: 0;
    display: block;
    left: 0;
    padding: 0.75rem 1rem;
    position: fixed;
    right: 0;
    text-align: center;
    z-index: 50;
  }

  .product-sticky-cta .btn {
    width: 100%;
  }
}

/* Disabled button (e.g. product website link that cannot be opened) */
.btn--disabled,
.btn--disabled:hover {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: .45;
  pointer-events: none;
}

/* Product card: white text by default, gold on hover (not the default link color) */
.product-card,
.product-card:visited {
  color: var(--color-paragraph);
}

.product-card .title,
.product-card .title:visited {
  color: var(--color-heading);
  transition: color .3s ease;
}

.product-card:hover .title,
.product-card:focus-visible .title {
  color: var(--color-accent);
}

/* Bootstrap's a:hover (blue) would otherwise win and tint the card text */
.product-card:hover,
.product-card:focus {
  color: var(--color-paragraph);
}
