/*
Theme Name: Toolzology
Theme URI: https://toolzology.lovable.app
Author: Toolzology
Author URI: https://toolzology.lovable.app
Description: Premium one-page SaaS marketplace theme for Toolzology — dark luxury UI, glassmorphism, neon purple + cyan accents, and high-conversion sections (Hero, Tools, Pricing, Services, CTA).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toolzology
Tags: one-page, dark, custom-logo, custom-menu, custom-colors, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   TOOLZOLOGY — DARK LUXURY SAAS THEME
   ========================================================= */

:root {
  --tz-bg: #050816;
  --tz-bg-2: #0a0f25;
  --tz-surface: rgba(255,255,255,0.04);
  --tz-border: rgba(255,255,255,0.10);
  --tz-text: #ffffff;
  --tz-muted: rgba(255,255,255,0.70);
  --tz-purple: #a855f7;
  --tz-fuchsia: #d946ef;
  --tz-cyan: #22d3ee;
  --tz-green: #25d366;
  --tz-radius: 18px;
  --tz-shadow-glow: 0 0 80px -20px rgba(124,58,237,0.55);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--tz-bg);
  color: var(--tz-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: 'Space Grotesk','Inter',sans-serif; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 .5em; }
a { color: var(--tz-cyan); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--tz-fuchsia); }
img { max-width: 100%; height: auto; display: block; }

.tz-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Glassmorphism ===== */
.tz-glass {
  background: var(--tz-surface);
  border: 1px solid var(--tz-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--tz-radius);
}

/* ===== Header ===== */
.tz-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.tz-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.tz-logo { display: flex; align-items: center; gap: 10px; color: #0b1020; font-weight: 800; font-size: 20px; }
.tz-logo img { height: 36px; width: auto; }
.tz-logo-text {
  background: linear-gradient(90deg,#a855f7,#22d3ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tz-menu { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.tz-menu a { color: #0b1020; font-weight: 500; font-size: 15px; }
.tz-menu a:hover { color: var(--tz-purple); }
.tz-burger { display: none; background: none; border: 0; color: #0b1020; font-size: 24px; cursor: pointer; }

@media (max-width: 860px) {
  .tz-burger { display: block; }
  .tz-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    padding: 12px 24px; display: none;
  }
  .tz-menu.is-open { display: flex; }
  .tz-menu li { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
}

/* ===== Buttons ===== */
.tz-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 0; cursor: pointer;
}
.tz-btn-primary {
  background: linear-gradient(135deg,var(--tz-purple),var(--tz-fuchsia),var(--tz-cyan));
  color: #fff; box-shadow: var(--tz-shadow-glow);
}
.tz-btn-primary:hover { transform: translateY(-2px); color: #fff; }
.tz-btn-ghost {
  background: var(--tz-surface); color: #fff;
  border: 1px solid var(--tz-border); backdrop-filter: blur(10px);
}
.tz-btn-ghost:hover { background: rgba(255,255,255,0.10); color: #fff; }

/* ===== Sections ===== */
.tz-section { position: relative; padding: 96px 0; overflow: hidden; }
.tz-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 20% 10%, rgba(168,85,247,0.18), transparent 70%),
    radial-gradient(500px 350px at 90% 80%, rgba(34,211,238,0.12), transparent 70%);
}
.tz-section > * { position: relative; }
.tz-eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--tz-surface); border: 1px solid var(--tz-border);
  color: #d8b4fe; font-size: 12px; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase;
}
.tz-h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 16px; }
.tz-gradient {
  background: linear-gradient(90deg,#c084fc,#e879f9,#22d3ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tz-lead { color: var(--tz-muted); max-width: 640px; margin: 16px auto 0; }
.tz-center { text-align: center; }

/* ===== Hero ===== */
.tz-hero { padding: 120px 0 96px; text-align: center; }
.tz-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05; }
.tz-hero p { color: var(--tz-muted); font-size: 1.15rem; max-width: 720px; margin: 24px auto 32px; }
.tz-hero .tz-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Grids ===== */
.tz-grid { display: grid; gap: 24px; margin-top: 56px; }
.tz-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.tz-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 960px) { .tz-grid-3, .tz-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tz-grid-3, .tz-grid-4 { grid-template-columns: 1fr; } }

.tz-card { padding: 28px; transition: transform .3s ease, border-color .3s ease; }
.tz-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.25); }
.tz-card h3 { font-size: 1.25rem; }
.tz-card p { color: var(--tz-muted); font-size: .95rem; margin: 0; }
.tz-card .tz-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg,var(--tz-purple),var(--tz-cyan));
  display: grid; place-items: center; margin-bottom: 16px; font-size: 22px;
}

/* ===== Pricing ===== */
.tz-price-grid { display: grid; gap: 28px; margin-top: 64px; grid-template-columns: repeat(3,1fr); }
@media (max-width: 900px) { .tz-price-grid { grid-template-columns: 1fr; } }
.tz-price { padding: 36px 28px; position: relative; }
.tz-price.is-popular { transform: scale(1.03); border-color: rgba(168,85,247,0.4); box-shadow: var(--tz-shadow-glow); }
.tz-price .tz-badge {
  position: absolute; top: -12px; right: 24px;
  padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: linear-gradient(90deg,#d946ef,#22d3ee); color: #fff; text-transform: uppercase;
}
.tz-price h3 { font-size: 1.5rem; }
.tz-price .tz-price-amt { font-size: 3rem; font-weight: 800; margin: 12px 0; background: linear-gradient(90deg,#c084fc,#22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tz-price .tz-price-amt small { font-size: 1rem; color: var(--tz-muted); font-weight: 500; }
.tz-price ul { list-style: none; padding: 0; margin: 24px 0 0; }
.tz-price li { padding: 8px 0; color: rgba(255,255,255,0.85); font-size: .95rem; display: flex; gap: 8px; }
.tz-price li::before { content: "✓"; color: var(--tz-cyan); font-weight: 700; }
.tz-price .tz-btn { width: 100%; justify-content: center; margin-top: 24px; }

/* ===== CTA ===== */
.tz-cta { text-align: center; padding: 80px 32px; border-radius: 28px; margin-top: 40px;
  background: linear-gradient(135deg, rgba(168,85,247,0.18), rgba(34,211,238,0.12));
  border: 1px solid var(--tz-border); backdrop-filter: blur(18px);
}
.tz-cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }

/* ===== Footer ===== */
.tz-footer { padding: 56px 0 32px; border-top: 1px solid var(--tz-border); background: #03050f; }
.tz-footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .tz-footer-cols { grid-template-columns: 1fr 1fr; } }
.tz-footer h4 { font-size: 1rem; margin-bottom: 12px; }
.tz-footer a { color: var(--tz-muted); display: block; padding: 4px 0; font-size: .9rem; }
.tz-footer a:hover { color: #fff; }
.tz-footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--tz-border); text-align: center; color: var(--tz-muted); font-size: .85rem; }

/* ===== WhatsApp float ===== */
.tz-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--tz-green); display: grid; place-items: center;
  color: #fff; font-size: 28px;
  box-shadow: 0 10px 40px rgba(37,211,102,0.5);
  animation: tz-pulse 2.5s ease-in-out infinite;
}
.tz-wa:hover { color: #fff; transform: scale(1.08); transition: transform .2s; }
@keyframes tz-pulse {
  0%,100% { box-shadow: 0 10px 40px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 10px 60px rgba(37,211,102,0.9); }
}

/* ===== Reveal on scroll ===== */
.tz-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.tz-reveal.is-visible { opacity: 1; transform: none; }

/* ===== Posts (blog fallback) ===== */
.tz-post { padding: 28px; margin-bottom: 24px; }
.tz-post h2 a { color: #fff; }
.tz-post h2 a:hover { color: var(--tz-fuchsia); }
.tz-post-meta { color: var(--tz-muted); font-size: .85rem; margin-bottom: 12px; }
