/* ============================================
   INDEX.CSS - Styles specific to index.html
   ============================================ */

/* Floating Orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}
.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent2);
  top: 50%;
  right: -150px;
  animation-delay: -7s;
}
.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--accent3);
  bottom: -100px;
  left: 30%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Grid Pattern Overlay */
.grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 40%, transparent 100%);
}

/* Hero Section */
.hero{
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
}

/* Hero right column wrapper */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: start;
}

/* Profile Card */
.profile-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.profile-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
@media (max-width: 600px) {
  .profile-header { flex-direction: column; align-items: center; text-align: center; }
}

.avatar-container {
  position: relative;
  flex-shrink: 0;
}
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: cover;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              linear-gradient(135deg, var(--accent), var(--accent2)) border-box;
  box-shadow: 0 10px 40px rgba(124,92,255,.3);
  transition: var(--transition);
}
.avatar:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 15px 50px rgba(124,92,255,.4);
}
.avatar-status {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--accent2), #00ff88);
  border-radius: 50%;
  border: 3px solid var(--bg);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(32,227,178,.5); }
  50% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(32,227,178,0); }
}

.profile-info { flex: 1; }

.kicker{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--card);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.kicker code{
  font-family: var(--mono);
  font-weight: 800;
  font-size: 12px;
  color: var(--accent);
  background: rgba(124,92,255,.15);
  padding: 4px 8px;
  border-radius: 6px;
}

h1.title{
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
  font-weight: 800;
  color: var(--text);
}
@media (max-width: 520px){ h1.title{ font-size: 26px; } }

.subheadline {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 55ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.meta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--faint);
  font-weight: 600;
  font-size: 13px;
  transition: var(--transition-fast);
}
.pill:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}
.pill svg { width: 16px; height: 16px; color: var(--accent); }

/* Now Card */
.now-card {
  position: sticky;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(32,227,178,.15);
  border: 1px solid rgba(32,227,178,.3);
  border-radius: 999px;
  color: var(--accent2);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent2);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Outcome-based Strengths */
.strength-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  transition: var(--transition);
}
.strength-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(124,92,255,.15);
}
.strength-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.strength-header svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.strength-flow {
  font-size: 13px;
  color: var(--muted);
  padding-left: 28px;
}
.strength-flow .arrow {
  color: var(--accent);
  margin: 0 6px;
}
.strength-benefit {
  font-size: 12px;
  color: var(--accent2);
  font-weight: 600;
  padding-left: 28px;
}

.strengths-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Quick Facts Inline (inside hero) */
.quick-facts-inline {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.quick-facts-inline .section-head {
  margin-bottom: 16px;
}
.quick-facts-inline .section-head h2 {
  font-size: 16px;
}
.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 640px) {
  .quick-facts-grid {
    grid-template-columns: 1fr;
  }
}

/* Grid layouts */
.grid3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px){ .grid3{ grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 900px){ .grid3{ grid-template-columns: repeat(2, 1fr); } }

/* Service Cards */
.service-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(124,92,255,.3);
  transition: var(--transition);
}
.service-icon svg { width: 28px; height: 28px; color: white; }
.service-card:hover .service-icon {
  transform: rotate(-10deg) scale(1.1);
  box-shadow: 0 12px 40px rgba(124,92,255,.4);
}
.service-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}
.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* Project/Case Study Cards */
.case-study {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.case-study::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: var(--transition);
}
.case-study:hover {
  transform: translateY(-4px);
  border-color: rgba(124,92,255,.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.case-study:hover::before { opacity: 1; }

.case-study-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.case-study-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.case-study-title svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.case-study-name {
  font-weight: 800;
  font-size: 18px;
}
.case-study-name a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.case-study-name a:hover {
  color: var(--accent);
}
.case-study-tagline {
  color: var(--muted);
  font-size: 14px;
  margin-left: 36px;
}
.case-study-when {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  background: rgba(124,92,255,.1);
  border-radius: 8px;
  white-space: nowrap;
}

.case-study-problem {
  background: rgba(255,107,157,.08);
  border: 1px solid rgba(255,107,157,.2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.case-study-problem-label {
  font-weight: 700;
  font-size: 12px;
  color: var(--accent3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.case-study-problem-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.case-study-section {
  margin-bottom: 16px;
}
.case-study-section-label {
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.case-study-section-label svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.case-study-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.case-study-bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.case-study-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.case-study-impact {
  background: rgba(32,227,178,.08);
  border: 1px solid rgba(32,227,178,.2);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.case-study-impact-metric {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent2);
  white-space: nowrap;
}
.case-study-impact-desc {
  color: var(--muted);
  font-size: 14px;
}

.case-study-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Fact Items */
.fact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  transition: var(--transition-fast);
  gap: 12px;
  min-height: 60px;
}
.fact-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.fact-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.fact-label svg { width: 16px; height: 16px; color: var(--accent); }
.fact-value {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

/* Contact Section */
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.email-display {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text);
  padding: 12px 16px;
  background: var(--card2);
  border-radius: 10px;
  word-break: break-all;
}
.response-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--accent2);
  font-weight: 600;
}
.response-time svg {
  width: 16px;
  height: 16px;
}

.engagement-types {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}
.engagement-chip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: var(--transition-fast);
}
.engagement-chip:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.engagement-chip svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.engagement-chip-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.engagement-chip-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.engagement-chip-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.engagement-cta {
  font-size: 13px;
  color: var(--accent2);
  font-weight: 600;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(124,92,255,.15);
}
.social-link .social-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.social-link svg { width: 20px; height: 20px; }
.social-link .social-icon { color: var(--accent); }
.social-link .arrow { color: var(--faint); transition: var(--transition-fast); }
.social-link:hover .arrow { color: var(--accent); transform: translateX(4px); }

.availability-card {
  background: linear-gradient(135deg, rgba(124,92,255,.1), rgba(32,227,178,.05));
}
.availability-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}
.availability-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.availability-item svg { width: 16px; height: 16px; color: var(--accent2); }

/* Footer */
.footer{
  margin: 40px 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--faint);
  font-size: 14px;
  font-weight: 600;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: var(--faint);
  transition: var(--transition-fast);
}
.footer-links a:hover { color: var(--accent); }
.footer-links svg { width: 20px; height: 20px; }

@media (max-width: 600px) {
  .case-study-impact {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
