/*
Theme Name: Nature Tools Bulletproof v2
Theme URI: https://nature-tools.com
Author: Nature Tools
Description: Bulletproof classic PHP theme for Nature Tools. Uses real WordPress pages, no CPT archive conflicts, no Elementor, no block templates.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: nature-tools-bulletproof-v2
*/

:root {
  --ntbp-bg: #070b09;
  --ntbp-bg-2: #0b1110;
  --ntbp-bg-3: #111816;
  --ntbp-text: #f2f0e7;
  --ntbp-line: rgba(242, 240, 231, 0.12);
  --ntbp-line-strong: rgba(242, 240, 231, 0.22);
  --ntbp-green: #9dad73;
  --ntbp-blue: #8ba8b7;
  --ntbp-sand: #caa174;
  --ntbp-rust: #b98468;
  --ntbp-purple: #cda3c7;
  --ntbp-panel: rgba(13, 18, 18, 0.88);
  --ntbp-max: 1480px;
  --ntbp-gutter: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { margin: 0; background: var(--ntbp-bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ntbp-bg);
  color: var(--ntbp-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
body.ntbp-theme { background: var(--ntbp-bg) !important; color: var(--ntbp-text) !important; }
body.ntbp-theme #page, body.ntbp-theme .site, body.ntbp-theme .wp-site-blocks, body.ntbp-theme .entry-content, body.ntbp-theme .wp-block-post-content { background: transparent !important; }
body.admin-bar .ntbp-home { min-height: calc(100vh - 32px); }
@media (max-width: 782px) { body.admin-bar .ntbp-home { min-height: calc(100vh - 46px); } }

.ntbp-home, .ntbp-page-shell {
  isolation: isolate;
  min-height: 100vh;
  background:
    radial-gradient(circle at 73% 17%, rgba(82, 117, 99, 0.22), transparent 35%),
    radial-gradient(circle at 6% 18%, rgba(157, 173, 115, 0.10), transparent 31%),
    linear-gradient(135deg, var(--ntbp-bg) 0%, var(--ntbp-bg-2) 48%, var(--ntbp-bg-3) 100%);
  color: var(--ntbp-text);
  overflow-x: clip;
}
.ntbp-wrap { width: min(var(--ntbp-max), calc(100vw - var(--ntbp-gutter))); margin-inline: auto; }
.ntbp-nav { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 42px; min-height: 92px; border-bottom: 1px solid var(--ntbp-line); }
.ntbp-brand { display: inline-flex; align-items: center; gap: 14px; min-height: 92px; color: var(--ntbp-text); text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.ntbp-brand__mark { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; border: 1px solid rgba(157, 173, 115, 0.60); color: var(--ntbp-green); background: radial-gradient(circle at 40% 35%, rgba(157, 173, 115, 0.35), transparent 35%), rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 8px 24px rgba(0,0,0,.22); }
.ntbp-brand__mark svg { width: 24px; height: 24px; display: block; }
.ntbp-menu { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.3vw, 36px); min-height: 92px; color: rgba(242, 240, 231, 0.83); font-size: 16px; line-height: 1; }
.ntbp-menu a { color: inherit; text-decoration: none; position: relative; padding: 38px 0 34px; outline-offset: 6px; }
.ntbp-menu a:hover, .ntbp-menu a:focus-visible { color: var(--ntbp-text); }
.ntbp-menu a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 24px; height: 2px; background: var(--ntbp-green); border-radius: 999px; }
.ntbp-route { align-self: start; width: min(460px, 34vw); margin-top: 12px; border: 1px solid var(--ntbp-line); border-radius: 7px; padding: 14px; background: rgba(7, 11, 9, 0.64); box-shadow: inset 0 0 0 1px rgba(255,255,255,.015); color: rgba(242, 240, 231, 0.64); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size: 12px; letter-spacing: 0.16em; line-height: 1.2; text-transform: uppercase; }
.ntbp-route__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.ntbp-route__tags span { border: 1px solid var(--ntbp-line-strong); border-radius: 4px; padding: 6px 9px; color: rgba(242, 240, 231, 0.78); background: rgba(255,255,255,0.025); }

.ntbp-hero { position: relative; min-height: calc(100vh - 92px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(460px, 0.88fr); gap: clamp(36px, 6vw, 96px); align-items: center; padding: clamp(56px, 8vw, 126px) 0 64px; }
.ntbp-hero::before { content: ""; position: absolute; inset: -120px -80px 0 auto; width: 56%; background: linear-gradient(rgba(157, 173, 115, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(157, 173, 115, 0.035) 1px, transparent 1px); background-size: 54px 54px; transform: rotate(-8deg); opacity: 0.52; pointer-events: none; z-index: -1; }
.ntbp-kicker { display: flex; align-items: center; gap: 13px; margin-bottom: 36px; color: var(--ntbp-green); font-size: 14px; font-weight: 720; letter-spacing: 0.16em; line-height: 1; text-transform: uppercase; }
.ntbp-kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.85; }
.ntbp-hero h1 { max-width: 740px; margin: 0; color: var(--ntbp-text); font-size: clamp(64px, 8.2vw, 128px); line-height: 0.95; letter-spacing: -0.075em; font-weight: 520; }
.ntbp-hero p { max-width: 690px; margin: 34px 0 0; color: rgba(242, 240, 231, 0.78); font-size: clamp(19px, 1.55vw, 25px); line-height: 1.48; letter-spacing: -0.03em; }
.ntbp-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 56px; }
.ntbp-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ntbp-text); text-decoration: none; font-size: 17px; font-weight: 560; }
.ntbp-link span { transition: transform 160ms ease; }
.ntbp-link:hover span { transform: translateX(4px); }
.ntbp-live { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--ntbp-line); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; color: rgba(242, 240, 231, 0.72); font-size: 15px; }
.ntbp-live strong { color: rgba(242, 240, 231, 0.54); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.ntbp-dot { width: 7px; height: 7px; border-radius: 999px; display: inline-block; margin-right: 9px; transform: translateY(-1px); }
.ntbp-dot--green { background: var(--ntbp-green); } .ntbp-dot--blue { background: var(--ntbp-blue); } .ntbp-dot--sand { background: var(--ntbp-sand); } .ntbp-dot--rust { background: var(--ntbp-rust); } .ntbp-dot--purple { background: var(--ntbp-purple); }

.ntbp-stage { position: relative; min-height: 620px; display: grid; place-items: center; }
.ntbp-phone { position: relative; width: min(340px, 72vw); height: 690px; border: 10px solid #020404; border-radius: 48px; background: #0b1111; box-shadow: 0 42px 110px rgba(0,0,0,.50), inset 0 0 0 1px rgba(255,255,255,.06); z-index: 2; overflow: hidden; }
.ntbp-phone::before { content: ""; position: absolute; top: 14px; left: 50%; width: 116px; height: 31px; transform: translateX(-50%); border-radius: 0 0 20px 20px; background: #020404; z-index: 3; }
.ntbp-screen { height: 100%; padding: 74px 28px 28px; background: radial-gradient(circle at 70% 10%, rgba(139,168,183,.09), transparent 30%), #0b1111; }
.ntbp-status { display: flex; justify-content: space-between; margin-bottom: 36px; color: rgba(242,240,231,.74); font-size: 13px; }
.ntbp-phone-label { margin-bottom: 10px; color: rgba(242,240,231,.42); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.ntbp-phone-title { margin-bottom: 22px; color: var(--ntbp-text); font-size: 26px; line-height: 1.1; letter-spacing: -.04em; }
.ntbp-bird { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: baseline; padding: 16px 0; border-top: 1px solid rgba(242,240,231,.07); }
.ntbp-bird i { width: 7px; height: 7px; border-radius: 999px; background: var(--ntbp-blue); display: block; align-self: center; }
.ntbp-bird b { color: rgba(242,240,231,.92); font-size: 15px; font-weight: 550; }
.ntbp-bird em { display: block; margin-top: 3px; color: rgba(242,240,231,.48); font-size: 12px; }
.ntbp-bird small { color: rgba(242,240,231,.42); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size: 12px; }
.ntbp-float { position: absolute; z-index: 3; border: 1px solid var(--ntbp-line); background: var(--ntbp-panel); box-shadow: 0 24px 90px rgba(0,0,0,.32); backdrop-filter: blur(14px); }
.ntbp-source { right: 0; top: 29%; width: 250px; padding: 28px; }
.ntbp-log { left: 0; bottom: 22%; width: 270px; padding: 22px 24px; }
.ntbp-card-kicker { display: flex; gap: 11px; align-items: center; margin-bottom: 18px; color: var(--ntbp-blue); font-size: 12px; letter-spacing: .18em; line-height: 1; text-transform: uppercase; }
.ntbp-card-kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.ntbp-float b { display: block; margin-bottom: 7px; color: rgba(242,240,231,.9); font-size: 16px; font-weight: 520; }
.ntbp-float small, .ntbp-float em { color: rgba(242,240,231,.48); font-size: 13px; }

.ntbp-section { border-top: 1px solid var(--ntbp-line); background: #0a0f0d; padding: 88px 0 110px; }
.ntbp-section h2 { margin: 0; color: var(--ntbp-text); font-size: clamp(34px, 4vw, 62px); line-height: 1; letter-spacing: -.055em; font-weight: 560; }
.ntbp-section-intro { max-width: 850px; margin: 18px 0 36px; color: rgba(242,240,231,.68); font-size: 18px; line-height: 1.58; }
.ntbp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ntbp-card { min-height: 220px; border: 1px solid var(--ntbp-line); border-radius: 22px; padding: 22px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); }
.ntbp-card strong { display: block; margin-bottom: 10px; color: var(--ntbp-text); font-size: 18px; }
.ntbp-card p { margin: 0 0 18px; color: rgba(242,240,231,.64); font-size: 14px; line-height: 1.5; }
.ntbp-card a { color: var(--ntbp-green); font-size: 14px; font-weight: 650; text-decoration: none; }

.ntbp-page { min-height: 100vh; background: #0a0f0d; color: var(--ntbp-text); }
.ntbp-page-main { width: min(1100px, calc(100vw - 48px)); margin-inline: auto; padding: 72px 0 96px; }
.ntbp-page-main h1 { margin: 0 0 24px; color: var(--ntbp-text); font-size: clamp(46px, 6vw, 84px); line-height: .98; letter-spacing: -.06em; font-weight: 560; }
.ntbp-page-main h2 { margin: 48px 0 16px; color: var(--ntbp-text); font-size: clamp(30px, 3vw, 48px); line-height: 1; letter-spacing: -.04em; }
.ntbp-page-main p, .ntbp-page-main li { color: rgba(242,240,231,.72); font-size: 18px; line-height: 1.62; }
.ntbp-page-main a { color: var(--ntbp-green); }
.ntbp-page-main .wp-block-list { padding-left: 1.4em; }

.ntbp-footer { border-top: 1px solid var(--ntbp-line); background: #070b09; padding: 42px 0; color: rgba(242,240,231,.58); }
.ntbp-footer-grid { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.ntbp-footer a { color: rgba(242,240,231,.72); text-decoration: none; margin-right: 18px; }

@media (max-width: 1180px) { .ntbp-route { display: none; } .ntbp-nav { grid-template-columns: auto 1fr; } .ntbp-menu { justify-content: flex-end; } .ntbp-hero { grid-template-columns: 1fr; min-height: auto; } .ntbp-stage { min-height: 560px; } .ntbp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { :root { --ntbp-gutter: 32px; } .ntbp-nav { min-height: 78px; grid-template-columns: 1fr; } .ntbp-brand { min-height: 78px; } .ntbp-menu { display: none; } .ntbp-hero { padding: 54px 0 48px; } .ntbp-hero h1 { font-size: clamp(54px, 18vw, 74px); } .ntbp-hero p { font-size: 18px; } .ntbp-stage { transform: scale(.86); transform-origin: top center; min-height: 610px; } .ntbp-source { right: -18px; } .ntbp-log { left: -20px; } .ntbp-grid { grid-template-columns: 1fr; } .ntbp-footer a { display: inline-block; margin-top: 12px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
