/* Completely Redesigned About Page Styles */
.page-about {
  position: relative;
  overflow-x: hidden;
}

/* Hero Section - New Layout */
.about-hero {
  padding: 8rem 0 6rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
  }
}

/* Hero Content */
.hero-content {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(23, 245, 151, 0.1);
  border: 1px solid rgba(23, 245, 151, 0.3);
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
  animation: badge-glow 2s ease-in-out infinite;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(23, 245, 151, 0.2); }
  50% { box-shadow: 0 0 20px rgba(23, 245, 151, 0.3); }
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.9; }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.title-line {
  display: block;
  color: var(--text);
}

.accent-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 600px;
}

@media (min-width: 1024px) {
  .hero-description {
    margin-left: 0;
    margin-right: auto;
  }
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Removed stat shimmer for better performance */

.stat-item:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 245, 151, 0.3);
  box-shadow: 0 15px 40px rgba(23, 245, 151, 0.2);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(23, 245, 151, 0.3);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Profile Visual */
.profile-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.profile-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 2rem;
  overflow: hidden;
  border: 3px solid rgba(23, 245, 151, 0.3);
  box-shadow: 
    0 20px 60px rgba(23, 245, 151, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.profile-frame:hover {
  transform: translateY(-10px) rotateY(5deg);
  border-color: rgba(23, 245, 151, 0.6);
  box-shadow: 
    0 30px 80px rgba(23, 245, 151, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.profile-frame:hover .profile-image {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.1);
}

.frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(23, 245, 151, 0.1) 0%, 
    transparent 50%, 
    rgba(0, 212, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.profile-frame:hover .frame-overlay {
  opacity: 1;
}

.profile-info {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(23, 245, 151, 0.05);
  border-color: rgba(23, 245, 151, 0.3);
  transform: translateX(10px);
}

.info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-item span:last-child {
  color: var(--text);
  font-weight: 500;
}

/* Skills Section */
.skills-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, rgba(0, 255, 170, 0.02) 0%, rgba(0,0,0,0) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: linear-gradient(135deg, 
    rgba(23, 245, 151, 0.05) 0%, 
    rgba(0, 212, 255, 0.03) 100%);
  border: 1px solid rgba(23, 245, 151, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Removed complex shimmer effects for better performance */

.skill-category:hover {
  transform: translateY(-10px);
  border-color: rgba(23, 245, 151, 0.4);
  box-shadow: 0 20px 60px rgba(23, 245, 151, 0.2);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.category-icon {
  font-size: 2.5rem;
  animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.category-header h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}

.category-level {
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category-level.expert {
  background: linear-gradient(135deg, #a855f7, #c084fc);
  color: white;
}

.category-level.advanced {
  background: linear-gradient(135deg, #17f597, #4ade80);
  color: #001b12;
}

.category-level.proficient {
  background: linear-gradient(135deg, #ff4d6d, #ff6b8a);
  color: white;
}

.category-content p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: rgba(23, 245, 151, 0.1);
  color: var(--primary);
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(23, 245, 151, 0.3);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: rgba(23, 245, 151, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(23, 245, 151, 0.3);
}

/* Beautiful Journey Cards Layout */
.journey-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(23, 245, 151, 0.02) 0%, rgba(0, 212, 255, 0.01) 100%);
}

.journey-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .journey-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
  }
}

.journey-card {
  position: relative;
  background: linear-gradient(135deg, 
    rgba(15, 29, 25, 0.8) 0%, 
    rgba(10, 20, 18, 0.9) 100%);
  border: 1px solid rgba(23, 245, 151, 0.2);
  border-radius: 2rem;
  padding: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.journey-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(23, 245, 151, 0.4);
  box-shadow: 
    0 25px 60px rgba(23, 245, 151, 0.2),
    0 0 0 1px rgba(23, 245, 151, 0.3);
}

.journey-card.current-role {
  border-color: rgba(23, 245, 151, 0.4);
  box-shadow: 
    0 15px 50px rgba(23, 245, 151, 0.15),
    0 0 0 1px rgba(23, 245, 151, 0.2);
}

.journey-card.current-role:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 
    0 30px 80px rgba(23, 245, 151, 0.25),
    0 0 0 1px rgba(23, 245, 151, 0.4);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2rem 1rem;
  background: linear-gradient(135deg, 
    rgba(23, 245, 151, 0.1) 0%, 
    rgba(0, 212, 255, 0.05) 100%);
}

.role-icon {
  font-size: 3rem;
  animation: float-icon 3s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(23, 245, 151, 0.3));
}

.role-icon.current {
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { 
    filter: drop-shadow(0 0 10px rgba(23, 245, 151, 0.3));
    transform: scale(1);
  }
  50% { 
    filter: drop-shadow(0 0 20px rgba(23, 245, 151, 0.6));
    transform: scale(1.1);
  }
}

.role-status {
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.1);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.role-status.current {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #001b12;
  border: none;
  animation: status-glow 2s ease-in-out infinite;
}

@keyframes status-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(23, 245, 151, 0.3); }
  50% { box-shadow: 0 0 25px rgba(23, 245, 151, 0.5); }
}

.card-content {
  padding: 1rem 2rem 2rem;
}

.card-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.role-period {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.role-description {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
}

.achievement-item {
  text-align: center;
  padding: 1rem 0.5rem;
  background: rgba(23, 245, 151, 0.05);
  border: 1px solid rgba(23, 245, 151, 0.2);
  border-radius: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.achievement-item:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 245, 151, 0.4);
  box-shadow: 0 10px 25px rgba(23, 245, 151, 0.2);
}

.achievement-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.3rem;
  text-shadow: 0 0 10px rgba(23, 245, 151, 0.3);
}

.achievement-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, 
    rgba(23, 245, 151, 0.2) 0%, 
    rgba(0, 212, 255, 0.1) 50%, 
    rgba(168, 85, 247, 0.1) 100%);
  border-radius: 2rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  filter: blur(10px);
}

.journey-card:hover .card-glow {
  opacity: 1;
}

.card-glow.current {
  opacity: 0.3;
  animation: current-glow 3s ease-in-out infinite;
}

@keyframes current-glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Philosophy Section */
.philosophy-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, rgba(0, 255, 170, 0.02) 0%, rgba(0,0,0,0) 100%);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.philosophy-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Removed shimmer effect for better performance */

.philosophy-card:hover {
  transform: translateY(-10px);
  border-color: rgba(23, 245, 151, 0.3);
  box-shadow: 0 20px 60px rgba(23, 245, 151, 0.15);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: float-icon 3s ease-in-out infinite;
}

.philosophy-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.philosophy-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
  }
}

.contact-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-content p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.contact-methods {
  display: grid;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Removed shimmer effect for better performance */

.contact-method:hover {
  transform: translateX(10px);
  border-color: rgba(23, 245, 151, 0.3);
  box-shadow: 0 10px 30px rgba(23, 245, 151, 0.2);
}

.method-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.method-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.method-content p {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

/* CTA Card */
.cta-card {
  background: linear-gradient(135deg, 
    rgba(23, 245, 151, 0.1) 0%, 
    rgba(0, 212, 255, 0.05) 100%);
  border: 1px solid rgba(23, 245, 151, 0.3);
  border-radius: 2rem;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Removed continuous shine animation for better performance */

.cta-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Removed button shimmer for better performance */

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  color: #001b12;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(23, 245, 151, 0.3);
}

.btn-secondary {
  background: rgba(23, 245, 151, 0.1);
  color: var(--primary);
  border: 1px solid rgba(23, 245, 151, 0.3);
}

.btn-secondary:hover {
  background: rgba(23, 245, 151, 0.2);
  transform: translateY(-3px);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* Optimized Reveal Animations */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.4s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.4s ease;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

.reveal-timeline {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible,
.reveal-timeline.visible {
  opacity: 1;
  transform: translate(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero {
    padding: 6rem 0 4rem;
  }
  
  .hero-grid {
    gap: 3rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .journey-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .journey-card {
    margin: 0 1rem;
  }
  
  .card-header {
    padding: 1.5rem 1.5rem 0.5rem;
  }
  
  .card-content {
    padding: 1rem 1.5rem 1.5rem;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-grid {
    gap: 3rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .skill-category,
  .philosophy-card {
    padding: 1.5rem;
  }
  
  .role-icon {
    font-size: 2.5rem;
  }
  
  .card-content h3 {
    font-size: 1.2rem;
  }
  
  .achievement-number {
    font-size: 1.2rem;
  }
  
  .cta-card {
    padding: 2rem;
  }
}