/* ==========================================================================
   Android Developer Portfolio - Core Stylesheet
   Designed for Malik Muneeb Aziz
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #0a0d14;
  --bg-secondary: #111622;
  --bg-card: rgba(20, 27, 43, 0.7);
  --bg-card-hover: rgba(28, 38, 59, 0.85);
  --bg-glass: rgba(16, 22, 36, 0.75);
  
  /* Brand Accents */
  --accent-android: #3DDC84;       /* Android Neon Green */
  --accent-android-glow: rgba(61, 220, 132, 0.25);
  --accent-kotlin: #7F52FF;        /* Kotlin Purple */
  --accent-kotlin-glow: rgba(127, 82, 255, 0.25);
  --accent-cyan: #38BDF8;          /* Cyber Cyan */
  --accent-amber: #F59E0B;
  
  /* Text Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-accent: #3DDC84;
  
  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(61, 220, 132, 0.35);
  --border-card: rgba(255, 255, 255, 0.1);
  
  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Shadows & Glass */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-neon: 0 0 25px rgba(61, 220, 132, 0.25);
  --shadow-kotlin: 0 0 25px rgba(127, 82, 255, 0.25);
  
  /* Layout & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Global */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(at 0% 0%, rgba(127, 82, 255, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 20%, rgba(61, 220, 132, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(56, 189, 248, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-kotlin);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(61, 220, 132, 0.1);
  border: 1px solid rgba(61, 220, 132, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-android);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #FFFFFF 30%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-android) 0%, #22c55e 100%);
  color: #061e0e;
  box-shadow: 0 4px 15px rgba(61, 220, 132, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(61, 220, 132, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-kotlin {
  background: linear-gradient(135deg, var(--accent-kotlin) 0%, #9333ea 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(127, 82, 255, 0.3);
}
.btn-kotlin:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(127, 82, 255, 0.45);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.8rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-logo .logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--accent-android), var(--accent-kotlin));
  border-radius: var(--radius-sm);
  color: #0B0F17;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-android);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  position: absolute;
  left: 0;
  transition: all var(--transition-normal);
}

.hamburger span:nth-child(1) { top: 2px; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 20px; }

.hamburger.open span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(61, 220, 132, 0.08);
  border: 1px solid rgba(61, 220, 132, 0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-android);
  margin-bottom: 1.5rem;
}

.status-beacon {
  width: 8px;
  height: 8px;
  background-color: var(--accent-android);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-android);
  animation: pulse-beacon 2s infinite;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero-title span.name-highlight {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--accent-android) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-role-wrapper {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2rem;
}

.hero-role {
  color: var(--accent-kotlin);
  font-weight: 600;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1.3rem;
  background-color: var(--accent-android);
  animation: blink 1s infinite;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.2rem;
  transition: all var(--transition-normal);
}

.social-link:hover {
  color: var(--accent-android);
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(61, 220, 132, 0.2);
}

/* Hero Visual / Avatar Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-wrapper {
  position: relative;
  width: 320px;
  height: 380px;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(135deg, rgba(127, 82, 255, 0.4), rgba(61, 220, 132, 0.2));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
  background: var(--bg-secondary);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-card);
}

.avatar-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1b2336 0%, #0d121d 100%);
  position: relative;
}

.avatar-robot-icon {
  width: 130px;
  height: 130px;
  filter: drop-shadow(0 0 20px rgba(61, 220, 132, 0.4));
  animation: float-gentle 4s ease-in-out infinite;
}

.avatar-caption {
  position: absolute;
  bottom: 1.5rem;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-android);
}

/* Floating Tech Chips */
.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(17, 22, 34, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 2;
  transition: transform var(--transition-normal);
}

.floating-chip:hover {
  transform: scale(1.08);
}

.floating-chip.chip-1 {
  top: -15px;
  left: -20px;
  border-color: rgba(127, 82, 255, 0.4);
  animation: float-1 5s ease-in-out infinite;
}

.floating-chip.chip-2 {
  bottom: 25px;
  left: -35px;
  border-color: rgba(61, 220, 132, 0.4);
  animation: float-2 6s ease-in-out infinite;
}

.floating-chip.chip-3 {
  top: 45px;
  right: -25px;
  border-color: rgba(56, 189, 248, 0.4);
  animation: float-3 5.5s ease-in-out infinite;
}

.floating-chip.chip-4 {
  bottom: -15px;
  right: -10px;
  border-color: rgba(245, 158, 11, 0.4);
  animation: float-1 6.5s ease-in-out infinite;
}

.chip-icon {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Stats Bar Section
   ========================================================================== */
.stats-section {
  padding: 2rem 0 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-android), var(--accent-kotlin));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #FFFFFF 40%, var(--accent-android) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  padding: 5rem 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.highlight-icon {
  color: var(--accent-android);
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

.highlight-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.highlight-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-architecture-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.arch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.arch-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-android);
  background: rgba(61, 220, 132, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.arch-layers {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.arch-layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 13, 20, 0.7);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.arch-layer:hover {
  border-color: var(--accent-kotlin);
  transform: translateX(4px);
}

.arch-layer-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.arch-layer-tech {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills-section {
  padding: 5rem 0;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.skill-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.skill-category-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.skill-category-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
}

.skill-category-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--accent-android);
  border-radius: 2px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 13, 20, 0.7);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.skill-pill:hover {
  background: rgba(61, 220, 132, 0.1);
  border-color: var(--accent-android);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.skill-pill .badge-level {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.skill-pill:hover .badge-level {
  background: rgba(61, 220, 132, 0.2);
  color: var(--accent-android);
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects-section {
  padding: 5rem 0;
}

.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-card);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-android) 0%, #22c55e 100%);
  color: #061e0e;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(61, 220, 132, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.project-banner {
  height: 200px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Phone Mockup Inside Card */
.mini-phone-mockup {
  width: 130px;
  height: 220px;
  background: #0f172a;
  border-radius: 18px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  position: relative;
  top: 25px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-spring);
}

.project-card:hover .mini-phone-mockup {
  transform: translateY(-8px) scale(1.03);
}

.phone-notch {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  margin: 0 auto 6px;
}

.phone-screen {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
}
.mock-bar.short { width: 50%; }
.mock-bar.medium { width: 75%; }
.mock-bar.colored { background: var(--accent-android); }

.mock-chart {
  margin-top: auto;
  height: 35px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.chart-col {
  flex: 1;
  background: linear-gradient(to top, rgba(61, 220, 132, 0.2), var(--accent-android));
  border-radius: 2px 2px 0 0;
}

/* Terminal Mockup for Backend Projects */
.mini-terminal-mockup {
  width: 175px;
  height: 200px;
  background: #090d16;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
  position: relative;
  top: 25px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-spring);
  font-family: var(--font-mono);
}

.project-card:hover .mini-terminal-mockup {
  transform: translateY(-8px) scale(1.03);
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.terminal-dots .dot.red { background: #ef4444; }
.terminal-dots .dot.yellow { background: #f59e0b; }
.terminal-dots .dot.green { background: #10b981; }

.terminal-title {
  margin-left: auto;
  font-size: 0.62rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.terminal-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.68rem;
  line-height: 1.35;
  color: #cbd5e1;
}

.term-line {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.term-prompt {
  color: var(--accent-android);
  font-weight: 700;
}

.term-ok {
  color: #34d399;
}

.term-info {
  color: #38bdf8;
}

.term-cyan {
  color: #818cf8;
}

.term-muted {
  color: #94a3b8;
  font-size: 0.62rem;
  margin-top: auto;
}

/* ==========================================================================
   Domain-Specific Card Mockups
   ========================================================================== */
.domain-mockup {
  width: 175px;
  height: 200px;
  background: rgba(13, 18, 30, 0.94);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
  position: relative;
  top: 25px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-spring);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.project-card:hover .domain-mockup {
  transform: translateY(-8px) scale(1.03);
}

/* Mockup Header & Pills */
.mockup-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.mockup-pill-green {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mockup-chip-icon {
  font-size: 0.85rem;
}

/* 1. Fintech Mockup */
.mockup-balance-box {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 7px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.balance-lbl {
  display: block;
  font-size: 0.58rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.balance-val {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
  margin-top: 1px;
}

.fintech-actions {
  display: flex;
  gap: 5px;
  margin-bottom: 7px;
}

.fin-action-pill {
  flex: 1;
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  font-size: 0.58rem;
  font-weight: 600;
  padding: 4px;
  border-radius: 6px;
  text-align: center;
  border: 1px solid rgba(16, 185, 129, 0.25);
  white-space: nowrap;
}

.fintech-tx-row {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.03);
  padding: 5px 7px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  color: #cbd5e1;
}

.tx-badge {
  color: #34d399;
  font-weight: 700;
  font-size: 0.56rem;
}

/* 2. Map & GPS Radar Mockup */
.map-radar-bg {
  flex: 1;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0.8) 70%);
  border-radius: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(59, 130, 246, 0.2);
  overflow: hidden;
}

.radar-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.radar-1 { width: 55px; height: 55px; }
.radar-2 { width: 110px; height: 110px; }

.map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.map-pin.user-pin {
  top: 36%;
  left: 36%;
}

.map-pin.safe-pin {
  bottom: 22%;
  right: 20%;
}

.pin-dot {
  width: 12px;
  height: 12px;
  background: #3b82f6;
  border-radius: 50%;
  border: 2px solid #ffffff;
  position: relative;
  box-shadow: 0 0 10px #3b82f6;
}

.pin-dot.safe {
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.pin-pulse {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.4);
  animation: radarPulse 2s infinite ease-out;
}

.pin-label {
  font-size: 0.52rem;
  background: rgba(0, 0, 0, 0.75);
  color: #e2e8f0;
  padding: 1px 4px;
  border-radius: 4px;
  margin-top: 2px;
  white-space: nowrap;
}

.map-bottom-card {
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  color: #93c5fd;
  font-family: var(--font-mono);
}

.map-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
}

@keyframes radarPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* 3. Video Downloader Mockup */
.video-preview-box {
  height: 85px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.35) 0%, rgba(236, 72, 153, 0.35) 100%), #0f172a;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 7px;
}

.video-res-badge {
  position: absolute;
  top: 5px;
  left: 6px;
  background: rgba(0, 0, 0, 0.7);
  color: #fbbf24;
  font-size: 0.52rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.video-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.video-duration {
  position: absolute;
  bottom: 5px;
  right: 6px;
  background: rgba(0, 0, 0, 0.75);
  color: #e2e8f0;
  font-size: 0.52rem;
  padding: 1px 4px;
  border-radius: 3px;
  font-family: var(--font-mono);
}

.video-download-bar-box {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 8px;
  border-radius: 6px;
}

.dl-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: #e2e8f0;
  margin-bottom: 4px;
}

.dl-percent {
  color: #818cf8;
  font-weight: 700;
  font-family: var(--font-mono);
}

.dl-progress-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 5px;
}

.dl-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #ec4899);
  border-radius: 3px;
}

.dl-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.55rem;
  color: var(--text-muted);
}

/* 4. Voice Translator Mockup */
.voice-lang-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 0.58rem;
  color: #f59e0b;
  font-weight: 600;
  margin-bottom: 8px;
}

.lang-arrow {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.voice-waveform {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  margin-bottom: 8px;
}

.wave-bar {
  width: 4px;
  background: #f59e0b;
  border-radius: 2px;
  animation: soundWave 1.2s infinite ease-in-out;
}

.wave-bar.w1 { height: 10px; animation-delay: 0.1s; }
.wave-bar.w2 { height: 22px; animation-delay: 0.3s; }
.wave-bar.w3 { height: 32px; animation-delay: 0.2s; }
.wave-bar.w4 { height: 18px; animation-delay: 0.4s; }
.wave-bar.w5 { height: 28px; animation-delay: 0.15s; }
.wave-bar.w6 { height: 14px; animation-delay: 0.35s; }
.wave-bar.w7 { height: 26px; animation-delay: 0.25s; }

@keyframes soundWave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

.voice-bubble {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.58rem;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* 5. Photo Editor Mockup */
.photo-canvas {
  height: 90px;
  background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 100%);
  border-radius: 8px;
  position: relative;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.3);
  margin-bottom: 7px;
}

.canvas-split-left {
  flex: 1;
  background: #312e81;
  opacity: 0.75;
  display: flex;
  align-items: flex-end;
  padding: 4px;
}

.canvas-divider {
  width: 2px;
  background: #ffffff;
  position: relative;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.canvas-split-right {
  flex: 1;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  display: flex;
  align-items: flex-end;
  padding: 4px;
}

.split-tag {
  font-size: 0.48rem;
  background: rgba(0, 0, 0, 0.75);
  color: #e2e8f0;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 600;
}

.split-tag.ai {
  color: #a7f3d0;
  background: rgba(6, 78, 59, 0.85);
}

.photo-controls {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.photo-tool-chip {
  background: rgba(139, 92, 246, 0.14);
  color: #c4b5fd;
  font-size: 0.58rem;
  padding: 3px 6px;
  border-radius: 5px;
  border: 1px solid rgba(139, 92, 246, 0.25);
  text-align: center;
}

/* 6. AI Sticker Generator Mockup */
.sticker-prompt-bar {
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.3);
  padding: 4px 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.58rem;
  color: #5eead4;
  margin-bottom: 7px;
}

.prompt-badge {
  margin-left: auto;
  background: #14b8a6;
  color: #042f2e;
  font-size: 0.5rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
}

.sticker-grid-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  margin-bottom: 6px;
}

.sticker-card {
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sticker-export-pill {
  margin-top: auto;
  background: rgba(37, 211, 102, 0.15);
  color: #86efac;
  font-size: 0.56rem;
  font-weight: 600;
  padding: 4px 6px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

/* 7. Handshake Social Mockup */
.handshake-radar {
  height: 80px;
  background: radial-gradient(circle at center, rgba(236, 72, 153, 0.2) 0%, rgba(15, 23, 42, 0.7) 70%);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(236, 72, 153, 0.25);
  margin-bottom: 7px;
}

.hs-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(236, 72, 153, 0.35);
}

.hs-1 { width: 40px; height: 40px; }
.hs-2 { width: 75px; height: 75px; }

.hs-user {
  position: absolute;
  font-size: 0.85rem;
}

.hs-user.me { z-index: 2; font-size: 1rem; }
.hs-user.user-1 { top: 12px; left: 18px; }
.hs-user.user-2 { bottom: 12px; right: 22px; }

.handshake-card {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.04);
  padding: 5px 7px;
  border-radius: 6px;
}

.hs-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.58rem;
  margin-bottom: 3px;
}

.hs-name { color: #f472b6; font-weight: 700; }
.hs-dist { color: var(--text-muted); font-family: var(--font-mono); }
.hs-msg-pill { font-size: 0.55rem; color: #cbd5e1; }

/* 8. Keyboard & Voice IME Mockup */
.keyboard-input-preview {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 6px;
  border-radius: 5px;
  font-size: 0.58rem;
  color: #06b6d4;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.kb-cursor {
  animation: cursorBlink 1s infinite;
  color: #06b6d4;
  font-weight: 700;
}

.kb-predictive-bar {
  display: flex;
  justify-content: space-around;
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.kb-predictive-bar span.active {
  color: #22d3ee;
  font-weight: 700;
}

.kb-key-rows {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kb-row {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.kb-row .k {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.55rem;
  padding: 3px 5px;
  border-radius: 3px;
  font-family: var(--font-mono);
}

.kb-row .k.urdu {
  font-size: 0.65rem;
  color: #38bdf8;
}

.kb-row .k.space {
  width: 100%;
  text-align: center;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #67e8f9;
  font-size: 0.56rem;
  font-weight: 600;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 9. Prayer & Qibla Mockup */
.qibla-dial {
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 7px;
}

.dial-outer {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 2px dashed rgba(2, 132, 199, 0.5);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dial-mark {
  position: absolute;
  font-size: 0.5rem;
  color: var(--text-muted);
  font-weight: 700;
  font-family: var(--font-mono);
}

.dial-mark.n { top: 2px; }
.dial-mark.e { right: 3px; }
.dial-mark.s { bottom: 2px; }
.dial-mark.w { left: 3px; }

.qibla-needle {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(-45deg);
}

.needle-pointer {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 18px solid #38bdf8;
}

.kaaba-icon {
  font-size: 1rem;
  margin-top: -3px;
}

.prayer-times-bar {
  margin-top: auto;
  display: flex;
  gap: 5px;
}

.prayer-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 4px;
  text-align: center;
}

.prayer-item.active {
  background: rgba(2, 132, 199, 0.18);
  border: 1px solid rgba(2, 132, 199, 0.35);
}

.p-name {
  display: block;
  font-size: 0.55rem;
  color: #7dd3fc;
  font-weight: 700;
}

.p-time {
  display: block;
  font-size: 0.6rem;
  color: #ffffff;
  font-family: var(--font-mono);
}

.project-badge-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 13, 20, 0.8);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-android);
  border: 1px solid var(--border-subtle);
  z-index: 2;
}

.project-star-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: #FBBF24;
  border: 1px solid rgba(251, 191, 36, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 10px rgba(251, 191, 36, 0.15);
  z-index: 2;
}

.project-star-badge svg {
  filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.6));
}

.modal-star-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FBBF24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.65rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.project-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.project-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.project-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.15);
}

.project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.project-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.project-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.project-icon-btn:hover {
  background: var(--accent-kotlin);
  color: #fff;
  border-color: var(--accent-kotlin);
  transform: translateY(-2px);
}

/* ==========================================================================
   Project Detail Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 8, 14, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transform: scale(0.95);
  transition: transform var(--transition-spring);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 1.75rem 2rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

.modal-body {
  padding: 2rem;
}

.modal-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal-highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.modal-highlights-list li::before {
  content: '▹';
  color: var(--accent-android);
  font-weight: bold;
}

.modal-arch-box {
  background: rgba(10, 13, 20, 0.7);
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  line-height: 1.6;
}

.modal-footer {
  padding: 1.25rem 2rem 1.75rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Experience Section
   ========================================================================== */
.experience-section {
  padding: 5rem 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-android), var(--accent-kotlin), rgba(255, 255, 255, 0.1));
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 6px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-android);
  box-shadow: 0 0 10px var(--accent-android);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.timeline-content:hover {
  border-color: var(--border-glow);
  transform: translateX(6px);
}

.timeline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.timeline-role {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.timeline-company {
  color: var(--accent-kotlin);
  font-weight: 600;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  padding: 5rem 0 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.contact-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.contact-card-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(61, 220, 132, 0.1);
  color: var(--accent-android);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background: var(--accent-android);
  color: #061e0e;
  border-color: var(--accent-android);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(12px);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: rgba(10, 13, 20, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-normal);
}

.form-control:focus {
  border-color: var(--accent-android);
  box-shadow: 0 0 10px rgba(61, 220, 132, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  background: rgba(10, 13, 20, 0.95);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-text span {
  color: var(--accent-android);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.back-to-top:hover {
  background: var(--accent-android);
  color: #061e0e;
  transform: translateY(-3px);
}

/* Toast Notification */
.toast-message {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #10B981;
  color: #061e0e;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
  z-index: 3000;
}

.toast-message.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-container {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: rgba(10, 13, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .avatar-wrapper {
    width: 260px;
    height: 310px;
  }

  .floating-chip {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
