/* ===================================================================
   NekoNote - Official Showcase Website Stylesheet
   Modern, Cyber-Aesthetic, Glassmorphism, RGB Glow, RTL-Optimized
   100% Fully Responsive (Mobile, Tablet, Desktop)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Color Palette - Vibrant Dark Mode */
  --bg-primary: #0a0d14;
  --bg-secondary: #101624;
  --bg-tertiary: #162035;
  --bg-card: rgba(22, 32, 53, 0.7);
  --bg-card-hover: rgba(28, 41, 68, 0.88);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.2);

  /* Brand Accents */
  --neko-green: #10b981;
  --neko-green-glow: #00f5a0;
  --neko-emerald-dark: #059669;
  --neko-cyan: #06b6d4;
  --neko-purple: #8b5cf6;
  --neko-pink: #ec4899;
  --neko-amber: #f59e0b;
  --neko-blue: #2563eb;
  --neko-blue-glow: #3b82f6;

  /* Myket Brand Colors */
  --myket-blue: #1976d2;
  --myket-blue-hover: #1565c0;
  --myket-gold: #f59e0b;

  /* Text & Foreground */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-highlight: #ffffff;

  /* Glows and Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --glow-green: 0 0 35px rgba(16, 185, 129, 0.35);
  --glow-blue: 0 0 35px rgba(37, 99, 235, 0.35);
  --glow-purple: 0 0 35px rgba(139, 92, 246, 0.35);
  --glow-myket: 0 0 35px rgba(25, 118, 210, 0.45);

  /* Sizing and Layout */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --container-max: 1240px;

  /* Transitions */
  --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode Overrides */
[data-theme="light"] {
  --bg-primary: #f4f7fb;
  --bg-secondary: #e9eff8;
  --bg-tertiary: #dbe4f3;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.65);
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glass-hover: rgba(0, 0, 0, 0.16);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --text-highlight: #020617;
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --glow-green: 0 0 30px rgba(16, 185, 129, 0.2);
}

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

html {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
  font-size: 16px;
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.7;
  width: 100%;
}

/* Prevent accidental horizontal scrolling from images and elements */
img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Background Ambient Lighting */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.35;
  transition: opacity var(--trans-smooth);
}
.ambient-1 {
  width: min(500px, 90vw);
  height: min(500px, 90vw);
  background: radial-gradient(circle, #059669 0%, transparent 70%);
  top: -100px;
  right: -50px;
}
.ambient-2 {
  width: min(550px, 90vw);
  height: min(550px, 90vw);
  background: radial-gradient(circle, #2563eb 0%, transparent 70%);
  top: 35%;
  left: -100px;
}
.ambient-3 {
  width: min(450px, 80vw);
  height: min(450px, 80vw);
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  bottom: 5%;
  right: 5%;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
.en-font {
  font-family: 'Outfit', sans-serif;
  direction: ltr;
  display: inline-block;
}

.gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================================================
   Navbar / Header
   =================================================================== */
.navbar-wrap {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.85rem 0;
  transition: all var(--trans-smooth);
  width: 100%;
}

.navbar-wrap.scrolled {
  padding: 0.6rem 0;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .navbar-wrap.scrolled {
  background: rgba(244, 247, 251, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.brand-icon-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  border: 2px solid rgba(16, 185, 129, 0.5);
  flex-shrink: 0;
}

.brand-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Outfit', 'Vazirmatn', sans-serif;
  letter-spacing: -0.5px;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.2;
}

.brand-badge {
  font-size: 0.7rem;
  color: var(--neko-green-glow);
  font-weight: 600;
}

/* Nav Links - Desktop */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.35rem;
  background: var(--bg-glass);
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-highlight);
  background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Theme Switch Button */
.btn-icon {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-glass-hover);
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Myket Primary Button */
.btn-myket-primary {
  background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.25rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(25, 118, 210, 0.45);
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.btn-myket-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(25, 118, 210, 0.7);
  background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 1.25rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all var(--trans-fast);
  backdrop-filter: blur(12px);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glass-hover);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

/* ===================================================================
   Hero Section
   =================================================================== */
.hero-section {
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(25, 118, 210, 0.15);
  border: 1px solid rgba(25, 118, 210, 0.4);
  color: #60a5fa;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
  max-width: 100%;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 10px #60a5fa;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
  word-break: break-word;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}

.hero-btn-large {
  padding: 0.85rem 1.8rem;
  font-size: 1.05rem;
}

.btn-myket-hero {
  background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
  color: #ffffff;
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(25, 118, 210, 0.55);
  transition: all var(--trans-fast);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-myket-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(25, 118, 210, 0.8);
  background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 800;
  color: var(--text-highlight);
  font-family: 'Outfit', 'Vazirmatn', sans-serif;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* ===================================================================
   3D Phone Mockup in Hero - Fluid & Responsive
   =================================================================== */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  width: 100%;
}

.phone-mockup-container {
  position: relative;
  width: min(300px, 80vw);
  aspect-ratio: 9 / 18.5;
  background: #0f172a;
  border-radius: 42px;
  border: 8px solid #1e293b;
  box-shadow:
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(16, 185, 129, 0.2),
    inset 0 0 8px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform var(--trans-smooth);
  animation: float-phone 6s ease-in-out infinite;
  margin: 0 auto;
}

@keyframes float-phone {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.phone-camera-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: #090d16;
  border-radius: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-lens {
  width: 8px;
  height: 8px;
  background: #1e293b;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity 0.4s ease;
}

/* Floating Badges around Phone */
.floating-chip {
  position: absolute;
  background: rgba(16, 22, 36, 0.92);
  border: 1px solid var(--border-glass-hover);
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 10;
  white-space: nowrap;
}

.chip-1 { top: 12%; right: -20px; }
.chip-2 { bottom: 22%; left: -25px; }
.chip-3 { bottom: 6%; right: -15px; }

.chip-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.chip-text { display: flex; flex-direction: column; }
.chip-title { font-size: 0.8rem; font-weight: 700; color: var(--text-highlight); }
.chip-sub { font-size: 0.68rem; color: var(--text-muted); }

/* Phone Carousel Dots */
.phone-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 15;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.phone-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.phone-dot.active {
  width: 18px;
  border-radius: 6px;
  background: var(--neko-green-glow);
}

/* ===================================================================
   Interactive Live Demo Section (Responsive Studio)
   =================================================================== */
.demo-section {
  padding: 4rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-tag {
  display: inline-block;
  color: var(--neko-green-glow);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.65rem;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.live-demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.demo-controls { display: flex; flex-direction: column; gap: 1.25rem; width: 100%; }
.control-group { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; }

.control-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.control-sub { font-size: 0.78rem; color: var(--text-dim); }

.switch-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  transition: all var(--trans-fast);
}

.switch-label:hover { background: rgba(255, 255, 255, 0.08); }
.switch-input { display: none; }

.switch-slider {
  position: relative;
  width: 48px;
  height: 26px;
  background-color: #334155;
  border-radius: var(--radius-full);
  transition: background-color var(--trans-fast);
  flex-shrink: 0;
}

.switch-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform var(--trans-fast);
}

.switch-input:checked + .switch-slider { background-color: var(--neko-blue); }
.switch-input:checked + .switch-slider::before { transform: translateX(-22px); }

.color-palette { display: flex; gap: 0.65rem; flex-wrap: wrap; }

.color-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.color-dot:hover { transform: scale(1.15); }
.color-dot.active { border-color: #ffffff; box-shadow: 0 0 12px currentColor; }

.custom-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #334155;
  outline: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--neko-green-glow);
  cursor: pointer;
  box-shadow: 0 0 10px var(--neko-green-glow);
}

.demo-preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.preview-stage {
  width: 100%;
  max-width: 400px;
  background: #0f172a;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
}

.preview-note-card {
  position: relative;
  background: #ffffff;
  color: #1e293b;
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all var(--trans-smooth);
  overflow: hidden;
  width: 100%;
}

.preview-note-card.rgb-mode {
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.preview-note-card.rgb-mode::before {
  content: '';
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: -3px;
  right: -3px;
  background: linear-gradient(90deg, #ff0077, #7928ca, #0070f3, #00dfd8, #00f5a0, #ff0077);
  background-size: 400% 400%;
  border-radius: inherit;
  z-index: -1;
  animation: rgb-border-anim 3s linear infinite;
}

@keyframes rgb-border-anim {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

.preview-note-card.glass-mode {
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

.preview-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.preview-card-meta { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: #64748b; }
.preview-note-card.glass-mode .preview-card-meta { color: #cbd5e1; }

.preview-tag {
  background: rgba(37, 99, 235, 0.12);
  color: var(--neko-blue);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.72rem;
}

.preview-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.preview-card-body { font-size: 0.92rem; line-height: 1.6; min-height: 50px; word-break: break-word; }
.preview-card-footer { margin-top: 0.85rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; opacity: 0.75; }

/* ===================================================================
   Bento Grid Feature Spotlight Section
   =================================================================== */
.features-section { padding: 4rem 0; position: relative; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

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

.bento-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
}

.icon-green { color: var(--neko-green-glow); background: rgba(16, 185, 129, 0.12); }
.icon-blue { color: #38bdf8; background: rgba(56, 189, 248, 0.12); }
.icon-purple { color: #c084fc; background: rgba(192, 132, 252, 0.12); }
.icon-gold { color: #fcd34d; background: rgba(251, 191, 36, 0.12); }
.icon-pink { color: #f472b6; background: rgba(244, 114, 182, 0.12); }
.icon-cyan { color: #22d3ee; background: rgba(34, 211, 238, 0.12); }

.bento-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text-highlight); }
.bento-desc { font-size: 0.92rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.25rem; flex-grow: 1; }

.bento-visual {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  margin-top: auto;
  background: rgba(0, 0, 0, 0.2);
}

.bento-visual img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.badge-pill-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.85rem; }
.badge-pill {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
}

/* ===================================================================
   Joke & Content Studio Highlight Section
   =================================================================== */
.studio-section { padding: 4rem 0; position: relative; }

.studio-banner {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
  position: relative;
  overflow: hidden;
}

.studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #f472b6;
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.studio-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; line-height: 1.35; margin-bottom: 1rem; }

.studio-features-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0; }
.studio-features-list li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.92rem; color: var(--text-muted); }
.studio-features-list svg { width: 16px; height: 16px; color: var(--neko-green-glow); flex-shrink: 0; }

.studio-simulator-wrap { width: 100%; display: flex; flex-direction: column; align-items: center; }

.joke-card-simulator {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(135deg, #ec4899 0%, #ef4444 50%, #f97316 100%);
  border-radius: 20px;
  padding: 1.6rem 1.4rem;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(239, 68, 68, 0.35);
  text-align: center;
  position: relative;
  transition: all var(--trans-smooth);
}

.joke-card-tag {
  display: inline-block;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
}

.joke-card-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 1rem; }
.joke-card-dots { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0.8rem 0; opacity: 0.8; }
.joke-card-body { font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.25rem; word-break: break-word; }
.joke-card-watermark {
  font-family: 'Outfit', sans-serif;
  direction: ltr;
  font-size: 0.82rem;
  opacity: 0.85;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.75rem;
}

.theme-pill-selector { display: flex; justify-content: center; gap: 0.45rem; margin-top: 1rem; flex-wrap: wrap; }
.theme-pill-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.theme-pill-btn.active, .theme-pill-btn:hover { background: #ffffff; color: #0f172a; }

/* ===================================================================
   Screenshots Gallery Section
   =================================================================== */
.gallery-section { padding: 4rem 0; position: relative; }

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  width: 100%;
}

.gallery-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.gallery-tab-btn:hover, .gallery-tab-btn.active {
  color: var(--text-highlight);
  background: var(--neko-blue);
  border-color: var(--neko-blue);
}

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

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  cursor: pointer;
  transition: all var(--trans-smooth);
  position: relative;
  overflow: hidden;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--neko-green-glow);
}

.gallery-thumb-wrap {
  width: 100%;
  aspect-ratio: 9 / 18;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000000;
  position: relative;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--trans-fast);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item-title { color: #ffffff; font-weight: 700; font-size: 0.88rem; }

/* ===================================================================
   FAQ Section
   =================================================================== */
.faq-section { padding: 4rem 0; position: relative; }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--trans-fast);
}

.faq-item.active {
  border-color: var(--border-glass-hover);
  background: var(--bg-card-hover);
}

.faq-question {
  width: 100%;
  text-align: right;
  padding: 1.15rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform var(--trans-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--neko-green-glow);
  color: #0f172a;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.25rem 1.25rem;
}

/* ===================================================================
   Download Hub Section - Myket Exclusive
   =================================================================== */
.download-section { padding: 4rem 0; position: relative; }

.download-box {
  background: linear-gradient(135deg, rgba(16, 22, 36, 0.95) 0%, rgba(22, 32, 53, 0.98) 100%);
  border: 1px solid rgba(25, 118, 210, 0.35);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), var(--glow-myket);
  position: relative;
  overflow: hidden;
}

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

.dl-app-header { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }

.dl-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  border: 2px solid #2196f3;
  box-shadow: 0 0 20px rgba(33, 150, 243, 0.4);
  object-fit: cover;
  flex-shrink: 0;
}

.dl-app-info h3 { font-size: clamp(1.4rem, 2.5vw, 1.7rem); font-weight: 800; }
.dl-app-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 0.85rem; color: var(--text-muted); font-size: 0.82rem; margin-top: 0.35rem; }

.official-badge-notice {
  background: rgba(25, 118, 210, 0.12);
  border: 1px solid rgba(33, 150, 243, 0.35);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #93c5fd;
}

.official-badge-notice svg { width: 20px; height: 20px; flex-shrink: 0; color: #60a5fa; }

.dl-features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin: 1.25rem 0 2rem; }
.dl-feature-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--text-muted); }
.dl-feature-item svg { width: 16px; height: 16px; color: var(--neko-green-glow); flex-shrink: 0; }

.dl-buttons-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }

/* QR Code Box */
.qr-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(16px);
  width: 100%;
}

.qr-code-wrapper {
  background: #ffffff;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
}

.qr-code-img { width: 150px; height: 150px; display: block; }
.qr-label { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; }
.qr-sub { font-size: 0.78rem; color: var(--text-dim); }

/* Steps Guide */
.install-steps-wrap {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

.install-steps-title { font-size: 1.15rem; font-weight: 700; text-align: center; margin-bottom: 1.5rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 0.85rem;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--myket-blue);
  color: #ffffff;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.step-content h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.25rem; }
.step-content p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ===================================================================
   Developer & Support Section
   =================================================================== */
.support-section { padding: 4rem 0; position: relative; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.support-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.dev-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--neko-purple);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
  object-fit: cover;
  flex-shrink: 0;
}

.contact-row { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.25rem; }

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  text-decoration: none;
  color: var(--text-main);
  transition: all var(--trans-fast);
}

.contact-item:hover { background: rgba(255, 255, 255, 0.08); }
.contact-info { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.contact-value { font-family: 'Outfit', sans-serif; direction: ltr; font-weight: 600; font-size: 0.9rem; }

.donate-card {
  border: 1px solid rgba(236, 72, 153, 0.3);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(16, 22, 36, 0.8) 100%);
}

.donate-btn {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
  transition: all var(--trans-fast);
}

/* ===================================================================
   Footer
   =================================================================== */
.footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border-glass);
  background: var(--bg-secondary);
  position: relative;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand p { color: var(--text-muted); max-width: 380px; margin-top: 0.85rem; font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-highlight); }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { text-decoration: none; color: var(--text-muted); font-size: 0.88rem; transition: color var(--trans-fast); }
.footer-links a:hover { color: var(--neko-green-glow); }

.footer-bottom {
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ===================================================================
   Modal Lightbox / Download Confirmation Modal
   =================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-smooth);
}

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

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2rem 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform var(--trans-smooth);
}

.modal-backdrop.active .modal-content { transform: translateY(0) scale(1); }

.modal-close-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.modal-close-btn:hover { background: rgba(255, 255, 255, 0.2); }

.lightbox-modal .modal-content {
  max-width: 900px;
  padding: 1rem;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-height: 80vh;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-glass-hover);
}

/* Floating Back-To-Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass-hover);
  color: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: all var(--trans-fast);
  backdrop-filter: blur(10px);
}

.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover {
  background: var(--neko-green-glow);
  color: #0b0f19;
  border-color: var(--neko-green-glow);
}

/* Sticky Mobile Bottom CTA Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(16, 22, 36, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glass-hover);
  padding: 0.65rem 1rem;
  z-index: 99;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.4);
}

.mobile-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.mobile-bottom-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mobile-bottom-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.mobile-bottom-text {
  display: flex;
  flex-direction: column;
}

.mobile-bottom-title {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-highlight);
  line-height: 1.2;
}

.mobile-bottom-sub {
  font-size: 0.72rem;
  color: var(--neko-green-glow);
}

/* ===================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Mobile Perfection)
   =================================================================== */

/* Tablet & Smaller Desktops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-desc { margin: 0 auto 1.8rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; max-width: 500px; margin: 0 auto; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-span-2 { grid-column: span 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid, .studio-banner, .support-grid { grid-template-columns: 1fr; gap: 2rem; }
  .floating-chip { display: none; }
}

/* Tablets (<= 860px) */
@media (max-width: 860px) {
  .nav-menu {
    position: fixed;
    top: 65px;
    right: 1rem;
    left: 1rem;
    background: rgba(16, 22, 36, 0.98);
    flex-direction: column;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(25px);
    display: none;
    z-index: 101;
    gap: 0.5rem;
  }
  .nav-menu.mobile-open { display: flex; }
  .nav-link { width: 100%; text-align: center; padding: 0.75rem; font-size: 0.95rem; }
  .mobile-nav-toggle { display: flex; }
  .navbar-wrap #navDownloadBtn { display: none; } /* Show in bottom bar & hero instead */
  
  .live-demo-card { grid-template-columns: 1fr; gap: 2rem; padding: 1.25rem 1rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-span-2 { grid-column: span 1; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .download-box { padding: 2rem 1.25rem; }
  .studio-banner { padding: 1.8rem 1.25rem; }
  .mobile-bottom-bar { display: block; }
  body { padding-bottom: 60px; } /* Room for bottom sticky bar */
}

/* Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 1rem; }
  
  .brand-title { font-size: 1.1rem; }
  .brand-icon-wrap { width: 36px; height: 36px; }

  .hero-section { padding: 2rem 0 3rem; }
  .hero-badge { font-size: 0.75rem; padding: 0.3rem 0.75rem; }
  .hero-title { font-size: 1.95rem; }
  .hero-desc { font-size: 0.95rem; line-height: 1.8; }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn-myket-hero,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .hero-stats {
    gap: 0.75rem;
    padding-top: 1.2rem;
  }
  .hero-stat-num { font-size: 1.05rem; }
  .hero-stat-label { font-size: 0.72rem; }

  .phone-mockup-container {
    width: min(280px, 85vw);
    border-radius: 36px;
    border-width: 6px;
  }

  .section-title { font-size: 1.6rem; }
  .section-desc { font-size: 0.9rem; }

  /* Gallery tabs horizontal scroll on mobile */
  .gallery-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0.25rem 0.5rem 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery-tabs::-webkit-scrollbar { display: none; }
  .gallery-tab-btn { flex-shrink: 0; padding: 0.45rem 1rem; font-size: 0.82rem; }

  .gallery-grid { grid-template-columns: 1fr; gap: 1rem; }
  
  .dl-features-list { grid-template-columns: 1fr; gap: 0.6rem; }
  .dl-buttons-row .btn-myket-hero { width: 100%; justify-content: center; }

  .contact-item { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .contact-value { align-self: flex-end; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}
