:root {
  --bg-dark: #070913;
  --bg-card: rgba(18, 22, 38, 0.75);
  --bg-card-hover: rgba(28, 35, 60, 0.9);
  --primary: #00f2fe;
  --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --accent-purple: #7928ca;
  --accent-pink: #ff007a;
  --accent-gradient: linear-gradient(135deg, #ff007a 0%, #7928ca 100%);
  --glow-cyan: rgba(0, 242, 254, 0.4);
  --glow-purple: rgba(121, 40, 202, 0.4);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.3);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

/* Background Ambient Glows */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  filter: blur(120px);
  border-radius: 50%;
  opacity: 0.22;
  animation: floatPulse 12s infinite alternate ease-in-out;
}

.blob-1 {
  width: 450px;
  height: 450px;
  background: #00f2fe;
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: #7928ca;
  top: 30%;
  right: -150px;
  animation-delay: -4s;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: #ff007a;
  bottom: -50px;
  left: 20%;
  animation-delay: -8s;
}

@keyframes floatPulse {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.15) translate(30px, 40px); }
  100% { transform: scale(0.9) translate(-20px, -30px); }
}

/* Grid Overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Notice Warning Banner */
.disclaimer-banner {
  background: linear-gradient(90deg, rgba(255, 170, 0, 0.12) 0%, rgba(255, 0, 122, 0.12) 100%);
  border-bottom: 1px solid rgba(255, 170, 0, 0.25);
  padding: 8px 16px;
  text-align: center;
  font-size: 0.8rem;
  color: #fef08a;
  position: relative;
  z-index: 99;
  line-height: 1.4;
}

.disclaimer-banner a {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: underline;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 9, 19, 0.9);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
  transition: var(--transition);
}

.brand-wrapper:hover .brand-logo {
  transform: scale(1.04);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-badge .pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #00f2fe;
  border-radius: 50%;
  box-shadow: 0 0 8px #00f2fe;
  animation: blink 1.5s infinite;
}

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

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:active {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0 8px;
  border-top: 1px solid var(--border-color);
  margin-top: 12px;
  animation: slideDownNav 0.25s ease-out;
}

.mobile-nav-drawer.active {
  display: flex;
}

@keyframes slideDownNav {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  text-decoration: none;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

.mobile-nav-item i {
  color: var(--primary);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.3);
  color: #fff;
}

/* Common Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-body);
  min-height: 44px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #050a18;
  box-shadow: 0 0 20px var(--glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0, 242, 254, 0.7);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-glow {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 0 20px var(--glow-purple);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 0, 122, 0.6);
}

/* Hero Section */
.hero-section {
  padding: 40px 0 30px;
  position: relative;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(121, 40, 202, 0.15);
  border: 1px solid rgba(121, 40, 202, 0.4);
  color: #d8b4fe;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  width: fit-content;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #d8b4fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.6;
}

.hero-notice-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-left: 4px solid #00f2fe;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  backdrop-filter: blur(10px);
}

.notice-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.notice-text {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* 3D Visual Container */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-3d-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 242, 254, 0.25);
  transition: var(--transition);
}

.visual-3d-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.visual-overlay-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-info h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.badge-info p {
  font-size: 0.72rem;
  color: var(--primary);
}

.badge-logo-mini {
  height: 22px;
  width: auto;
}

/* Floating Badges */
.floating-chip {
  position: absolute;
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.chip-1 {
  top: -12px;
  left: -10px;
  color: #00f2fe;
  border-color: rgba(0, 242, 254, 0.4);
}

.chip-2 {
  bottom: 70px;
  right: -10px;
  color: #ff007a;
  border-color: rgba(255, 0, 122, 0.4);
}

/* Stats Counter Row */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px;
  background: rgba(18, 24, 43, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  margin-top: 40px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.stat-info h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.stat-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Demo Filter & Explorer Section */
.demo-section {
  padding: 50px 0 60px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
}

.section-subtitle {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

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

/* Controls Bar */
.controls-bar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.search-box-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 12px 18px 12px 44px;
  background: rgba(18, 24, 43, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
  background: rgba(22, 30, 54, 0.95);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Filter Tabs (Horizontal touch scroll on mobile) */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-btn {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  min-height: 38px;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.tab-btn.active {
  background: var(--primary-gradient);
  color: #050a18;
  border-color: transparent;
  box-shadow: 0 0 16px var(--glow-cyan);
}

/* Demo Grid */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.demo-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 242, 254, 0.12);
}

.card-thumbnail {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #0d1222;
}

.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.demo-card:hover .card-thumbnail img {
  transform: scale(1.05);
}

.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 9, 19, 0.2) 0%, rgba(7, 9, 19, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  gap: 10px;
  padding: 12px;
}

.demo-card:hover .thumbnail-overlay {
  opacity: 1;
}

.card-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-client-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(121, 40, 202, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.card-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.card-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  gap: 8px;
  flex-wrap: wrap;
}

.ownership-stamp {
  font-size: 0.74rem;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  font-weight: 600;
}

.ownership-stamp:hover {
  text-decoration: underline;
}

.card-actions {
  display: flex;
  gap: 6px;
}

.btn-card-action {
  padding: 6px 12px;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
  min-height: 36px;
}

/* Empty State */
.no-demos-found {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  background: rgba(18, 24, 43, 0.4);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
}

.no-demos-found i {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Ownership & Security Assurance Section */
.security-section {
  padding: 30px 0 50px;
}

.security-card {
  background: linear-gradient(135deg, rgba(20, 27, 48, 0.9) 0%, rgba(12, 16, 30, 0.95) 100%);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.security-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.sec-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.sec-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
  margin-bottom: 20px;
  line-height: 1.6;
}

.sec-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sec-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.sec-bullets li i {
  color: #00f2fe;
  margin-top: 3px;
}

.security-action-box {
  background: rgba(7, 9, 19, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.security-action-box h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.security-action-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Modal for Live Interactive Preview */
.preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 15, 0.92);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-header {
  padding: 10px 16px;
  background: rgba(15, 22, 38, 0.95);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.modal-logo {
  height: 28px;
  flex-shrink: 0;
}

.modal-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.modal-ownership-badge {
  font-size: 0.68rem;
  background: rgba(0, 242, 254, 0.15);
  color: var(--primary);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.device-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px;
  border-radius: var(--radius-full);
  gap: 3px;
}

.dev-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.dev-btn.active {
  background: var(--primary);
  color: #050a18;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  flex-shrink: 0;
}

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

.modal-body {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  position: relative;
}

/* Device Viewport Simulation */
.device-frame-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.device-frame {
  background: #1e293b;
  border: 8px solid #334155;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 242, 254, 0.15);
  transition: width 0.3s ease, height 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.device-frame.desktop {
  width: 100%;
  height: 100%;
  border-width: 6px;
  border-radius: 10px;
}

.device-frame.tablet {
  width: 768px;
  max-width: 100%;
  height: 100%;
  border-width: 10px;
  border-radius: 18px;
}

.device-frame.mobile {
  width: 375px;
  max-width: 100%;
  height: 100%;
  border-width: 10px;
  border-radius: 28px;
}

.frame-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
}

/* Floating Watermark inside preview */
.preview-watermark {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(7, 9, 19, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 242, 254, 0.4);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #fff;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.preview-watermark img {
  height: 14px;
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: 20px;
  max-width: 380px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid #00f2fe;
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

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

/* Footer */
.site-footer {
  background: rgba(5, 7, 14, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 20px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 380px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.84rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

/* ===================================================
   EXTENSIVE MOBILE & TABLET MEDIA QUERIES (Mobile-First)
   =================================================== */

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

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

  .hero-notice-card {
    text-align: left;
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
  }

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

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

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

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .brand-logo {
    height: 34px;
  }

  .brand-badge {
    display: none;
  }

  .hero-section {
    padding: 24px 0 20px;
  }

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

  /* Horizontal swipeable category pills on mobile */
  .filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .demo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-thumbnail {
    height: 190px;
  }

  .chip-1, .chip-2 {
    display: none;
  }

  .device-switcher {
    display: none;
  }

  .modal-header {
    padding: 8px 12px;
  }

  .modal-title {
    max-width: 150px;
    font-size: 0.85rem;
  }

  .modal-ownership-badge {
    display: none;
  }

  .modal-body {
    padding: 4px;
  }

  .device-frame {
    border-width: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
}

@media (max-width: 480px) {
  .stats-strip {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
  }

  .stat-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .stat-info h3 {
    font-size: 1.15rem;
  }

  .stat-info p {
    font-size: 0.72rem;
  }

  .security-card {
    padding: 20px 16px;
  }

  .card-content {
    padding: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
