/* Always reserve space for vertical scrollbar to avoid navbar "wobble" */
html {
  overflow-y: scroll;
}

body {
  margin: 0;
}


/* ===== BASE ===== */
body {
  min-height: 100vh;
  background: #f8fbff;
  color: #0f172a;
}

.btn {
  font-weight: 500;
}

/* ===== NAVBAR (same on all pages) ===== */

.main-navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

/* Brand logo */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.navbar-brand .brand-zip {
  color: #2f80ff;       /* blue ZIP */
}

.navbar-brand .brand-site {
  color: #000000;       /* black Site */
}

/* Top nav links (ZIP / UNZIP / IMAGE / PDF) */
.top-nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #475569;
}

.top-nav-link:hover {
  color: #111827;
}

/* ===== 6-dot app menu button ===== */
.app-menu-toggle {
  border-radius: 999px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dot-grid {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  grid-template-rows: repeat(2, 4px);
  gap: 3px;
}

.dot-grid span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #495057;
}

/* Dropdown panel styling */
.app-menu-dropdown {
  min-width: 240px;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.app-menu-dropdown .dropdown-header {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #adb5bd;
}

.app-menu-dropdown .dropdown-item {
  font-size: 0.9rem;
  padding: 0.45rem 1rem;
}

/* ===== GENERIC CARD HOVER (no dark global card!) ===== */
.card:hover {
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

/* ===== FEATURE / SECURITY / ABOUT CARDS ===== */

.feature-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
}

.feature-icon {
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e5edff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Small highlight cards if needed */
.feature-mini {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

/* ===== TOOL PAGES (ZIP / UNZIP / IMAGE / PDF) ===== */

body.tool-page {
  background: #f8fbff;
  color: #0f172a;
}

body.tool-page h1,
body.tool-page h2,
body.tool-page h3 {
  color: #0f172a;
}

/* Generic card / panel look */
.tool-shell {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.tool-panel {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 2rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

/* Small muted helper text */
.tool-helper {
  color: #64748b;
  font-size: 0.9rem;
}

/* Keep buttons rounded */
body.tool-page .btn-primary,
body.tool-page .btn-success,
body.tool-page .btn-info,
body.tool-page .btn-dark {
  border-radius: 999px;
  font-weight: 500;
}

/* File lists / result blocks */
.tool-list {
  margin-top: 1rem;
}

.tool-list li {
  color: #0f172a;
}

.tool-error {
  color: #b91c1c;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Security strip (lock notice) */
.tool-security-strip {
  margin-top: 1.5rem;
  background: #fff7ed !important;
  border: 1px solid #fed7aa !important;
  color: #c2410c !important;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== SECURITY PAGE – LIGHT CARDS ===== */

.security-page .card {
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  color: #1f2937 !important;
  border-radius: 16px;
}

.security-page .card h5,
.security-page h4 {
  color: #0f172a !important;
}

.security-page .card p,
.security-page .card li,
.security-page .card ul {
  color: #4b5563 !important;
}

.security-page .check-green {
  color: #22c55e !important;
}

/* ===== ABOUT PAGE – LIGHT THEME ===== */

.about-page {
  background-color: #f9fafb;
}

/* Hero + story text */
.about-page .story-hero h1 {
  color: #0f172a;
}

.about-page .story-hero p,
.about-page .story-section p,
.about-page .story-section li {
  color: #374151;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Badge "My Story" */
.about-page .story-badge {
  background-color: #e0edff;
  color: #1d4ed8;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* Section headings */
.about-page .story-section h2 {
  color: #111827;
}

/* Cards in "What defines my work" */
.about-page .card {
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  color: #1f2937 !important;
}

.about-page .card .card-title {
  color: #111827 !important;
}

.about-page .card .card-text {
  color: #4b5563 !important;
}

/* Values section heading + text */
.about-page .values-section h2 {
  color: #0f172a;
}

.about-page .values-section p {
  color: #6b7280;
}

/* Fix dropdown spacing on About (same as others, but safe) */
.about-page .app-menu-dropdown {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}

.usage-bar {
  background-color: #dfebf8;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.8rem;
}
/* 
.usage-bar {
  background-color: #111827;
  border-bottom: 1px solid #1f2933;
  font-size: 0.8rem;
}
.usage-bar small {
  color: #9ca3af;
} */

/* 6-dot icon */
.dot-grid-icon {
  display: inline-block;
  line-height: 0;
}
.dot-grid-icon span {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 2px;
  border-radius: 50%;
  background-color: #444;
}

/* Apps menu panel */
.apps-menu {
  position: absolute;
  top: 120%;
  right: 0;
  min-width: 220px;
  padding: 0.4rem 0;
  border-radius: 0.75rem;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  z-index: 2000;
  display: none; /* hidden by default */
}

.apps-menu.show {
  display: block;
}

.apps-menu-section-title {
  padding: 0.35rem 1rem 0.15rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.apps-menu-item {
  display: block;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  color: #111827;
  text-decoration: none;
}

.apps-menu-item:hover {
  background-color: #f3f4f6;
}

.apps-menu-divider {
  margin: 0.2rem 0.75rem;
  border-top: 1px solid #e5e7eb;
}

.hero-slab {
  background: #111827;           /* dark gray hero */
}

/* Feature cards polish */
.feature-card {
  background-color: #ffffff;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-emoji {
  font-size: 1.4rem;
}

/* ===== HERO (HOME PAGE) ===== */

.hero {
  background: #0b1220;          /* same dark navy */
  color: #ffffff;
  border-radius: 24px;
  padding: 2.25rem 2.5rem;      /* was probably bigger – reduced */
  margin-top: 2rem;
  margin-bottom: 2rem;          /* less gap before cards */
}

.hero-title {
  font-weight: 700;
  font-size: clamp(2.1rem, 3vw, 2.6rem);  /* slightly smaller + responsive */
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: #e5e7eb;
  max-width: 48rem;
  margin: 0 auto;
}
/* ===== FINAL OVERRIDE: make top banner compact ===== */

.hero {
  background: #0b1220;
  color: #ffffff;
  border-radius: 24px;
  padding: 1.2rem 2rem !important;    /* was very tall – now ~half */
  margin-top: 1.5rem !important;
  margin-bottom: 1.2rem !important;    /* less gap before cards */
}

.hero-title {
  font-weight: 700;
  font-size: 2.3rem !important;        /* smaller than before */
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem !important;
}

.hero-subtitle {
  font-size: 1rem !important;
  color: #e5e7eb;
  max-width: 46rem;
  margin: 0 auto !important;
}

/* Ensure stretched-link stays inside each card only */
.feature-card {
  position: relative;   /* critical for stretched-link */
  overflow: hidden;     /* optional, keeps link box inside rounded corners */
}

.content-card {
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 16px 18px;
}

.content-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.content-card p {
  font-size: 14px;
  color: #333;
  margin-bottom: 0;
  line-height: 1.6;
}







