/* 
 * Apple & Vercel Minimalist Premium Portfolio Stylesheet
 * High-end minimalist Silicon Valley startup aesthetic
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-color: #000000;
  --bg-card: rgba(10, 10, 10, 0.6);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  
  /* Refined Apple-like Gradient & Accent Colors */
  --accent-primary: #ffffff;
  --accent-secondary: #e4e4e7;
  --color-indigo: #6366f1;
  --color-violet: #8b5cf6;
  --color-silver: #a1a1aa;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #52525b;
  
  /* Font Families */
  --font-display: 'Space Grotesk', sans-serif;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Sophisticated Fluid Typography Values */
  --fs-hero-title: clamp(2.2rem, 8vw, 4.2rem);
  --fs-hero-sub: clamp(1rem, 3.5vw, 1.35rem);
  --fs-section-title: clamp(1.6rem, 5vw, 2.5rem);
  --fs-bento-title: clamp(1.1rem, 2.5vw, 1.25rem);
  --fs-body: clamp(0.9rem, 2vw, 1rem);
  
  /* Sophisticated Soft Shadows */
  --premium-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --accent-glow: 0 0 35px rgba(255, 255, 255, 0.05);
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none; /* Custom clean cursor */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-color);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-color);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #000;
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Dynamic glow balls in background (Minimal & organic) */
.ambient-glow-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  mix-blend-mode: screen;
}

.orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -50px;
  background: radial-gradient(circle, var(--color-violet) 0%, transparent 80%);
  animation: float-slow 25s ease-in-out infinite alternate;
}

.orb-2 {
  width: 600px;
  height: 600px;
  bottom: -150px;
  left: -100px;
  background: radial-gradient(circle, var(--color-indigo) 0%, transparent 80%);
  animation: float-slow-rev 30s ease-in-out infinite alternate;
}

@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, 60px) scale(1.1); }
}

@keyframes float-slow-rev {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(90px, -70px) scale(0.9); }
}

/* Ambient subtle vector grid over bento elements */
.ambient-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.2) 90%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.2) 90%);
}

/* Custom modern Apple-style Cursor */
.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.08s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
}

/* Cursor pointer states */
.hovering .cursor-dot {
  width: 4px;
  height: 4px;
  background-color: var(--color-indigo);
}
.hovering .cursor-ring {
  width: 52px;
  height: 52px;
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.03);
}

/* Elegant Apple-Style Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
  padding: 1.1rem 6rem;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* Modern Language Swapper Selector Styling */
.lang-selector-container {
  position: relative;
  display: inline-block;
  z-index: 1010;
}

.lang-selector-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-selector-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(8, 8, 12, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.4rem;
  width: 150px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-dropdown-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-option {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.lang-option.active-lang {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  font-weight: 600;
}

.lang-flag {
  font-size: 1rem;
}

/* Bi-directional support (RTL Arabic) */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .lang-dropdown-menu {
  left: auto;
  right: 0;
}

[dir="rtl"] .lang-option {
  text-align: right;
}

[dir="rtl"] header {
  flex-direction: row-reverse;
}

[dir="rtl"] .header-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] nav {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-meta {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-pulse {
  margin-right: 0;
  margin-left: 0.5rem;
}

[dir="rtl"] .hero-buttons {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

[dir="rtl"] .hero-left {
  text-align: right;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.5px;
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 0.8;
}

nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  font-size: 0.85rem;
  transition: color 0.3s;
  position: relative;
  letter-spacing: 0.2px;
}

nav a:hover {
  color: var(--text-primary);
}

nav a.active {
  color: var(--text-primary);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #fff;
}

/* Theme Controller Switch / Menu Button */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Glass Bento Containers */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--premium-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* Minimalist Button System */
.neon-btn {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: -0.1px;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  position: relative;
}

.neon-btn.primary {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
}

.neon-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.neon-btn.secondary {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.neon-btn.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Core layouts */
section {
  padding: 8rem 6rem 4rem 6rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section-tag {
  font-family: var(--font-sans);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-section-title);
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 3.5rem;
  color: #ffffff;
}

/* Reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========= HERO SECTION (MINIMAL) ========= */
#hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 5rem;
  padding-top: 10rem;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-pulse {
  width: 6px;
  height: 6px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-hero-title);
  line-height: 1.05;
  letter-spacing: -2.8px;
  margin-bottom: 2rem;
  color: #ffffff;
}

.glowing-text {
  background: linear-gradient(180deg, #ffffff 30%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typing-container {
  font-size: 1.7rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-secondary);
  height: 2.5rem;
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
}

#typed-text {
  color: var(--text-primary);
  border-right: 2px solid #fff;
  padding-right: 4px;
}

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

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

/* Smooth visual orb frame */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 400px;
}

.minimal-globe {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.5) 70%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 
              0 20px 50px rgba(0, 0, 0, 0.9),
              0 0 80px rgba(139, 92, 246, 0.08);
  position: relative;
  animation: float-slight 8s ease-in-out infinite alternate;
}

@keyframes float-slight {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* ========= BENTO GRID ABOUT ========= */
#about {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.bento-header {
  grid-column: span 3;
}

.bento-card {
  grid-column: span 1;
}

.bento-card.wide {
  grid-column: span 2;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: -0.2px;
}

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

/* Clean micro skills indicators */
.skills-simple {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-bar-simple {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.skill-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.skill-name-clean {
  color: #fff;
  font-weight: 500;
}

.skill-track {
  height: 3px;
  background-color: #1c1c1e;
  border-radius: 10px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 0%; /* Dynamic fill */
  background-color: var(--accent-primary);
  border-radius: 10px;
  transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========= PROJECTS GRID SECTION (Premium slate cards) ========= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
}

.project-card {
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.project-img-wrapper {
  height: 180px;
  background-color: #0c0c0c;
  position: relative;
  overflow: hidden;
}

.img-slate-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-badge-clean {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-weight: 500;
}

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

.project-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #fff;
}

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

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

.tag-item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.tag-item::after {
  content: ' ·';
}
.tag-item:last-child::after {
  content: '';
}

.project-btn-links {
  display: flex;
  gap: 1.25rem;
  margin-top: auto;
}

.project-btn-links a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.project-btn-links a.visit-btn {
  color: #fff;
}
.project-btn-links a.visit-btn:hover {
  opacity: 0.8;
}

.project-btn-links a.source-btn {
  color: var(--text-secondary);
}
.project-btn-links a.source-btn:hover {
  color: #fff;
}

/* ========= CLEAN CHRONOLOGY TIMELINE ========= */
#experience {
  max-width: 900px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.08);
}

.timeline-row {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 6px;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #000;
  z-index: 2;
}

.timeline-yr {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 0.4rem;
}

.timeline-content-wrapper {
  display: flex;
  flex-direction: column;
}

.timeline-title-corp {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.2rem;
}

.timeline-locat {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.timeline-bullets {
  list-style-type: none;
}

.timeline-bullets li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}

.timeline-bullets li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* ========= CONTACT FORM (APPLE FORM FIELDS) ========= */
#contact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: start;
}

.contact-left-descr {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 3rem;
}

.contact-meta-clean {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.clean-meta-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.clean-meta-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clean-meta-details p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.clean-socials {
  display: flex;
  gap: 1rem;
}

.clean-social-circle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.clean-social-circle:hover {
  border-color: #fff;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.05);
}

/* Contact Inputs Minimal */
.form-apple-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.apple-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.apple-input-group label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.apple-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: all 0.3s;
}

.apple-input:focus {
  outline: none;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.form-response-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  border-radius: 20px;
  padding: 2rem;
}

.form-response-screen.visible {
  display: flex;
}

.form-response-icon {
  width: 50px;
  height: 50px;
  color: var(--color-indigo);
  margin-bottom: 1.5rem;
}

/* ========= FUTURISTIC FOOTER ========= */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 6rem;
  background-color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-right {
  display: flex;
  gap: 2.5rem;
}

.footer-right a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-right a:hover {
  color: #fff;
}

/* ================= SPA VIEW ENGINE & COMPOSITIONS ================= */
.page-view {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Tab Bar Category Filter */
.filter-tab-bar {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
}

.filter-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.04);
}

.filter-btn.active {
  color: #000000;
  background-color: #ffffff;
}

/* Premium Credential Cards hover glow */
.cert-premium-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cert-premium-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.08) !important;
}

.cert-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.cert-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.cert-premium-card:hover .cert-zoom-overlay {
  opacity: 1;
}

.cert-premium-card:hover .cert-display-img {
  transform: scale(1.05);
}

/* Luxurious Lightbox Modal */
.cert-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem;
}

.cert-lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.cert-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: opacity 0.4s ease;
}

.cert-lightbox-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-lightbox-modal.active .cert-lightbox-content {
  transform: scale(1);
}

.cert-lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1.5rem;
}

.cert-lightbox-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cert-lightbox-close {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cert-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.cert-lightbox-img-wrapper {
  background: #07070a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cert-lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

/* Responsive Sticky Container */
#stack-grid-wrapper {
  align-items: start;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1100px) {
  #hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 8rem;
    text-align: center;
  }
  
  .hero-visual {
    height: 300px;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  #about {
    grid-template-columns: 1fr;
  }
  
  .bento-card, .bento-card.wide {
    grid-column: span 1;
  }
  
  #contact {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  * {
    cursor: auto !important;
  }
  
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
  
  section {
    padding: 4.5rem 1.25rem 2.5rem 1.25rem !important;
    min-height: auto !important;
  }
  
  /* Fluid Typo safety */
  .hero-title {
    font-size: var(--fs-hero-title) !important;
    letter-spacing: -1.5px !important;
    margin-bottom: 1rem !important;
  }
  
  .section-title {
    font-size: var(--fs-section-title) !important;
    letter-spacing: -0.8px !important;
    margin-bottom: 2rem !important;
  }
  
  .bento-title {
    font-size: var(--fs-bento-title) !important;
  }
  
  .typing-container {
    font-size: var(--fs-hero-sub) !important;
    justify-content: center !important;
    margin-bottom: 1.5rem !important;
  }
  
  #hero-roles-subtitle {
    font-size: var(--fs-hero-sub) !important;
    margin-bottom: 1.2rem !important;
  }
  
  .hero-description {
    font-size: 0.95rem !important;
    margin-bottom: 1.8rem !important;
    line-height: 1.5 !important;
  }
  
  #hero-quote-p {
    font-size: 1rem !important;
    margin-bottom: 2rem !important;
    max-width: 100% !important;
  }
  
  header {
    padding: 0.85rem 1.25rem !important;
  }
  
  header.scrolled {
    padding: 0.7rem 1.25rem !important;
  }
  
  /* Language Selector Polish */
  .lang-selector-btn {
    padding: 0.4rem 0.85rem !important;
    font-size: 0.78rem !important;
  }
  
  .lang-dropdown-menu {
    width: 135px !important;
    border-radius: 10px !important;
    top: calc(100% + 6px) !important;
  }
  
  /* Header burger design */
  .burger-menu {
    display: flex !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.1rem;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
  }
  
  .burger-menu:active {
    transform: scale(0.92);
    background: rgba(255, 255, 255, 0.08);
  }
  
  /* Modern animate slide down mobile navbar */
  nav {
    position: fixed;
    top: 4.8rem;
    left: 1.25rem;
    right: 1.25rem;
    background: rgba(10, 10, 15, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.85);
    
    display: flex !important;
    opacity: 0;
    transform: scale(0.96) translateY(-10px);
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }
  
  nav.active {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
    pointer-events: auto !important;
  }
  
  nav a {
    font-size: 0.95rem !important;
    width: 100%;
    text-align: center;
    padding: 0.4rem 0;
    -webkit-tap-highlight-color: transparent;
  }
  
  nav a.active::after {
    bottom: -2px !important;
    width: 5px !important;
    height: 5px !important;
  }
  
  /* Audio toggle modern size */
  .audio-toggle {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    -webkit-tap-highlight-color: transparent;
  }
  
  .audio-toggle:active {
    transform: scale(0.92);
  }
  
  /* Touch-friendly responsive buttons */
  .hero-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.8rem !important;
    width: 100%;
    max-width: 290px;
    margin: 0 auto !important;
  }
  
  .neon-btn {
    padding: 0.75rem 1.6rem !important;
    font-size: 0.82rem !important;
    min-height: 44px !important; /* Touch safety target */
    width: 100% !important;
    border-radius: 12px !important;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Profile Photo and Globe Scaling (Avoid Overflow) */
  .hero-visual {
    height: auto !important;
    min-height: 260px !important;
    margin-top: 1.5rem !important;
  }
  
  .minimal-globe {
    width: min(260px, 70vw) !important;
    height: min(260px, 70vw) !important;
    box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.3), 
                0 15px 35px rgba(0, 0, 0, 0.8),
                0 0 50px rgba(139, 92, 246, 0.06) !important;
  }
  
  .profile-photo-uploader {
    width: min(170px, 46vw) !important;
    height: min(170px, 46vw) !important;
  }
  
  .profile-photo-uploader .photo-container {
    width: min(140px, 38vw) !important;
    height: min(140px, 38vw) !important;
    border-width: 1px !important;
  }
  
  /* Bento boxes spacing reduction */
  .glass-panel {
    padding: 1.25rem !important;
    border-radius: 16px !important;
  }
  
  /* About manifesto inline grid override */
  #about-card-manifesto > div {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: center;
  }
  
  #about-card-manifesto i {
    width: 24px !important;
    height: 24px !important;
  }
  
  #about-card-manifesto div[style*="width: 120px"] {
    width: 90px !important;
    height: 90px !important;
  }
  
  #about-card-manifesto div[style*="width: 140px"] {
    width: 105px !important;
    height: 105px !important;
  }
  
  /* Projects and Portfolio Cards Scaling */
  .projects-grid,
  .certs-container,
  #connect-platforms-grid,
  .home-form-grid,
  #about,
  #contact {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  
  .project-content {
    padding: 1.25rem !important;
  }
  
  .project-desc {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }
  
  .visit-btn, .source-btn {
    padding: 0.55rem 0.9rem !important;
    font-size: 0.78rem !important;
    min-height: 40px !important;
    border-radius: 8px !important;
  }
  
  /* Grid otomatis responsive (Ecosystem software) */
  #tools-software-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important;
    gap: 1rem !important;
  }
  
  .tool-software-card {
    padding: 1rem !important;
    border-radius: 14px !important;
  }
  
  .tool-icon-wrapper {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 0.6rem !important;
  }
  
  .tool-icon-wrapper svg {
    width: 20px !important;
    height: 20px !important;
  }
  
  /* Timeline responsive spacing */
  .timeline {
    gap: 2rem !important;
    padding-left: 1rem !important;
  }
  
  .timeline-dot {
    left: -1rem !important;
    width: 6px !important;
    height: 6px !important;
    top: 7px !important;
  }
  
  .timeline-title-corp {
    font-size: 1.1rem !important;
  }
  
  .timeline-locat {
    font-size: 0.82rem !important;
    margin-bottom: 0.6rem !important;
  }
  
  .timeline-bullets li {
    font-size: 0.82rem !important;
    margin-bottom: 0.4rem !important;
  }
  
  /* Form components polish */
  .home-contact-wrapper {
    margin-top: 3rem !important;
  }
  
  .home-contact-card {
    padding: 1.25rem !important;
    border-radius: 20px !important;
  }
  
  .home-form-input {
    padding: 0.9rem 1.1rem !important;
    font-size: 0.88rem !important;
    border-radius: 12px !important;
  }
  
  .home-form-submit-btn {
    padding: 0.95rem 1.5rem !important;
    font-size: 0.92rem !important;
    border-radius: 12px !important;
    min-height: 44px !important;
  }
  
  /* Lightbox and blog overlays responsive spacing */
  .cert-lightbox-content {
    width: 100% !important;
    max-height: 90vh !important;
  }
  
  .cert-lightbox-title {
    font-size: 1rem !important;
  }
  
  .cert-lightbox-close {
    width: 36px !important;
    height: 36px !important;
  }
  
  #modal-blog-scrollable {
    padding: 1.25rem !important;
  }
  
  #modal-blog-title {
    font-size: 1.6rem !important;
  }
  
  /* Footer compact rules */
  footer {
    padding: 2rem 1.25rem !important;
    flex-direction: column !important;
    gap: 1.2rem !important;
  }
  
  .footer-right {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: center !important;
  }
}

/* ================= SALMAN GRADIENT & INTERACTIVE PHOTO STYLES ================= */
.salman-gradient {
  background: linear-gradient(135deg, #ff007f 0%, #8b5cf6 50%, #00f0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shine-salman 8s ease infinite;
}

@keyframes shine-salman {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero Circle Profile Image Setup inside Globe */
.profile-photo-uploader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-photo-uploader .photo-container {
  position: relative;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background-color: #050506;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.12);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-photo-uploader img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-photo-uploader .upload-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.83);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.profile-photo-uploader .upload-overlay span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.profile-photo-uploader:hover .photo-container {
  border-color: #ff007f;
  box-shadow: 0 0 40px rgba(255, 0, 127, 0.35);
  transform: scale(1.04);
}

.profile-photo-uploader:hover img {
  transform: scale(1.1);
}

.profile-photo-uploader:hover .upload-overlay {
  opacity: 1;
}

/* Orbiting dynamic neon outline */
.profile-photo-uploader .glow-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff007f, #8b5cf6, #00f0ff);
  z-index: -1;
  opacity: 0.25;
  filter: blur(14px);
  animation: rotate-glow-loop 12s linear infinite;
  pointer-events: none;
}

@keyframes rotate-glow-loop {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* About Section Photo Card Hover Mechanics */
#about-profile-picture-container:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.35);
  border-color: #8b5cf6;
}

#about-profile-picture-container:hover .upload-overlay-about {
  opacity: 1;
}

#about-profile-picture-container:hover img {
  transform: scale(1.08);
}

/* Tools & Software interactive cards */
.tool-software-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tool-software-card:hover {
  transform: translateY(-8px) scale(1.04);
  background: linear-gradient(135deg, rgba(30, 30, 38, 0.8) 0%, rgba(15, 15, 18, 0.8) 100%) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: var(--premium-shadow), 0 0 30px rgba(255, 255, 255, 0.04);
}

.tool-software-card:hover .tool-icon-wrapper {
  transform: scale(1.12);
  filter: brightness(1.15);
}

.tool-software-card-vscode {
  border: 1px solid rgba(0, 240, 255, 0.25) !important;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.04);
}

.tool-software-card-vscode:hover {
  border-color: rgba(0, 240, 255, 0.75) !important;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.25) !important;
}

/* Let's Connect Premium Social Grid Styles */
.connect-grid-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  background: rgba(15, 15, 20, 0.6) !important;
}

.connect-grid-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(22, 22, 30, 0.8) !important;
}

.connect-card-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.5) !important;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.15) !important;
}

.connect-card-instagram:hover {
  border-color: rgba(225, 48, 108, 0.5) !important;
  box-shadow: 0 10px 30px rgba(225, 48, 108, 0.15) !important;
}

.connect-card-tiktok:hover {
  border-color: rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1) !important;
}

.connect-card-linkedin:hover {
  border-color: rgba(10, 102, 194, 0.5) !important;
  box-shadow: 0 10px 30px rgba(10, 102, 194, 0.15) !important;
}

.connect-card-youtube:hover {
  border-color: rgba(255, 0, 0, 0.5) !important;
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.15) !important;
}

.connect-card-email:hover {
  border-color: rgba(242, 161, 0, 0.5) !important;
  box-shadow: 0 10px 30px rgba(242, 161, 0, 0.15) !important;
}

.connect-grid-card svg {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.connect-grid-card:hover svg {
  transform: scale(1.1) rotate(2deg);
}

/* Home Interactive Premium Form Stylings */
.home-contact-wrapper {
  margin-top: 5rem;
  text-align: center;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.home-contact-card {
  background: rgba(13, 13, 16, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 2.5rem !important;
  border-radius: 28px !important;
  text-align: left;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 198, 255, 0.02) !important;
  transition: all 0.4s ease;
}

.home-contact-card:hover {
  border-color: rgba(0, 198, 255, 0.2) !important;
  box-shadow: 0 25px 52px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 198, 255, 0.06) !important;
}

.home-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  width: 100%;
  margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
  .home-form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .home-contact-card {
    padding: 1.75rem !important;
    border-radius: 22px !important;
  }
}

.home-form-input {
  width: 100%;
  padding: 1.1rem 1.4rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-form-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.92rem;
}

.home-form-input:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.home-form-input:focus {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(0, 240, 255, 0.6) !important;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.12);
}

.home-form-submit-btn {
  width: 100%;
  padding: 1.15rem 2rem;
  border-radius: 18px;
  border: none;
  background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%) !important;
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 180, 219, 0.25);
}

.home-form-submit-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%) !important;
  box-shadow: 0 12px 30px rgba(0, 198, 255, 0.4);
}

.home-form-submit-btn:active {
  transform: translateY(-1px);
}

.home-form-submit-btn svg {
  transition: transform 0.3s ease;
}

.home-form-submit-btn:hover svg {
  transform: translate(4px, -4px) scale(1.08);
}

/* ================= BLOG INTERACTIVE SUBSYSTEM CORE ================= */

.blog-filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.blog-filter-btn.active {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.4);
  color: #c7d2fe;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.08);
}

.modal-overlay {
  display: flex;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#blog-publish-form input:focus,
#blog-publish-form select:focus,
#blog-publish-form textarea:focus {
  border-color: rgba(139, 92, 246, 0.4) !important;
  background: rgba(139, 92, 246, 0.02) !important;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.05) !important;
}

#blog-search-input:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.04);
}

.modal-glass-container {
  will-change: transform;
}

.share-icon-btn:hover {
  color: rgba(139, 92, 246, 1) !important;
  transform: scale(1.1);
}



