﻿/* =================================================================
   SUBSCRIPTION GALLERY
   Page-specific layout and purchase UI
   ================================================================= */

main { position: relative; z-index: 1; display: flex; flex-direction: column; }
#ott { order: 2; }
#music { order: 3; }
#ai-tools { order: 4; }
#more-services { order: 5; }
#creativity { order: 6; }
#social { order: 7; }
#business { order: 8; }
#custom { order: 9; }
.gallery-hero { order: 1; }

.gallery-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  padding: 160px 0 96px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 8, 14, 0.2), var(--navy-900) 92%),
    radial-gradient(circle at 78% 30%, rgba(201, 166, 89, 0.13), transparent 28%),
    radial-gradient(circle at 20% 70%, rgba(27, 77, 62, 0.22), transparent 35%);
}

.gallery-hero__texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 35%, rgba(229, 9, 20, 0.14), transparent 22%),
    radial-gradient(circle at 82% 24%, rgba(30, 215, 96, 0.12), transparent 24%),
    radial-gradient(circle at 62% 82%, rgba(0, 168, 225, 0.15), transparent 26%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.025), rgba(6, 8, 14, 0.18) 45%, rgba(255, 255, 255, 0.025));
  isolation: isolate;
}
.gallery-hero__mark {
  position: absolute;
  z-index: 1;
  width: clamp(100px, 13vw, 190px);
  aspect-ratio: 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.11;
  filter: blur(8px) saturate(155%);
  mix-blend-mode: screen;
  animation: glass-mark-drift 20s ease-in-out infinite alternate;
}
.gallery-hero__mark--netflix { top: 12%; left: 4%; background-image: url("../images/netflix.svg"); filter: blur(9px) saturate(185%) drop-shadow(0 0 28px rgba(229, 9, 20, 0.65)); }
.gallery-hero__mark--spotify { top: 8%; right: 8%; background-image: url("../images/spotify.svg"); filter: blur(9px) saturate(175%) drop-shadow(0 0 28px rgba(30, 215, 96, 0.58)); animation-delay: -4s; }
.gallery-hero__mark--prime { bottom: 12%; left: 13%; background-image: url("../images/prime.png"); filter: blur(10px) saturate(165%) drop-shadow(0 0 30px rgba(0, 168, 225, 0.58)); animation-delay: -8s; }
.gallery-hero__mark--chatgpt { right: 4%; bottom: 12%; background-image: url("../images/chatgpt.png"); filter: blur(10px) saturate(145%) drop-shadow(0 0 30px rgba(116, 225, 190, 0.55)); animation-delay: -12s; }
.gallery-hero__mark--canva { top: 42%; left: 17%; background-image: url("../images/canva.png"); animation-delay: -2s; }
.gallery-hero__mark--youtube { top: 40%; right: 16%; background-image: url("../images/youtube.svg"); filter: blur(9px) saturate(170%) drop-shadow(0 0 28px rgba(255, 40, 40, 0.5)); animation-delay: -6s; }
.gallery-hero__mark--applemusic { bottom: 5%; left: 37%; background-image: url("../images/applemusic.svg"); filter: blur(9px) saturate(160%) drop-shadow(0 0 28px rgba(255, 72, 115, 0.5)); animation-delay: -10s; }
.gallery-hero__mark--claude { top: 10%; left: 34%; background-image: url("../images/claude.svg"); filter: blur(10px) saturate(145%) drop-shadow(0 0 28px rgba(223, 137, 83, 0.5)); animation-delay: -14s; }
.gallery-hero__mark--capcut { bottom: 7%; right: 32%; background-image: url("../images/capcut.png"); animation-delay: -16s; }
.gallery-hero__mark--instagram { top: 58%; right: 35%; background-image: url("../images/instagram.png"); filter: blur(9px) saturate(175%) drop-shadow(0 0 28px rgba(220, 80, 150, 0.52)); animation-delay: -18s; }

@keyframes glass-mark-drift {
  from { opacity: 0.07; transform: translate3d(-7px, 5px, 0) rotate(-4deg) scale(0.97); }
  to { opacity: 0.13; transform: translate3d(8px, -7px, 0) rotate(4deg) scale(1.04); }
}

.hero__glow {
  position: absolute;
  width: min(70vw, 760px);
  aspect-ratio: 1;
  top: 4%;
  right: -18%;
  border: 1px solid rgba(201, 166, 89, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(201, 166, 89, 0.025), 0 0 0 140px rgba(201, 166, 89, 0.018);
  pointer-events: none;
}

.gallery-hero__inner { width: 100%; text-align: center; }
.gallery-hero__title {
  max-width: 900px;
  margin: 20px auto 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.gallery-hero__title,
.gallery-hero__subtitle,
.gallery-hero__stats { animation: hero-rise 0.9s var(--ease-out) both; }
.gallery-hero__subtitle { animation-delay: 0.12s; }
.gallery-hero__stats { animation-delay: 0.24s; }
.text-gold { display: inline-block; color: var(--gold-bright); font-style: italic; animation: trust-name-loop 2.8s ease-in-out infinite; }
.gallery-hero__subtitle {
  max-width: 620px;
  margin: 30px auto 0;
  color: var(--ivory-dim);
  font-size: 17px;
}
.gallery-hero__stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 58px;
}
.stat { min-width: 170px; padding: 0 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { display: block; color: var(--gold-bright); font-family: var(--font-display); font-size: 32px; line-height: 1; }
.stat__label { display: block; margin-top: 8px; color: var(--ivory-faint); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.scroll-cue { position: relative; left: auto; bottom: auto; display: inline-flex; flex-direction: column; align-items: center; gap: 9px; margin: 42px auto 0; padding: 10px 18px 12px; border: 1px solid rgba(245, 242, 234, 0.12); border-radius: 999px; background: rgba(6, 8, 14, 0.54); color: var(--ivory-faint); box-shadow: 0 0 0 0 rgba(201, 166, 89, 0.18); transform: none; transition: color 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.3s; }
.scroll-cue:hover { color: var(--gold-bright); border-color: var(--gold-dim); background: rgba(6, 8, 14, 0.72); box-shadow: 0 0 0 8px rgba(201, 166, 89, 0.08); }
.scroll-cue__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.13em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.scroll-cue__arrow { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--gold-dim); border-radius: 50%; color: var(--gold-bright); font-size: 26px; line-height: 1; animation: scroll-bob 1.5s ease-in-out infinite; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(201, 166, 89, 0); }
  50% { transform: translateY(7px); box-shadow: 0 0 0 7px rgba(201, 166, 89, 0.08); }
}

@keyframes trust-name-loop {
  0%, 100% { color: var(--gold-bright); text-shadow: 0 0 0 rgba(228, 198, 127, 0); transform: translateY(0) scale(1); }
  50% { color: #f0d99c; text-shadow: 0 0 22px rgba(228, 198, 127, 0.42); transform: translateY(-3px) scale(1.025); }
}

.category-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 400;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.category-nav__track { display: flex; justify-content: center; gap: 8px; max-width: var(--container); margin: auto; padding: 10px 32px; overflow-x: auto; scrollbar-width: none; }
.category-nav__track::-webkit-scrollbar { display: none; }
.category-nav__pill { flex: 0 0 auto; padding: 6px 14px; border: 1px solid transparent; border-radius: 999px; color: var(--ivory-faint); font-family: var(--font-mono); font-size: 11px; transition: color 0.25s, border-color 0.25s, background 0.25s; }
.category-nav__pill:hover { color: var(--ivory); border-color: var(--line-strong); }
.category-nav__pill--accent { color: var(--gold-bright); border-color: var(--gold-dim); }

.category-section { position: relative; padding: 112px 0; overflow: hidden; scroll-margin-top: 135px; }
.category-section::before { content: ""; position: absolute; top: 12%; right: -12%; width: 520px; height: 520px; border-radius: 50%; background: rgba(0, 168, 225, 0.07); filter: blur(80px); pointer-events: none; }
.category-section::after { content: ""; position: absolute; bottom: 4%; left: -16%; width: 440px; height: 440px; border-radius: 50%; background: rgba(201, 166, 89, 0.045); filter: blur(90px); pointer-events: none; }
.category-section--alt { background: rgba(245, 242, 234, 0.025); border-top: 1px solid rgba(245, 242, 234, 0.035); border-bottom: 1px solid rgba(245, 242, 234, 0.035); }
.category-heading { margin-bottom: 42px; }
.category-heading h2 { margin-top: 10px; font-family: var(--font-display); font-size: clamp(38px, 5vw, 60px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.category-heading p { margin-top: 14px; color: var(--ivory-dim); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-grid--social { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { position: relative; isolation: isolate; min-height: 292px; display: flex; flex-direction: column; padding: 30px; overflow: hidden; border: 1px solid rgba(245, 242, 234, 0.12); border-radius: var(--radius-md); background: linear-gradient(145deg, rgba(245, 242, 234, 0.085), rgba(245, 242, 234, 0.025) 54%, rgba(6, 8, 14, 0.26)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 45px rgba(0, 0, 0, 0.12); transition: transform 0.35s var(--ease-out), border-color 0.35s, background 0.35s, box-shadow 0.35s; }
.product-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.09) 48%, transparent 72%); transform: translateX(-120%); animation: card-glass-sheen 10s ease-in-out infinite; }
.product-card::after { content: "10% OFF"; position: absolute; top: 18px; right: -40px; z-index: 2; width: 145px; padding: 7px 0; border: 1px solid rgba(255, 246, 205, 0.62); border-radius: 3px; background: linear-gradient(105deg, #9b6c1f, #f2d486 48%, #b47c24 78%, #f6dfa0); box-shadow: 0 5px 16px rgba(0, 0, 0, 0.28), 0 0 18px rgba(228, 198, 127, 0.22); color: #241806; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; line-height: 1; text-align: center; transform: rotate(35deg); animation: ribbon-shine 6s ease-in-out infinite; }
.product-card > * { position: relative; z-index: 1; }
.product-card__ambient-logo { position: absolute; top: 18%; right: 5%; z-index: 0; width: 190px; height: 190px; background-position: center; background-repeat: no-repeat; background-size: contain; opacity: 0.13; filter: blur(17px) saturate(160%); mix-blend-mode: screen; pointer-events: none; animation: ambient-logo-breathe 8s ease-in-out infinite; }
.product-card:hover { transform: translateY(-7px); border-color: rgba(228, 198, 127, 0.45); background: linear-gradient(145deg, rgba(245, 242, 234, 0.12), rgba(201, 166, 89, 0.035) 54%, rgba(6, 8, 14, 0.3)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 50px rgba(0, 0, 0, 0.3), 0 0 28px rgba(201, 166, 89, 0.08); }
.product-card:hover::after { box-shadow: 0 7px 20px rgba(0, 0, 0, 0.35), 0 0 24px rgba(228, 198, 127, 0.42); }
.product-card__logo-wrap { width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 25px; border: 1px solid rgba(245, 242, 234, 0.16); border-radius: 18px; background: linear-gradient(145deg, rgba(6, 8, 14, 0.68), rgba(245, 242, 234, 0.06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 9px 22px rgba(0, 0, 0, 0.2); transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s; }
.product-card:hover .product-card__logo-wrap { transform: translateY(-3px) scale(1.04); border-color: rgba(228, 198, 127, 0.42); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 12px 28px rgba(0, 0, 0, 0.28), 0 0 20px rgba(201, 166, 89, 0.1); }
.product-card__logo-wrap img { width: 48px; height: 48px; object-fit: contain; }
.product-card__name { font-family: var(--font-display); font-size: 25px; font-weight: 500; line-height: 1.1; }
.product-card__tagline { min-height: 28px; margin: 8px 0 22px; color: var(--ivory-faint); font-size: 13px; }
.product-card .btn { margin-top: auto; }
.product-card--service { min-height: 390px; }
.service-detail-list { display: grid; gap: 7px; margin: 1px 0 22px; color: var(--ivory-faint); font-size: 11.5px; line-height: 1.35; }
.service-detail-list li { position: relative; padding-left: 14px; }
.service-detail-list li::before { content: ""; position: absolute; top: 0.55em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold-dim); }

@keyframes card-glass-sheen {
  0%, 36% { transform: translateX(-120%); }
  58%, 100% { transform: translateX(120%); }
}
@keyframes ribbon-shine {
  0%, 58%, 100% { filter: brightness(0.96); }
  68% { filter: brightness(1.18); }
}
@keyframes ambient-logo-breathe {
  0%, 100% { opacity: 0.08; transform: scale(0.94) rotate(-3deg); }
  50% { opacity: 0.16; transform: scale(1.04) rotate(3deg); }
}
.product-card--social { min-height: 310px; }
.social-chip-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: auto; }
.chip { padding: 9px 6px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ivory-dim); font-size: 12px; transition: color 0.25s, border-color 0.25s, background 0.25s; }
.chip:hover { color: var(--gold-bright); border-color: var(--gold); background: rgba(201, 166, 89, 0.1); }

.custom-section { padding: 30px 0 120px; }
.custom-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 52px 56px; overflow: hidden; border: 1px solid var(--gold-dim); border-radius: var(--radius-lg); background: linear-gradient(105deg, rgba(27, 77, 62, 0.5), rgba(18, 24, 41, 0.8)); }
.custom-card__glow { position: absolute; width: 360px; height: 360px; right: 22%; top: -230px; border-radius: 50%; background: rgba(201, 166, 89, 0.14); filter: blur(40px); pointer-events: none; }
.custom-card__text { position: relative; z-index: 1; }
.custom-card h2 { max-width: 560px; margin-top: 10px; font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); font-weight: 500; line-height: 1.05; }
.custom-card p { max-width: 520px; margin-top: 14px; color: var(--ivory-dim); }
.whatsapp-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; padding: 14px 20px; border: 1px solid rgba(141, 234, 184, 0.4); border-radius: var(--radius-sm); background: rgba(37, 211, 102, 0.12); color: #b9f3ce; transition: transform 0.3s var(--ease-out), background 0.3s; }
.whatsapp-btn:hover { transform: translateY(-3px); background: rgba(37, 211, 102, 0.2); }
.whatsapp-btn__icon { width: 30px; height: 30px; object-fit: contain; }
.whatsapp-btn strong, .whatsapp-btn small { display: block; }
.whatsapp-btn strong { font-size: 14px; }
.whatsapp-btn small { margin-top: 2px; color: rgba(185, 243, 206, 0.7); font-family: var(--font-mono); font-size: 10px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 700; visibility: hidden; opacity: 0; background: rgba(3, 5, 9, 0.78); backdrop-filter: blur(7px); transition: opacity 0.3s, visibility 0.3s; }
.modal-backdrop.is-visible { visibility: visible; opacity: 1; }
.purchase-modal { position: fixed; z-index: 710; left: 50%; top: 50%; width: min(92vw, 480px); padding: 32px; visibility: hidden; opacity: 0; transform: translate(-50%, -46%) scale(0.96); border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--navy-800); box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5); transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease-out); }
.purchase-modal.is-open { visibility: visible; opacity: 1; transform: translate(-50%, -50%) scale(1); }
.purchase-modal__close, .purchase-toast__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--ivory-faint); transition: color 0.2s, background 0.2s; }
.purchase-modal__close:hover, .purchase-toast__close:hover { color: var(--ivory); background: var(--line); }
.purchase-modal__header { display: flex; align-items: center; gap: 16px; padding-right: 28px; }
.purchase-modal__logo { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 14px; background: rgba(6, 8, 14, 0.55); }
.purchase-modal__logo img { width: 44px; height: 44px; object-fit: contain; }
.purchase-modal h3 { font-family: var(--font-display); font-size: 28px; font-weight: 500; line-height: 1.1; }
.purchase-modal__header p { margin-top: 5px; color: var(--ivory-faint); font-size: 12px; }
.purchase-modal__label { margin-top: 30px; color: var(--gold); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.purchase-modal__plans { display: grid; gap: 9px; margin-top: 10px; }
.plan-radio { position: absolute; opacity: 0; pointer-events: none; }
.plan-option { position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ivory-dim); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.plan-option:hover, .plan-radio:checked + .plan-option { border-color: var(--gold); background: rgba(201, 166, 89, 0.1); color: var(--ivory); }
.plan-option__check { width: 16px; height: 16px; flex: 0 0 auto; border: 1px solid var(--ivory-faint); border-radius: 50%; }
.plan-radio:checked + .plan-option .plan-option__check { border: 5px solid var(--gold-bright); }
.plan-option__label { font-size: 14px; }
.plan-option__price { margin-left: auto; color: var(--gold-bright); font-weight: 600; }
.plan-option__badge { position: absolute; right: 12px; top: -9px; padding: 2px 7px; border-radius: 3px; background: var(--gold); color: var(--navy-950); font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; }
.purchase-modal__cta { margin-top: 24px; }
.purchase-modal__cta[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.purchase-modal__note { margin-top: 12px; text-align: center; color: var(--ivory-faint); font-size: 12px; }

.purchase-toast { position: fixed; z-index: 650; right: 26px; bottom: 26px; display: flex; align-items: center; gap: 12px; width: min(90vw, 340px); padding: 13px 42px 13px 13px; visibility: hidden; opacity: 0; transform: translateY(15px); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: rgba(18, 24, 41, 0.96); box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35); transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease-out); }
.purchase-toast.is-visible { visibility: visible; opacity: 1; transform: translateY(0); }
.purchase-toast__icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border-radius: 9px; background: rgba(6, 8, 14, 0.6); }
.purchase-toast__icon img { width: 28px; height: 28px; object-fit: contain; }
.purchase-toast__title { font-size: 12px; line-height: 1.35; }
.purchase-toast__title strong { color: var(--gold-bright); }
.purchase-toast__meta { margin-top: 3px; color: var(--ivory-faint); font-family: var(--font-mono); font-size: 9px; }
.purchase-toast__close { top: 50%; right: 7px; transform: translateY(-50%); }

[data-animate] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-animate].in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }
  .category-nav { top: var(--header-h); }
  .product-grid, .product-grid--social { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custom-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .section-inner, .header-inner { padding-left: 20px; padding-right: 20px; }
  .gallery-hero { min-height: 610px; padding-top: 155px; }
  .gallery-hero__title { font-size: clamp(42px, 12vw, 65px); }
  .gallery-hero__subtitle { font-size: 15px; }
  .gallery-hero__stats { margin-top: 42px; }
  .stat { min-width: 0; padding: 0 12px; }
  .stat__num { font-size: 25px; }
  .stat__label { font-size: 8px; letter-spacing: 0.04em; }
  .category-nav__track { justify-content: flex-start; padding: 9px 20px; }
  .category-section { padding: 78px 0; scroll-margin-top: 125px; }
  .product-grid, .product-grid--social { grid-template-columns: 1fr; }
  .product-card { min-height: 270px; }
  .custom-section { padding: 12px 0 80px; }
  .custom-card { padding: 32px 24px; }
  .purchase-modal { padding: 26px 20px; }
  .purchase-toast { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}


