/* ==========================================================================
   Design System & Stylesheet for detectiveprivadovalencia.es Domain Sale Page
   Aesthetic: Executive Luxury Dark Mode, Sleek Glassmorphism & Micro-animations
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-body: #07090e;
  --bg-card: rgba(18, 24, 38, 0.7);
  --bg-card-hover: rgba(28, 38, 58, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-strong: rgba(255, 255, 255, 0.07);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(245, 158, 11, 0.3);
  --border-active: rgba(56, 189, 248, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-gold-glow: rgba(245, 158, 11, 0.18);

  --accent-blue: #38bdf8;
  --accent-blue-glow: rgba(56, 189, 248, 0.18);

  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.2);

  --whatsapp-green: #25d366;
  --whatsapp-hover: #20ba59;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows & Effects */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 50px rgba(245, 158, 11, 0.15);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(245, 158, 11, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 10% 30%, rgba(56, 189, 248, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(245, 158, 11, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 110%, rgba(56, 189, 248, 0.1) 0%, transparent 60%);
  background-attachment: fixed;
}

/* Subtle grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

.site-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.6;
  }
}

.header-quick-action {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.12);
  color: var(--whatsapp-green);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-header-wa:hover {
  background: var(--whatsapp-green);
  color: #052310;
  border-color: var(--whatsapp-green);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title-wrapper {
  margin-bottom: 20px;
}

.hero-domain-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 20%, #fed7aa 60%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 40px rgba(245, 158, 11, 0.2);
  word-break: break-word;
}

.domain-extension {
  color: var(--accent-gold-light);
  -webkit-text-fill-color: var(--accent-gold-light);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-subtitle strong {
  color: var(--text-main);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.btn-primary-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.btn-secondary-cta:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  transform: translateY(-2px);
}

/* Domain Highlight Metrics (Bar) */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 70px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.metric-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.metric-card:hover::before {
  opacity: 1;
}

.metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-gold);
  margin-bottom: 14px;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Section Common */
.section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-tag {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold-light);
  margin-bottom: 22px;
}

.feature-box h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.feature-points li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-points li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* ==========================================================================
   CONTACT SECTION (NO FORMS - DIRECT CONTACT DIRECTORY)
   ========================================================================== */
.contact-section {
  padding: 80px 0;
  position: relative;
}

.contact-container {
  background: linear-gradient(180deg, rgba(24, 32, 50, 0.75) 0%, rgba(13, 18, 29, 0.9) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-glow), var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.contact-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue), var(--accent-gold));
}

.contact-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.contact-intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.contact-card {
  background: rgba(11, 15, 25, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.contact-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  background: rgba(16, 22, 38, 0.85);
}

.contact-card.featured {
  border-color: rgba(37, 211, 102, 0.35);
  background: rgba(13, 30, 24, 0.4);
}

.contact-card.featured:hover {
  border-color: var(--whatsapp-green);
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card.featured .contact-card-icon {
  background: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp-green);
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.contact-card.phone-card .contact-card-icon {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.contact-card.email-card .contact-card-icon {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.contact-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.contact-card-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact-card-body {
  margin-bottom: 24px;
}

.contact-value-display {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  word-break: break-all;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-actions {
  display: flex;
  gap: 10px;
}

.btn-action-main {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-whatsapp-action {
  background: var(--whatsapp-green);
  color: #052310;
}

.btn-whatsapp-action:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-phone-action {
  background: var(--accent-blue);
  color: #041f2d;
}

.btn-phone-action:hover {
  background: #7dd3fc;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
}

.btn-email-action {
  background: var(--accent-gold);
  color: #261601;
}

.btn-email-action:hover {
  background: var(--accent-gold-light);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-copy-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-copy-action:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Trust / Transfer Info Box */
.transfer-info-box {
  background: rgba(11, 15, 25, 0.5);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.trust-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.trust-text strong {
  color: var(--text-main);
  display: block;
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  position: relative;
}

.step-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Audience Grid (Who is this for) */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.audience-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.audience-card h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.audience-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 60px;
  font-size: 0.88rem;
  color: var(--text-subtle);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.footer-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-credits {
  font-size: 0.84rem;
}

/* Toast Notification for Clipboard Copy */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e293b;
  border: 1px solid var(--accent-green);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-container.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  color: var(--accent-green);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .site-container {
    padding: 0 18px;
  }
  
  .hero-section {
    padding: 50px 0 40px;
  }
  
  .contact-container {
    padding: 28px 20px;
  }
  
  .contact-methods-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-cta,
  .btn-secondary-cta {
    width: 100%;
  }

  .transfer-info-box {
    flex-direction: column;
    align-items: flex-start;
  }
}
