/* Hopi Ads — landing page */

:root {
  --hpa-text: #000;
  --hpa-muted: #6b6b70;
  --hpa-surface: #f5f6fa;
  --hpa-border: #e3e3e8;
  --hpa-light-btn: #f2f3f7;
  --hpa-gradient: linear-gradient(165deg, #fa0 0%, #ef2980 33%, #00b0d2 67%, #00e839 100%);
  --hpa-gradient-diag: linear-gradient(120deg, #fa0 0%, #ef2980 33%, #00b0d2 67%, #00e839 100%);
  --hpa-cta-text: #a8389a;
  --hpa-brand-gradient: linear-gradient(150deg, #fa0 0%, #ef2980 33%, #00b0d2 67%, #00e839 100%);
}

* { box-sizing: border-box; }

body.hpa {
  margin: 0;
  background: #fff;
  color: var(--hpa-text);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

:where(.hpa) img { display: block; max-width: 100%; height: auto; }
:where(.hpa) a { color: inherit; text-decoration: none; }
.hpa picture { display: contents; }
.hpa picture > source { display: none; }
:where(.hpa) :where(h1, h2, h3, p, figure, ol) { margin: 0; }
.hpa :focus-visible { outline: 3px solid #007a91; outline-offset: 4px; }

.hpa-skip { position: absolute; top: -100px; left: 16px; z-index: 20; padding: 10px; background: #fff; }
.hpa-skip:focus { top: 10px; }

.hpa-wide { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.hpa-container { width: min(1060px, calc(100% - 80px)); margin-inline: auto; }
.hpa-narrow { width: min(956px, calc(100% - 80px)); margin-inline: auto; }
.hpa-section { margin-top: 120px; text-align: center; }

/* Tipografi */
.hpa h1, .hpa h2 { font-weight: 700; letter-spacing: -.01em; }
.hpa h1 { font-size: 56px; line-height: 1.43; }
.hpa h2 { margin-bottom: 30px; font-size: 56px; line-height: 1.43; }
.hpa h1 > .hpa-grad::before, .hpa h2 > .hpa-grad::before { content: '\A'; white-space: pre; }
.hpa-title-tight > .hpa-grad::before { content: none !important; }
.hpa h2.hpa-grad { width: fit-content; margin-inline: auto; }
.hpa-lead { max-width: 880px; margin: 0 auto 40px; font-size: 20px; line-height: 1.5; }

.hpa-grad {
  background: var(--hpa-brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hpa-ai-note { display: block; color: rgba(255, 255, 255, .7); font-size: 12px; }
.hpa-ai-note--muted { margin-top: 20px; color: #b4b4ba; text-align: left; }

/* Butonlar */
.hpa-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 180px;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: filter .2s ease, transform .2s ease;
}
.hpa-btn:hover { filter: brightness(.96); }
.hpa-btn--lg { min-width: 240px; }
.hpa-btn--light { background: var(--hpa-light-btn); color: #000; }
.hpa-btn--gradient { background: var(--hpa-brand-gradient); color: #fff; }
.hpa-btn--white { min-width: 262px; height: 56px; background: #fff; color: var(--hpa-cta-text); }
.hpa-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* Header */
.hpa-header { display: flex; justify-content: space-between; align-items: center; height: 96px; }
.hpa-logo img { width: 150px; }
.hpa-header-actions { display: flex; gap: 16px; }

.hpa-hero { padding-top: 112px; text-align: center; background: linear-gradient(#fff 0, #fff 888px, var(--hpa-surface) 888px); }
.hpa-hero h1 { margin-bottom: 56px; line-height: 64px; }
.hpa-hero .hpa-lead { max-width: 1020px; margin-bottom: 64px; }
.hpa-hero-laptop { width: 1000px; margin: 124px auto 0; }

.hpa-features { padding: 60px 0 120px; background: var(--hpa-surface); text-align: center; }
.hpa-features h2 { margin-bottom: 40px; font-size: 44px; }
.hpa-features .hpa-lead { margin-bottom: 28px; }
.hpa-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hpa-card { min-height: 156px; padding: 32px 24px; border: 1px solid var(--hpa-border); border-radius: 24px; background: transparent; }
.hpa-card h3 { margin-bottom: 18px; font-size: 24px; font-weight: 700; }
.hpa-card p { font-size: 15px; line-height: 1.3; }

/* Kayan bant */
.hpa-marquee { overflow: hidden; padding: 20px 0; background: var(--hpa-gradient); color: #fff; font-size: 24px; font-weight: 700; }
.hpa-marquee-track { display: flex; width: max-content; animation: hpa-marquee var(--hpa-marquee-duration, 30s) linear infinite; }
.hpa-marquee-group { display: flex; flex-shrink: 0; }
.hpa-marquee span { white-space: nowrap; }
.hpa-marquee span::after { content: ''; display: inline-block; width: 10px; height: 10px; margin: 0 30px; border-radius: 50%; background: #fff; vertical-align: middle; }
.hpa-marquee:hover .hpa-marquee-track { animation-play-state: paused; }
@keyframes hpa-marquee { to { transform: translateX(-50%); } }

.hpa-photo { position: relative; margin-bottom: 40px; }
#hpa-steps-title { margin-top: 80px; }
.hpa-photo img { width: 100%; border-radius: 24px; }
.hpa-photo .hpa-ai-note { position: absolute; right: 40px; bottom: 40px; }

.hpa-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; width: min(1166px, 100vw - 80px); margin-left: 50%; transform: translateX(-50%); }
.hpa-stat { display: flex; flex-direction: column; justify-content: center; gap: 22px; min-height: 194px; border: 2px solid #ececf0; border-radius: 24px; }
.hpa-stat strong { align-self: center; font-size: 44px; font-weight: 700; line-height: 1.2; }
.hpa-stat span { font-size: 20px; font-weight: 700; }

/* Kanallar */
.hpa-channels { padding: 40px 40px; border-radius: 24px; background: var(--hpa-gradient-diag); }
.hpa-channels-head { padding: 0 0 32px; color: #fff; }
.hpa-channels-head h3 { font-size: 48px; font-weight: 700; line-height: 1.3; }
.hpa-channels-head p { font-size: 20px; }
.hpa-channel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hpa-channel { min-height: 188px; padding: 32px 40px; border-radius: 24px; background: #fff; }
.hpa-channel h3 { margin-bottom: 18px; font-size: 32px; font-weight: 700; line-height: 1.3; }
.hpa-channel p { font-size: 15px; line-height: 1.3; }

.hpa-steps { display: grid; grid-template-columns: repeat(3, 320px); justify-content: center; gap: 16px; margin-inline: -18px; padding: 0; list-style: none; }
.hpa-step { min-height: 244px; padding: 32px 20px; border-radius: 24px; background: var(--hpa-surface); }
.hpa-step-no { display: block; width: fit-content; margin-inline: auto; margin-bottom: 14px; font-size: 64px; font-weight: 700; line-height: 1.1; }
.hpa-step-no.hpa-grad { background-image: linear-gradient(101deg, #fa0 0%, #ef2980 33%, #00b0d2 67%, #00e839 100%); }
.hpa-step h3 { margin-bottom: 18px; font-size: 22px; font-weight: 700; }
.hpa-step p { font-size: 15px; line-height: 1.3; }

.hpa-ai-banner { position: relative; overflow: hidden; border-radius: 24px; text-align: left; }
.hpa-ai-photo img { width: 100%; }
.hpa-ai-content {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: 503px;
  padding: 50px 50px 50px 50px;
  background: url('../img/rectangle.png') left top / 100% 100% no-repeat;
  color: #fff;
}
.hpa-ai-content h3 { max-width: 400px; margin-bottom: 40px; font-size: 40px; font-weight: 700; line-height: 1.2; }
.hpa-ai-content p { max-width: 350px; font-size: 17px; line-height: 1.4; }
.hpa-ai-content .hpa-ai-note { margin-top: auto; }

/* Slogan */
.hpa-slogan { font-size: 64px !important; line-height: 1.2 !important; }

.hpa-design { display: grid; grid-template-columns: 460px 1fr; align-items: center; gap: 40px; padding-left: max(40px, calc((100% - 956px) / 2)); text-align: left; overflow: hidden; }
.hpa-design h2 { font-size: 64px; line-height: 1.3; }
.hpa-design p { max-width: 440px; margin-bottom: 64px; font-size: 22px; line-height: 1.4; }
.hpa-design .hpa-actions { justify-content: flex-start; }
.hpa-design .hpa-btn--lg { min-width: 220px; height: 56px; }
.hpa-design .hpa-actions { flex-wrap: nowrap; }
.hpa-design-laptop { justify-self: end; width: 712px; max-width: none; }

.hpa-models { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.hpa-model { min-height: 232px; padding: 36px 32px; border-radius: 24px; background: var(--hpa-surface); }
.hpa-model h3 { margin-bottom: 30px; font-size: 32px; font-weight: 700; line-height: 1.35; }
.hpa-model h3 .hpa-grad::before { content: '\A'; white-space: pre; }
.hpa-model p { font-size: 15px; line-height: 1.3; }

#hpa-who-title + .hpa-lead { max-width: none; }
.hpa-who { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hpa-who-card { position: relative; }
.hpa-who-card img { width: 100%; border-radius: 24px; }
.hpa-who-card figcaption {
  position: absolute;
  left: 50%;
  bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 210px;
  height: 108px;
  padding: 0 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 36px;
  font-weight: 700;
  transform: translateX(-50%);
}

/* Alt banner */
.hpa-cta { position: relative; display: flex; min-height: 488px; margin-top: 210px; border-radius: 32px; background: var(--hpa-gradient-diag); }
.hpa-cta-content { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 80px 80px 40px; }
.hpa-cta h2 { max-width: 480px; margin-bottom: 104px; color: #fff; font-size: 32px; font-weight: 500; line-height: 1.25; text-align: left; }
.hpa-cta .hpa-actions { justify-content: flex-start; }
.hpa-cta .hpa-ai-note { margin-top: auto; }
.hpa-cta-people { position: absolute; right: 0; bottom: 0; width: 640px; border-bottom-right-radius: 32px; }

/* Footer */
.hpa-footer { margin-top: 120px; }
.hpa-footer-brand { display: flex; align-items: center; gap: 24px; margin-bottom: 50px; }
.hpa-footer-brand img { width: 215px; }
.hpa-footer-brand span { flex: 1; height: 4px; background: linear-gradient(90deg, #ffae00, #f32686, #00aeee, #00ea1a); }
.hpa-footer-links { display: flex; justify-content: space-between; gap: 40px; }
.hpa .hpa-footer h2 { margin: 0 0 16px; font-size: 16px; font-weight: 700; }
.hpa-footer nav a { display: inline-block; margin-right: 16px; font-size: 14px; }
.hpa-footer a:hover { text-decoration: underline; }
.hpa-social { text-align: right; }
.hpa-social > div { display: flex; gap: 32px; margin-top: 8px; }
.hpa-social img { width: 24px; height: 24px; }
.hpa-footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: flex-end; min-height: 230px; overflow: hidden; padding-bottom: 40px; }
.hpa-footer-bottom p { position: relative; z-index: 1; font-size: 14px; font-weight: 700; line-height: 1.75; }
.hpa-footer-bottom p:last-of-type a { margin-left: 12px; font-weight: 400; }
.hpa-watermark { position: absolute; left: 26%; bottom: -28px; width: 621px; max-width: 60%; }

@media (min-width: 1100.02px) {
  .hpa-hero h1 { margin-inline: -80px; }
}

/* Tablet */
@media (max-width: 1100px) {
  .hpa h1, .hpa h2 { font-size: 44px; }
  .hpa-slogan, .hpa-design h2 { font-size: 48px !important; }
  .hpa-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hpa-steps { grid-template-columns: repeat(2, minmax(0, 320px)); }
  .hpa-design { grid-template-columns: 1fr; padding-right: 40px; }
  .hpa-design-laptop { width: 100%; justify-self: center; }
  .hpa-cta-people { width: 50%; }
}

/* Mobil */
@media (max-width: 767.98px) {
  body.hpa { font-size: 14px; }
  .hpa-wide, .hpa-container, .hpa-narrow { width: calc(100% - 48px); }
  .hpa-section { margin-top: 64px; }
  .hpa h1 { font-size: 34px; line-height: 1.18; }
  .hpa h2, .hpa-slogan, .hpa-design h2 { font-size: 44px !important; line-height: 1.2 !important; }
  .hpa .hpa-footer h2 { font-size: 16px !important; }
  .hpa h1 > .hpa-grad::before, #hpa-model-title > .hpa-grad::before { content: none; }
  .hpa-lead { margin-bottom: 32px; font-size: 15px; }
  #hpa-steps-title { margin-top: 48px; }
  .hpa .hpa-slogan { font-size: 38px !important; }
  .hpa-hide-mobile { display: none !important; }
  .hpa-btn, .hpa-btn--lg { min-width: 208px; height: 44px; font-size: 14px; }

  .hpa-header { height: 72px; }
  .hpa-logo img { width: 92px; }
  .hpa-header .hpa-btn { min-width: 0; height: 36px; padding: 0 16px; }

  .hpa-hero { padding-top: 40px; background: linear-gradient(#fff 0, #fff 790px, var(--hpa-surface) 790px); }
  .hpa-hero h1 { margin-bottom: 24px; }
  .hpa-hero .hpa-actions { flex-direction: column; align-items: center; }
  .hpa-hero-laptop { width: calc(100% - 48px); margin-top: 72px; }

  .hpa-features { padding: 48px 0 64px; }
  .hpa-features h2 { font-size: 36px !important; }

  .hpa-scroll {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 12px;
    width: auto !important;
    margin: 0 -24px !important;
    padding: 0 24px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    scrollbar-width: none;
    transform: none !important;
  }
  .hpa-scroll::-webkit-scrollbar { display: none; }
  .hpa-scroll:focus-visible { outline-offset: -3px; }
  .hpa-scroll > * { flex: 0 0 auto; scroll-snap-align: start; }
  .hpa-features .hpa-scroll { margin: 0 !important; padding-inline: 24px; }
  .hpa-card { width: 230px; padding: 32px 20px; }
  .hpa-card h3 { font-size: 20px; }
  .hpa-card p { font-size: 14px; }

  .hpa-marquee { padding: 15px 0; font-size: 20px; }
  .hpa-marquee span::after { width: 8px; height: 8px; margin: 0 22px; }

  .hpa-photo { margin-bottom: 32px; }
  .hpa-photo .hpa-ai-note { right: 16px; bottom: 16px; font-size: 10px; }

  .hpa-stat { width: 230px; min-height: 170px; }
  .hpa-stat strong { font-size: 36px; }
  .hpa-stat span { font-size: 18px; }

  .hpa-channels { margin-inline: -8px; padding: 24px 14px; }
  .hpa-channels-head h3 { font-size: 40px; }
  .hpa-channels-head p { font-size: 18px; }
  .hpa-channel-grid { grid-template-columns: 1fr; gap: 12px; }
  .hpa-channel { min-height: 0; padding: 28px 20px; }
  .hpa-channel h3 { margin-bottom: 12px; font-size: 24px; }
  .hpa-channel p { font-size: 14px; }

  .hpa-step { width: 260px; min-height: 244px; padding: 32px 20px; }
  .hpa-step-no { font-size: 56px; }
  .hpa-step h3 { font-size: 20px; }
  .hpa-step p { font-size: 14px; }

  .hpa-ai-banner { display: flex; flex-direction: column; }
  .hpa-ai-photo img { width: 100%; }
  .hpa-ai-content { position: static; width: auto; margin-top: -40px; padding: 32px 20px 24px; border-radius: 24px; background: var(--hpa-gradient-diag); text-align: center; }
  .hpa-ai-content h3 { max-width: none; margin-bottom: 20px; font-size: 30px; }
  .hpa-ai-content p { max-width: none; margin-bottom: 40px; font-size: 15px; line-height: 1.6; }

  .hpa-design { display: flex; flex-direction: column-reverse; gap: 32px; padding: 0 24px; text-align: center; }
  .hpa-design p { margin-bottom: 32px; font-size: 15px; }
  .hpa-design .hpa-actions { flex-direction: column; align-items: center; }
  .hpa-design .hpa-btn--lg { min-width: 208px; height: 44px; }
  .hpa-design-laptop { width: 100%; }

  .hpa-model { width: 260px; min-height: 345px; padding: 32px 20px; }
  .hpa-model h3 { margin-bottom: 24px; font-size: 32px; }
  .hpa-model p { font-size: 14px; }

  .hpa-who-card { width: 280px; }
  .hpa-who-card figcaption { min-width: 0; width: calc(100% - 100px); height: 64px; font-size: 24px; }

  .hpa-cta { flex-direction: column; min-height: 0; margin-top: 64px; overflow: hidden; border-radius: 24px; }
  .hpa-cta-content { padding: 24px 16px 0; }
  .hpa-cta h2 { margin-bottom: 20px; font-size: 22px !important; line-height: 1.3 !important; font-weight: 600; }
  .hpa-cta .hpa-actions { flex-direction: column; gap: 12px; }
  .hpa-cta .hpa-btn--white { width: 100%; min-width: 0; height: 48px; }
  .hpa-cta .hpa-ai-note { margin: 20px 0 16px; font-size: 10px; }
  .hpa-cta-people { position: static; width: 100%; }

  .hpa-footer { margin-top: 64px; }
  .hpa-footer-brand { gap: 20px; margin-bottom: 32px; }
  .hpa-footer-brand img { width: 185px; }
  .hpa-footer-links { flex-direction: column; gap: 48px; }
  .hpa-footer nav a { font-size: 14px; }
  .hpa-social { text-align: left; }
  .hpa-social h2 { display: none; }
  .hpa-social > div { justify-content: space-between; }
  .hpa-social img { width: 32px; height: 32px; }
  .hpa-footer-bottom { flex-direction: column; align-items: flex-start; gap: 24px; min-height: 0; margin-inline: -24px; padding: 48px 24px 130px; }
  .hpa-footer-bottom br { display: none; }
  .hpa-footer-bottom p:last-of-type { font-weight: 400; }
  .hpa-footer-bottom p:last-of-type span { display: block; color: var(--hpa-muted); }
  .hpa-footer-bottom p:last-of-type a { margin-left: 0; font-weight: 700; }
  .hpa-watermark { left: 0; bottom: -12px; width: 104%; max-width: none; }
}

/* Scroll animasyonu (js/main.js ekler) */
.hpa-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.22, 1, .36, 1);
}
.hpa-reveal-pending { opacity: 0; transform: translateY(40px); }
.hpa-reveal-pending:focus-within { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hpa-reveal { opacity: 1; transform: none; transition: none; }
  .hpa-marquee-track { animation: none; }
  .hpa-btn { transition: none; }
}

@media print {
  .hpa-reveal, .hpa-reveal-pending { opacity: 1 !important; transform: none !important; }
  .hpa-marquee-track { animation: none; }
}
