/* ============================================================
   OMSCHRIFT INVENTIONS – PRODUCT CATALOG
   Light theme — Omschrift brand blues (#3b82f6 / #38bdf8)
   Matching omsinv.com visual identity
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Backgrounds */
  --bg-base:        #f0f6ff;
  --bg-white:       #ffffff;
  --bg-card:        #ffffff;
  --bg-card-hover:  #f7faff;
  --bg-section-alt: #eef4ff;
  --bg-elevated:    #ffffff;

  /* Borders */
  --border:         #dde8f8;
  --border-hover:   #93c5fd;

  /* Brand Blues — Omschrift logo gradient */
  --primary:        #3b82f6;
  --primary-dark:   #2563eb;
  --primary-light:  #60a5fa;
  --secondary:      #38bdf8;
  --accent:         #06b6d4;
  --success:        #10b981;
  --warning:        #f59e0b;
  --danger:         #ef4444;

  /* Text */
  --text-primary:   #0f172a;
  --text-secondary: #475569;
  --text-muted:     #94a3b8;

  /* Gradients */
  --gradient-brand:   linear-gradient(135deg, #38bdf8, #3b82f6);
  --gradient-primary: linear-gradient(135deg, #3b82f6, #2563eb);
  --gradient-hero:    linear-gradient(160deg, #e0f0ff 0%, #f0f6ff 40%, #e8f0ff 100%);

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(59,130,246,0.08);
  --shadow-md:   0 4px 16px rgba(59,130,246,0.12);
  --shadow-lg:   0 8px 32px rgba(59,130,246,0.16);
  --shadow-card: 0 2px 12px rgba(59,130,246,0.09);
  --shadow-glow: 0 0 24px rgba(59,130,246,0.2);

  /* Misc */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-full: 9999px;
  --transition:      0.2s ease;
  --transition-slow: 0.4s ease;

  --font-body: 'Inter', sans-serif;
  --font-head: 'Space Grotesk', sans-serif;
  --nav-height: 72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f6ff; }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: var(--radius-full); }

::selection { background: rgba(59,130,246,0.15); color: var(--primary-dark); }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700; line-height: 1.2;
  color: var(--text-primary);
}
p { color: var(--text-secondary); }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Utilities ─────────────────────────────────────────────── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-full);
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  cursor: pointer; border: none; transition: all var(--transition);
  white-space: nowrap; text-decoration: none;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59,130,246,0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59,130,246,0.45);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border-hover);
}
.btn-outline:hover {
  background: rgba(59,130,246,0.06);
  border-color: var(--primary);
}
.btn-sm  { padding: 0.45rem 0.9rem; font-size: 0.82rem; }
.btn-lg  { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.link-btn {
  background: none; border: none; color: var(--primary); cursor: pointer;
  font-size: inherit; font-family: inherit; text-decoration: underline; padding: 0;
  transition: color var(--transition);
}
.link-btn:hover { color: var(--primary-dark); }

.section-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.2);
  color: var(--primary); padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title  { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.section-desc   { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 24px rgba(59,130,246,0.1);
}
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
  height: 100%; display: flex; align-items: center; gap: 2rem;
}

.nav-logo-img {
  height: 44px; width: auto; object-fit: contain; display: block;
  transition: opacity var(--transition);
}
.nav-logo-img:hover { opacity: 0.85; }

.footer-logo-img {
  height: 44px; width: auto; object-fit: contain; display: block;
}

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none; margin: 0; padding: 0; flex: 1;
}
.nav-link {
  color: var(--text-secondary); padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm); font-weight: 500; font-size: 0.9rem;
  transition: all var(--transition); text-decoration: none;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary); background: rgba(59,130,246,0.07);
}

.nav-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }

/* Instagram pill in navbar */
.nav-insta-btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(225,48,108,0.3);
  background: rgba(225,48,108,0.06);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-insta-btn:hover {
  background: rgba(225,48,108,0.12);
  border-color: #e1306c;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(225,48,108,0.2);
}
.nav-insta-avatar {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
  border: 2px solid #e1306c;
  flex-shrink: 0;
}
.nav-insta-text {
  display: flex; flex-direction: column; line-height: 1.2;
}
.nav-insta-name {
  font-size: 0.75rem; font-weight: 700; color: var(--text-primary);
}
.nav-insta-handle {
  font-size: 0.67rem; color: #e1306c; font-weight: 500;
}
.nav-insta-handle i { font-size: 0.7rem; }

/* Small Aanya icons */
.nav-aanya-icon {
  width: 20px; height: 20px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(255,255,255,0.6); vertical-align: middle; margin-right: 2px;
}
.hint-aanya-icon {
  width: 20px; height: 20px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(255,255,255,0.6); vertical-align: middle; margin-right: 2px;
  box-shadow: 0 0 6px rgba(255,255,255,0.3);
}

.nav-menu-toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 4px;
}
.nav-menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text-secondary);
  border-radius: 2px; transition: all var(--transition);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: calc(var(--nav-height) + 3rem) 1.5rem 4rem;
  overflow: hidden;
  background: #040c1a;
}

/* Full-cover background video */
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  pointer-events: none;
}

/* Dark gradient overlay — keeps text readable over any video */
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(4, 12, 26, 0.72) 0%,
    rgba(10, 20, 50, 0.60) 50%,
    rgba(4, 12, 26, 0.65) 100%
  );
  pointer-events: none;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56,189,248,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}


.hero-content {
  position: relative; z-index: 4;
  text-align: center; max-width: 800px; width: 100%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; padding: 0.4rem 1rem;
  border-radius: var(--radius-full); font-size: 0.82rem; font-weight: 600;
  margin-bottom: 1.5rem; animation: fadeInDown 0.6s ease;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 8px var(--success);
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.1; margin-bottom: 1.25rem;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  animation: fadeInUp 0.7s ease 0.1s both;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85); margin-bottom: 2.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-search-wrap {
  max-width: 640px; margin: 0 auto 2rem;
  animation: fadeInUp 0.7s ease 0.3s both;
}
.hero-search {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-full);
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.hero-search:focus-within {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}
.search-icon { color: rgba(255,255,255,0.7); margin-right: 0.5rem; flex-shrink: 0; }
.hero-search-input {
  flex: 1; background: none; border: none; outline: none;
  color: #fff; font-size: 0.95rem; font-family: var(--font-body);
}
.hero-search-input::placeholder { color: rgba(255,255,255,0.55); }
.hero-search-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient-primary); border: none;
  color: #fff; cursor: pointer; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); flex-shrink: 0;
}
.hero-search-btn:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(59,130,246,0.4); }

.hero-search-hint {
  margin-top: 0.75rem; font-size: 0.82rem; color: rgba(255,255,255,0.65);
}
.hero-search-hint .link-btn {
  color: #7dd3fc;
}
.hero-search-hint .link-btn:hover { color: #fff; }

.hero-tags {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center;
  animation: fadeInUp 0.7s ease 0.4s both;
}
.hero-tag {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9); padding: 0.4rem 1rem;
  border-radius: var(--radius-full); font-size: 0.82rem;
  cursor: pointer; font-family: var(--font-body);
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.hero-tag:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
  color: #fff; transform: translateY(-1px);
}

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 4;
}
.scroll-down {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.55); font-size: 0.78rem;
  animation: bounce 2s ease infinite; text-decoration: none;
}
.scroll-down:hover { color: rgba(255,255,255,0.9); }

@keyframes bounce {
  0%,100%{transform:translateX(-50%) translateY(0)}
  50%    {transform:translateX(-50%) translateY(6px)}
}
@keyframes fadeInDown { from{opacity:0;transform:translateY(-15px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInUp   { from{opacity:0;transform:translateY(20px)}  to{opacity:1;transform:translateY(0)} }

/* ── Stats ─────────────────────────────────────────────────── */
.stats-section {
  padding: 4rem 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  background: var(--bg-base); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem 1.25rem;
  text-align: center; transition: all var(--transition);
}
.stat-card:hover {
  border-color: var(--primary-light); transform: translateY(-3px);
  box-shadow: var(--shadow-md); background: var(--bg-white);
}
.stat-icon { font-size: 1.6rem; color: var(--primary); margin-bottom: 0.75rem; }
.stat-number {
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.stat-label { font-size: 0.82rem; color: var(--text-secondary); margin-top: 0.4rem; }

/* ── Catalog ───────────────────────────────────────────────── */
.catalog-section { padding: 5rem 0; background: var(--bg-base); }

.catalog-toolbar {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.catalog-search-wrap {
  flex: 1; min-width: 200px;
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-full); padding: 0.6rem 1rem;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.catalog-search-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.catalog-search-wrap i { color: var(--text-muted); }
.catalog-search {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-primary); font-family: var(--font-body); font-size: 0.9rem;
}
.catalog-search::placeholder { color: var(--text-muted); }
.catalog-clear {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 0.8rem; transition: color var(--transition);
}
.catalog-clear:hover { color: var(--danger); }

.sort-select {
  background: var(--bg-white); border: 1.5px solid var(--border);
  color: var(--text-secondary); padding: 0.6rem 1rem;
  border-radius: var(--radius-full); font-family: var(--font-body);
  font-size: 0.85rem; cursor: pointer; outline: none;
  transition: border-color var(--transition); box-shadow: var(--shadow-sm);
}
.sort-select:focus { border-color: var(--primary); }

.catalog-view-toggle { display: flex; gap: 0.3rem; }
.view-btn {
  width: 38px; height: 38px;
  background: var(--bg-white); border: 1.5px solid var(--border);
  color: var(--text-muted); border-radius: var(--radius-md);
  cursor: pointer; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.view-btn:hover, .view-btn.active {
  background: rgba(59,130,246,0.07);
  border-color: var(--primary); color: var(--primary);
}

/* Category Tabs */
.category-tabs-wrap {
  overflow-x: auto; margin-bottom: 2rem; padding-bottom: 0.5rem;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.category-tabs { display: flex; gap: 0.5rem; white-space: nowrap; padding: 0.25rem 0; }
.cat-tab {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--bg-white); border: 1.5px solid var(--border);
  color: var(--text-secondary); padding: 0.5rem 1rem;
  border-radius: var(--radius-full); font-size: 0.82rem;
  font-family: var(--font-body); font-weight: 500;
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.cat-tab:hover { border-color: var(--primary-light); color: var(--primary); }
.cat-tab.active {
  background: var(--gradient-primary); border-color: transparent;
  color: #fff; box-shadow: 0 2px 12px rgba(59,130,246,0.3);
}
.cat-tab .cat-count {
  background: rgba(255,255,255,0.25); padding: 1px 6px;
  border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 600;
}
.cat-tab:not(.active) .cat-count {
  background: rgba(59,130,246,0.1); color: var(--primary);
}

.catalog-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem; transition: all var(--transition-slow);
}
.products-grid.list-view { grid-template-columns: 1fr; }

/* Product Card */
.product-card {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  transition: all var(--transition); position: relative;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  animation: cardIn 0.4s ease both;
}
@keyframes cardIn { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.product-card-banner {
  height: 120px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.product-card-banner-bg {
  position: absolute; inset: 0; opacity: 0.9;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card-banner-bg { transform: scale(1.05); }
.product-card-banner-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}
.product-icon-big {
  position: relative; z-index: 1; font-size: 3rem;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
  transition: transform var(--transition);
}
.product-card:hover .product-icon-big { transform: scale(1.1); }

.product-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card-category {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 0.3rem;
}
.product-card-name {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 0.5rem; line-height: 1.3;
}
.product-card-desc {
  font-size: 0.83rem; color: var(--text-secondary); line-height: 1.5; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem; border-top: 1px solid var(--border);
  background: var(--bg-base);
}
.product-available {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.75rem; color: var(--success); font-weight: 600;
}
.product-available-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 6px var(--success);
}
.product-card-action {
  background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.2);
  color: var(--primary); font-size: 0.78rem; font-weight: 600;
  padding: 0.3rem 0.85rem; border-radius: var(--radius-full);
  cursor: pointer; transition: all var(--transition); font-family: var(--font-body);
}
.product-card-action:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* List View */
.products-grid.list-view .product-card { flex-direction: row; }
.products-grid.list-view .product-card-banner { width: 100px; height: auto; min-height: 80px; flex-shrink: 0; }
.products-grid.list-view .product-icon-big { font-size: 2rem; }
.products-grid.list-view .product-card-footer {
  flex-direction: column; gap: 0.5rem; justify-content: center;
  min-width: 100px; flex-shrink: 0;
}

/* No Results */
.no-results { text-align: center; padding: 5rem 1.5rem; }
.no-results-icon { font-size: 4rem; margin-bottom: 1rem; }
.no-results h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.no-results p { color: var(--text-secondary); }

/* ── Modal ─────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); max-width: 700px; width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative;
  box-shadow: 0 24px 80px rgba(15,23,42,0.2);
  transform: translateY(20px) scale(0.97); transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: sticky; top: 1rem; float: right; margin: 1rem 1rem -1rem 0;
  width: 36px; height: 36px; background: var(--bg-base);
  border: 1.5px solid var(--border); border-radius: 50%;
  color: var(--text-muted); cursor: pointer; font-size: 0.85rem; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--danger); border-color: var(--danger); color: #fff; }

.modal-banner {
  height: 160px; border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.modal-banner-bg { position: absolute; inset: 0; }
.modal-banner-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 25px 25px;
}
.modal-icon { font-size: 4.5rem; position: relative; z-index: 1; }

.modal-content-body { padding: 1.5rem 2rem 2rem; }
.modal-cat {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 0.4rem;
}
.modal-title { font-size: 1.6rem; margin-bottom: 0.75rem; }
.modal-desc { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.modal-section-title {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 0.6rem; margin-top: 1.25rem;
}
.modal-features { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.modal-features li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.88rem; color: var(--text-secondary);
}
.modal-features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; font-size: 0.8rem; }

.modal-cta {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
}

/* ── About ─────────────────────────────────────────────────── */
.about-section {
  padding: 5rem 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-desc { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; }
.about-features { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.about-feature { display: flex; gap: 1rem; align-items: flex-start; }
.about-feature-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: rgba(59,130,246,0.08); border: 1.5px solid rgba(59,130,246,0.2);
  color: var(--primary); font-size: 1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.about-feature h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.about-feature p  { font-size: 0.83rem; }

.about-visual { position: relative; }
.about-card-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; position: relative; z-index: 1; }
.about-card {
  background: var(--bg-base); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  transition: all var(--transition); box-shadow: var(--shadow-card);
}
.about-card:hover { border-color: var(--primary-light); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.about-card i    { font-size: 1.6rem; }
.about-card span { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.about-card-1 i { color: var(--success); }
.about-card-2 i { color: var(--primary); }
.about-card-3 i { color: var(--accent); }
.about-card-4 i { color: var(--warning); }
.about-orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.08), transparent 70%);
  filter: blur(30px); pointer-events: none;
}

/* ── Contact ───────────────────────────────────────────────── */
.contact-section { padding: 5rem 0; background: var(--bg-section-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-content: start; }
.contact-card {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: all var(--transition); box-shadow: var(--shadow-card);
}
.contact-card:hover { border-color: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 42px; height: 42px; border-radius: var(--radius-md);
  background: rgba(59,130,246,0.08); border: 1.5px solid rgba(59,130,246,0.2);
  color: var(--primary); font-size: 1rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem;
}
.contact-card h4  { font-size: 0.9rem; margin-bottom: 0.3rem; }
.contact-link     { color: var(--text-primary); font-size: 0.85rem; display: block; margin-bottom: 0.15rem; }
a.contact-link:hover { color: var(--primary); }
.contact-card p   { font-size: 0.78rem; }

.contact-form {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 1.3rem; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: var(--bg-base); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.88rem; padding: 0.7rem 1rem; outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary); background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: flex; align-items: center; gap: 0.5rem; color: var(--success);
  font-size: 0.88rem; margin-top: 1rem; padding: 0.75rem 1rem;
  background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-md);
}

/* ── Footer — dark anchor matching omsinv.com ──────────────── */
.footer {
  background: #0f172a;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.85rem; color: #94a3b8; line-height: 1.7; margin-top: 0.75rem; }

/* Aanya credit block in footer */
.footer-aanya-credit {
  display: flex; align-items: center; gap: 0.65rem;
  margin-top: 1.25rem; padding: 0.6rem 0.85rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  width: fit-content;
}
.footer-aanya-img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  border: 2px solid #e1306c; flex-shrink: 0;
}
.footer-aanya-name {
  font-size: 0.8rem; font-weight: 600; color: #f1f5f9; line-height: 1.2;
}
.footer-aanya-insta {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.75rem; color: #94a3b8; text-decoration: none;
  transition: color var(--transition);
}
.footer-aanya-insta i { color: #e1306c; }
.footer-aanya-insta:hover { color: #f9a8d4; }
.footer-insta i { color: #e1306c; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-col h5 { font-size: 0.85rem; font-weight: 700; color: #f1f5f9; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.83rem; color: #94a3b8; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.82rem; color: #94a3b8;
}
.footer-contact-list li i { color: var(--primary-light); margin-top: 3px; flex-shrink: 0; }
.footer-contact-list li a { color: #94a3b8; }
.footer-contact-list li a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 0.82rem; color: #64748b; }

/* ── AI Chat Widget ─────────────────────────────────────────── */
.ai-toggle {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 1100;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--gradient-primary);
  border: 2.5px solid rgba(255,255,255,0.4); cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(59,130,246,0.45), 0 0 0 4px rgba(59,130,246,0.1);
  transition: all var(--transition); overflow: hidden;
}
.ai-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(59,130,246,0.6), 0 0 0 6px rgba(59,130,246,0.12);
  border-color: rgba(255,255,255,0.6);
}
.ai-toggle-img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  transition: transform var(--transition);
}
.ai-toggle:hover .ai-toggle-img { transform: scale(1.05); }
.ai-toggle-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--danger); color: #fff;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.ai-toggle-badge.hidden { display: none; }

.ai-chat-window {
  position: fixed; bottom: 6.5rem; right: 2rem; z-index: 1100;
  width: 380px; max-height: 600px;
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(15,23,42,0.15);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; pointer-events: none;
  transform: translateY(20px) scale(0.96);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ai-chat-window.open { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }

.ai-chat-header {
  padding: 1rem 1.25rem;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.ai-chat-header-info { display: flex; align-items: center; gap: 0.75rem; }
.ai-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  overflow: hidden; border: 2px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ai-avatar-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ai-chat-title  {
  font-weight: 700; font-size: 0.9rem; color: #fff;
  display: flex; align-items: center; gap: 0.4rem;
}
.aanya-insta-link {
  color: rgba(255,255,255,0.8); font-size: 1rem;
  transition: all var(--transition); text-decoration: none;
  display: inline-flex; align-items: center;
}
.aanya-insta-link:hover { color: #f9a8d4; transform: scale(1.15); }
.ai-chat-status { display: flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; color: rgba(255,255,255,0.85); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.ai-chat-header-actions { display: flex; gap: 0.4rem; }
.ai-chat-header-actions button {
  background: rgba(255,255,255,0.2); border: none; color: #fff;
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.ai-chat-header-actions button:hover { background: rgba(255,255,255,0.35); }

.ai-api-setup {
  padding: 2rem 1.5rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}

.ai-messages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  background: #f8faff;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}

/* Chat Bubbles */
.ai-msg { display: flex; gap: 0.5rem; animation: msgIn 0.25s ease; }
@keyframes msgIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.ai-msg.user { flex-direction: row-reverse; }

.msg-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; margin-top: 2px; overflow: hidden;
}
.msg-avatar-aanya {
  border: 1.5px solid rgba(59,130,246,0.35);
  box-shadow: 0 0 8px rgba(59,130,246,0.15);
}
.msg-avatar-aanya img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ai-msg.bot  .msg-avatar:not(.msg-avatar-aanya) { background: var(--gradient-primary); color: #fff; }
.ai-msg.user .msg-avatar { background: rgba(59,130,246,0.1); color: var(--primary); }

.msg-bubble {
  max-width: 80%; padding: 0.65rem 0.9rem;
  border-radius: 12px; font-size: 0.83rem; line-height: 1.5;
}
.ai-msg.bot .msg-bubble {
  background: var(--bg-white); border: 1.5px solid var(--border);
  color: var(--text-primary); border-top-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.ai-msg.user .msg-bubble {
  background: var(--gradient-primary); color: #fff; border-top-right-radius: 4px;
}

/* Product chips in chat */
.chat-product-chips { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.5rem; }
.chat-product-chip {
  background: var(--bg-base); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 0.5rem 0.75rem;
  cursor: pointer; transition: all var(--transition);
  display: flex; align-items: center; gap: 0.5rem;
}
.chat-product-chip:hover { border-color: var(--primary); background: rgba(59,130,246,0.05); }
.chip-icon  { font-size: 1.1rem; }
.chip-info  { flex: 1; min-width: 0; }
.chip-name  { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); }
.chip-cat   { font-size: 0.72rem; color: var(--text-muted); }
.chip-arrow { color: var(--primary); font-size: 0.75rem; }

/* Typing indicator */
.typing-indicator { display: flex; gap: 4px; align-items: center; padding: 0.3rem 0; }
.typing-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted);
  animation: typingBounce 1.2s ease infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-5px)} }

/* AI input area */
.ai-chat-input-area {
  padding: 0.75rem 1rem; border-top: 1px solid var(--border);
  flex-shrink: 0; background: var(--bg-white);
}
.ai-input-wrap {
  display: flex; align-items: flex-end; gap: 0.5rem;
  background: var(--bg-base); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 0.5rem 0.5rem 0.5rem 0.9rem;
  transition: border-color var(--transition);
}
.ai-input-wrap:focus-within { border-color: var(--primary); background: var(--bg-white); }
.ai-input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-primary); font-family: var(--font-body); font-size: 0.85rem;
  resize: none; max-height: 120px; line-height: 1.4;
}
.ai-input::placeholder { color: var(--text-muted); }
.ai-send-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gradient-primary); border: none; color: #fff;
  cursor: pointer; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); flex-shrink: 0;
}
.ai-send-btn:hover:not(:disabled) { transform: scale(1.1); }
.ai-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.ai-input-hint { font-size: 0.68rem; color: var(--text-muted); margin-top: 0.4rem; text-align: center; }
kbd {
  background: var(--bg-base); border: 1px solid var(--border);
  border-radius: 3px; padding: 0 4px; font-size: 0.65rem;
}

/* ── Scroll to Top ───────────────────────────────────────────── */
.scroll-top-btn {
  position: fixed; bottom: 7rem; right: 2rem; z-index: 900;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-white); border: 1.5px solid var(--border);
  color: var(--text-secondary); cursor: pointer; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: all var(--transition);
  opacity: 0; pointer-events: none;
}
.scroll-top-btn.visible { opacity: 1; pointer-events: all; }
.scroll-top-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Skeleton ────────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-base) 25%, var(--bg-white) 50%, var(--bg-base) 75%);
  background-size: 200% 100%; animation: skeleton 1.5s ease infinite;
  border-radius: var(--radius-md);
}
@keyframes skeleton { from{background-position:200%} to{background-position:-200%} }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-height: 64px; }


  .nav-insta-text { display: none; }
  .nav-insta-btn { padding: 0.35rem; }

  .nav-links {
    display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 1rem; gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(15,23,42,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-menu-toggle { display: flex; }

  .hero { padding-top: calc(var(--nav-height) + 2rem); }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 0.95rem; }

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

  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .catalog-sort, .catalog-view-toggle { align-self: flex-start; }

  .products-grid { grid-template-columns: 1fr; }
  .products-grid.list-view .product-card { flex-direction: column; }
  .products-grid.list-view .product-card-banner { width: 100%; height: 100px; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .ai-chat-window { width: calc(100vw - 2rem); right: 1rem; bottom: 6rem; }
  .ai-toggle { right: 1rem; bottom: 1.5rem; }

  .modal { max-height: 95vh; }
  .modal-content-body { padding: 1.25rem; }
  .modal-cta { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-tags { gap: 0.4rem; }
  .hero-tag { font-size: 0.75rem; padding: 0.3rem 0.75rem; }
  .section-title { font-size: 1.6rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
