/*
Theme Name: NEEZER Apps
Theme URI: https://neezer.sk/
Author: NEEZER s.r.o.
Description: A modern, lightweight WordPress theme for showcasing NEEZER Apps projects with direct links to Google Play, the App Store, and web apps.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neezer-apps
*/

:root {
  --nz-bg: #0b0d12;
  --nz-surface: #121621;
  --nz-surface-2: #171c29;
  --nz-text: #f7f8fb;
  --nz-muted: #a8b0bf;
  --nz-line: rgba(255,255,255,.09);
  --nz-primary: #7c5cff;
  --nz-primary-2: #25c2ff;
  --nz-success: #52d38a;
  --nz-radius: 22px;
  --nz-shadow: 0 24px 80px rgba(0,0,0,.25);
  --nz-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 15% -10%, rgba(124,92,255,.16), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(37,194,255,.10), transparent 24rem),
    var(--nz-bg);
  color: var(--nz-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }

.nz-container { width: min(calc(100% - 40px), var(--nz-container)); margin-inline: auto; }
.nz-section { padding: 96px 0; }
.nz-section--tight { padding: 64px 0; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
}

/* Header */
.nz-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,13,18,.72);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
}
.nz-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nz-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.nz-brand__mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--nz-primary), var(--nz-primary-2));
  display: grid; place-items: center; box-shadow: 0 8px 30px rgba(124,92,255,.25);
  font-size: 15px; font-weight: 900;
}
.nz-brand img.custom-logo { max-height: 42px; width: auto; }
.nz-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nz-nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--nz-muted); font-weight: 650; font-size: 14px; }
.nz-nav a:hover, .nz-nav .current-menu-item > a { color: #fff; background: rgba(255,255,255,.06); }
.nz-nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--nz-line); color: #fff; background: var(--nz-surface); border-radius: 12px; cursor: pointer; }

/* Hero */
.nz-hero { padding: 118px 0 72px; overflow: hidden; }
.nz-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: 72px; }
.nz-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--nz-line); background: rgba(255,255,255,.035); border-radius: 999px; color: #cfd5e2; font-size: 13px; font-weight: 750; }
.nz-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nz-success); box-shadow: 0 0 0 5px rgba(82,211,138,.11); }
.nz-hero h1 { margin: 24px 0 20px; max-width: 780px; font-size: clamp(50px, 7.5vw, 92px); line-height: .97; letter-spacing: -.065em; }
.nz-gradient-text { background: linear-gradient(105deg, #fff 12%, #a9a6ff 53%, #66d9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nz-hero__copy { max-width: 670px; color: var(--nz-muted); font-size: clamp(18px, 2vw, 21px); }
.nz-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.nz-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 18px; border-radius: 13px; border: 1px solid transparent; font-weight: 750; font-size: 14px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.nz-button:hover { transform: translateY(-1px); }
.nz-button--primary { background: linear-gradient(135deg, var(--nz-primary), #6748ef); box-shadow: 0 12px 35px rgba(124,92,255,.25); }
.nz-button--ghost { border-color: var(--nz-line); background: rgba(255,255,255,.035); color: #e8ebf2; }
.nz-button--store { background: #fff; color: #0c0f15; border-color: #fff; }
.nz-button--store:hover { color: #0c0f15; background: #f1f3f7; }
.nz-button svg { width: 18px; height: 18px; }

.nz-showcase { position: relative; min-height: 500px; }
.nz-showcase__glow { position: absolute; inset: 10% 10% 15%; border-radius: 50%; background: linear-gradient(135deg, rgba(124,92,255,.36), rgba(37,194,255,.22)); filter: blur(70px); }
.nz-showcase__card {
  position: absolute; inset: 42px 26px 42px 70px; padding: 26px;
  border: 1px solid rgba(255,255,255,.13); border-radius: 34px;
  background: linear-gradient(160deg, rgba(30,35,51,.94), rgba(15,18,27,.90));
  box-shadow: var(--nz-shadow); transform: rotate(4deg);
}
.nz-showcase__screen { height: 100%; border-radius: 24px; padding: 28px; background: linear-gradient(160deg, #f4f3ff, #d9f4ff); color: #151720; overflow: hidden; }
.nz-showcase__logo { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; color: #fff; font-size: 24px; font-weight: 900; background: linear-gradient(135deg, var(--nz-primary), var(--nz-primary-2)); box-shadow: 0 14px 30px rgba(60,73,198,.25); }
.nz-showcase__screen h3 { margin: 24px 0 8px; font-size: 32px; letter-spacing: -.04em; }
.nz-showcase__screen p { margin: 0; color: #586071; }
.nz-showcase__bars { display: grid; gap: 12px; margin-top: 30px; }
.nz-showcase__bar { height: 60px; border-radius: 16px; background: rgba(255,255,255,.76); border: 1px solid rgba(39,42,57,.08); box-shadow: 0 10px 20px rgba(64,68,96,.06); }
.nz-showcase__mini { position: absolute; right: 0; bottom: 28px; width: 180px; padding: 18px; border: 1px solid rgba(255,255,255,.12); background: rgba(18,22,33,.95); border-radius: 20px; box-shadow: var(--nz-shadow); }
.nz-showcase__mini strong { display: block; font-size: 28px; }
.nz-showcase__mini span { color: var(--nz-muted); font-size: 13px; }

/* Sections */
.nz-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.nz-section-heading h2 { margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.045em; }
.nz-section-heading p { max-width: 560px; margin: 12px 0 0; color: var(--nz-muted); }
.nz-eyebrow { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .14em; color: #aaa2ff; font-weight: 850; font-size: 12px; }

.nz-app-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.nz-app-card { display: flex; flex-direction: column; min-height: 100%; padding: 22px; border: 1px solid var(--nz-line); background: linear-gradient(160deg, rgba(24,28,42,.86), rgba(17,20,30,.96)); border-radius: var(--nz-radius); transition: transform .22s ease, border-color .22s ease; }
.nz-app-card:hover { transform: translateY(-4px); border-color: rgba(167,153,255,.35); }
.nz-app-card__visual { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 17px; background: linear-gradient(140deg, rgba(124,92,255,.28), rgba(37,194,255,.15)); margin-bottom: 21px; }
.nz-app-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.nz-app-card__cover { position: absolute; inset: 0; }
.nz-app-card__logo { position: absolute; left: 13px; bottom: 13px; width: 54px; height: 54px; overflow: hidden; border-radius: 14px; border: 2px solid rgba(255,255,255,.76); background: #111520; box-shadow: 0 8px 24px rgba(0,0,0,.32); }
.nz-app-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.nz-app-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-size: 48px; font-weight: 900; letter-spacing: -.05em; }
.nz-app-card__status { position: absolute; top: 12px; right: 12px; padding: 6px 9px; background: rgba(10,12,18,.78); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; font-size: 11px; font-weight: 800; color: #dce1ea; }
.nz-app-card h3 { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -.025em; }
.nz-app-card__subtitle { color: #c1c7d3; margin: 5px 0 0; font-size: 14px; }
.nz-app-card__excerpt { color: var(--nz-muted); font-size: 14px; margin: 15px 0 20px; flex: 1; }
.nz-app-card__links { display: flex; flex-wrap: wrap; gap: 8px; }
.nz-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid var(--nz-line); background: rgba(255,255,255,.035); border-radius: 10px; color: #d8dde7; font-size: 12px; font-weight: 750; }
.nz-chip:hover { border-color: rgba(255,255,255,.22); }

.nz-principles { border-top: 1px solid var(--nz-line); border-bottom: 1px solid var(--nz-line); background: rgba(255,255,255,.018); }
.nz-principles__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 36px; }
.nz-principle__number { color: #8f84ff; font-weight: 850; font-size: 12px; letter-spacing: .13em; }
.nz-principle h3 { margin: 13px 0 8px; font-size: 21px; }
.nz-principle p { margin: 0; color: var(--nz-muted); font-size: 14px; }

.nz-cta { padding: 80px 0; }
.nz-cta__box { padding: 54px; border-radius: 30px; border: 1px solid rgba(255,255,255,.11); background: linear-gradient(135deg, rgba(124,92,255,.19), rgba(37,194,255,.08) 58%, rgba(255,255,255,.035)); display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.nz-cta__box h2 { max-width: 700px; margin: 0; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -.045em; }
.nz-cta__box p { color: var(--nz-muted); margin: 14px 0 0; }

/* Content */
.nz-page-header { padding: 86px 0 40px; }
.nz-page-header h1 { margin: 0; font-size: clamp(42px, 6vw, 70px); line-height: 1.02; letter-spacing: -.05em; }
.nz-page-header p { max-width: 700px; color: var(--nz-muted); }
.nz-content { width: min(calc(100% - 40px), 820px); margin: 0 auto; padding: 30px 0 90px; }
.nz-content > *:first-child { margin-top: 0; }
.nz-content a { color: #9dbdff; text-decoration: underline; text-underline-offset: 3px; }
.nz-content h2, .nz-content h3 { line-height: 1.2; letter-spacing: -.025em; margin-top: 2em; }
.nz-content blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--nz-primary); color: #d5d9e1; }
.nz-content code { background: #151925; padding: 2px 6px; border-radius: 6px; }
.nz-content pre { overflow: auto; background: #111520; padding: 18px; border-radius: 14px; border: 1px solid var(--nz-line); }

.nz-app-hero { padding: 82px 0 50px; }
.nz-app-hero__grid { display: grid; grid-template-columns: minmax(0,1fr) 420px; gap: 64px; align-items: center; }
.nz-app-icon { width: 110px; height: 110px; border-radius: 28px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--nz-primary), var(--nz-primary-2)); font-size: 38px; font-weight: 900; box-shadow: 0 20px 50px rgba(124,92,255,.24); }
.nz-app-icon img { width: 100%; height: 100%; object-fit: cover; }
.nz-app-hero h1 { margin: 25px 0 8px; font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -.055em; }
.nz-app-hero__subtitle { margin: 0; color: #c4cad5; font-size: 19px; }
.nz-app-hero__desc { max-width: 680px; color: var(--nz-muted); font-size: 17px; margin: 20px 0 0; }
.nz-app-hero__visual { aspect-ratio: 4/5; border: 1px solid var(--nz-line); border-radius: 30px; overflow: hidden; background: linear-gradient(160deg, #171c2a, #10131d); }
.nz-app-hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.nz-app-hero__mock { height: 100%; display: grid; place-items: center; color: #737c8e; font-weight: 750; }

/* App screenshots */
.nz-app-screenshots { padding: 34px 0 58px; overflow: hidden; }
.nz-section-heading--screenshots { margin-bottom: 26px; }
.nz-section-heading--screenshots h2 { font-size: clamp(32px, 4.5vw, 48px); }
.nz-screenshot-track {
  display: flex; gap: 18px; overflow-x: auto; padding: 2px 2px 18px;
  scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.24) transparent;
}
.nz-screenshot-track::-webkit-scrollbar { height: 8px; }
.nz-screenshot-track::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 999px; }
.nz-screenshot {
  flex: 0 0 auto; height: min(68vh, 610px); min-height: 360px; max-width: min(86vw, 760px);
  overflow: hidden; border-radius: 24px; border: 1px solid var(--nz-line); background: var(--nz-surface);
  box-shadow: 0 18px 50px rgba(0,0,0,.18); scroll-snap-align: start;
}
.nz-screenshot img { width: auto; height: 100%; max-width: none; object-fit: contain; background: #0e1119; }


.nz-empty { padding: 28px; border-radius: 18px; border: 1px dashed rgba(255,255,255,.16); color: var(--nz-muted); background: rgba(255,255,255,.02); }

/* Footer */
.nz-footer { padding: 32px 0; border-top: 1px solid var(--nz-line); color: var(--nz-muted); }
.nz-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.nz-footer__nav ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nz-footer__nav a { font-size: 13px; color: var(--nz-muted); }

.pagination, .nav-links { margin-top: 36px; display: flex; gap: 8px; }
.page-numbers { display: inline-flex; min-width: 42px; height: 42px; padding-inline: 12px; align-items: center; justify-content: center; border: 1px solid var(--nz-line); border-radius: 10px; }
.page-numbers.current { background: var(--nz-primary); border-color: var(--nz-primary); }

@media (max-width: 980px) {
  .nz-hero__grid, .nz-app-hero__grid { grid-template-columns: 1fr; }
  .nz-showcase { min-height: 430px; max-width: 590px; }
  .nz-app-hero__visual { max-width: 520px; }
  .nz-app-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nz-principles__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .nz-container { width: min(calc(100% - 28px), var(--nz-container)); }
  .nz-section { padding: 72px 0; }
  .nz-nav-toggle { display: grid; place-items: center; }
  .nz-nav { display: none; position: absolute; top: 76px; left: 14px; right: 14px; padding: 10px; border: 1px solid var(--nz-line); background: rgba(17,20,29,.98); border-radius: 16px; box-shadow: var(--nz-shadow); }
  .nz-nav.is-open { display: block; }
  .nz-nav ul { display: grid; }
  .nz-nav a { padding: 12px 13px; }
  .nz-hero { padding-top: 82px; }
  .nz-hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .nz-showcase__card { inset: 28px 10px 30px 18px; }
  .nz-showcase__mini { right: 4px; }
  .nz-section-heading { display: block; }
  .nz-app-grid { grid-template-columns: 1fr; }
  .nz-cta__box { padding: 34px 25px; display: block; }
  .nz-cta__box .nz-actions { margin-top: 25px; }
  .nz-footer__inner { display: grid; }
  .nz-app-screenshots { padding-top: 20px; }
  .nz-screenshot-track { gap: 12px; margin-right: -14px; padding-right: 14px; }
  .nz-screenshot { height: min(62vh, 520px); min-height: 320px; border-radius: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
