/* ================================================================
   COPIATODO — CopiPrint Sales Page Custom Content Styles
   ================================================================ */

:root {
  --cp-bg: #0B0A16;
  --cp-card-bg: rgba(26, 24, 52, 0.75);
  --cp-border: rgba(240, 119, 32, 0.2);
  --cp-border-hover: rgba(240, 119, 32, 0.6);
  --cp-orange: #F07720;
  --cp-orange-glow: rgba(240, 119, 32, 0.35);
  --cp-purple: #2D2B8F;
  --cp-text-primary: #FFFFFF;
  --cp-text-secondary: #94A3B8;
}

body.copiprint-body {
  background-color: var(--cp-bg);
  color: var(--cp-text-primary);
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  overflow-x: hidden;
}

/* ── Hero Section ────────────────────────────────────────────────── */
.cp-hero {
  position: relative;
  padding: 9rem 1.5rem 4rem;
  background: radial-gradient(circle at 50% 20%, rgba(45, 43, 143, 0.45) 0%, rgba(11, 10, 22, 1) 75%);
  text-align: center;
  overflow: hidden;
}

.cp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(240, 119, 32, 0.12);
  border: 1px solid var(--cp-border);
  color: var(--cp-orange);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px var(--cp-orange-glow);
}

.cp-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 60%, var(--cp-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cp-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--cp-text-secondary);
  max-width: 750px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ── Sales Video Section ─────────────────────────────────────────── */
.cp-video-wrapper {
  max-width: 960px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.cp-video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px var(--cp-orange-glow);
  border: 2px solid var(--cp-border);
}

.cp-video-element,
.cp-video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.cp-video-container div {
  padding-top: 0 !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.cp-video-placeholder {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1A1834 0%, #0F0E2A 100%);
  color: var(--cp-text-secondary);
  gap: 1rem;
}

.cp-video-placeholder i {
  font-size: 3.5rem;
  color: var(--cp-orange);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* ── Services Grid Section ───────────────────────────────────────── */
.cp-section {
  padding: 4rem 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
}

.cp-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.cp-section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.cp-section-desc {
  color: var(--cp-text-secondary);
  font-size: 1rem;
}

.cp-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.cp-service-card {
  background: var(--cp-card-bg);
  border: 1px solid var(--cp-border);
  border-radius: 16px;
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.cp-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--cp-purple), var(--cp-orange));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cp-service-card:hover {
  transform: translateY(-6px);
  border-color: var(--cp-border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--cp-orange-glow);
}

.cp-service-card:hover::before {
  opacity: 1;
}

.cp-service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(240, 119, 32, 0.12);
  border: 1px solid rgba(240, 119, 32, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--cp-orange);
  margin-bottom: 1.25rem;
}

.cp-service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.cp-service-desc {
  font-size: 0.92rem;
  color: var(--cp-text-secondary);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.cp-service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cp-orange);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.cp-service-cta:hover {
  gap: 0.75rem;
}

/* ── Photo Gallery Showcase ───────────────────────────────────────── */
.cp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.cp-gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cp-card-bg);
  border: 1px solid var(--cp-border);
  cursor: pointer;
}

.cp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cp-gallery-item:hover img {
  transform: scale(1.08);
}

.cp-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 14, 42, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cp-gallery-item:hover .cp-gallery-overlay {
  opacity: 1;
}

.cp-gallery-caption {
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
}

/* ── Lightbox Overlay ────────────────────────────────────────────── */
.cp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.cp-lightbox.active {
  display: flex;
}

.cp-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.cp-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ── Final Sales CTA Box ─────────────────────────────────────────── */
.cp-cta-box {
  background: linear-gradient(135deg, rgba(45, 43, 143, 0.6) 0%, rgba(240, 119, 32, 0.2) 100%);
  border: 1px solid var(--cp-border);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  margin: 4rem auto 2rem;
  max-width: 900px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.cp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 1rem 2.25rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cp-cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

/* ── Footer Social Icons Horizontal Row ──────────────────────────── */
.footer-social {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-top: 1.25rem !important;
}

.footer-social .social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  text-decoration: none !important;
  font-size: 1.25rem !important;
  transition: transform 0.25s ease, opacity 0.25s ease !important;
}

.footer-social .social-link:hover {
  transform: translateY(-3px) scale(1.1) !important;
}

.footer-social .social-link.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  color: #fff !important;
}

.footer-social .social-link.tiktok {
  background: #000000;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.2);
}

.footer-social .social-link.whatsapp {
  background: #25D366;
  color: #fff !important;
}
