/* =============================================
   PARKAR.IN - AIONIQ Platform Page Styles
   css/aioniq.css
   All classes prefixed with "aiq-" to avoid
   conflicts with main.css / navbar.css / footer.css
   ============================================= */

/* ─── AIONIQ Color Tokens ─── */
body.page-aioniq {
  background-color: #0B0F1A;
  --aiq-bg:          #0B0F1A;
  --aiq-bg-2:        #121825;
  --aiq-card-bg:     rgba(18, 24, 37, 0.6);
  --aiq-blue:        #00D9FF;
  --aiq-purple:      #7B61FF;
  --aiq-gradient:    linear-gradient(135deg, #00D9FF 0%, #7B61FF 100%);
  --aiq-text:        #FFFFFF;
  --aiq-text-muted:  #A0AEC0;
  --aiq-text-dim:    #718096;
}

/* ─── Hero ─── */
.aiq-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.aiq-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#aiq-neural-network {
  width: 100%;
  height: 100%;
}

.aiq-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1100px;
  padding: 0 40px;
  padding-top: 80px; /* account for fixed navbar */
}

.aiq-hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 50px;
  color: var(--aiq-blue);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.aiq-hero-title {
  font-size: 72px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: -2px;
  color: #fff;
}

.aiq-gradient-text {
  background: var(--aiq-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.aiq-hero-subtitle {
  font-size: 24px;
  color: var(--aiq-text-muted);
  margin-bottom: 50px;
  font-weight: 400;
}

.aiq-hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* ─── Buttons ─── */
.aiq-btn {
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.aiq-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.aiq-btn:hover::before {
  width: 300px;
  height: 300px;
}

.aiq-btn-primary {
  background: var(--aiq-gradient);
  color: white;
}

.aiq-btn.large {
  padding: 18px 48px;
  font-size: 18px;
}

/* ─── Scroll Indicator ─── */
.aiq-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--aiq-text-dim);
  font-size: 13px;
  animation: aiqBounce 2s infinite;
}

.aiq-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  position: relative;
}

.aiq-mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--aiq-blue);
  border-radius: 2px;
  animation: aiqScroll 1.5s infinite;
}

@keyframes aiqScroll {
  0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

@keyframes aiqBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-10px); }
}

/* ─── Shared Section Styles ─── */
.aiq-problem-section,
.aiq-framework-section,
.aiq-features-section,
.aiq-scorecard-section,
.aiq-architecture-section {
  padding: 120px 0;
  position: relative;
  background: var(--aiq-bg);
}

.aiq-framework-section,
.aiq-scorecard-section {
  background: var(--aiq-bg-2);
}

.aiq-section-header {
  text-align: center;
  margin-bottom: 80px;
}

.aiq-label {
  display: inline-block;
  color: var(--aiq-blue);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.aiq-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: #fff;
}

.aiq-subtitle {
  font-size: 20px;
  color: var(--aiq-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ─── Problem Grid ─── */
.aiq-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.aiq-problem-card {
  position: relative;
  background: var(--aiq-card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.aiq-problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--aiq-gradient);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.aiq-problem-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 217, 255, 0.3);
}

.aiq-problem-card:hover::before {
  transform: scaleX(1);
}

.aiq-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 217, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--aiq-blue);
}

.aiq-card-icon svg {
  width: 32px;
  height: 32px;
}

.aiq-problem-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 700;
  color: #fff;
}

.aiq-problem-card p {
  color: var(--aiq-text-muted);
  line-height: 1.7;
}

.aiq-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.aiq-problem-card:hover .aiq-card-glow {
  opacity: 1;
}

/* ─── Framework Timeline ─── */
.aiq-framework-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.aiq-timeline-track {
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--aiq-blue) 0%, var(--aiq-purple) 100%);
  opacity: 0.3;
}

.aiq-framework-phase {
  display: grid;
  grid-template-columns: 120px 1fr 300px;
  gap: 40px;
  align-items: start;
  padding: 40px;
  background: var(--aiq-card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: all 0.4s;
}

.aiq-framework-phase:hover {
  border-color: rgba(0, 217, 255, 0.3);
  transform: scale(1.02);
}

.aiq-phase-number {
  font-size: 64px;
  font-weight: 900;
  background: var(--aiq-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.aiq-phase-content h3 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 800;
  color: #fff;
}

.aiq-phase-content ul {
  list-style: none;
  margin-bottom: 24px;
  padding: 0;
}

.aiq-phase-content li {
  color: var(--aiq-text-muted);
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
}

.aiq-phase-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--aiq-blue);
  font-weight: bold;
}

.aiq-phase-output {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 8px;
}

.aiq-output-label {
  font-size: 12px;
  color: var(--aiq-text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.aiq-output-value {
  font-weight: 700;
  color: var(--aiq-blue);
}

/* ─── Phase Visual Containers ─── */
.aiq-phase-visual {
  background: rgba(0, 217, 255, 0.05);
  border-radius: 12px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 217, 255, 0.1);
}

/* Identify Visual */
.aiq-identify-visual {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aiq-search-radar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(0, 217, 255, 0.3);
  position: relative;
  animation: aiqRadarPulse 2s ease-out infinite;
}

.aiq-search-radar::before,
.aiq-search-radar::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(0, 217, 255, 0.2);
}

.aiq-search-radar::before {
  width: 160px;
  height: 160px;
  animation: aiqRadarPulse 2s ease-out infinite 0.5s;
}

.aiq-search-radar::after {
  width: 200px;
  height: 200px;
  animation: aiqRadarPulse 2s ease-out infinite 1s;
}

@keyframes aiqRadarPulse {
  0%   { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

.aiq-data-points {
  position: absolute;
  width: 100%;
  height: 100%;
}

.aiq-data-point {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--aiq-blue);
  border-radius: 50%;
  animation: aiqPointPulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--aiq-blue);
}

.aiq-data-point.highlight {
  width: 12px;
  height: 12px;
  background: var(--aiq-purple);
  box-shadow: 0 0 20px var(--aiq-purple);
  animation: aiqHighlightPulse 1.5s ease-in-out infinite;
}

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

@keyframes aiqHighlightPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.3); }
}

.aiq-scan-line {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--aiq-blue), transparent);
  left: 50%;
  transform-origin: center;
  animation: aiqScanRotate 4s linear infinite;
}

@keyframes aiqScanRotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Assess Visual */
.aiq-assess-visual {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px;
}

.aiq-gauge-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aiq-gauge-svg { width: 140px; height: 80px; }

.aiq-gauge-progress {
  animation: aiqGaugeLoad 2s ease-out forwards;
}

@keyframes aiqGaugeLoad {
  from { stroke-dashoffset: 251; }
  to   { stroke-dashoffset: 75; }
}

.aiq-gauge-value {
  position: absolute;
  bottom: 10px;
  font-size: 24px;
  font-weight: 900;
  background: var(--aiq-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.aiq-gauge-label {
  font-size: 11px;
  color: var(--aiq-text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.aiq-check-marks {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.aiq-check-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--aiq-text-muted);
  opacity: 0;
  animation: aiqCheckFadeIn 0.5s ease-out forwards;
}

.aiq-check-item:nth-child(1) { animation-delay: 0.5s; }
.aiq-check-item:nth-child(2) { animation-delay: 0.8s; }
.aiq-check-item:nth-child(3) { animation-delay: 1.1s; }

@keyframes aiqCheckFadeIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.aiq-check-icon { color: var(--aiq-blue); font-weight: bold; font-size: 14px; }

/* Build & Govern Visual */
.aiq-build-visual {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.aiq-construction-layers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.aiq-layer-bar {
  height: 8px;
  background: linear-gradient(90deg, var(--aiq-blue), var(--aiq-purple));
  border-radius: 4px;
  margin-left: auto;
  opacity: 0;
  animation: aiqLayerBuild 1s ease-out forwards;
  box-shadow: 0 2px 10px rgba(0, 217, 255, 0.3);
}

@keyframes aiqLayerBuild {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

.aiq-shield-overlay {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  color: var(--aiq-purple);
  animation: aiqShieldFloat 3s ease-in-out infinite;
}

.aiq-shield-overlay svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px rgba(123, 97, 255, 0.5));
}

@keyframes aiqShieldFloat {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50%       { transform: translateY(-50%) translateX(-5px); }
}

.aiq-build-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.aiq-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--aiq-blue);
  border-radius: 50%;
  animation: aiqParticleRise 3s ease-in infinite;
}

.aiq-particle:nth-child(1) { left: 20%; bottom: 0; animation-delay: 0s; }
.aiq-particle:nth-child(2) { left: 50%; bottom: 0; animation-delay: 1s; }
.aiq-particle:nth-child(3) { left: 80%; bottom: 0; animation-delay: 2s; }

@keyframes aiqParticleRise {
  0%   { bottom: 0;    opacity: 1; transform: scale(1); }
  100% { bottom: 100%; opacity: 0; transform: scale(0.5) translateY(-20px); }
}

/* Hover enhancements for phase cards */
.aiq-framework-phase:hover .aiq-gauge-progress { animation: aiqGaugeLoad 1s ease-out forwards; }
.aiq-framework-phase:hover .aiq-scan-line       { animation: aiqScanRotate 2s linear infinite; }
.aiq-framework-phase:hover .aiq-layer-bar       { box-shadow: 0 2px 15px rgba(0, 217, 255, 0.6); }

/* ─── Features Grid ─── */
.aiq-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.aiq-feature-card {
  background: var(--aiq-card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.4s;
}

.aiq-feature-card.large { grid-column: span 2; }

.aiq-feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.15);
}

.aiq-feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(123, 97, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aiq-purple);
  margin-bottom: 24px;
}

.aiq-feature-icon svg { width: 32px; height: 32px; }

.aiq-feature-card h3 { font-size: 24px; margin-bottom: 16px; font-weight: 700; color: #fff; }

.aiq-feature-card p { color: var(--aiq-text-muted); line-height: 1.7; margin-bottom: 20px; }

.aiq-feature-tags { display: flex; gap: 10px; flex-wrap: wrap; }

.aiq-feature-tags span {
  padding: 6px 14px;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 6px;
  font-size: 13px;
  color: var(--aiq-blue);
  font-weight: 600;
}

/* ─── Scorecard ─── */
.aiq-scorecard-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.aiq-scorecard-visual { display: flex; justify-content: center; }

.aiq-radar-chart { width: 400px; height: 400px; }

.aiq-radar-svg { width: 100%; height: 100%; }

.aiq-scorecard-dimensions { display: flex; flex-direction: column; gap: 24px; }

.aiq-dimension {
  background: var(--aiq-card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s;
}

.aiq-dimension:hover {
  border-color: rgba(0, 217, 255, 0.3);
  transform: translateX(10px);
}

.aiq-dimension-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.aiq-dimension-name { font-weight: 600; font-size: 16px; color: #fff; }
.aiq-dimension-score { font-weight: 700; font-size: 18px; color: var(--aiq-blue); }

.aiq-dimension-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.aiq-bar-fill {
  height: 100%;
  background: var(--aiq-gradient);
  border-radius: 4px;
  transition: width 1s ease-out;
}

.aiq-dimension-status {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-block;
}

.aiq-dimension.strong  .aiq-dimension-status { background: rgba(34,197,94,0.1);   color: #22C55E; }
.aiq-dimension.emerging .aiq-dimension-status { background: rgba(251,191,36,0.1);  color: #FBBF24; }
.aiq-dimension.needs    .aiq-dimension-status { background: rgba(239,68,68,0.1);   color: #EF4444; }

/* ─── Architecture ─── */
.aiq-architecture-diagram {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.aiq-arch-layer {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  align-items: center;
  padding: 30px;
  margin-bottom: 20px;
  background: var(--aiq-card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.4s;
  cursor: pointer;
}

.aiq-arch-layer:hover {
  border-color: rgba(0, 217, 255, 0.5);
  transform: translateX(20px) scale(1.02);
  box-shadow: -10px 0 40px rgba(0, 217, 255, 0.2);
}

.aiq-layer-number {
  font-size: 48px;
  font-weight: 900;
  background: var(--aiq-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.aiq-layer-content h3 { font-size: 24px; margin-bottom: 12px; font-weight: 700; color: #fff; }

.aiq-layer-items { display: flex; gap: 12px; flex-wrap: wrap; }

.aiq-layer-items span {
  padding: 6px 16px;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 6px;
  font-size: 14px;
  color: var(--aiq-text-muted);
}

.aiq-governance-overlay {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 30px;
  background: rgba(123, 97, 255, 0.1);
  border: 1px solid rgba(123, 97, 255, 0.3);
  border-radius: 50px;
  color: var(--aiq-purple);
  font-weight: 600;
  font-size: 14px;
}

.aiq-overlay-icon { width: 24px; height: 24px; }
.aiq-overlay-icon svg { width: 100%; height: 100%; }

/* ─── Final CTA ─── */
.aiq-final-cta {
  padding: 120px 0;
  text-align: center;
  background: var(--aiq-bg);
}

.aiq-cta-content h2 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
  color: #fff;
}

.aiq-cta-content p {
  font-size: 22px;
  color: var(--aiq-text-muted);
  margin-bottom: 40px;
}

/* ─── Fade-in Animations ─── */
.aiq-hero-content .fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: aiqFadeInUp 0.8s forwards;
}

.aiq-hero-content .fade-in:nth-child(1) { animation-delay: 0.2s; }
.aiq-hero-content .fade-in:nth-child(2) { animation-delay: 0.4s; }
.aiq-hero-content .fade-in:nth-child(3) { animation-delay: 0.6s; }
.aiq-hero-content .fade-in:nth-child(4) { animation-delay: 0.8s; }

@keyframes aiqFadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ─── */
@media (max-width: 1200px) {
  .aiq-hero-title    { font-size: 56px; }
  .aiq-title         { font-size: 48px; }
  .aiq-problem-grid  { grid-template-columns: 1fr; }
  .aiq-features-grid { grid-template-columns: 1fr; }
  .aiq-feature-card.large { grid-column: span 1; }
  .aiq-scorecard-content  { grid-template-columns: 1fr; }
  .aiq-framework-phase    { grid-template-columns: 1fr; }
  .aiq-governance-overlay { display: none; }
}

@media (max-width: 768px) {
  .aiq-hero-title    { font-size: 40px; }
  .aiq-hero-subtitle { font-size: 18px; }
  .aiq-hero-cta      { flex-direction: column; align-items: center; }
  .aiq-title         { font-size: 32px; }
  .aiq-radar-chart   { width: 280px; height: 280px; }
  .aiq-problem-section,
  .aiq-framework-section,
  .aiq-features-section,
  .aiq-scorecard-section,
  .aiq-architecture-section { padding: 80px 0; }
}
