/* ==========================================
   EFLIP Solution CSS Design System
   Theme: Sophisticated Dark Forest Green
   ========================================== */

/* Variables & Base Reset */
:root {
  --bg-base: #0a0e14;
  --bg-card: rgba(20, 26, 38, 0.4);
  --bg-card-hover: rgba(25, 33, 48, 0.6);
  --bg-panel: #111827;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(16, 185, 129, 0.2);
  --border-color-glow-hover: rgba(52, 211, 153, 0.5);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --color-green-primary: #10b981;
  --color-green-dark: #065f46;
  --color-green-light: #34d399;
  --color-green-glow: rgba(16, 185, 129, 0.15);
  
  --font-display: 'Outfit', 'Pretendard', sans-serif;
  --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color-glow);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-green-primary);
}

/* Ambient Background Glows */
.glow-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
  animation: pulse-glow 8s infinite alternate ease-in-out;
}

.glow-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(4, 120, 87, 0.05) 50%, transparent 100%);
  animation-delay: 0s;
}

.glow-2 {
  top: 45%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.08) 0%, rgba(6, 95, 70, 0.03) 60%, transparent 100%);
  animation-delay: 2s;
}

.glow-3 {
  bottom: -5%;
  left: 10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(4, 120, 87, 0.03) 70%, transparent 100%);
  animation-delay: 4s;
}

@keyframes pulse-glow {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  100% {
    transform: translate(3%, 2%) scale(1.1);
    opacity: 0.75;
  }
}

/* General Layout Elements & Typography */
.gradient-text {
  background: linear-gradient(135deg, var(--color-green-light) 0%, var(--color-green-primary) 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-text {
  color: var(--color-green-primary);
  font-weight: 700;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 14, 20, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-img {
  height: 38px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.logo-link:hover .logo-img {
  transform: rotate(5deg) scale(1.05);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-green-primary);
  transition: var(--transition-fast);
}

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

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

.contact-btn {
  background: var(--border-color-glow);
  border: 1px solid var(--color-green-primary);
  color: var(--text-primary);
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.contact-btn::after {
  display: none !important;
}

.contact-btn:hover {
  background: var(--color-green-primary);
  box-shadow: 0 0 15px var(--color-green-glow);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* Hero Section */
.hero-section {
  padding: 10rem 2rem 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--border-color-glow);
  color: var(--color-green-light);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

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

.hero-btns {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--color-green-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-green-light);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
  transform: translateY(-3px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

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

.btn-icon {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

/* 3D Card Stack in Hero */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.hero-card-stack {
  position: relative;
  width: 320px;
  height: 380px;
  transform-style: preserve-3d;
}

.stack-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.card-back {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.1);
  transform: rotateZ(-8deg) translateZ(-40px);
}

.card-middle {
  background: rgba(10, 14, 20, 0.8);
  border: 1px solid var(--border-color-glow);
  transform: rotateZ(-4deg) translateZ(-20px);
}

.card-front {
  background: var(--bg-card);
  border: 1px solid var(--border-color-glow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: rotateZ(0deg) translateZ(0px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.hero-card-stack:hover .card-back {
  transform: rotateZ(-12deg) translate3d(-20px, -10px, -60px);
}

.hero-card-stack:hover .card-middle {
  transform: rotateZ(-6deg) translate3d(-10px, -5px, -30px);
}

.hero-card-stack:hover .card-front {
  transform: rotateZ(3deg) translate3d(10px, -5px, 20px);
  border-color: var(--border-color-glow-hover);
  box-shadow: 0 25px 50px rgba(16, 185, 129, 0.15);
}

/* Mock dashboard inside card */
.mock-head {
  display: flex;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.mock-head .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mock-head .dot.red { background-color: #ef4444; }
.mock-head .dot.yellow { background-color: #f59e0b; }
.mock-head .dot.green { background-color: #10b981; }

.mock-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  text-align: center;
}

.mock-logo {
  margin-bottom: 1.5rem;
  animation: float-logo 3s infinite alternate ease-in-out;
}

@keyframes float-logo {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(3deg); }
}

.mock-lines {
  width: 100%;
  margin-bottom: 1.5rem;
}

.mock-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin: 8px auto;
}

.mock-line.title {
  width: 60%;
  background: var(--color-green-primary);
  height: 10px;
}

.mock-line.body1 { width: 85%; }
.mock-line.body2 { width: 70%; }

.mock-stats {
  display: flex;
  gap: 10px;
  width: 100%;
}

.mock-stat {
  flex-grow: 1;
  height: 35px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
}

/* Web Apps Section */
.apps-section {
  padding: 6rem 2rem;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-tag {
  color: var(--color-green-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

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

/* Grid of App Cards - Scalable */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.app-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color-glow-hover);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.1);
}

.app-card-image {
  height: 220px;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.08) 0%, transparent 80%), rgba(20, 26, 38, 0.8);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.app-tag-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(10, 14, 20, 0.8);
  border: 1px solid var(--border-color-glow);
  color: var(--color-green-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  z-index: 10;
}

.mock-website-frame {
  width: 92%;
  height: 88%;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.app-card:hover .mock-website-frame {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--color-green-primary);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.15);
}

.mwf-header {
  height: 26px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  font-size: 0.6rem;
  color: white;
  font-weight: 600;
}

.mwf-logo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mwf-dot-logo {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green-primary);
}

.mwf-nav-right {
  font-size: 0.55rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 6px;
  border-radius: 3px;
}

.mwf-body {
  flex-grow: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0b0f19;
  position: relative;
}

/* Hero section for Eflip Image */
.mwf-hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 12px;
  height: 100%;
  align-items: center;
}

.mwf-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.mwf-kicker {
  font-size: 0.45rem;
  color: var(--color-green-light);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.mwf-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: white;
  line-height: 1.25;
  margin-bottom: 4px;
}

.mwf-title .accent {
  color: var(--color-green-light);
}

.mwf-desc {
  font-size: 0.5rem;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-bottom: 6px;
  max-width: 95%;
  font-weight: 300;
}

.mwf-actions {
  display: flex;
  gap: 4px;
}

.mwf-btn {
  font-size: 0.45rem;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--color-green-primary);
  color: white;
  font-weight: 600;
  text-align: center;
  border: 1px solid transparent;
}

.mwf-btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
}

/* Poster mock right side */
.mwf-hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.mwf-poster-mock {
  width: 76px;
  height: 100px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  padding: 6px 4px;
}

.mwf-poster-title {
  height: 4px;
  width: 60%;
  background: var(--color-green-primary);
  margin-bottom: 4px;
  border-radius: 2px;
}

.mwf-poster-img {
  flex-grow: 1;
  background: rgba(16, 185, 129, 0.05);
  border: 1px dashed rgba(16, 185, 129, 0.15);
  border-radius: 2px;
  margin-bottom: 4px;
}

.mwf-poster-details {
  height: 3px;
  width: 80%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1px;
}

/* WorkMate mock layout */
.mwf-workmate-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10px;
  height: 100%;
}

.mwf-workmate-side {
  background: rgba(255, 255, 255, 0.01);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.mwf-workmate-section-title {
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--color-green-light);
}

.mwf-workmate-section-title.mt-2 {
  margin-top: 4px;
}

.mwf-workmate-input-placeholder {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  padding: 2px;
  font-size: 0.45rem;
  color: var(--text-muted);
}

.mwf-workmate-btn {
  background: var(--color-green-primary);
  color: white;
  border-radius: 2px;
  font-size: 0.45rem;
  padding: 2px;
  text-align: center;
  font-weight: 600;
}

.mwf-employee-item {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 2px;
  padding: 1px 4px;
  font-size: 0.45rem;
  color: var(--text-secondary);
  border-left: 2px solid var(--color-green-primary);
}

.mwf-workmate-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.mwf-workmate-month {
  font-size: 0.55rem;
  font-weight: 700;
  color: white;
  text-align: center;
}

.mwf-calendar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  text-align: center;
}

.mwf-cal-header {
  font-size: 0.45rem;
  color: var(--text-muted);
  font-weight: 700;
}

.mwf-cal-day {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 2px;
  font-size: 0.45rem;
  padding: 2px 1px;
  color: var(--text-secondary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mwf-cal-day.has-task {
  background: var(--color-green-dark);
  border-color: var(--color-green-primary);
  color: white;
}

.mwf-task-dot {
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  display: inline-block;
  margin-left: 2px;
}

.mwf-message-preview {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid var(--border-color-glow);
  border-radius: 2px;
  padding: 2px;
  font-size: 0.45rem;
  color: var(--color-green-light);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* Splitter mock layout */
.mwf-splitter-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 10px;
  height: 100%;
}

.mwf-splitter-side {
  background: rgba(255, 255, 255, 0.01);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.mwf-splitter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border-radius: 2px;
  font-size: 0.42rem;
  padding: 2.5px 2px;
  text-align: center;
  font-weight: 600;
  transition: var(--transition-fast);
}

.mwf-splitter-btn.active {
  background: var(--color-green-primary);
  border-color: var(--color-green-primary);
  color: white;
}

.mwf-splitter-slider-label {
  font-size: 0.38rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 500;
}

.mwf-splitter-slider {
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  position: relative;
  margin-bottom: 2px;
}

.mwf-splitter-slider::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 40%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green-primary);
}

.mwf-splitter-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mwf-canvas-area {
  width: 100%;
  height: 90%;
  background: rgba(16, 185, 129, 0.02);
  border: 1px dashed rgba(16, 185, 129, 0.2);
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mwf-canvas-image-placeholder {
  font-size: 0.42rem;
  color: var(--text-muted);
  text-align: center;
  padding: 5px;
  font-weight: 300;
}

.mwf-canvas-split-line {
  position: absolute;
  background: var(--color-green-primary);
  opacity: 0.65;
}

.mwf-canvas-split-line.vertical {
  top: 0;
  bottom: 0;
  left: 48%;
  width: 1px;
}

.mwf-canvas-split-line.horizontal {
  left: 0;
  right: 0;
  top: 45%;
  height: 1px;
}

/* QR Synthesizer mock layout */
.mwf-qrsynth-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
  height: 100%;
}

.mwf-qrsynth-side {
  background: rgba(255, 255, 255, 0.01);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.mwf-qrsynth-section-title {
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--color-green-light);
}

.mwf-qrsynth-section-title.mt-2 {
  margin-top: 4px;
}

.mwf-qrsynth-input-placeholder {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  padding: 2px;
  font-size: 0.45rem;
  color: var(--text-muted);
}

.mwf-qrsynth-upload-btn {
  background: var(--color-green-primary);
  color: white;
  border-radius: 2px;
  font-size: 0.45rem;
  padding: 3px 2px;
  text-align: center;
  font-weight: 600;
}

.mwf-qrsynth-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mwf-qrsynth-workspace {
  width: 100%;
  height: 90%;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mwf-qrsynth-bg-mock {
  width: 90%;
  height: 90%;
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 2px;
  position: relative;
}

.mwf-qrsynth-qr-overlay {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  background: white;
  border: 1px solid var(--color-green-primary);
  border-radius: 2px;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mwf-qrsynth-qr-overlay .qr-pattern {
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(45deg, #000 25%, transparent 25%), 
    linear-gradient(-45deg, #000 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #000 75%), 
    linear-gradient(-45deg, transparent 75%, #000 75%);
  background-size: 4px 4px;
  background-position: 0 0, 0 2px, 2px -2px, -2px 0px;
  opacity: 0.8;
}

.mwf-qrsynth-qr-overlay .qr-handle {
  position: absolute;
  top: -3px;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green-light);
  border: 1px solid white;
}

/* Mosaic AI mock layout */
.mwf-mosaic-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
  height: 100%;
}

.mwf-mosaic-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mwf-mosaic-workspace {
  width: 100%;
  height: 90%;
  background: rgba(10, 14, 20, 0.4);
  border: 1px dashed rgba(16, 185, 129, 0.25);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px;
  position: relative;
  overflow: hidden;
}

.mwf-mosaic-upload-icon {
  font-size: 0.8rem;
  color: var(--color-green-light);
  margin-bottom: 2px;
  animation: pulse-icon 2s infinite ease-in-out;
}

.mwf-mosaic-upload-text {
  font-size: 0.38rem;
  color: var(--text-muted);
  text-align: center;
}

.mwf-mosaic-upload-btn {
  background: var(--color-green-primary);
  color: white;
  border-radius: 2px;
  font-size: 0.36rem;
  padding: 2.5px 5px;
  margin-top: 3px;
  font-weight: 600;
  text-align: center;
}

.mwf-mosaic-side {
  background: rgba(255, 255, 255, 0.01);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  padding-left: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.mwf-mosaic-section-title {
  font-size: 0.45rem;
  font-weight: 700;
  color: var(--color-green-light);
}

.mwf-mosaic-section-title.mt-2 {
  margin-top: 2px;
}

.mwf-mosaic-segmented {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  padding: 1px;
  gap: 1px;
}

.mwf-mosaic-segmented-item {
  flex: 1;
  font-size: 0.34rem;
  color: var(--text-muted);
  text-align: center;
  padding: 1.5px 0;
  border-radius: 1px;
  font-weight: 600;
}

.mwf-mosaic-segmented-item.active {
  background: var(--color-green-primary);
  color: white;
}

.mwf-mosaic-slider-label {
  font-size: 0.34rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

.mwf-mosaic-slider {
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  position: relative;
}

.mwf-mosaic-slider::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 55%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green-primary);
}

.mwf-mosaic-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 2px;
}

.mwf-mosaic-action-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border-radius: 1.5px;
  font-size: 0.34rem;
  padding: 2px 0;
  text-align: center;
  font-weight: 500;
}

.mwf-mosaic-action-btn.primary {
  background: var(--color-green-primary);
  border-color: var(--color-green-primary);
  color: white;
  grid-column: span 2;
  font-weight: 600;
}

@keyframes pulse-icon {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-2px); opacity: 1; }
}

/* Edu AI Study Room mock layout */
.mwf-edu-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
  height: 100%;
}

.mwf-edu-side {
  background: rgba(255, 255, 255, 0.01);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.mwf-edu-menu-item {
  border: 1px solid transparent;
  color: var(--text-secondary);
  border-radius: 2px;
  font-size: 0.4rem;
  padding: 2.5px 4px;
  text-align: left;
  font-weight: 500;
  transition: var(--transition-fast);
}

.mwf-edu-menu-item.active {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--color-green-light);
  font-weight: 700;
}

.mwf-edu-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 95%;
  background: rgba(10, 14, 20, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 4px;
}

.mwf-edu-chat-header {
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 2px;
}

.model-badge {
  background: var(--color-green-dark);
  color: var(--color-green-light);
  border: 1px solid var(--color-green-primary);
  font-size: 0.32rem;
  padding: 1px 3px;
  border-radius: 2px;
  font-weight: 600;
}

.mwf-edu-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
  justify-content: center;
}

.mwf-chat-bubble {
  font-size: 0.35rem;
  padding: 3px 5px;
  border-radius: 4px;
  max-width: 85%;
  line-height: 1.3;
}

.mwf-chat-bubble.user {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  align-self: flex-end;
  border-bottom-right-radius: 1px;
}

.mwf-chat-bubble.ai {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--color-green-light);
  align-self: flex-start;
  border-bottom-left-radius: 1px;
}

.mwf-edu-input-box {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 2px;
}

.mwf-edu-input-placeholder {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  padding: 2px 4px;
  font-size: 0.34rem;
  color: var(--text-muted);
  text-align: left;
}

/* Info Section inside Card */
.app-card-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.app-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

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

.app-card-tags span {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-weight: 500;
}

.btn-card-action {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--border-color-glow);
  color: var(--color-green-light);
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 0.75rem;
  border-radius: 8px;
}

.btn-card-action:hover {
  background: var(--color-green-primary);
  border-color: var(--color-green-primary);
  color: white;
  box-shadow: 0 5px 15px var(--color-green-glow);
  transform: translateY(-2px);
}

.btn-card-action svg {
  transition: transform 0.3s ease;
}

.btn-card-action:hover svg {
  transform: scale(1.1) rotate(5deg);
}

/* Technical Strengths (About) Section */
.about-section {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.01);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-glow-hover);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.05);
}

.feature-icon {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--border-color-glow);
  width: 54px;
  height: 54px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green-light);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  background: var(--color-green-primary);
  color: white;
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
}

/* Footer Section */
.footer {
  background: #070a0e;
  padding: 5rem 2rem 2.5rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-brand .logo-link {
  margin-bottom: 1.5rem;
}

.footer-brand-desc {
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.7;
}

.footer-title {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-green-light);
  transform: translateX(3px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.contact-item svg {
  color: var(--color-green-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Responsive Overrides */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-subtitle {
    margin: 0 auto 2.5rem;
  }
  .hero-btns {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 14px; /* Scales down em/rem units slightly for better mobile density */
  }
  .header-container {
    padding: 1rem;
  }
  .nav-menu {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-section {
    padding: 6.5rem 1.2rem 4rem;
  }
  .hero-title {
    font-size: 2.05rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
    word-break: keep-all;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 2rem;
    word-break: keep-all;
    color: var(--text-secondary);
  }
  .apps-section, .about-section {
    padding: 4.5rem 1.2rem;
  }
  .section-title {
    font-size: 1.7rem;
    line-height: 1.35;
    letter-spacing: -0.015em;
    word-break: keep-all;
  }
  .section-subtitle {
    font-size: 0.9rem;
    line-height: 1.6;
    word-break: keep-all;
  }
  .apps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .app-card-image {
    height: 190px;
  }
  .card-mock-browser {
    width: 95%;
  }
  .app-card-title {
    font-size: 1.2rem;
    line-height: 1.4;
    word-break: keep-all;
  }
  .app-card-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    word-break: keep-all;
  }
  .feature-card h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    word-break: keep-all;
  }
  .feature-card p {
    font-size: 0.85rem;
    line-height: 1.55;
    word-break: keep-all;
  }
}

/* ==========================================
   CONTACT INQUIRY FORM STYLES
   ========================================== */
.contact-section {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.01);
}

.contact-layout {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .contact-form-container {
    padding: 1.5rem 1.2rem;
  }
  .contact-section {
    padding: 4.5rem 1.2rem;
  }
}

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

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.form-group label .required {
  color: #ef4444;
  margin-left: 2px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  background: rgba(10, 14, 20, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: white;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.contact-form select option {
  background: #0f172a;
  color: white;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-green-primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.btn-submit {
  width: 100%;
  padding: 0.85rem;
  position: relative;
  overflow: hidden;
}

.btn-loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: sb-spin 0.8s infinite linear;
  display: inline-block;
}

.is-hidden {
  display: none !important;
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
}

.toast {
  background: #0f172a;
  border: 1px solid var(--border-color-glow);
  color: white;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(16, 185, 129, 0.08);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: toast-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast.success {
  border-color: var(--color-green-primary);
}

.toast-icon {
  color: var(--color-green-light);
  display: flex;
  align-items: center;
}

.toast-msg {
  flex-grow: 1;
}

@keyframes toast-in {
  from {
    transform: translateY(20px) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

