/* ==========================================================================
   Qubrixa SEO - AI / GEO Page Premium Stylesheet
   ========================================================================== */

/* ============================================================
   HERO SECTION - 2 Column Layout (Screenshot Match)
   ============================================================ */
.ai-geo-hero {
  position: relative;
  padding: 9rem 0 6rem 0;
  background: #0b0f1a;
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

.ai-geo-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.ai-geo-hero .hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Eyebrow label */
.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;
}

/* White main heading */
.hero-white-title {
  font-family: var(--font-headings);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.02em;
}

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

/* Gold italic large subtitle */
.hero-gold-subtitle {
  font-family: var(--font-headings);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  font-style: italic;
  color: #d4af37;
  line-height: 1.15;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.01em;
}

/* Description paragraph */
.ai-geo-hero .hero-desc {
  font-size: 0.97rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 0 2.5rem 0;
}

/* CTA Buttons Row */
.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);
  letter-spacing: 0.01em;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #e5c44a 0%, #c08c1a 100%);
}

.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;
  letter-spacing: 0.01em;
}

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

/* ============================================================
   HERO AUDIT CARD (Right Column)
   ============================================================ */
.hero-audit-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.audit-card-title {
  font-family: var(--font-headings);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.6rem 0;
  text-align: center;
}

.audit-card-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1.6;
  margin: 0 0 1.75rem 0;
}

.audit-mini-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.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.35);
  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: #ffffff;
  font-size: 0.92rem;
  font-family: var(--font-body);
  transition: border-color 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

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

.audit-field input:focus {
  border-color: rgba(212, 175, 55, 0.45);
  background: #1e2a3a;
}

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

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

/* Responsive */
@media (max-width: 991px) {
  .ai-geo-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-eyebrow,
  .hero-white-title,
  .hero-gold-subtitle,
  .ai-geo-hero .hero-desc {
    text-align: center;
  }

  .hero-gold-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .ai-geo-hero .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-audit-card {
    padding: 1.75rem 1.25rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    justify-content: center;
  }
}

/* Chatbot Interface Simulator & Knowledge Graph */
.ai-simulator-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--glass-border);
}

.ai-simulator-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ai-graph-window {
  background: rgba(3, 7, 18, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.08);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.knowledge-graph-viz {
  position: relative;
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.graph-node {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 2;
  transition: all 0.3s ease;
}

.graph-node span {
  display: block;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.graph-node small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.graph-node.central {
  border-color: #d4af37;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
  padding: 1rem 1.75rem;
}

.graph-node.central span {
  font-size: 1.1rem;
  color: #d4af37;
}

.graph-node.leaf {
  position: absolute;
}

.graph-node.leaf:hover {
  border-color: #d4af37;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
  transform: translateY(-3px);
}

.graph-node.leaf-1 {
  top: 10%;
  left: 5%;
}

.graph-node.leaf-2 {
  bottom: 10%;
  left: 5%;
}

.graph-node.leaf-3 {
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
}

.graph-node.leaf-3:hover {
  transform: translateY(-50%) translateY(-3px);
}

.graph-branch {
  position: absolute;
  background: linear-gradient(to right, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.05));
  height: 2px;
  transform-origin: left center;
  z-index: 1;
  pointer-events: none;
}

.branch-1 {
  top: 30%;
  left: 20%;
  width: 110px;
  transform: rotate(200deg);
}

.branch-2 {
  bottom: 30%;
  left: 20%;
  width: 110px;
  transform: rotate(160deg);
}

.branch-3 {
  top: 50%;
  left: 55%;
  width: 100px;
  transform: rotate(0deg);
}

.ai-chatbot-window {
  background: rgba(3, 7, 18, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.08);
  overflow: hidden;
  position: relative;
}

.chatbot-header {
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 1.5s infinite;
}

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

.chatbot-body {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 320px;
}

.chat-bubble {
  max-width: 85%;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.chat-bubble.user {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-self: flex-end;
  color: #ffffff;
  border-bottom-right-radius: 2px;
}

.chat-bubble.assistant {
  background: rgba(212, 175, 55, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.15);
  align-self: flex-start;
  color: rgba(255, 255, 255, 0.9);
  border-bottom-left-radius: 2px;
}

.citation-box {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.citation-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-weight: 700;
}

.citation-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.citation-pill {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #d4af37;
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.citation-pill:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
}

/* GEO Strategy Grid */
.geo-strategies-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--glass-border);
}

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

.geo-strategy-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.geo-strategy-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), transparent 50%, 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;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.geo-strategy-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.25);
  background: rgba(212, 175, 55, 0.01);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.05);
}

.geo-strategy-card:hover::before {
  opacity: 1;
}

.geo-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.geo-strategy-card:hover .geo-card-icon {
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  color: #020617;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.geo-strategy-card h3 {
  font-size: 1.3rem;
  font-family: var(--font-headings);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.geo-strategy-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Process Timeline (How we make site AI-Vetted) */
.geo-process-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.geo-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}

.geo-process-step {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem 1.75rem;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.geo-process-step:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-5px);
  background: rgba(212, 175, 55, 0.02);
}

.geo-step-num {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: #020617;
  font-weight: 900;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.geo-process-step h4 {
  font-size: 1.15rem;
  font-family: var(--font-headings);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.geo-process-step p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsive media queries */
@media (max-width: 1200px) {
  .geo-strategies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .geo-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .ai-geo-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .ai-geo-hero .hero-grid .hero-title {
    text-align: center !important;
  }

  .ai-geo-hero .hero-grid .hero-desc {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ai-geo-hero .hero-grid .hero-ctas {
    justify-content: center !important;
  }

  .ai-simulator-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .knowledge-graph-viz {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .geo-strategies-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .geo-process-grid {
    grid-template-columns: 1fr;
  }
  
  .ai-chatbot-window {
    border-radius: 12px;
  }
  
  .chatbot-body {
    padding: 1.25rem 1rem;
    min-height: 280px;
  }
}
