/* ==========================================================================
   Qubrixa SEO - Results Page Premium Stylesheet v2.0
   ========================================================================== */

/* ── Hero Section — 2 Column ─────────────────────── */
.results-hero {
  position: relative;
  padding: 9rem 0 5.5rem 0;
  background: #0b0f1a;
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

.results-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 20%;
  width: 650px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* 2-column grid */
.res-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.res-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Shared hero utilities */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 1.25rem;
}

.hero-white-title {
  font-family: var(--font-headings);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.02em;
}

.hero-gold-divider {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #aa7c11);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* Mini stats row */
.res-hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.res-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.res-stat-val {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 900;
  color: #d4af37;
  line-height: 1;
}

.res-stat-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  color: #0b0f1a;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  border-color: rgba(212, 175, 55, 0.5);
  color: #d4af37;
}

/* RIGHT: Contact Form Card */
.res-hero-right {
  display: flex;
  flex-direction: column;
}

.res-contact-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.res-card-header {
  margin-bottom: 1.75rem;
}

.res-card-header h3 {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0.75rem 0 0.5rem 0;
  line-height: 1.25;
}

.res-card-header p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1.6;
}

.res-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Shared form styles */
.audit-field { display: flex; flex-direction: column; gap: 0.35rem; }

.audit-field label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3); text-transform: uppercase;
}

.audit-field input {
  width: 100%; background: #1a2235;
  border: 1px solid rgba(255,255,255,0.07); border-radius: 8px;
  padding: 0.8rem 1rem; color: #fff; font-size: 0.9rem;
  font-family: var(--font-body); outline: none;
  transition: all 0.3s ease; box-sizing: border-box;
}

.audit-field input::placeholder { color: rgba(255,255,255,0.18); }

.audit-field input:focus {
  border-color: rgba(212,175,55,0.4); background: #1e2a3a;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.07);
}

.ind-select-wrap { position: relative; }

.ind-select-icon {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.2); font-size: 0.8rem; pointer-events: none; z-index: 1;
}

.ind-select-wrap select {
  width: 100%; background: #1a2235;
  border: 1px solid rgba(255,255,255,0.07); border-radius: 8px;
  padding: 0.8rem 2.5rem 0.8rem 2.5rem; color: #fff;
  font-size: 0.9rem; font-family: var(--font-body); outline: none;
  appearance: none; cursor: pointer; transition: all 0.3s ease; box-sizing: border-box;
}

.ind-select-wrap select:focus {
  border-color: rgba(212,175,55,0.4); background: #1e2a3a;
}

.ind-select-wrap select option { background: #1a2235; color: #fff; }

.ind-select-arrow {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.2); font-size: 0.75rem; pointer-events: none;
}

.btn-audit-submit {
  width: 100%; padding: 0.95rem 1.5rem;
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  color: #0b0f1a; font-weight: 800; font-size: 0.95rem; border: none;
  border-radius: 50px; cursor: pointer; display: flex;
  align-items: center; justify-content: center; gap: 0.6rem;
  margin-top: 0.25rem; transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212,175,55,0.3); font-family: var(--font-headings);
}

.btn-audit-submit:hover {
  transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,175,55,0.5);
}

.ind-card-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(212,175,55,0.08); border: 1px solid rgba(212,175,55,0.2);
  color: #d4af37; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: 50px;
}

.ind-form-trust {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.25rem; padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  gap: 0.5rem; flex-wrap: wrap;
}

.ind-form-trust span {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; color: rgba(255,255,255,0.3); font-weight: 600;
}

.ind-form-trust i { color: #d4af37; font-size: 0.7rem; }

/* Responsive */
@media (max-width: 1024px) {
  .res-hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .res-hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .res-hero-left { align-items: center; }
  .hero-ctas { justify-content: center; }
  .res-hero-stats { justify-content: center; }
}



/* Global Metrics Counters Section */
.results-metrics-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--glass-border);
}

.metrics-counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric-counter-card {
  background: var(--glass-bg);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-counter-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.02);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.05);
}

.metric-counter-card h3 {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-headings);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.metric-counter-card p {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* Case Studies Grid Section */
.case-studies-section {
  padding: 7rem 0;
  background: var(--bg-primary);
}

.case-studies-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 4rem;
}

.case-study-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: rgba(11, 13, 29, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.case-study-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), transparent 65%, rgba(212, 175, 55, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.case-study-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.case-study-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.case-study-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(212, 175, 55, 0.06);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.case-study-info h3 {
  font-size: 2.2rem;
  font-family: var(--font-headings);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.case-study-challenge, .case-study-strategy {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.case-study-challenge strong, .case-study-strategy strong {
  color: #ffffff;
}

.case-study-results-row {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}

.case-result-item {
  display: flex;
  flex-direction: column;
}

.case-result-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.case-result-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Case Study Visuals & SVG Charts */
.case-study-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.case-chart-box {
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.case-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.case-chart-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.08em;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.case-chart-legend {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  background: rgba(212, 175, 55, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.case-chart-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* Testimonials Grid */
.testimonials-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020617;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.user-details h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin: 0;
  font-weight: 700;
}

.user-details span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive breakdowns */
@media (max-width: 1200px) {
  .metrics-counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .case-study-card {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .case-study-info h3 {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .metrics-counters-grid {
    grid-template-columns: 1fr;
  }
  
  .case-study-card {
    padding: 1.5rem !important;
  }

  .case-chart-box {
    padding: 1.25rem 1rem !important;
  }
  
  .case-study-results-row {
    flex-direction: column;
    gap: 1rem;
  }
}
