/* 
   1stfancy studio - Main CSS Styling
   Premium Dark Cyberpunk/Minimalist Theme
*/

/* ----------------------------------
   CSS Variables & Design System
   ---------------------------------- */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* HSL Color Palette matching Cyberpunk Shooter / ImageGadget */
  --bg-deep: hsl(265, 60%, 5%);       /* #0a0312 - Dark Deep Space */
  --bg-card: hsla(265, 50%, 10%, 0.45); /* Dark Glass Card base */
  --text-primary: hsl(210, 20%, 98%); /* Off-white */
  --text-secondary: hsl(215, 15%, 70%); /* Cool grey */
  --text-muted: hsl(215, 12%, 50%);    /* Dark grey */

  /* Neon Accent Colors */
  --neon-cyan: hsl(180, 100%, 50%);    /* #00FFFF - Cyan */
  --neon-magenta: hsl(300, 100%, 50%); /* #FF00FF - Magenta */
  --neon-purple: hsl(270, 100%, 60%);  /* #8000FF - Purple */
  --neon-yellow: hsl(60, 100%, 50%);   /* #FFFF00 - Yellow */
  --neon-orange: hsl(30, 100%, 50%);   /* #FF8000 - Orange */
  --neon-teal: hsl(160, 100%, 45%);     /* Teal */
  --neon-grey: hsl(210, 10%, 60%);     /* Cool slate */

  /* Glassmorphism Borders & Shadows */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 255, 255, 0.3);
  --shadow-neon-cyan: 0 0 20px rgba(0, 255, 255, 0.25);
  --shadow-neon-magenta: 0 0 20px rgba(255, 0, 255, 0.25);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1200px;
}

/* ----------------------------------
   Reset & Base Styles
   ---------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Base Body Ambient Glow */
body::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(128, 0, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -2;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.neon-text-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.neon-text-magenta {
  color: var(--neon-magenta);
  text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* ----------------------------------
   Header & Navigation
   ---------------------------------- */
.studio-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(10, 3, 18, 0.7);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  height: 70px;
}

.logo-wrapper {
  height: 38px;
  width: auto;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 100%;
  width: auto;
}

.studio-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
  transition: var(--transition-smooth);
}

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

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

.nav-btn-highlight {
  border: 1px solid var(--neon-cyan);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  background: rgba(0, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.nav-btn-highlight::after {
  display: none;
}

.nav-btn-highlight:hover {
  background: var(--neon-cyan);
  color: var(--bg-deep) !important;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Mobile Toggle Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: var(--transition-smooth);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  left: 0;
  transition: var(--transition-smooth);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* ----------------------------------
   Hero Section
   ---------------------------------- */
.hero-section {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.04) 0%, rgba(0, 255, 255, 0.02) 40%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

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

.btn-primary {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(128, 0, 255, 0.25);
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 255, 255, 0.4);
}

.btn-secondary {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-secondary);
  transform: translateY(-3px);
}

/* ----------------------------------
   Before / After Image Slider Widget
   ---------------------------------- */
.showcase-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  width: 100%;
}

.showcase-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.2rem;
}

.showcase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.showcase-title-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 500;
  margin-left: 0.5rem;
  letter-spacing: 0.5px;
}

.filter-selector-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.filter-preset-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.filter-preset-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.filter-preset-btn.active {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.before-after-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Background image is the original raw sunset picture */
.slider-image.original {
  z-index: 1;
}

/* Foreground container starts at 50% width and holds the filtered copy */
.filtered-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.filtered-container .slider-image.filtered {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* ----------------------------------
   Dynamic CSS Filter Classes for Slider Preview
   ---------------------------------- */
/* Oil Painting Pro style */
.oil-filter {
  filter: saturate(1.6) brightness(1.05) contrast(1.15) sepia(0.05);
}

/* Charcoal Pro style */
.charcoal-filter {
  filter: grayscale(1) contrast(1.9) brightness(0.95);
}

/* iOldPhoto style */
.sepia-filter {
  filter: sepia(0.95) contrast(0.9) brightness(0.88) saturate(0.8);
}

/* Emboss Me style */
.emboss-filter {
  filter: grayscale(1) contrast(2) invert(0.05) brightness(0.9);
}

/* Labels */
.badge {
  position: absolute;
  bottom: 12px;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-original {
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  z-index: 3;
}

.badge-filtered {
  left: 12px;
  background: var(--neon-cyan);
  color: var(--bg-deep);
  z-index: 3;
}

/* Drag Handle */
.slider-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #FFF;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFF;
  color: var(--bg-deep);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Transparent native range slider on top of everything for full dragging compatibility */
.native-slider-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

.showcase-caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

.showcase-caption b {
  color: var(--neon-cyan);
}

/* ----------------------------------
   App Portfolio Section
   ---------------------------------- */
.portfolio-section {
  padding: 100px 0;
  position: relative;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

/* App Card Component */
.app-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

/* Subtle glowing background effect for each card */
.app-card-glow {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.1;
  pointer-events: none;
  transition: var(--transition-smooth);
}

/* Color themed glow markers */
.border-purple { background: var(--neon-purple); }
.border-grey { background: var(--neon-grey); }
.border-blue { background: var(--neon-cyan); }
.border-magenta { background: var(--neon-magenta); }
.border-yellow { background: var(--neon-yellow); }
.border-orange { background: var(--neon-orange); }
.border-teal { background: var(--neon-teal); }

.app-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 15px 40px rgba(0, 255, 255, 0.1);
}

.app-card:hover .app-card-glow {
  opacity: 0.2;
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.app-icon-bg {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.bg-purple { background: linear-gradient(135deg, var(--neon-purple), #5000aa); }
.bg-grey { background: linear-gradient(135deg, var(--neon-grey), #2f3844); }
.bg-blue { background: linear-gradient(135deg, var(--neon-cyan), #0088cc); }
.bg-magenta { background: linear-gradient(135deg, var(--neon-magenta), #aa00aa); }
.bg-yellow { background: linear-gradient(135deg, var(--neon-yellow), #8aa500); }
.bg-orange { background: linear-gradient(135deg, var(--neon-orange), #b85000); }
.bg-teal { background: linear-gradient(135deg, var(--neon-teal), #006b52); }

.app-meta {
  display: flex;
  flex-direction: column;
}

.app-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.app-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--neon-cyan);
  margin-top: 0.1rem;
}

.app-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.app-features {
  margin-bottom: 1.8rem;
}

.app-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-features li::before {
  content: '✓';
  color: var(--neon-cyan);
  font-weight: bold;
}

.app-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.app-tech-tags span {
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  color: var(--text-secondary);
}

.app-footer {
  border-top: 1px solid var(--border-glass);
  padding-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.bundle-id {
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--text-muted);
}

.app-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-free, .badge-pro {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.badge-free::before {
  content: '✦ ';
  color: var(--neon-magenta);
}

.badge-pro::before {
  content: '✦ ';
  color: var(--neon-cyan);
}

.btn-appstore {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  padding: 0.45rem 1rem;
  border-radius: 6px;
  background: rgba(0, 255, 255, 0.03);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.05);
}

.btn-appstore:hover {
  background: var(--neon-cyan);
  color: var(--bg-deep);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* Suite Details Banner */
.suite-details {
  margin-top: 4rem;
}

.suite-glow-card {
  background: linear-gradient(135deg, rgba(20, 10, 30, 0.6) 0%, rgba(10, 3, 20, 0.6) 100%);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.suite-glow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-magenta), transparent);
}

.suite-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #fff;
}

.suite-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 900px;
}

/* ----------------------------------
   About Section
   ---------------------------------- */
.about-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.about-glow {
  position: absolute;
  right: -5%;
  bottom: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.03) 0%, rgba(128, 0, 255, 0.01) 40%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
}

.about-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 2rem;
}

.about-para {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.stats-row {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--neon-cyan);
  line-height: 1;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Tech Stack Card */
.tech-stack-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.tech-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tech-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.tech-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.tech-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

/* ----------------------------------
   Footer
   ---------------------------------- */
.studio-footer {
  background: rgba(6, 2, 12, 0.95);
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-motto {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 320px;
}

.footer-links-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links-list a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-links-list a:hover {
  color: var(--neon-cyan);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ----------------------------------
   Media Queries & Responsiveness
   ---------------------------------- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  /* Hamburger Menu implementation */
  .nav-toggle {
    display: block;
  }

  .studio-nav {
    position: fixed;
    top: 70px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 3, 18, 0.98);
    backdrop-filter: blur(24px);
    padding: 3rem;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-glass);
    z-index: 999;
  }

  .studio-nav.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    width: 100%;
  }

  .nav-link {
    font-size: 1.25rem;
  }

  /* Hamburger transformations when menu active */
  .nav-toggle.active .hamburger {
    background: transparent;
  }
  
  .nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
  }

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

  .section-title, .about-title {
    font-size: 2.2rem;
  }

  .stats-row {
    flex-wrap: wrap;
    gap: 2rem;
  }

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

  .footer-brand-col {
    grid-column: span 1;
  }
}

/* ----------------------------------
   Dynamic Filter Toolbar
   ---------------------------------- */
.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: var(--shadow-neon-cyan);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

/* Grouped Card Badges and Buttons */
.app-badges-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  width: 100%;
}

.btn-appstore-solid {
  grid-column: span 1;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 0.5rem;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  color: var(--text-primary);
  box-shadow: 0 4px 10px rgba(0, 255, 255, 0.15);
  transition: var(--transition-smooth);
}

.btn-appstore-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4);
}

.btn-appstore-outline {
  grid-column: span 1;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(0, 255, 255, 0.03);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.btn-appstore-outline:hover {
  background: var(--neon-cyan);
  color: var(--bg-deep);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Full Width Button Helper */
.w-full-btn {
  grid-column: span 2;
}

@media (max-width: 576px) {
  .portfolio-filter-bar {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
  }
}

/* ----------------------------------
   Real Screenshots Preview Button & Modal Styles
   ---------------------------------- */
.btn-screenshot-preview {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 255, 255, 0.15);
  color: var(--neon-cyan);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.btn-screenshot-preview:hover {
  background: rgba(0, 255, 255, 0.08);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Modal Overlay base */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 2, 12, 0.85);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Modal Card style */
.screenshot-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.5rem;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(128, 0, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .screenshot-modal-card {
  transform: translateY(0);
}

.screenshot-modal-header {
  text-align: center;
  margin-bottom: 2rem;
  width: 100%;
}

.screenshot-modal-header .modal-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 0.4rem;
}

.screenshot-modal-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Carousel wrapper */
.screenshot-carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.screenshot-slide-viewport {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  position: relative;
}

/* Slide item */
.screenshot-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.screenshot-slide.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

/* Simulated device frames */
.device-frame {
  background: #000;
  border: 10px solid #1c1c1e;
  border-radius: 36px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(128, 0, 255, 0.1);
  overflow: hidden;
  position: relative;
}

/* iPhone simulated dimensions */
.iphone-frame {
  width: 250px;
  height: 440px;
  border-radius: 36px;
}

/* iPad simulated dimensions */
.ipad-frame {
  width: 320px;
  height: 440px;
  border-radius: 24px;
  border-width: 12px;
}

.device-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background: #1c1c1e;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.device-home-bar {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  z-index: 10;
}

.app-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0c0517;
}

.device-label {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

/* Carousel Buttons */
.carousel-nav-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-nav-btn:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

/* Indicators */
.carousel-indicators {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.indicator-dot.active {
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
}

/* Close action footer button */
.btn-screenshot-close {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 2.2rem;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-screenshot-close:hover {
  background: rgba(255, 0, 255, 0.08);
  border-color: var(--neon-magenta);
  color: var(--text-primary);
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.2);
}

/* Body Scroll Lock */
body.no-scroll {
  overflow: hidden;
}

/* ----------------------------------
   Mini-Mockup Live iPhone Simulator Cards
   ---------------------------------- */
.app-card-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1.5rem;
}

.mini-device-frame {
  background: #000;
  border: 4px solid #1c1c1e;
  border-radius: 14px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 16 / 10;
  transition: var(--transition-smooth);
}

.app-card:hover .mini-device-frame {
  border-color: var(--border-active);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.2), 0 0 15px rgba(0, 255, 255, 0.1);
  transform: scale(1.02);
}

.mini-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 6px;
  background: #1c1c1e;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  z-index: 10;
}

.mini-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mini-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.mini-hud {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background: rgba(10, 3, 18, 0.8);
  backdrop-filter: blur(4px);
  border-radius: 5px;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}

.hud-label {
  font-size: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
}

.hud-value {
  color: var(--text-primary);
  font-family: monospace;
}

.hud-slider {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1px;
  overflow: hidden;
}

.hud-slider-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
}

/* Custom CSS effect filters for mockups */
.brighten-filter {
  filter: brightness(1.25) saturate(1.15) contrast(1.05);
}

.denoise-filter {
  filter: contrast(1.05) brightness(1.02);
}

.engrave-filter {
  filter: grayscale(1) contrast(3.5) brightness(0.85);
}

.blur-filter {
  filter: blur(3px) saturate(1.2);
}

.sharpen-filter {
  filter: contrast(1.2) brightness(0.98);
}

.vivid-filter {
  filter: saturate(1.9) contrast(1.05);
}

.wb-filter {
  filter: sepia(0.18) saturate(1.15) hue-rotate(-8deg);
}

.negative-filter {
  filter: invert(1);
}

.contrast-filter {
  filter: contrast(1.4);
}

.converter-filter {
  filter: none;
}

.expert-filter {
  filter: contrast(1.1) brightness(1.05);
}

/* ScanSmart simulated detection grid */
.scansmart-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(circle, transparent 70%, rgba(0, 255, 255, 0.1) 100%);
}

.scansmart-box {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  height: 70%;
  border: 1px dashed var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
  border-radius: 4px;
}

.scansmart-laser {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: laserScan 2.5s infinite ease-in-out;
}

@keyframes laserScan {
  0%, 100% { top: 15%; }
  50% { top: 85%; }
}

/* Custom Text HUD for EXIF */
.exif-hud {
  display: flex;
  justify-content: space-between;
  font-size: 0.5rem;
  font-family: monospace;
  color: var(--neon-teal);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.1);
  padding-top: 1px;
}





