/* ===== AB9 Media ===== */
:root {
  --bg: #eef4fd;
  --bg-2: #f7faff;
  --surface: #ffffff;
  --ink: #0b1b33;
  --ink-2: #44546e;
  --muted: #7a8aa3;
  --blue: #2f6fe0;
  --blue-deep: #1a4fb8;
  --blue-soft: #d9e6fb;
  --blue-pill: linear-gradient(90deg, #2f6fe0 0%, #3d8bf0 100%);
  --border: #d6e2f5;
  --radius: 22px;
  --shadow: 0 18px 50px -20px rgba(22, 64, 140, .35);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, #d6e6ff 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 30%, #e3eeff 0%, transparent 60%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; letter-spacing: .02em;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(47,111,224,.8); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; text-transform: uppercase; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238, 244, 253, .8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(214, 226, 245, .7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 800; font-size: 22px; }
.logo-mark { background: var(--blue-pill); color: #fff; padding: 2px 10px; border-radius: 10px; letter-spacing: .02em; }
.logo-text { color: var(--ink); }
.nav { display: flex; gap: 32px; font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--blue); }

/* ===== Hero ===== */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hero-photo {
  position: relative; border-radius: 32px; overflow: hidden;
  aspect-ratio: 1311 / 1448; box-shadow: var(--shadow);
  background:
    radial-gradient(70% 55% at 50% 38%, rgba(255,255,255,.35) 0%, transparent 70%),
    linear-gradient(160deg, #5a9cf5 0%, #2f6fe0 55%, #1a4fb8 100%);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); pointer-events: none;
}
.hero-photo img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.photo-placeholder {
  display: none; position: absolute; inset: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(150deg, #3d8bf0 0%, #1a4fb8 100%); color: #fff;
}
.photo-placeholder span { font-family: var(--font-head); font-weight: 800; font-size: clamp(64px, 10vw, 120px); letter-spacing: .02em; opacity: .95; }
.photo-placeholder small { opacity: .75; font-size: 14px; }
.hero-photo.no-photo .photo-placeholder { display: flex; }

.eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-deep);
  font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.hero-bio h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 22px; }
.hl { background: var(--blue-pill); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--ink-2); font-size: 17px; margin: 0 0 14px; max-width: 58ch; }
.tags { list-style: none; padding: 0; margin: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border); color: var(--ink-2);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Work ===== */
.work { padding: 24px 0 40px; }
.work-intro { text-align: center; color: var(--ink-2); font-size: 17px; margin: 0 0 22px; }
.work-intro strong { font-family: var(--font-head); color: var(--ink); font-size: 1.25em; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips a {
  padding: 10px 20px; border-radius: 999px; font-family: var(--font-head);
  font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .03em;
  background: #7ba7ec; color: #fff; transition: background .2s, transform .2s;
}
.chips a:hover { background: var(--ink); transform: translateY(-2px); }

.category { padding-top: 64px; }
.pill-title {
  display: block; text-align: center; color: #fff; background: var(--blue-pill);
  font-size: clamp(24px, 3.6vw, 44px); font-weight: 700; text-transform: uppercase;
  border-radius: 999px; padding: 10px 20px; margin-bottom: 28px;
  box-shadow: 0 14px 30px -18px rgba(26, 79, 184, .9);
}

/* ===== Carousel ===== */
.carousel { position: relative; }
.track {
  --w: clamp(210px, 22vw, 290px);
  --gap: 18px;
  display: flex; gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 36px calc(50% - var(--w) / 2);
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.track.wide { --w: clamp(280px, 52vw, 680px); }

.slide {
  flex: 0 0 var(--w); aspect-ratio: 9 / 16;
  scroll-snap-align: center;
  position: relative; border-radius: 18px; overflow: hidden;
  background: #0b1b33;
  transform: scale(.82); opacity: .4;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s, box-shadow .45s;
  cursor: pointer;
}
.track.wide .slide { aspect-ratio: 16 / 9; }
.slide.is-active { transform: scale(1.06); opacity: 1; box-shadow: 0 30px 60px -25px rgba(11, 27, 51, .6); z-index: 2; }
.slide img.poster { width: 100%; height: 100%; object-fit: cover; }
.slide iframe, .slide video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.slide video { object-fit: contain; }
.play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 64px; height: 64px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); color: var(--blue);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .2s, opacity .3s;
}
.play svg { width: 26px; height: 26px; margin-left: 4px; }
.slide:not(.is-active) .play { opacity: 0; }
.slide.is-active:hover .play { transform: scale(1.08); }
.slide.playing .play, .slide.playing .poster { display: none; }

.slide.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(150deg, #dbe8fd 0%, #b9d0f7 100%);
  border: 2px dashed #8eb0ea; color: var(--blue-deep); text-align: center; padding: 20px; cursor: default;
}
.slide.placeholder svg { width: 44px; height: 44px; }
.slide.placeholder strong { font-family: var(--font-head); font-size: 18px; }
.slide.placeholder span { font-size: 13px; color: var(--ink-2); }

.arrow {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 5;
  width: 56px; height: 56px; border-radius: 50%; border: 0;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  cursor: pointer; transition: background .2s, transform .2s;
}
.arrow:hover { background: var(--blue); }
.arrow:active { transform: scale(.94); }
.arrow svg { width: 24px; height: 24px; }
.arrow.prev { left: max(16px, calc(50% - 560px)); }
.arrow.next { right: max(16px, calc(50% - 560px)); }

/* ===== Contact ===== */
.contact { padding: 96px 0 40px; text-align: center; }
.contact-sub { text-align: center; color: var(--ink-2); margin: -10px 0 36px; }
.contact-icons { display: flex; justify-content: center; gap: 40px; }
.contact-icon { display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; color: var(--ink-2); }
.contact-icon svg {
  width: 96px; height: 96px; padding: 22px; border-radius: 50%;
  color: #fff; transition: transform .25s, box-shadow .25s;
}
.contact-icon.whatsapp svg { background: #25d366; box-shadow: 0 16px 34px -14px rgba(37, 211, 102, .9); }
.contact-icon.mail svg { background: var(--blue); box-shadow: 0 16px 34px -14px rgba(47, 111, 224, .9); }
.contact-icon:hover svg { transform: translateY(-6px) scale(1.05); }
.email-text {
  display: inline-block; margin-top: 36px;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 3.4vw, 34px);
  color: var(--ink); border-bottom: 3px solid var(--blue-soft); transition: border-color .2s, color .2s;
  word-break: break-all;
}
.email-text:hover { color: var(--blue); border-color: var(--blue); }

/* ===== Pricing ===== */
.pricing { padding: 72px 0 100px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column;
  box-shadow: 0 10px 30px -20px rgba(22, 64, 140, .35);
  transition: transform .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 54px; line-height: 1; margin: 0 0 10px; }
.price .cur { font-size: .5em; vertical-align: top; margin-right: 2px; position: relative; top: 6px; }
.price .per { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 4px; font-family: var(--font-body); }
.price-desc { color: var(--ink-2); margin: 0 0 22px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.price-card li { position: relative; padding-left: 28px; color: var(--ink-2); }
.price-card li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232f6fe0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.price-card.featured {
  background: linear-gradient(160deg, #1a4fb8 0%, #2f6fe0 55%, #3d8bf0 100%);
  color: #fff; border-color: transparent; transform: translateY(-10px);
  box-shadow: 0 30px 60px -25px rgba(26, 79, 184, .8);
}
.price-card.featured:hover { transform: translateY(-16px); }
.price-card.featured .price-desc, .price-card.featured li, .price-card.featured .per { color: rgba(255,255,255,.85); }
.price-card.featured li::before { background-color: rgba(255,255,255,.95); }
.price-card.featured .btn-primary { background: #fff; color: var(--blue-deep); box-shadow: none; }
.price-card.featured .btn-primary:hover { background: var(--ink); color: #fff; }
.badge {
  position: absolute; top: -13px; left: 50%; translate: -50% 0;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.badge-soft { position: static; translate: none; display: inline-block; background: var(--blue-soft); color: var(--blue-deep); margin-bottom: 14px; }

.trial-card {
  margin-top: 28px; flex-direction: row; align-items: center; justify-content: space-between; gap: 32px;
  border: 2px dashed #8eb0ea; background: linear-gradient(120deg, #ffffff 0%, #f1f6ff 100%);
}
.trial-left { flex: 1; }
.trial-card .price-desc { max-width: 52ch; }
.inline-list { display: flex !important; flex-wrap: wrap; gap: 10px 26px !important; margin: 0 !important; }
.trial-right { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }

/* ===== Custom package line ===== */
.custom-plan { text-align: center; color: var(--ink-2); font-size: 17px; margin: 40px auto 0; max-width: 62ch; }
.custom-plan strong { color: var(--ink); }
.custom-plan a { color: var(--blue); font-weight: 600; white-space: nowrap; border-bottom: 2px solid var(--blue-soft); transition: border-color .2s; }
.custom-plan a:hover { border-color: var(--blue); }
.hero-bio .name { color: var(--ink); font-weight: 600; }

/* ===== Payment ===== */
.payment { margin-top: 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.payment-label {
  margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.paypal-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 34px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
  box-shadow: 0 14px 34px -18px rgba(0, 48, 135, .55);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.paypal-btn:hover { transform: translateY(-4px); border-color: #0070e0; box-shadow: 0 20px 40px -18px rgba(0, 48, 135, .7); }
.paypal-mark { width: 30px; height: 35px; }
.paypal-word { font-family: "Verdana", var(--font-body); font-weight: 700; font-style: italic; font-size: 28px; letter-spacing: -.02em; }
.pp-pay { color: #003087; }
.pp-pal { color: #0070e0; }
.payment-note { margin: 0; color: var(--ink-2); font-size: 14px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 44px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-inner p { margin: 0; }
.logo-light .logo-text { color: #fff; }
.copy { font-size: 14px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { max-width: 460px; width: 100%; margin-inline: auto; }
  .hero-bio { text-align: center; }
  .lead { margin-inline: auto; }
  .tags, .hero-cta { justify-content: center; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
  .trial-card { flex-direction: column; align-items: stretch; max-width: 460px; margin-inline: auto; }
  .trial-right .btn { width: 100%; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .hero { padding: 32px 0 48px; }
  .track { --w: 64vw; --gap: 10px; padding-block: 28px; }
  .track.wide { --w: 84vw; }
  .slide.is-active { transform: scale(1); }
  .arrow { width: 44px; height: 44px; }
  .arrow svg { width: 20px; height: 20px; }
  .arrow.prev { left: 8px; }
  .arrow.next { right: 8px; }
  .category { padding-top: 44px; }
  .contact-icons { gap: 28px; }
  .contact-icon svg { width: 80px; height: 80px; padding: 18px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
