/* ============================================
   Daytics™ — Shared Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800&display=swap');

/* --- CSS Variables --- */
:root {
  --blue:       #0f6fff;
  --blue-light: #e8f1ff;
  --blue-mid:   #ccdeff;
  --navy:       #0a1a3a;
  --grey-1:     #f5f7fb;
  --grey-2:     #eaeef6;
  --grey-3:     #c2cad8;
  --grey-4:     #7d8fa8;
  --text:       #1a2540;
  --text-soft:  #5a6a82;
  --white:      #ffffff;
  --radius:     14px;
  --radius-lg:  22px;
  --font:       'DM Sans', sans-serif;
  --mono:       'DM Mono', monospace;
  --green:      #22c55e;
  --red:        #ef4444;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--grey-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; }
input, select, textarea { font-family: var(--font); }

/* --- Container --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-2);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}
.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--blue-light);
  color: var(--blue);
  text-decoration: none;
}
.nav-clock {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--grey-1);
  padding: 6px 14px;
  border-radius: 10px;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 12px 20px;
    border-bottom: 1px solid var(--grey-2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-clock { display: none; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
  margin-top: 80px;
  padding-bottom: 100px;
}
@media (min-width: 1024px) {
  .footer { padding-bottom: 32px; }
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-links a {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   ADSENSE SLOTS
   ============================================ */
.ad-slot {
  width: 100%;
  overflow: hidden;
  background: var(--grey-1);
  border-radius: var(--radius);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-top { margin: 20px 0; }
.ad-infeed { margin: 40px 0; }
.ad-sidebar { display: none; }
.ad-mobile-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--white);
  border-top: 1px solid var(--grey-2);
  border-radius: 0;
}
@media (min-width: 1024px) {
  .ad-sidebar { display: block; width: 300px; flex-shrink: 0; }
  .ad-mobile-bottom { display: none; }
  .tool-layout { display: flex; align-items: flex-start; gap: 32px; }
  .tool-main { flex: 1; min-width: 0; }
}

/* ============================================
   TOOL PAGE LAYOUT
   ============================================ */
.tool-page {
  padding: 32px 0 0;
}

/* --- Tool Card / Panel --- */
.tool-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 2px 12px rgba(10,26,58,0.06);
}
.tool-card h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}
.tool-card .lead {
  color: var(--text-soft);
  font-size: 16px;
  margin-bottom: 24px;
}

/* --- Form Elements --- */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--grey-2);
  border-radius: 12px;
  background: var(--grey-1);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15,111,255,0.1);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* --- Toggle / Checkbox --- */
.toggle-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--grey-1);
  border-radius: 12px;
  margin-bottom: 18px;
}
.toggle-field label { margin-bottom: 0; }
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--grey-3);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  top: 3px;
  left: 3px;
  transition: transform 0.2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--blue); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

/* --- Buttons --- */
.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: #0a5ae0; }
.btn-secondary {
  background: var(--blue-light);
  color: var(--blue);
}
.btn-secondary:hover { background: var(--blue-mid); }
.btn-ghost {
  background: var(--grey-1);
  color: var(--text-soft);
}
.btn-ghost:hover { background: var(--grey-2); }
.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
}

/* --- Result Box --- */
.result-box {
  margin-top: 24px;
  padding: 20px;
  background: var(--blue-light);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--navy);
  display: none;
}
.result-box.visible { display: block; }
.result-box .result-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  font-family: var(--mono);
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.result-item {
  background: var(--white);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.result-item .label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.result-item .value {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--mono);
  margin-top: 4px;
}

/* --- Tables --- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.data-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--grey-2);
}
.data-table td {
  padding: 12px 14px;
  font-size: 14px;
  border-bottom: 1px solid var(--grey-2);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--grey-1); }

/* --- Status Badge --- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--blue-light);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 20px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* --- API Badge --- */
.api-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--grey-1);
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 20px;
}
.api-badge a { font-weight: 700; }

/* ============================================
   SEO / FAQ SECTION
   ============================================ */
.seo-section {
  margin-top: 48px;
}
.seo-section h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.seo-section p {
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.7;
}
.faq-list { margin-top: 24px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 10px;
  border: 1px solid var(--grey-2);
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--grey-4);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '-';
}
.faq-item p {
  padding: 0 20px 16px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================
   HOMEPAGE SPECIFIC
   ============================================ */

/* Hero background — shared across all pages */
.hero, .tool-hero, .page-hero {
  background: linear-gradient(rgba(255,255,255,0.6), rgba(245,247,251,0.85)), url('/background.webp') center/cover no-repeat;
  position: relative;
}

/* Tool page hero */
.tool-hero {
  padding: 36px 20px 28px;
  text-align: center;
}
.tool-hero h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 8px;
}
.tool-hero p {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto;
}
.tool-hero-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

/* Blog / other page hero */
.page-hero {
  padding: 32px 20px 24px;
}
.page-hero h1 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 6px;
}
.page-hero p {
  font-size: 15px;
  color: var(--text-soft);
}

/* Homepage hero */
.hero {
  text-align: center;
  padding: 64px 20px 48px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero h1 span { color: var(--blue); }
.hero .tagline {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 540px;
  margin: 0 auto 24px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--mono);
}
.hero-stat .lbl {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 600;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--blue-light);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

/* Live Time Bar */
.time-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  box-shadow: 0 2px 12px rgba(10,26,58,0.06);
  margin: -24px auto 40px;
  max-width: 1000px;
  position: relative;
  z-index: 2;
}
.time-bar-item {
  text-align: center;
}
.time-bar-item .label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.time-bar-item .value {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
}
@media (max-width: 768px) {
  .time-bar { grid-template-columns: repeat(3, 1fr); padding: 16px; }
}
@media (max-width: 480px) {
  .time-bar { grid-template-columns: 1fr 1fr; }
}

/* Tool Cards Grid */
.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 28px;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.tool-link {
  display: block;
  text-decoration: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(10,26,58,0.05);
  transition: all 0.25s;
  border: 1.5px solid transparent;
}
.tool-link:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(15,111,255,0.1);
  transform: translateY(-3px);
  text-decoration: none;
}
.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}
.tool-link h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.tool-link p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
}
.tool-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-live { background: #dcfce7; color: #16a34a; }
.badge-soon { background: var(--grey-2); color: var(--grey-4); }

/* Coming Soon Grid */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 56px;
}
.roadmap-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--grey-2);
  opacity: 0.7;
}
.roadmap-card .phase {
  font-size: 11px;
  font-weight: 700;
  color: var(--grey-4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.roadmap-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.roadmap-card p {
  font-size: 13px;
  color: var(--text-soft);
}

/* Why Daytics Section */
.trust-section {
  padding: 56px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.trust-item {
  text-align: center;
  padding: 28px 20px;
}
.trust-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.trust-item h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.trust-item p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ============================================
   PRIVACY PAGE
   ============================================ */
.privacy-page {
  padding: 48px 0;
}
.privacy-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 2px 12px rgba(10,26,58,0.06);
  max-width: 800px;
  margin: 0 auto;
}
.privacy-card h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.privacy-card .updated {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 28px;
}
.privacy-card h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin: 28px 0 8px;
}
.privacy-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 16px 0 6px;
}
.privacy-card p,
.privacy-card li {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}
.privacy-card ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}
.privacy-card hr {
  border: none;
  border-top: 1px solid var(--grey-2);
  margin: 28px 0;
}
.privacy-card .note {
  font-size: 13px;
  color: var(--grey-4);
}

/* ============================================
   UTILITY
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--text-soft);
}
.breadcrumb a {
  color: var(--blue);
  font-weight: 600;
}
.breadcrumb span {
  margin: 0 6px;
  color: var(--grey-3);
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--grey-3);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast notification */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  z-index: 200;
  transition: transform 0.3s ease;
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 16px 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-banner-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner a {
  color: var(--blue-light);
  text-decoration: underline;
}
.cookie-banner .btn {
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   PWA INSTALL BANNER
   ============================================ */
.install-banner {
  position: fixed;
  bottom: 100px;
  left: 16px;
  right: 16px;
  max-width: 480px;
  margin: 0 auto;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 98;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.install-banner-logo { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.install-banner-content { flex: 1; min-width: 0; }
.install-banner-title { font-size: 0.875rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.install-banner-msg { font-size: 0.78rem; color: rgba(255,255,255,0.7); line-height: 1.4; }
.install-banner-manual { font-size: 0.78rem; color: rgba(255,255,255,0.85); margin-top: 4px; line-height: 1.4; font-weight: 500; }
.install-banner-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.install-banner-btn {
  background: var(--blue); color: #fff; border: none; border-radius: 8px;
  padding: 8px 16px; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  font-family: var(--font); white-space: nowrap; transition: background 0.15s;
}
.install-banner-btn:hover { background: #0058e6; }
.install-banner-close {
  background: transparent; border: none; color: rgba(255,255,255,0.4);
  font-size: 1rem; cursor: pointer; padding: 4px; line-height: 1; transition: color 0.15s;
}
.install-banner-close:hover { color: rgba(255,255,255,0.8); }
@media (min-width: 768px) {
  .install-banner { bottom: 24px; left: auto; right: 24px; width: 360px; margin: 0; }
}
@media (max-width: 1023px) {
  .install-banner { bottom: 100px; }
}

/* Nav Install Button */
.nav-install-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s;
}
.nav-install-btn:hover { background: var(--blue-mid); }

/* ============================================
   TOOL FINDER
   ============================================ */
.tool-finder-section { padding: 0 0 48px; }
.tool-finder {
  background: var(--white);
  border: 1.5px solid var(--grey-2);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 1140px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(10,26,58,0.06);
}
.tool-finder-header { text-align: center; margin-bottom: 20px; }
.tool-finder-icon { font-size: 1.5rem; }
.tool-finder-header h2 { font-size: 1.3rem; font-weight: 600; color: var(--navy); letter-spacing: -0.02em; margin: 8px 0 6px; }
.tool-finder-header p { font-size: 0.875rem; color: var(--text-soft); }
.tool-finder-search { position: relative; margin-bottom: 16px; }
.tool-finder-search input {
  width: 100%; padding: 14px 48px 14px 18px;
  border: 1.5px solid var(--grey-2); border-radius: var(--radius);
  font-size: 0.95rem; font-family: var(--font); color: var(--text);
  background: var(--grey-1); outline: none;
  transition: border-color 0.2s, background 0.2s; box-sizing: border-box;
}
.tool-finder-search input:focus { border-color: var(--blue); background: var(--white); }
.search-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--grey-4); font-size: 1.2rem; pointer-events: none; }
.tool-search-results { border: 1.5px solid var(--grey-2); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; background: var(--white); box-shadow: 0 4px 16px rgba(10,26,58,0.08); }
.search-result-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--grey-2); transition: background 0.15s; }
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--grey-1); text-decoration: none; }
.result-icon { font-size: 1.1rem; width: 24px; text-align: center; }
.result-name { flex: 1; font-size: 0.9rem; font-weight: 500; }
.result-arrow { color: var(--grey-3); transition: color 0.15s; }
.search-result-item:hover .result-arrow { color: var(--blue); }
.no-results { padding: 16px; text-align: center; color: var(--text-soft); font-size: 0.875rem; }
.tool-finder-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.finder-cat {
  background: var(--grey-1); border: 1.5px solid var(--grey-2);
  border-radius: 999px; padding: 6px 14px;
  font-size: 0.82rem; font-weight: 500; color: var(--text-soft);
  cursor: pointer; font-family: var(--font); transition: all 0.15s;
}
.finder-cat:hover, .finder-cat.active { background: var(--blue-light); border-color: var(--blue-mid); color: var(--blue); }
.tool-finder-popular { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; }
.popular-label { color: var(--text-soft); font-weight: 500; }
.tool-finder-popular a { color: var(--blue); text-decoration: none; background: var(--blue-light); padding: 3px 10px; border-radius: 999px; transition: background 0.15s; }
.tool-finder-popular a:hover { background: var(--blue-mid); text-decoration: none; }
