/* ===========================
   NATab Landing Page — CSS
   =========================== */

/* === RESET & VARIABLES === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --radius-xxs: 3px;
  --radius-tiny: 4px;
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius: 20px;
  --radius-xl: 30px;
  --radius-full: 999px;
  --primary: #4c63d2;
  --primary-dark: #3c4fd5;
  --primary-light: #818cf8;
  --primary-glow: rgba(76,99,210,0.2);
  --accent-orange: #f97316;
  --accent-green: #22c55e;
  --text-heading: #0f172a;
  --text-body: #475569;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-blue: #eef2ff;
  --border: #e2e8f0;
  --border-blue: rgba(76,99,210,0.15);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
  --shadow-xl: 0 32px 80px rgba(76,99,210,0.18);
  --shadow-blue: 0 8px 32px rgba(76,99,210,0.25);
  --t: 0.25s cubic-bezier(0.4,0,0.2,1);
  --gradient: linear-gradient(135deg, #4c63d2 0%, #818cf8 60%, #a78bfa 100%);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg); color: var(--text-body); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* === REVEAL === */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: none; }

/* === BUTTONS === */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient);
  color: #fff; padding: 12px 24px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer;
  box-shadow: 0 4px 18px rgba(76,99,210,0.35); transition: var(--t);
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(76,99,210,0.45); }
.btn-primary.btn-lg { padding: 15px 32px; font-size: 1.05rem; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--primary);
  padding: 13px 28px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 1.05rem;
  border: 2px solid var(--primary); transition: var(--t); cursor: pointer; white-space: nowrap;
}
.btn-outline:hover { background: rgba(76,99,210,0.06); transform: translateY(-2px); }

.btn-ghost { color: var(--text-body); font-weight: 500; font-size: 0.95rem; padding: 10px 16px; border-radius: var(--radius-full); transition: var(--t); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--text-heading); }

/* === SECTION HEADER === */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; background: rgba(76,99,210,0.1); color: var(--primary);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: var(--radius-full); margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--text-heading); line-height: 1.2; margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--text-body); max-width: 560px; margin: 0 auto; }

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0; transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.93); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm); padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; gap: 32px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.logo-mark.sm { width: 30px; height: 30px; border-radius: var(--radius-xs); }
.logo-img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { font-weight: 800; font-size: 1.3rem; color: var(--text-heading); font-family: 'Outfit', sans-serif; }
.logo-accent { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-links a { color: var(--text-body); font-size: 0.92rem; font-weight: 500; padding: 8px 14px; border-radius: var(--radius-xs); transition: var(--t); }
.nav-links a:hover { color: var(--text-heading); background: var(--bg-soft); }
.mobile-cta-item { display: none; }

.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.nav-install-btn { padding: 10px 20px; font-size: 0.88rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-heading); border-radius: var(--radius-xxs); transition: var(--t); }

/* ============================
   HERO
   ============================ */
.hero {
  padding: 130px 0 0;
  background: linear-gradient(180deg, #f0f4ff 0%, #eef2ff 40%, #fff 100%);
  position: relative; overflow: hidden;
}
.hero-blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); }
.b1 { width: 700px; height: 700px; background: rgba(76,99,210,0.1); top: -200px; right: -150px; animation: blobA 10s ease-in-out infinite; }
.b2 { width: 500px; height: 500px; background: rgba(167,139,250,0.08); bottom: 100px; left: -100px; animation: blobB 13s ease-in-out infinite; }
.b3 { width: 300px; height: 300px; background: rgba(249,115,22,0.06); top: 50%; left: 30%; animation: blobA 8s ease-in-out infinite reverse; }
@keyframes blobA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-40px)} }
@keyframes blobB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(30px)} }

.hero-inner { display: flex; flex-direction: column; gap: 48px; align-items: center; text-align: center; position: relative; z-index: 1; }
.hero-text { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 800px; margin: 0 auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border-blue);
  border-radius: var(--radius-full); padding: 8px 18px;
  font-size: 0.8rem; font-weight: 500; color: var(--text-body);
  margin-bottom: 24px; box-shadow: var(--shadow-sm);
  animation: fadeDown 0.6s ease both;
}
.chrome-dot { width: 10px; height: 10px; border-radius: 50%; background: conic-gradient(#4285f4 0% 25%, #db4437 25% 50%, #f4b400 50% 75%, #0f9d58 75%); flex-shrink: 0; }

.hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; color: var(--text-heading); line-height: 1.1; margin-bottom: 20px; animation: fadeDown 0.6s 0.1s ease both; }
.hero-sub { font-size: 1.1rem; color: var(--text-body); max-width: 600px; margin-bottom: 32px; line-height: 1.7; animation: fadeDown 0.6s 0.2s ease both; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; animation: fadeDown 0.6s 0.3s ease both; }

.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; animation: fadeDown 0.6s 0.4s ease both; }
.meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 500; color: var(--text-body); }

@keyframes fadeDown { from{opacity:0;transform:translateY(-16px)} to{opacity:1;transform:none} }

/* == BROWSER MOCKUP == */
.hero-mockup-wrap { position: relative; animation: fadeUp 0.8s 0.3s ease both; width: 100%; max-width: 960px; margin: 0 auto; }
@keyframes fadeUp { from{opacity:0;transform:translateY(40px)} to{opacity:1;transform:none} }

.mockup-glow {
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 75%; height: 70px;
  background: radial-gradient(ellipse, rgba(76,99,210,0.3), transparent 70%);
  filter: blur(20px);
}

.natab-browser {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.07);
  overflow: hidden;
}

/* Chrome bar */
.chrome-bar {
  background: #f1f3f4;
  border-bottom: 1px solid #ddd;
  padding: 8px 12px 0;
  display: flex; gap: 10px; align-items: flex-end;
}
.chrome-controls { display: flex; gap: 6px; align-items: center; padding-bottom: 8px; flex-shrink: 0; }
.cc { width: 12px; height: 12px; border-radius: 50%; }
.cc.red{background:#ff5f57} .cc.yellow{background:#ffbd2e} .cc.green{background:#28c940}
.chrome-tabs-bar { display: flex; align-items: flex-end; gap: 2px; flex: 1; overflow: hidden; }
.chrome-tab {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border-radius: var(--radius-xs) var(--radius-xs) 0 0;
  padding: 6px 14px; font-size: 0.72rem; color: #555;
  border: 1px solid #ddd; border-bottom: 1px solid #fff;
  max-width: 180px; white-space: nowrap; overflow: hidden;
}
.chrome-tab.active { font-weight: 600; color: #333; }
.tab-favicon { width: 14px; height: 14px; border-radius: var(--radius-xxs); background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.tab-favicon.gray { background: #999; }
.tab-x { color: #999; margin-left: auto; font-size: 0.9rem; }
.new-tab-btn { font-size: 1.1rem; color: #666; padding: 4px 8px 8px; cursor: pointer; }

.chrome-addr-bar {
  background: #f8f9fa; border-bottom: 1px solid #e0e0e0;
  padding: 6px 12px; display: flex; align-items: center; gap: 10px;
}
.addr-icons { display: flex; gap: 6px; }
.addr-arrow { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: #555; cursor: pointer; }
.addr-arrow:hover { background: #e8e8e8; }
.addr-url {
  flex: 1; background: #fff; border: 1px solid #dadce0; border-radius: var(--radius);
  padding: 4px 14px; font-size: 0.73rem; color: #555;
  display: flex; align-items: center; gap: 6px; font-family: monospace;
}
.addr-lock { font-size: 0.8rem; }
.addr-profile { width: 26px; height: 26px; border-radius: 50%; background: var(--gradient); flex-shrink: 0; }

/* NATab content */
.natab-content {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #dbeafe 100%);
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100% !important;
  min-height: 460px;
}
.nb-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.nb-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.3; }
.nb-b1 { width: 200px; height: 200px; background: #4c63d2; top: -50px; right: -30px; animation: blobA 8s ease-in-out infinite; }
.nb-b2 { width: 150px; height: 150px; background: #818cf8; bottom: -30px; left: -20px; animation: blobB 10s ease-in-out infinite; }

/* header strip */
.nb-header {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; margin-bottom: 8px;
  background: rgba(255,255,255,0.4); backdrop-filter: blur(12px);
  border-radius: var(--radius-sm); border: 1px solid rgba(76,99,210,0.15);
}
.nb-greeting { font-size: 0.72rem; font-weight: 600; color: #1e2139; white-space: nowrap; padding: 4px 10px; background: rgba(255,255,255,0.6); border-radius: var(--radius); font-family: 'Outfit', sans-serif; }
.nb-clocks { display: flex; gap: 4px; flex: 1; justify-content: center; }
.nb-clock { padding: 4px 8px; border-radius: var(--radius-xs); display: flex; flex-direction: column; align-items: center; color: #fff; font-family: 'Outfit', monospace; }
.c-blue{background:linear-gradient(135deg,#4c63d2,#818cf8)} .c-purple{background:linear-gradient(135deg,#7c3aed,#a78bfa)} .c-orange{background:linear-gradient(135deg,#ea580c,#f97316)}
.nc-label { font-size: 0.58rem; font-weight: 700; opacity: 0.85; letter-spacing: 0.05em; }
.nc-time { font-size: 0.72rem; font-weight: 700; }
.nb-header-btns { display: flex; gap: 4px; }
.nb-hbtn { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg,#4c63d2,#818cf8); color: #fff; font-size: 0.65rem; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* Search */
.nb-search {
  background: rgba(255,255,255,0.7); backdrop-filter: blur(10px);
  border: 1px solid rgba(76,99,210,0.15); border-radius: var(--radius);
  padding: 6px 12px; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.nb-engine { width: 20px; height: 20px; border-radius: 50%; background: #4285f4; color: #fff; font-size: 0.7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nb-search-text { font-size: 0.72rem; color: #94a3b8; }

/* 3 cols */
.nb-cols { display: grid; grid-template-columns: 1fr 1.8fr 1fr; gap: 8px; width: 100%; flex: 1; }
.nb-col { background: rgba(255,255,255,0.55); backdrop-filter: blur(10px); border: 1px solid rgba(76,99,210,0.12); border-radius: var(--radius-sm); padding: 8px; min-width: 0; overflow: hidden; }
.nb-panel-title { font-size: 0.68rem; font-weight: 700; color: #1e2139; margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; font-family: 'Outfit', sans-serif; }
.npt-action { width: 14px; height: 14px; border-radius: 50%; background: var(--gradient); color: #fff; font-size: 0.75rem; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nb-progress-bar { height: 3px; background: rgba(76,99,210,0.15); border-radius: var(--radius-xxs); margin-bottom: 6px; overflow: hidden; }
.nb-progress-fill { height: 100%; background: var(--gradient); border-radius: var(--radius-xxs); transition: width 1s ease; }
.nb-todo-items { display: flex; flex-direction: column; gap: 4px; }
.nb-todo { display: flex; align-items: center; gap: 5px; font-size: 0.65rem; color: #475569; }
.nb-todo.done span { text-decoration: line-through; color: #94a3b8; }
.nb-todo.urgent { color: #ef4444; }
.nb-check { width: 12px; height: 12px; border-radius: var(--radius-xxs); border: 1.5px solid rgba(76,99,210,0.3); flex-shrink: 0; }
.nb-check.filled { background: var(--gradient); border-color: transparent; display: flex; align-items: center; justify-content: center; }
.nb-check.filled::after { content: '✓'; color: #fff; font-size: 0.55rem; font-weight: 800; }
.nb-priority { width: 12px; height: 12px; border-radius: var(--radius-xxs); font-size: 0.55rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-left: auto; flex-shrink: 0; }
.nb-priority.high { background: #fee2e2; color: #ef4444; }

/* Sites grid in mockup */
.sites-col { }
.nb-tabs { display: flex; gap: 4px; margin-bottom: 6px; }
.nb-tab { font-size: 0.6rem; font-weight: 600; padding: 3px 8px; border-radius: var(--radius); color: #64748b; cursor: pointer; }
.nb-tab.active { background: var(--gradient); color: #fff; }
.nb-sites-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 4px; width: 100%; }
.nb-site {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 5px 2px; border-radius: var(--radius-xs); cursor: pointer;
  transition: transform 0.2s; min-width: 0; overflow: hidden;
}
.nb-site:hover { transform: scale(1.08); }
.nb-site-icon {
  width: 22px; height: 22px; border-radius: var(--radius-tiny); flex-shrink: 0;
  background: var(--sc, #4c63d2);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.55rem; font-weight: 800;
}
.nb-site-name { font-size: 0.48rem; color: #475569; text-align: center; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.add-site-btn-mock .nb-site-icon { background: rgba(148,163,184,0.3); color: #94a3b8; }

/* Notes col */
.nb-note { border-radius: var(--radius-xs); padding: 6px 8px; margin-bottom: 4px; border: 1px solid; word-break: break-word; }
.n1 { background: rgba(254,243,199,0.8); border-color: rgba(251,191,36,0.3); }
.n2 { background: rgba(219,234,254,0.8); border-color: rgba(96,165,250,0.3); }
.nb-note-title { font-size: 0.62rem; font-weight: 700; color: #1e2139; margin-bottom: 3px; font-family: 'Outfit', sans-serif; }
.nb-note-body { font-size: 0.56rem; color: #475569; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Floating badges */
.float-badge {
  position: absolute; background: #fff; border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12); padding: 10px 16px;
  display: flex; align-items: center; gap: 10px; font-size: 0.8rem;
  border: 1px solid var(--border); animation: floatBadge 6s ease-in-out infinite;
}
.fb1 { top: -16px; left: -48px; animation-delay: 0s; }
.fb2 { bottom: 50px; right: -40px; animation-delay: 3s; }
@keyframes floatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.fb-icon { font-size: 1.4rem; }
.fb-info { display: flex; flex-direction: column; }
.fb-info strong { font-weight: 700; color: var(--text-heading); font-size: 0.82rem; }
.fb-info span { color: var(--text-muted); font-size: 0.72rem; }

/* Hero rating */
.hero-rating {
  background: rgba(255,255,255,0.7); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-blue);
  padding: 20px 0;
  margin-top: 64px;
}
.rating-inner { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.stars-row { color: #f59e0b; font-size: 1.2rem; letter-spacing: 2px; }
.rating-text { font-size: 0.9rem; color: var(--text-body); font-weight: 500; }
.rating-avatars { display: flex; }
.rav { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-right: -8px; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 800; color: #fff; }
.rating-count { font-size: 0.85rem; color: var(--text-muted); margin-left: 16px; }

/* ============================
   FEATURES — BENTO GRID
   ============================ */
.features-section { padding: 100px 0; background: var(--bg); }

.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
}
.bento-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--t);
  display: flex; flex-direction: column;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-blue); }

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

.bento-visual {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.bento-text { padding: 20px 24px 24px; }
.bento-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 12px;
}
.bento-text h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-heading); margin-bottom: 8px; }
.bento-text p { font-size: 0.9rem; color: var(--text-body); line-height: 1.65; }

/* Wallpaper Visual */
.wallpaper-visual { padding: 0; position: relative; min-height: 220px; overflow: hidden; }
.wv-bg { position: absolute; inset: 0; background: linear-gradient(180deg, #1e3a5f 0%, #2d6a9f 50%, #4d8ac0 100%); }
.wv-mountains { position: absolute; inset: 0; overflow: hidden; }
.wv-mountain { position: absolute; bottom: 0; }
.wv-mountain.m1 { width: 0; height: 0; border-left: 80px solid transparent; border-right: 80px solid transparent; border-bottom: 120px solid #1a4a72; left: 20%; }
.wv-mountain.m2 { width: 0; height: 0; border-left: 100px solid transparent; border-right: 100px solid transparent; border-bottom: 160px solid #0f3554; left: 45%; }
.wv-mountain.m3 { width: 0; height: 0; border-left: 70px solid transparent; border-right: 70px solid transparent; border-bottom: 100px solid #1e4f7a; left: 65%; }
.wv-sun { position: absolute; width: 50px; height: 50px; border-radius: 50%; background: radial-gradient(circle, #fbbf24, #f59e0b); top: 30px; left: 60px; box-shadow: 0 0 40px rgba(251,191,36,0.5); }
.wv-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; }
.wv-tag { display: inline-block; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); color: #fff; font-size: 0.72rem; font-weight: 600; padding: 4px 12px; border-radius: var(--radius); margin-bottom: 10px; border: 1px solid rgba(255,255,255,0.2); }
.wv-queries { display: flex; gap: 6px; flex-wrap: wrap; }
.wq { font-size: 0.68rem; font-weight: 500; padding: 3px 10px; border-radius: var(--radius); background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.15); cursor: pointer; transition: var(--t); }
.wq.active, .wq:hover { background: rgba(255,255,255,0.3); color: #fff; }

/* Search visual */
.search-visual { background: linear-gradient(135deg, #f0f4ff, #e0e7ff); gap: 12px; }
.sv-bar { background: #fff; border-radius: var(--radius-xl); padding: 10px 16px; display: flex; align-items: center; gap: 10px; width: 100%; box-shadow: var(--shadow-md); border: 1px solid var(--border-blue); }
.sv-engines { display: flex; gap: 4px; }
.sv-eng { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 800; color: #fff; cursor: pointer; opacity: 0.5; transition: var(--t); }
.sv-eng:hover, .sv-eng.active { opacity: 1; transform: scale(1.1); }
.se-g{background:#4285f4} .se-b{background:#0078d7} .se-d{background:#de5833} .se-y{background:#720e9e}
.sv-input { font-size: 0.8rem; color: #94a3b8; flex: 1; }
.sv-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.sv-tags span { font-size: 0.72rem; font-weight: 500; padding: 3px 10px; border-radius: var(--radius); background: rgba(76,99,210,0.1); color: var(--primary); border: 1px solid var(--border-blue); }

/* Clocks visual */
.clocks-visual { background: linear-gradient(135deg, #faf5ff, #ede9fe); gap: 8px; }
.cv-clocks { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.cv-clock { border-radius: var(--radius-sm); padding: 8px 14px; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.cc-blue { background: linear-gradient(135deg, #4c63d2, #818cf8); }
.cc-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.cc-orange { background: linear-gradient(135deg, #ea580c, #f97316); }
.cc-green { background: linear-gradient(135deg, #059669, #34d399); }
.ccl-city { font-size: 0.72rem; font-weight: 600; opacity: 0.9; font-family: 'Outfit', sans-serif; }
.ccl-time { font-size: 0.95rem; font-weight: 700; font-family: 'Outfit', monospace; letter-spacing: 0.05em; }

/* To-Do visual */
.todo-visual { background: linear-gradient(135deg, #fff7ed, #ffedd5); align-items: stretch; padding: 16px; }
.tv-header { margin-bottom: 12px; }
.tv-title { font-size: 0.85rem; font-weight: 700; color: #431407; margin-bottom: 8px; font-family: 'Outfit', sans-serif; }
.tv-progress { display: flex; flex-direction: column; gap: 4px; }
.tv-prog-bar { height: 4px; background: rgba(249,115,22,0.2); border-radius: var(--radius-xxs); overflow: hidden; }
.tv-prog-fill { height: 100%; background: linear-gradient(90deg, #f97316, #fb923c); border-radius: var(--radius-xxs); }
.tv-progress span { font-size: 0.68rem; color: #9a3412; font-weight: 500; }
.tv-items { display: flex; flex-direction: column; gap: 6px; }
.tv-item { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: #431407; }
.tv-item.done span { text-decoration: line-through; color: #9ca3af; }
.tv-check { width: 16px; height: 16px; border-radius: var(--radius-tiny); border: 2px solid rgba(249,115,22,0.4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.6rem; font-weight: 800; }
.tv-item.done .tv-check { background: linear-gradient(135deg,#f97316,#fb923c); border-color: transparent; color: #fff; }
.tv-check.empty { }
.tv-pri { width: 16px; height: 16px; border-radius: var(--radius-tiny); font-size: 0.65rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-left: auto; flex-shrink: 0; }
.tv-pri.medium { background: #fef9c3; color: #a16207; }
.tv-pri.high { background: #fee2e2; color: #dc2626; }

/* Bookmarks visual */
.bookmarks-visual { background: linear-gradient(135deg, #fdf4ff, #fae8ff); align-items: stretch; padding: 16px; }
.bv-tabs { display: flex; gap: 6px; margin-bottom: 12px; align-items: center; }
.bv-tab { font-size: 0.72rem; font-weight: 600; padding: 4px 12px; border-radius: var(--radius); color: #6b7280; cursor: pointer; transition: var(--t); }
.bv-tab.active { background: linear-gradient(135deg,#a855f7,#ec4899); color: #fff; }
.bv-tab-add { width: 22px; height: 22px; border-radius: 50%; background: rgba(168,85,247,0.15); color: #a855f7; font-size: 1rem; display: flex; align-items: center; justify-content: center; cursor: pointer; font-weight: 700; }
.bv-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-bottom: 12px; }
.bv-site {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 0.75rem; font-weight: 700; padding: 8px 4px;
  border-radius: var(--radius-sm); background: rgba(255,255,255,0.7);
  cursor: pointer; transition: var(--t); color: var(--c, #a855f7);
  border: 1px solid rgba(168,85,247,0.1);
}
.bv-site:hover { transform: scale(1.08); background: #fff; }
.bv-site small { font-size: 0.58rem; color: #6b7280; font-weight: 500; }
.bv-site.add { color: #94a3b8; }
.bv-layouts { display: flex; gap: 6px; }
.bvl { font-size: 0.68rem; font-weight: 600; padding: 3px 10px; border-radius: var(--radius); background: rgba(168,85,247,0.1); color: #7c3aed; cursor: pointer; transition: var(--t); }
.bvl.active, .bvl:hover { background: linear-gradient(135deg,#a855f7,#818cf8); color: #fff; }

/* Notes visual */
.notes-visual { background: linear-gradient(135deg, #f5f3ff, #ede9fe); gap: 10px; }
.nv-note { width: 100%; border-radius: var(--radius-md); padding: 12px 14px; border: 1px solid; }
.note-y { background: rgba(254,243,199,0.9); border-color: rgba(251,191,36,0.3); }
.note-b { background: rgba(219,234,254,0.9); border-color: rgba(147,197,253,0.3); }
.nv-note-title { font-size: 0.75rem; font-weight: 700; color: var(--text-heading); margin-bottom: 8px; font-family: 'Outfit', sans-serif; }
.nv-note-lines { display: flex; flex-direction: column; gap: 5px; }
.nvl { height: 5px; background: rgba(0,0,0,0.1); border-radius: var(--radius-xxs); }
.nvl.short { width: 65%; }

/* Data visual */
.data-visual { background: linear-gradient(135deg, #f0fdf4, #dcfce7); gap: 16px; }
.dv-btns { display: flex; gap: 10px; }
.dv-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 600;
  cursor: pointer; transition: var(--t);
}
.dv-btn.export { background: rgba(76,99,210,0.1); color: var(--primary); border: 1px solid var(--border-blue); }
.dv-btn.import { background: rgba(34,197,94,0.1); color: #16a34a; border: 1px solid rgba(34,197,94,0.2); }
.dv-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dv-privacy { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: #15803d; background: rgba(255,255,255,0.7); padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(34,197,94,0.2); }

/* ============================
   GALLERY (TABS)
   ============================ */
.gallery-section { padding: 100px 0; background: #fff; }
.tab-gallery-container {
  display: flex; flex-direction: column; gap: 40px; max-width: 1000px; margin: 0 auto;
}
.tg-tabs { 
  display: flex; flex-direction: row; gap: 12px; width: 100%; 
  overflow-x: auto; padding: 8px 4px 16px; scroll-snap-type: x mandatory; 
}
.tg-tabs::-webkit-scrollbar { height: 4px; }
.tg-tabs::-webkit-scrollbar-thumb { background: rgba(76,99,210,0.2); border-radius: var(--radius-sm); }
.tg-tab {
  flex: 0 0 auto; scroll-snap-align: start;
  padding: 8px 20px; border-radius: var(--radius-full); border: 1px solid transparent;
  cursor: pointer; transition: all 0.3s ease; text-align: center;
  background: var(--bg-soft); color: var(--text-body);
}
.tg-tab:hover { background: #f0f4ff; color: var(--primary); }
.tg-tab.active {
  background: #fff; border-color: var(--primary); color: var(--primary);
  box-shadow: 0 6px 16px rgba(76,99,210,0.12); 
  transform: translateY(-2px);
}
.tg-tab h4 { font-size: 0.95rem; font-weight: 700; color: inherit; margin: 0; font-family: 'Outfit', sans-serif; white-space: nowrap; }

.tg-content {
  width: 100%; position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl); border: 1px solid var(--border);
  background: var(--bg-soft);
}
.tg-pane {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(10px);
}
.tg-pane.active { opacity: 1; pointer-events: auto; transform: translateY(0); position: relative; }
.tg-pane img { width: 100%; height: auto; display: block; object-fit: cover; }
.tg-caption {
  padding: 18px 24px; margin: 0; border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.95rem; color: var(--text-heading); font-weight: 500; text-align: center;
  background: #fff;
}

/* ============================
   THEMES
   ============================ */
.themes-section { padding: 100px 0; background: var(--bg-soft); }
.themes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.theme-card { border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; transition: var(--t); border: 2px solid transparent; }
.theme-card:hover, .theme-card.active-theme { border-color: var(--primary); box-shadow: var(--shadow-blue); transform: translateY(-4px); }
.theme-preview { height: 100px; position: relative; overflow: hidden; }
.tp-blob { position: absolute; width: 80px; height: 80px; border-radius: 50%; top: -20px; right: -20px; filter: blur(20px); }
.tp-card { position: absolute; bottom: 10px; left: 10px; right: 10px; height: 30px; background: rgba(255,255,255,0.6); backdrop-filter: blur(8px); border-radius: var(--radius-xs); border: 1px solid rgba(255,255,255,0.4); }
.tp-badge { position: absolute; top: 10px; left: 10px; font-size: 0.62rem; font-weight: 700; color: #fff; padding: 3px 10px; border-radius: var(--radius); }
.theme-name { padding: 8px 10px; background: #fff; font-size: 0.78rem; font-weight: 600; color: var(--text-heading); display: flex; align-items: center; gap: 6px; }
.default-tag { font-size: 0.6rem; background: rgba(76,99,210,0.1); color: var(--primary); padding: 1px 6px; border-radius: var(--radius-sm); font-weight: 600; }

/* ============================
   HOW IT WORKS
   ============================ */
.how-section { padding: 100px 0; background: #fff; }
.steps-wrap { display: flex; align-items: center; gap: 0; }
.step-card {
  flex: 1; background: var(--bg-soft); border-radius: var(--radius);
  padding: 36px 28px; text-align: center; border: 1px solid var(--border);
  transition: var(--t); position: relative;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); background: #fff; }
.step-num { font-size: 4rem; font-weight: 900; color: rgba(76,99,210,0.07); line-height: 1; margin-bottom: 12px; font-family: 'Outfit', sans-serif; }
.step-icon-wrap { width: 64px; height: 64px; background: rgba(76,99,210,0.08); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.step-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-heading); margin-bottom: 10px; }
.step-card p { font-size: 0.88rem; color: var(--text-body); line-height: 1.7; margin-bottom: 16px; }
.step-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(76,99,210,0.1); color: var(--primary); font-size: 0.72rem; font-weight: 600; padding: 5px 12px; border-radius: var(--radius); }
.step-arrow { color: var(--primary-light); font-size: 2rem; font-weight: 300; flex-shrink: 0; padding: 0 8px; opacity: 0.4; }

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials-section { padding: 100px 0; background: var(--bg-soft); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tcard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: var(--t);
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-blue); }
.featured-tcard { background: linear-gradient(135deg, #faf5ff, #ede9fe); border-color: rgba(168,85,247,0.2); }
.tcard-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tcard-stars { color: #f59e0b; letter-spacing: 2px; }
.tcard-source { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; background: var(--bg-soft); padding: 3px 8px; border-radius: var(--radius); border: 1px solid var(--border); }
.tcard p { font-size: 0.9rem; line-height: 1.75; color: var(--text-body); margin-bottom: 20px; font-style: italic; }
.tcard-author { display: flex; align-items: center; gap: 10px; }
.tcard-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 0.75rem; flex-shrink: 0; }
.tcard-author strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text-heading); }
.tcard-author span { font-size: 0.78rem; color: var(--text-muted); }

.reviews-cta { text-align: center; margin-top: 40px; }
.btn-reviews {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid var(--border); background: #fff;
  color: var(--text-heading); padding: 13px 28px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.95rem; transition: var(--t);
  box-shadow: var(--shadow-sm);
}
.btn-reviews svg:first-child { color: #f59e0b; flex-shrink: 0; }
.btn-reviews:hover {
  border-color: var(--primary); color: var(--primary);
  box-shadow: var(--shadow-blue); transform: translateY(-2px);
}
.btn-reviews:hover svg:first-child { color: var(--primary); }


/* ============================
   FAQ
   ============================ */
.faq-section { padding: 100px 0; background: var(--bg); }
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; transition: var(--t);
}
.faq-item:hover { border-color: var(--border-blue); box-shadow: var(--shadow-sm); }
.faq-item.active { border-color: var(--primary); background: #fff; box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%; text-align: left; padding: 20px 24px;
  background: transparent; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.05rem; font-weight: 700; color: var(--text-heading);
  font-family: 'Outfit', sans-serif;
}
.faq-icon {
  font-size: 1.5rem; font-weight: 300; color: var(--primary);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px; max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}
.faq-item.active .faq-answer { padding: 0 24px 24px; max-height: 300px; }
.faq-answer p { font-size: 0.95rem; color: var(--text-body); line-height: 1.7; }

/* ============================
   INSTALL CTA
   ============================ */
.install-section { padding: 80px 0; background: #fff; }
.install-card {
  background: var(--gradient);
  border-radius: var(--radius-xl); padding: 72px 48px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 24px 80px rgba(76,99,210,0.35);
}
.install-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.is { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08); }
.is1 { width: 500px; height: 500px; top: -250px; right: -100px; }
.is2 { width: 350px; height: 350px; bottom: -200px; left: -50px; }
.is3 { width: 200px; height: 200px; top: 50%; left: 40%; }
.install-content { position: relative; z-index: 1; }

/* Install brand logo */
.install-icon { display: flex; justify-content: center; margin-bottom: 24px; }
.install-brand-logo {
  width: 70px; height: 70px; border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  object-fit: contain; background: #fff; padding: 4px;
}

.install-card h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 14px; }
.install-card p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.btn-install-big {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--primary-dark);
  padding: 18px 40px; border-radius: var(--radius-full);
  font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: var(--t); margin-bottom: 24px;
}
.btn-install-big:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.25); }
.install-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 16px; }
.install-checks span { color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 500; }
.install-version { color: rgba(255,255,255,0.5); font-size: 0.8rem; }

/* ============================
   FOOTER — Premium Redesign
   ============================ */
.footer { background: #080c18; overflow: hidden; }

/* Hero strip */
.footer-hero {
  position: relative;
  padding: 80px 0 64px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(76,99,210,0.18) 0%, transparent 70%);
}
.footer-hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0; }

/* Logo */
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-mark {
  width: 52px; height: 52px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.footer-logo-text {
  font-size: 2rem; font-weight: 900; color: #fff;
  font-family: 'Outfit', sans-serif; letter-spacing: -0.02em;
}
.footer-logo-text .logo-accent { color: var(--primary-light); }

/* Tagline */
.footer-tagline {
  font-size: 1rem; color: rgba(255,255,255,0.45);
  margin-bottom: 32px; max-width: 380px; line-height: 1.6;
}

/* CTA button */
.footer-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gradient); color: #fff;
  padding: 14px 32px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 32px rgba(76,99,210,0.4);
  transition: var(--t); margin-bottom: 28px;
}
.footer-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(76,99,210,0.55); }

/* Badges */
.footer-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.footer-badge {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-full); padding: 6px 14px;
  font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.5);
}
.fb-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.fb-dot.green  { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.fb-dot.blue   { background: #60a5fa; box-shadow: 0 0 6px #60a5fa; }
.fb-dot.purple { background: #a78bfa; box-shadow: 0 0 6px #a78bfa; }
.fb-dot.yellow { background: #fbbf24; box-shadow: 0 0 6px #fbbf24; }

/* Bottom bar */
.footer-bottom-wrap { padding: 20px 0; }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-nav-pills { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-nav-pills a {
  font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.4);
  transition: var(--t);
}
.footer-nav-pills a:hover { color: #fff; }
.fp-sep { color: rgba(255,255,255,0.15); font-size: 0.9rem; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.2); }
.footer-copy strong { color: rgba(255,255,255,0.4); font-weight: 600; }



/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1100px) {
  .themes-grid { grid-template-columns: repeat(4,1fr); }
  .features-bento { grid-template-columns: repeat(2,1fr); }
  .bento-wide { grid-column: span 2; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mockup-wrap { max-width: 560px; margin: 0 auto; }
  .float-badge { display: none; }
  .themes-grid { grid-template-columns: repeat(3,1fr); }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
  .steps-wrap { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); margin: 16px 0; }
}
@media (max-width: 768px) {
  /* Mobile Nav with smooth slide animation */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 0 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s cubic-bezier(0.4,0,0.2,1), transform 0.3s cubic-bezier(0.4,0,0.2,1), padding 0.3s cubic-bezier(0.4,0,0.2,1), max-height 0.3s cubic-bezier(0.4,0,0.2,1);
    gap: 12px;
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    padding: 20px 24px 28px;
    max-height: 450px;
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }
  .mobile-cta-item {
    display: block;
    margin-top: 8px;
    padding: 0 16px;
  }
  .mobile-nav-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Bento adjustments */
  .features-bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }
  .themes-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .install-card { padding: 48px 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  
  /* Mockup inner adjustments */
  .nb-cols { grid-template-columns: 1fr; }
  .nb-col:not(.sites-col) { display: none; }
  
  /* Footer Bottom Centering */
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .footer-nav-pills {
    justify-content: center;
  }
}
@media (max-width: 576px) {
  /* Hide greeting inside browser mockup header to save space and display clocks */
  .nb-greeting { display: none; }
}
@media (max-width: 480px) {
  /* Smaller horizontal padding to maximize content area */
  .container { padding: 0 16px; }

  /* Mobile Chrome Mockup active tab only */
  .chrome-tab:not(.active) { display: none; }

  /* Stretch actions and large buttons to fit small viewports */
  .hero-actions { width: 100%; }
  .btn-primary.btn-lg, .btn-outline.btn-lg {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  .btn-install-big {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1rem;
  }
  
  /* Wrap theme card names nicely */
  .theme-name {
    font-size: 0.72rem;
    padding: 6px 8px;
    flex-wrap: wrap;
  }
}

/* ===========================
   PRIVACY POLICY PAGE STYLES
   =========================== */
.privacy-hero {
  padding: 140px 0 60px;
  background: var(--bg-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.privacy-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.privacy-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}
.privacy-content {
  padding: 80px 0;
  background: #ffffff;
}
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
}
.content-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.content-card h2 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-heading);
  font-size: 1.6rem;
  margin-top: 36px;
  margin-bottom: 16px;
  font-weight: 600;
}
.content-card h2:first-of-type {
  margin-top: 0;
}
.content-card p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.content-card ul {
  list-style: none;
  margin-bottom: 24px;
}
.content-card li {
  position: relative;
  padding-left: 24px;
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 12px;
  line-height: 1.6;
}
.content-card li::before {
  content: "•";
  color: var(--primary);
  font-size: 1.5rem;
  position: absolute;
  left: 4px;
  top: -2px;
}
.content-card code {
  background: var(--bg-blue);
  color: var(--primary-dark);
  padding: 2px 6px;
  border-radius: var(--radius-tiny);
  font-family: monospace;
  font-size: 0.95rem;
}
.link-inline {
  color: var(--primary);
  font-weight: 600;
  transition: var(--t);
  border-bottom: 1.5px solid transparent;
}
.link-inline:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

@media (max-width: 768px) {
  .privacy-hero {
    padding: 110px 0 40px;
  }
  .privacy-hero h1 {
    font-size: 2.2rem;
  }
  .privacy-content {
    padding: 40px 0;
  }
  .content-card {
    padding: 28px 20px;
    border-radius: var(--radius-sm);
  }
  .content-card h2 {
    font-size: 1.35rem;
    margin-top: 28px;
  }
}

/* ===========================
   CONTACT PAGE STYLES
   =========================== */
.contact-hero {
  padding: 140px 0 60px;
  background: var(--bg-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.contact-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.contact-content {
  padding: 80px 0;
  background: #ffffff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-info-card h2 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-heading);
  font-size: 1.6rem;
  margin-bottom: 24px;
  font-weight: 600;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cm-icon {
  background: var(--bg-blue);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.cm-details h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
}
.cm-details p {
  font-size: 0.95rem;
  color: var(--text-body);
}
.cm-details a {
  color: var(--primary);
  font-weight: 600;
  transition: var(--t);
}
.cm-details a:hover {
  color: var(--primary-dark);
}
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-heading);
  transition: var(--t);
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-glow);
}
.form-textarea {
  resize: vertical;
}
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
}

/* === CONTACT FORM STYLES === */
.contact-form-container {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
}

.contact-form-container h2 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-heading);
  font-size: 1.6rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--text-heading);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.required {
  color: #ef4444;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-heading);
  background: #fff;
  transition: var(--t);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(76,99,210,0.1);
}

.form-group textarea {
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

.form-message {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-message.loading {
  background: rgba(76, 99, 210, 0.1);
  color: var(--primary);
  border: 1px solid var(--border-blue);
}

.btn-submit {
  align-self: flex-start;
  margin-top: 8px;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-checkbox-group {
  margin-top: 28px;
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text-body);
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .contact-hero {
    padding: 110px 0 40px;
  }
  .contact-hero h1 {
    font-size: 2.2rem;
  }
  .contact-content {
    padding: 40px 0;
  }
  .contact-info-card, .contact-form-card, .contact-form-container {
    padding: 28px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
