/* ========================================
   ABOUT PAGE - Specific Styles
   ======================================== */

/* === About Hero === */
.about-hero {
  padding: var(--space-12) 0 var(--space-16);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: var(--space-8);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.3s;
}

.back-link i {
  transition: transform 0.3s;
}

.back-link:hover {
  color: var(--primary);
}

.back-link:hover i {
  transform: translateX(-4px);
}

.about-hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.about-hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  animation: fadeInUp 0.8s ease forwards;
}

.about-title {
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 4s ease infinite;
}

.about-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 480px;
}

/* === Profile Card === */
.about-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
  transition: all 0.4s;
}

.about-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% 100%;
  animation: gradientMove 3s linear infinite;
}

.about-profile-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 25px 80px rgba(0, 212, 255, 0.15);
  transform: translateY(-5px);
}

.profile-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.08), transparent 50%);
  animation: float 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -10px); }
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid;
  place-items: center;
  font-size: 40px;
  font-weight: 700;
  color: white;
  margin: 0 auto var(--space-5);
  position: relative;
  z-index: 1;
  box-shadow: 0 15px 50px rgba(0, 212, 255, 0.3);
  transition: all 0.4s;
}

.about-profile-card:hover .profile-avatar {
  transform: scale(1.05) rotate(3deg);
  box-shadow: 0 20px 60px rgba(0, 212, 255, 0.4);
}

.profile-info { position: relative; z-index: 1; }
.profile-info h2 { font-size: 24px; font-weight: 600; margin-bottom: var(--space-1); }
.profile-info p { color: var(--text-muted); font-size: 14px; margin-bottom: var(--space-4); }

.profile-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: rgba(40, 200, 64, 0.1);
  border: 1px solid rgba(40, 200, 64, 0.3);
  font-size: 12px;
  font-weight: 500;
  color: #28c840;
  margin-bottom: var(--space-5);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 10px rgba(40, 200, 64, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

.profile-links {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  position: relative;
  z-index: 1;
}

.profile-link {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  font-size: 18px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.profile-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.profile-link i {
  position: relative;
  z-index: 1;
}

.profile-link:hover {
  border-color: transparent;
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.profile-link:hover::before {
  opacity: 1;
}


/* === Story Section === */
.about-story { padding: var(--space-16) 0; }

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.story-block {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.story-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-block:hover::before { 
  transform: scaleY(1); 
  transform-origin: top;
}

.story-block:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateX(10px);
  box-shadow: 0 15px 50px rgba(0, 212, 255, 0.1);
}

.story-number {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: 56px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(123, 97, 255, 0.08));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s;
}

.story-block:hover .story-number {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 97, 255, 0.15));
  -webkit-background-clip: text;
  background-clip: text;
}

.story-block h3 { 
  font-size: 20px; 
  font-weight: 600; 
  margin-bottom: var(--space-3);
  transition: color 0.3s;
}

.story-block:hover h3 {
  color: var(--primary);
}

.story-block p { color: var(--text-muted); font-size: 14px; line-height: 1.8; }

/* Story Aside */
.story-aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: sticky;
  top: 100px;
}

.facts-card, .tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  backdrop-filter: blur(10px);
  transition: all 0.4s;
}

.facts-card:hover, .tech-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 15px 50px rgba(0, 212, 255, 0.1);
  transform: translateY(-3px);
}

.facts-card h4, .tech-card h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.facts-card h4::before, .tech-card h4::before {
  content: '';
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.facts-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.fact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.fact-item:hover {
  padding-left: var(--space-2);
}

.fact-item:last-child { padding-bottom: 0; border-bottom: none; }

.fact-icon { 
  grid-row: span 2; 
  font-size: 20px; 
  color: var(--primary); 
  display: flex; 
  align-items: center;
  transition: transform 0.3s;
}

.fact-item:hover .fact-icon {
  transform: scale(1.15);
}

.fact-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.fact-value { font-size: 14px; font-weight: 500; }

/* Tech Tags */
.tech-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.tech-tag {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.tech-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 212, 255, 0.08);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.15);
}

/* === Contact Section === */
.about-contact-section { padding: var(--space-16) 0; }
.contact-header { text-align: center; margin-bottom: var(--space-12); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  max-width: 950px;
  margin: 0 auto;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  backdrop-filter: blur(10px);
  transition: all 0.4s;
  position: relative;
  z-index: 1;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--primary), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  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;
}

.contact-form-card:hover::before,
.contact-form-card:focus-within::before {
  opacity: 1;
}

.contact-form-card:hover,
.contact-form-card:focus-within {
  box-shadow: 0 25px 80px rgba(0, 212, 255, 0.1);
  transform: translateY(-3px);
}

/* Contact Info Card */
.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-item:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.08);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.info-item:hover .info-icon {
  background: rgba(0, 212, 255, 0.12);
  transform: scale(1.05);
}

.info-content { display: flex; flex-direction: column; gap: 2px; }
.info-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.info-value { font-size: 14px; transition: color 0.3s; }
a.info-value:hover { color: var(--primary); }

/* Social Links */
.social-links { display: flex; gap: var(--space-3); margin-top: auto; }

.social-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.25);
}

/* Reveal Animation */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}
