/* Антидетект для Google — стили из elemenst/serv/index.html, скоп .antidetect-google-page */

/* Page title: все заглавные, «для Google» — фирменный синий */
.antidetect-google-page #page-title {
  text-transform: uppercase;
}
.antidetect-google-page #page-title span {
  color: #1c91f8;
}

/* Bio section title: все заглавные, цвет #484848 */
.antidetect-google-page .bio-title {
  text-transform: uppercase;
  color: #484848;
}

/* Detection section title: все заглавные */
.antidetect-google-page .detection-heading {
  text-transform: uppercase;
}

/* Detection section: фон header-bg-blue */
.antidetect-google-page .detection-section {
  background: url("../website/images/header-bg-blue.jpg") no-repeat center;
  background-size: cover;
}

/* Иконки в блоках: фон фирменный синий, иконки белые */
.antidetect-google-page .icon-box-brand {
  background: #1c91f8;
}
.antidetect-google-page .icon-box-brand svg {
  color: #fff;
}

/* CTA-кнопка «Начать бесплатно» — как на about: фирменный синий */
.antidetect-google-page .cta-btn-brand {
  background: #1c91f8;
  box-shadow: 0 10px 30px rgba(28, 145, 248, 0.3);
}
.antidetect-google-page .cta-btn-brand:hover {
  background: #1577d4;
  box-shadow: 0 10px 30px rgba(28, 145, 248, 0.4);
}

/* Заголовок сравнения — как «Рекомендуем прочесть» */
.antidetect-google-page .comparison-section-title {
  margin-bottom: 48px;
}
.antidetect-google-page .comparison-section-title h2 {
  position: relative;
  text-align: center;
  margin: 0;
  font-size: 52px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-family: Geometria, Helvetica Neue, HelveticaNeueCyr, sans-serif;
  font-weight: 700;
  color: #1c1c1c;
}
.antidetect-google-page .comparison-section-title h2 span {
  color: #1c91f8;
}
@media (max-width: 767px) {
  .antidetect-google-page .comparison-section-title h2 {
    font-size: 30px;
  }
}


.antidetect-google-page {
  box-sizing: border-box;
}

/* Adaptive side spacing for .container sections on tablets/small desktops */
.antidetect-google-page .container {
  max-width: calc(100% - 2 * clamp(1.5rem, 5vw, 3rem));
}

.antidetect-google-page .gradient-bg {
  background: linear-gradient(135deg, #010b19 0%, #1a1a3e 50%, #5e48fb 100%);
}


.antidetect-google-page .badge-glow {
  box-shadow: 0 0 20px rgba(255, 237, 35, 0.35);
}

/* Comparison table */
.antidetect-google-page .comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background: #fff;
}

.antidetect-google-page .comparison-table thead {
  background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
}

.antidetect-google-page .comparison-table th {
  padding: 24px 16px;
  text-align: center;
  font-family: 'Geometria', 'Helvetica Neue', 'HelveticaNeueCyr', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.antidetect-google-page .comparison-table th:first-child {
  text-align: left;
  background: #fff;
  color: #181818;
  border-color: #e5e7eb;
}

.antidetect-google-page .comparison-table th:nth-child(2) {
  background: linear-gradient(135deg, #000815 0%, #1a1a3e 100%);
}

.antidetect-google-page .comparison-table th:nth-child(3) {
  background: linear-gradient(135deg, #01a9ff 0%, #0088cc 100%);
}

.antidetect-google-page .comparison-table td {
  padding: 20px 16px;
  text-align: center;
  font-size: 14px;
  border: 1px solid #e5e7eb;
  height: 80px;
  vertical-align: middle;
}

.antidetect-google-page .comparison-table td:first-child {
  text-align: left;
  background: #fff;
  color: #181818;
  font-weight: 600;
  border-color: #e5e7eb;
}

.antidetect-google-page .comparison-table td:nth-child(2) {
  background: #f8f9fa;
  color: #000815;
  border-color: #e5e7eb;
}

.antidetect-google-page .comparison-table td:nth-child(3) {
  background: #f0f9ff;
  color: #01a9ff;
  border-color: #e5e7eb;
}

.antidetect-google-page .comparison-table tbody tr:nth-child(odd) td:nth-child(2) {
  background: #fff;
}

.antidetect-google-page .comparison-table tbody tr:nth-child(odd) td:nth-child(3) {
  background: #fff;
}

.antidetect-google-page .check-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
}

.antidetect-google-page .check-icon svg {
  width: 34px;
  height: 34px;
  display: block;
}

.antidetect-google-page .cross-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ef4444;
  font-size: 12px;
}

.antidetect-google-page .cross-icon svg {
  width: 20px;
  height: 20px;
}

.antidetect-google-page .comparison-table tbody tr {
  opacity: 0;
}

.antidetect-google-page .comparison-table tbody tr.fade-in {
  animation: ag-fadeInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.antidetect-google-page .comparison-table tbody tr:nth-child(1).fade-in { animation-delay: 0.1s; }
.antidetect-google-page .comparison-table tbody tr:nth-child(2).fade-in { animation-delay: 0.2s; }
.antidetect-google-page .comparison-table tbody tr:nth-child(3).fade-in { animation-delay: 0.3s; }
.antidetect-google-page .comparison-table tbody tr:nth-child(4).fade-in { animation-delay: 0.4s; }
.antidetect-google-page .comparison-table tbody tr:nth-child(5).fade-in { animation-delay: 0.5s; }
.antidetect-google-page .comparison-table tbody tr:nth-child(6).fade-in { animation-delay: 0.6s; }

@keyframes ag-fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.antidetect-google-page .project-card {
  position: relative;
  opacity: 0;
  animation: ag-fadeInOnly 0.5s ease forwards;
}

@keyframes ag-fadeInOnly {
  from { opacity: 0; }
  to { opacity: 1; }
}

.antidetect-google-page .project-card::before {
  display: none;
}

.antidetect-google-page .project-card .w-12 {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.antidetect-google-page .achievement-card {
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.antidetect-google-page .achievement-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.antidetect-google-page .achievement-hover::before {
  display: none;
}

.antidetect-google-page .achievement-hover .w-14 {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.antidetect-google-page .bio-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.antidetect-google-page .bio-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.antidetect-google-page .bio-title {
  opacity: 0;
  animation: ag-textReveal 0.6s ease forwards;
}

.antidetect-google-page .bio-section.visible .bio-title {
  opacity: 1;
  animation: ag-textReveal 0.6s ease forwards;
}

.antidetect-google-page .bio-text {
  opacity: 0;
  animation: ag-textReveal 0.6s ease 0.15s forwards;
}

.antidetect-google-page .bio-section.visible .bio-text {
  opacity: 1;
  animation: ag-textReveal 0.6s ease 0.15s forwards;
}

@keyframes ag-textReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.antidetect-google-page .animate-fade-in {
  animation: ag-fadeInUp 0.6s ease forwards;
}

@keyframes ag-pulse-icon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.antidetect-google-page .animate-pulse-icon {
  animation: ag-pulse-icon 1.5s ease-in-out infinite;
}

@keyframes ag-logoSpinPop {
  0% { opacity: 0; transform: scale(0.3) rotateZ(-180deg); }
  70% { transform: scale(1.15) rotateZ(10deg); }
  100% { opacity: 1; transform: scale(1) rotateZ(0deg); }
}

.antidetect-google-page .google-logo-animate {
  animation: ag-logoSpinPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.antidetect-google-page .font-heading {
  font-family: 'Geometria', 'Helvetica Neue', 'HelveticaNeueCyr', sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .antidetect-google-page .comparison-table { font-size: 12px; }
  .antidetect-google-page .comparison-table th,
  .antidetect-google-page .comparison-table td { padding: 12px 8px; }
  .antidetect-google-page .comparison-table th { font-size: 14px; }
  .antidetect-google-page .comparison-table td { height: 60px; }
}

/* FAQ Accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
}
.faq-open .faq-answer {
    max-height: 500px;
    padding-top: 0;
    padding-bottom: 20px;
}
.faq-chevron {
    transition: transform 0.3s ease;
}
.faq-open .faq-chevron {
    transform: rotate(180deg);
}

/* Steps section */
/* Section titles — match global style from main page */
.antidetect-google-page .section-title h2 {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    line-height: 1.2;
    color: #1c1c1c;
}
.antidetect-google-page .section-title h2 span {
    color: #1c91f8;
}
@media (max-width: 767px) {
    .antidetect-google-page .section-title h2 {
        font-size: 30px;
    }
}

/* Override step num color - no animation on service page */
.antidetect-google-page .uc-step-num {
    color: #1c91f8 !important;
}

/* Hero background video */
.service-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
}

/* Hero logo size constraint + shine effect */
.svc-hero-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-width: 80px;
    min-height: 80px;
}
@media (min-width: 768px) {
    .svc-hero-logo {
        min-width: 96px;
        min-height: 96px;
    }
}
.svc-hero-logo svg {
    width: 80px !important;
    height: 80px !important;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .svc-hero-logo svg {
        width: 96px !important;
        height: 96px !important;
    }
}
.svc-hero-logo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.4) 45%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.4) 55%, transparent 60%);
    animation: svc-logo-shine 3s ease-in-out infinite;
    pointer-events: none;
}
@keyframes svc-logo-shine {
    0%, 70%, 100% { left: -60%; opacity: 0; }
    10% { opacity: 1; }
    40% { left: 120%; opacity: 1; }
    41% { opacity: 0; }
}
.svc-section-title {
    font-family: 'Geometria', 'Helvetica Neue', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    color: #333;
}

/* Service page CTA button */
.svc-cta-btn {
    width: auto;
    max-width: 15rem;
    margin: 0 auto;
    display: flex;
}

/* Badge glow + pulse animation */
.badge-glow {
    box-shadow: 0 0 20px rgba(255, 237, 35, 0.3);
}
@keyframes pulse-icon {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.9); }
}
.animate-pulse-icon {
    animation: pulse-icon 2s ease-in-out infinite;
}

/* Unified card hover — single source of truth for ALL card hovers */
.card-hover {
    overflow: visible !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.card-hover:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 48px rgba(28, 145, 248, 0.18) !important;
    border-color: rgba(28, 145, 248, 0.25) !important;
}
