/* ====================================================
   tiktokagency.css — TikTok Odaklı Reklam Ajansı (1:1 Referans)
   ==================================================== */

.tiktokagency-section {
  padding: 90px 0 100px;
  background-color: #FFFFFF !important;
  color: #0F172A;
  position: relative;
}

.tiktokagency-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── MAIN 3-COL GRID ─── */
.agency-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 300px 240px;
  gap: 28px;
  align-items: center;
  margin-bottom: 44px;
}

/* ─── LEFT COLUMN ─── */
.agency-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.agency-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #0F172A;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.agency-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.2px;
  color: #0F172A;
  margin: 0 0 14px;
}

.text-pink-gradient {
  background: linear-gradient(135deg, #FF2056 0%, #E6003A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-teal {
  color: #00F2EA;
  -webkit-text-fill-color: #00F2EA;
}

.agency-subtitle {
  font-size: 14.5px;
  line-height: 1.5;
  color: #64748B;
  margin: 0 0 24px;
}

/* 3 Horizontal Features Row */
.agency-3feats-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.feat-mini-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}

.feat-mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0B0E14;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-mini-text {
  display: flex;
  flex-direction: column;
}

.feat-mini-text strong {
  font-size: 12px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 2px;
  line-height: 1.2;
}

.feat-mini-text span {
  font-size: 10.5px;
  color: #64748B;
  line-height: 1.35;
}

/* Dark Bottom Metrics Card */
.agency-dark-stats-card {
  background: #0B0E14;
  border-radius: 18px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.dstat-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.dstat-icon {
  margin-bottom: 4px;
}

.dstat-num {
  font-size: 18px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.dstat-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  margin-top: 2px;
}

/* ─── CENTER PHONES PERSPECTIVE STACK ─── */
.agency-phones-stack {
  position: relative;
  width: 300px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating UGC Badge */
.ugc-floating-badge {
  position: absolute;
  top: 60px;
  left: -20px;
  z-index: 20;
  background: linear-gradient(135deg, #FF2056 0%, #E6003A 100%);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(255, 32, 86, 0.5);
}

/* Back Phone Layers */
.phone-stack-layer {
  position: absolute;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
  filter: blur(0.5px);
  opacity: 0.8;
}

.layer-back-2 {
  width: 170px;
  height: 310px;
  right: -10px;
  z-index: 1;
  transform: rotate(6deg) scale(0.9);
}

.layer-back-1 {
  width: 185px;
  height: 340px;
  left: 10px;
  z-index: 2;
  transform: rotate(-4deg) scale(0.95);
}

.phone-stack-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Main Front Phone */
.phone-stack-main {
  position: relative;
  z-index: 10;
  width: 200px;
  height: 390px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 3px solid #1E293B;
  background: #000000;
}

.phone-main-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-tt-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  padding: 12px;
  color: #FFFFFF;
  box-sizing: border-box;
}

.phone-top-tabs {
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  margin-top: 4px;
}

.tab-dimmed {
  opacity: 0.6;
}

.phone-center-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-right-actions {
  position: absolute;
  right: 10px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.action-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 8.5px;
  font-weight: 700;
}

.action-avatar-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FF2056;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-bottom-sound {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 8.5px;
  opacity: 0.75;
}

/* ─── RIGHT COLUMN METRIC CARDS ─── */
.agency-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.agency-results-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 16px;
}

.agency-metrics-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.agency-m-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.m-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.m-card-lbl {
  font-size: 11.5px;
  color: #64748B;
  font-weight: 600;
}

.m-badge {
  font-size: 10px;
  font-weight: 800;
}

.m-green { color: #10B981; }
.m-teal { color: #00F2EA; }
.m-purple { color: #A855F7; }

.m-card-val {
  font-size: 22px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.m-sparkline {
  height: 24px;
}

/* ─── MIDDLE BRAND LOGOS STRIP ─── */
.agency-brands-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 24px;
  text-align: center;
  margin-bottom: 24px;
}

.agency-brands-head {
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  display: block;
  margin-bottom: 14px;
}

.agency-brands-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 800;
  color: #334155;
  letter-spacing: 0.5px;
}

.agency-brands-logos small {
  font-size: 9px;
}

/* ─── BOTTOM PINK BANNER CTA CARD ─── */
.agency-cta-pink-card {
  background: #FFF0F5;
  border: 1px solid rgba(255, 32, 86, 0.2);
  border-radius: 20px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-left-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-tt-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF2056 0%, #E6003A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(255, 32, 86, 0.35);
  flex-shrink: 0;
}

.cta-text-wrap {
  display: flex;
  flex-direction: column;
}

.cta-title {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 3px;
  letter-spacing: -0.3px;
}

.cta-sub {
  font-size: 13px;
  color: #64748B;
  margin: 0;
}

.btn-pink-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #FF2056 0%, #E6003A 100%);
  border-radius: 9999px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 32, 86, 0.4);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-pink-cta-pill:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 12px 30px rgba(255, 32, 86, 0.6);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .agency-main-grid {
    grid-template-columns: 1fr;
  }
  .agency-phones-stack {
    margin: 0 auto;
  }
  .agency-cta-pink-card {
    flex-direction: column;
    text-align: center;
  }
  .cta-left-group {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .agency-title { font-size: 32px; }
  .agency-3feats-row { flex-direction: column; }
  .agency-dark-stats-card { grid-template-columns: repeat(2, 1fr); }
}
