/* ── Aryana Intelligence — Shared Page Styles ── */

/* ── Page Hero ── */
.page-hero {
  min-height: 60vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--navy-deep); padding-top: 80px;
}
.page-hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.page-hero-inner {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto;
  padding: 4rem 2.5rem; text-align: center;
}
.page-hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--teal); border: 1px solid var(--border-teal);
  padding: 0.35rem 1.1rem; background: var(--teal-pale);
  margin-bottom: 1.5rem;
}
.page-hero-tag-dot { width:6px;height:6px;border-radius:50%;background:var(--teal);box-shadow:0 0 6px var(--teal);animation:statusPulse 2s ease-in-out infinite; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300; line-height: 1.06;
  color: var(--cream); letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.page-hero-sub {
  font-size: 1rem; color: var(--grey); line-height: 1.8;
  max-width: 600px; margin: 0 auto 2.5rem;
}

/* ── Shared Futuristic Section ── */
.fui-section { padding: 7rem 0; background: var(--navy-deep); }
.fui-section.alt { background: var(--navy); }

/* ── Scanline overlay ── */
.scanlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.015) 2px, rgba(0,0,0,0.015) 4px);
}

/* ═══════════════════════════════════════════
   SERVICES PAGE
═══════════════════════════════════════════ */
.svc-pillar-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2px;
  background: var(--border-teal); border: 1px solid var(--border-teal);
  margin-top: 4rem;
}
.svc-pillar {
  background: var(--card-bg);
  padding: 3.5rem 2.5rem;
  position: relative; overflow: hidden;
  cursor: pointer;
  transition: background 0.35s;
}
.svc-pillar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--teal), var(--teal-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.svc-pillar:hover { background: var(--bg-alt); }
.svc-pillar:hover::before { transform: scaleX(1); }

.svc-pillar-num {
  font-family: var(--font-display); font-size: 5rem; font-weight: 300;
  color: var(--teal); opacity: 0.08; line-height: 1;
  position: absolute; top: 1rem; right: 1.5rem;
  letter-spacing: -0.04em;
}
.svc-pillar-icon { width: 44px; height: 44px; color: var(--teal); margin-bottom: 1.5rem; }
.svc-pillar-icon svg { width: 100%; height: 100%; }
.svc-pillar-title {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 400;
  color: var(--cream); margin-bottom: 1rem; line-height: 1.15;
}
.svc-pillar-desc { font-size: 0.875rem; color: var(--grey); line-height: 1.8; margin-bottom: 1.5rem; }
.svc-pillar-list { list-style: none; margin-bottom: 2rem; }
.svc-pillar-list li {
  font-size: 0.8rem; color: var(--grey); padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-teal);
  display: flex; align-items: center; gap: 0.6rem;
}
.svc-pillar-list li::before { content: '▸'; color: var(--teal); font-size: 0.65rem; flex-shrink:0; }
.svc-pillar-list li:last-child { border-bottom: none; }
.svc-pillar-cta {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); text-decoration: none;
  transition: letter-spacing 0.2s;
}
.svc-pillar-cta:hover { letter-spacing: 0.28em; }

/* Services detailed sub-items */
.svc-detail-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 5rem;
}
.svc-detail-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  padding: 2rem; position: relative; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.svc-detail-card:hover { border-color: var(--teal); box-shadow: var(--shadow-teal); }
.svc-detail-card::after {
  content: attr(data-num);
  position: absolute; bottom: 1rem; right: 1.5rem;
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 300;
  color: var(--teal); opacity: 0.06; line-height: 1;
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.values-hex-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; margin-top: 4rem;
}
.value-hex-item {
  text-align: left; padding: 3rem 2.25rem 2.5rem;
  position: relative;
  background: linear-gradient(155deg, var(--card-bg) 0%, var(--teal-pale) 130%);
  border: 1px solid var(--card-border);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.5s, box-shadow 0.5s;
}
.value-hex-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.value-hex-item::after {
  content: attr(data-num);
  position: absolute; top: -0.4rem; right: 1rem;
  font-family: var(--font-display); font-size: 4.5rem; font-weight: 300;
  color: var(--gold); opacity: 0.08; line-height: 1;
  transition: opacity 0.5s;
}
.value-hex-item:hover {
  transform: translateY(-10px);
  border-color: var(--border-teal);
  box-shadow: 0 24px 60px -20px rgba(184,137,42,0.25), var(--shadow-lg);
}
.value-hex-item:hover::before { transform: scaleX(1); }
.value-hex-item:hover::after { opacity: 0.16; }
.value-hex-shape {
  width: 56px; height: 56px; margin: 0 0 1.75rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  border: 1px solid var(--border-teal);
  border-radius: 50%;
  background: var(--teal-pale);
  position: relative;
  transition: border-color 0.4s, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.value-hex-item:hover .value-hex-shape {
  border-color: var(--gold);
  transform: rotate(8deg) scale(1.06);
}
.value-hex-shape svg {
  width: 26px; height: 26px;
  stroke: var(--gold); fill: none;
  stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
}
.value-hex-title {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--cream); margin-bottom: 0.85rem;
  position: relative; z-index: 1;
}
.value-hex-desc {
  font-size: 0.85rem; color: var(--grey); line-height: 1.85;
  position: relative; z-index: 1;
}

/* Vision timeline */
.vision-timeline { position: relative; margin-top: 5rem; }
.vision-timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, transparent, var(--teal), transparent);
  transform: translateX(-50%);
}
.vt-item {
  display: grid; grid-template-columns: 1fr 60px 1fr; gap: 1rem;
  align-items: center; margin-bottom: 3rem;
}
.vt-item:nth-child(even) .vt-content { grid-column: 3; grid-row: 1; text-align: left; }
.vt-item:nth-child(even) .vt-spacer  { grid-column: 2; grid-row: 1; }
.vt-item:nth-child(odd)  .vt-content { text-align: right; }
.vt-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 12px var(--teal);
  margin: 0 auto;
}
.vt-year {
  font-family: var(--font-display); font-size: 0.65rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.4rem;
}
.vt-title {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 400;
  color: var(--cream); margin-bottom: 0.4rem;
}
.vt-desc { font-size: 0.82rem; color: var(--grey); line-height: 1.7; }

/* ═══════════════════════════════════════════
   WHO WE ARE PAGE
═══════════════════════════════════════════ */
.team-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 4rem;
}
.team-grid.centered-2 {
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
}
.team-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  padding: 2.5rem 2rem; text-align: center;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.team-card:hover { border-color: var(--teal); transform: translateY(-6px); }
.team-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--gold), var(--teal));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.team-card:hover::before { transform: scaleX(1); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-pale), rgba(15,168,170,0.2));
  border: 2px solid var(--border-teal); margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 300;
  color: var(--teal);
}
.team-name {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 400;
  color: var(--cream); margin-bottom: 0.25rem;
}
.team-role { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); }
.team-bio { font-size: 0.82rem; color: var(--grey); line-height: 1.7; margin-top: 1rem; }

/* Glitch text effect */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0;
  -webkit-text-fill-color: transparent;
  background: inherit; background-clip: text; -webkit-background-clip: text;
}
.glitch::before {
  left: 2px; text-shadow: -2px 0 var(--teal);
  animation: glitch1 3s infinite linear;
}
.glitch::after {
  left: -2px; text-shadow: 2px 0 var(--gold);
  animation: glitch2 3s infinite linear;
}
@keyframes glitch1 {
  0%,90%,100% { clip-path: inset(50% 0 30% 0); transform: translate(-2px,0); }
  93% { clip-path: inset(10% 0 85% 0); transform: translate(2px,2px); }
  96% { clip-path: inset(80% 0 5% 0);  transform: translate(-3px,-1px); }
}
@keyframes glitch2 {
  0%,90%,100% { clip-path: inset(70% 0 10% 0); transform: translate(2px,0); }
  93% { clip-path: inset(30% 0 50% 0); transform: translate(-2px,-2px); }
  96% { clip-path: inset(5% 0 90% 0);  transform: translate(3px,1px); }
}

/* ═══════════════════════════════════════════
   START NOW PAGE
═══════════════════════════════════════════ */
.wizard-wrap { max-width: 820px; margin: 4rem auto 0; }
.wizard-steps {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 3rem; position: relative;
}
.wizard-steps::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px;
  background: var(--border-teal); transform: translateY(-50%); z-index: 0;
}
.wiz-step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  cursor: pointer;
}
.wiz-step-num {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-teal);
  background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600; color: var(--grey);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.wiz-step.active .wiz-step-num {
  background: var(--teal); border-color: var(--teal); color: #fff;
  box-shadow: 0 0 20px rgba(15,168,170,0.4);
}
.wiz-step.done .wiz-step-num {
  background: var(--teal-pale); border-color: var(--teal); color: var(--teal);
}
.wiz-step-label { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); }
.wiz-step.active .wiz-step-label { color: var(--teal); }

.wiz-panel { display: none; }
.wiz-panel.active { display: block; animation: wizIn 0.4s cubic-bezier(0.4,0,0.2,1); }
@keyframes wizIn { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:none} }

.wiz-panel-inner {
  background: var(--card-bg); border: 1px solid var(--card-border);
  padding: 3rem; position: relative; overflow: hidden;
}
.wiz-panel-inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--teal), var(--gold));
}
.wiz-title { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--cream); margin-bottom: 0.75rem; }
.wiz-desc { font-size: 0.9rem; color: var(--grey); line-height: 1.8; margin-bottom: 2rem; }

.wiz-options { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin-bottom: 2rem; }
.wiz-option {
  border: 1px solid var(--card-border); padding: 1.25rem 1.5rem;
  background: transparent; cursor: pointer; text-align: left;
  font-family: var(--font-body); transition: border-color 0.2s, background 0.2s;
  display: flex; align-items: flex-start; gap: 0.85rem;
}
.wiz-option:hover { border-color: var(--teal); background: var(--teal-pale); }
.wiz-option.selected { border-color: var(--teal); background: var(--teal-pale); }
.wiz-option-check {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--border-teal); flex-shrink: 0; margin-top: 2px;
  position: relative; transition: background 0.2s, border-color 0.2s;
}
.wiz-option.selected .wiz-option-check { background: var(--teal); border-color: var(--teal); }
.wiz-option.selected .wiz-option-check::after {
  content:'✓'; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-size:10px; color:#fff;
}
.wiz-option-label { font-size: 0.85rem; color: var(--cream); font-weight: 500; }
.wiz-option-hint  { font-size: 0.75rem; color: var(--grey); margin-top: 0.2rem; }

.wiz-nav { display: flex; justify-content: space-between; margin-top: 2rem; }
.wiz-btn-prev { background: none; border: 1px solid var(--border-teal); color: var(--grey); padding: 0.8rem 1.8rem; cursor: pointer; font-family:var(--font-body); font-size:0.75rem; letter-spacing:0.14em; text-transform:uppercase; transition: border-color 0.2s, color 0.2s; }
.wiz-btn-prev:hover { border-color: var(--teal); color: var(--teal); }
.wiz-btn-next { background: var(--teal); border: 1px solid var(--teal); color: #fff; padding: 0.8rem 2rem; cursor: pointer; font-family:var(--font-body); font-size:0.75rem; letter-spacing:0.14em; text-transform:uppercase; transition: background 0.2s; }
.wiz-btn-next:hover { background: var(--teal-light); }

/* ═══════════════════════════════════════════
   BLOG PAGE
═══════════════════════════════════════════ */
.blog-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 4rem;
}
.blog-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  overflow: hidden; position: relative;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.blog-card:hover { transform: translateY(-6px); border-color: var(--teal); box-shadow: var(--shadow-teal); }
.blog-card-img {
  height: 180px; background: var(--bg-alt);
  position: relative; overflow: hidden;
}
.blog-card-img-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 3rem; font-weight: 300;
  color: var(--teal); opacity: 0.4;
  background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(15,168,170,0.1) 100%);
}
.blog-card-scan {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--teal), transparent);
  animation: cardScan 3s ease-in-out infinite;
}
.blog-card-body { padding: 1.75rem; }
.blog-card-tag {
  font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.75rem; display: block;
}
.blog-card-title {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 400;
  color: var(--cream); line-height: 1.3; margin-bottom: 0.75rem;
}
.blog-card-excerpt { font-size: 0.82rem; color: var(--grey); line-height: 1.7; margin-bottom: 1.25rem; }
.blog-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(78,104,128,0.6);
}
.blog-card-read { color: var(--teal); text-decoration: none; transition: letter-spacing 0.2s; }
.blog-card-read:hover { letter-spacing: 0.18em; }

/* Featured blog post */
.blog-featured {
  background: var(--card-bg); border: 1px solid var(--card-border);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  overflow: hidden; margin-bottom: 3rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.blog-featured:hover { border-color: var(--teal); box-shadow: var(--shadow-teal); }
.blog-featured-img {
  background: linear-gradient(135deg, var(--bg-alt), rgba(15,168,170,0.15));
  min-height: 300px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.blog-featured-body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-tag {
  font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--teal); border: 1px solid var(--border-teal);
  display: inline-block; padding: 0.2rem 0.7rem; margin-bottom: 1.25rem;
}
.blog-featured-title {
  font-family: var(--font-display); font-size: 2rem; font-weight: 300;
  color: var(--cream); line-height: 1.2; margin-bottom: 1rem;
}
.blog-featured-excerpt { font-size: 0.9rem; color: var(--grey); line-height: 1.8; margin-bottom: 1.5rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .svc-pillar-grid { grid-template-columns: 1fr; }
  .values-hex-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid        { grid-template-columns: repeat(2,1fr); }
  .blog-grid        { grid-template-columns: repeat(2,1fr); }
  .blog-featured    { grid-template-columns: 1fr; }
  .svc-detail-grid  { grid-template-columns: 1fr; }
  .vision-timeline::before { left: 20px; }
  .vt-item { grid-template-columns: 40px 1fr; }
  .vt-item:nth-child(even) .vt-content { grid-column: 2; text-align: left; }
  .vt-item:nth-child(odd)  .vt-content { text-align: left; grid-column: 2; }
}
@media (max-width: 600px) {
  .values-hex-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .wiz-options { grid-template-columns: 1fr; }
}

.svc-pillar-subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--teal);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
