/*
Theme Name: iSecureGuard
Theme URI: https://wp.freepdftxt.com/
Author: mamuniu06
Author URI: https://wp.freepdftxt.com/
Description: The official landing theme for the iSecure Guard WordPress security plugin. A dark, cinematic security-ops look with an animated shield, live protection log, glowing stats, and feature showcase — ready the moment you activate it.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: isecureguard
Tags: blog, one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, dark
*/

/* ============ Tokens ============ */
:root {
	--bg: #0a0f1e;
	--bg-2: #0d1428;
	--surface: #121b33;
	--surface-2: #182342;
	--line: #24314f;
	--ink: #e8eefb;
	--muted: #8b97ad;
	--teal: #2dd4bf;
	--teal-dim: rgba(45, 212, 191, 0.12);
	--amber: #f5a623;
	--danger: #f0655a;
	--radius: 16px;
	--glow: 0 0 40px rgba(45, 212, 191, 0.25);
	--font-display: "Space Grotesk", system-ui, sans-serif;
	--font-body: "IBM Plex Sans", system-ui, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
	margin: 0;
	background:
		radial-gradient(1000px 500px at 80% -10%, rgba(45, 212, 191, 0.08), transparent 60%),
		radial-gradient(800px 500px at 0% 30%, rgba(63, 94, 251, 0.07), transparent 55%),
		var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.75;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: #6ce6d6; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--amber);
	outline-offset: 2px;
}
h1, h2, h3, h4 {
	font-family: var(--font-display);
	line-height: 1.15;
	color: var(--ink);
	margin: 0 0 0.5em;
	letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.btn, .wp-block-button__link, button, input[type="submit"] {
	display: inline-block;
	background: var(--teal);
	color: #06251f;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	padding: 14px 30px;
	border: 0;
	border-radius: 12px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:hover, button:hover, input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: var(--glow);
	color: #06251f;
}
.btn-ghost {
	background: transparent;
	color: var(--ink);
	border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); box-shadow: none; }

/* ============ Header ============ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(10, 15, 30, 0.8);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 0;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-title {
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 700;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}
.site-title a { color: var(--ink); display: flex; align-items: center; gap: 10px; }
.site-title a:hover { color: var(--teal); }
.site-title .logo-shield {
	width: 34px; height: 34px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--teal-dim);
	border: 1px solid rgba(45, 212, 191, 0.4);
	border-radius: 10px;
	font-size: 1.05rem;
}
.custom-logo { max-height: 44px; width: auto; }

.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
	display: block;
	padding: 9px 15px;
	color: var(--muted);
	font-weight: 500;
	font-size: 0.95rem;
	border-radius: 10px;
}
.main-nav a:hover { color: var(--ink); background: var(--surface); }
.main-nav .current-menu-item > a { color: var(--teal); background: var(--teal-dim); }

.menu-toggle {
	display: none;
	background: transparent;
	color: var(--ink);
	font-size: 1.5rem;
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
}
@media (max-width: 860px) {
	.menu-toggle { display: block; }
	.main-nav { display: none; width: 100%; }
	.main-nav.open { display: block; }
	.main-nav ul { flex-direction: column; padding: 10px 0; }
	.header-inner { flex-wrap: wrap; }
}

/* ============ Hero ============ */
.hero { padding: 90px 0 60px; position: relative; overflow: hidden; }
.hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero .eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--teal);
	background: var(--teal-dim);
	border: 1px solid rgba(45, 212, 191, 0.35);
	padding: 7px 15px;
	border-radius: 999px;
	margin-bottom: 22px;
}
.hero .eyebrow .pulse-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--teal);
	animation: dotpulse 1.6s ease infinite;
}
@keyframes dotpulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6); }
	60% { box-shadow: 0 0 0 8px rgba(45, 212, 191, 0); }
}
.hero h1 .hl {
	background: linear-gradient(92deg, var(--teal), #7ce7ff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero p.lead { font-size: 1.18rem; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-note { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); margin-top: 16px; }

/* Shield visual with pulse rings */
.shield-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; }
.shield-ring {
	position: absolute;
	border: 1px solid rgba(45, 212, 191, 0.25);
	border-radius: 50%;
	animation: ring 4s ease-out infinite;
}
.shield-ring:nth-child(1) { width: 220px; height: 220px; animation-delay: 0s; }
.shield-ring:nth-child(2) { width: 220px; height: 220px; animation-delay: 1.3s; }
.shield-ring:nth-child(3) { width: 220px; height: 220px; animation-delay: 2.6s; }
@keyframes ring {
	0% { transform: scale(1); opacity: 0.9; }
	100% { transform: scale(2.1); opacity: 0; }
}
.shield-core {
	position: relative;
	width: 190px; height: 190px;
	display: flex; align-items: center; justify-content: center;
	font-size: 84px;
	background: radial-gradient(circle at 35% 30%, var(--surface-2), var(--surface));
	border: 1px solid rgba(45, 212, 191, 0.45);
	border-radius: 46px;
	box-shadow: var(--glow), inset 0 0 30px rgba(45, 212, 191, 0.08);
}

/* Live protection log — the signature element */
.live-log {
	margin-top: 34px;
	background: #0a1122;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.live-log .bar {
	display: flex; align-items: center; gap: 8px;
	padding: 11px 16px;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--muted);
}
.live-log .bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.live-log .bar .dot.r { background: #f0655a; } .live-log .bar .dot.y { background: #f5c33b; } .live-log .bar .dot.g { background: #47d78a; }
.live-log .lines { padding: 16px 18px; font-family: var(--font-mono); font-size: 0.82rem; line-height: 2; min-height: 150px; }
.live-log .ok { color: var(--teal); }
.live-log .warn { color: var(--amber); }
.live-log .block { color: var(--danger); }
.live-log .t { color: #55627e; }

/* ============ Stats strip ============ */
.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	padding: 30px 0 10px;
}
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
	text-align: center;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 14px;
}
.stat .num {
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 4vw, 2.5rem);
	font-weight: 700;
	color: var(--teal);
}
.stat .label {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

/* ============ Sections & feature cards ============ */
.section { padding: 84px 0; }
.section-kicker {
	display: block;
	text-align: center;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--amber);
	margin-bottom: 12px;
}
.section-title { text-align: center; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--muted); max-width: 580px; margin: 0 auto 48px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature-card {
	position: relative;
	background: linear-gradient(180deg, var(--surface-2), var(--surface));
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px 28px;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	overflow: hidden;
}
.feature-card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--teal), transparent);
	opacity: 0;
	transition: opacity 0.2s ease;
}
.feature-card:hover {
	transform: translateY(-6px);
	border-color: rgba(45, 212, 191, 0.5);
	box-shadow: var(--glow);
}
.feature-card:hover::before { opacity: 1; }
.feature-card .icon {
	display: inline-flex;
	width: 52px; height: 52px;
	align-items: center; justify-content: center;
	font-size: 1.5rem;
	background: var(--teal-dim);
	border: 1px solid rgba(45, 212, 191, 0.3);
	border-radius: 14px;
	margin-bottom: 16px;
}
.feature-card p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* ============ Download / CTA band ============ */
.cta-band {
	background:
		radial-gradient(600px 200px at 50% 0%, rgba(45, 212, 191, 0.15), transparent 70%),
		var(--surface);
	border: 1px solid var(--line);
	border-radius: 24px;
	text-align: center;
	padding: clamp(40px, 7vw, 72px) 24px;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }

/* ============ Post cards ============ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, border-color 0.2s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: rgba(45, 212, 191, 0.4); }
.post-card .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, #14324a, var(--bg-2)); display: block; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card .meta {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--amber);
}
.post-card h3 { margin: 0; font-size: 1.12rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--teal); }
.post-card p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ============ Content / single ============ */
.content-area { padding: 60px 0; }
.entry {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(26px, 5vw, 56px);
	max-width: 840px;
	margin: 0 auto;
}
.entry-meta { color: var(--muted); font-family: var(--font-mono); font-size: 0.82rem; margin-bottom: 26px; }
.entry img { border-radius: 12px; }
.entry blockquote {
	border-left: 3px solid var(--teal);
	margin: 1.5em 0;
	padding: 0.6em 1.3em;
	background: var(--bg-2);
	border-radius: 0 12px 12px 0;
	color: var(--muted);
}
.entry pre { background: #0a1122; border: 1px solid var(--line); color: #c9e8e3; padding: 20px; border-radius: 12px; overflow-x: auto; font-family: var(--font-mono); font-size: 0.88em; }
.entry code { background: var(--teal-dim); color: var(--teal); padding: 2px 7px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.9em; }
.entry pre code { background: none; color: inherit; padding: 0; }
.page-header { text-align: center; margin-bottom: 44px; }
.page-header .archive-label {
	color: var(--amber);
	font-family: var(--font-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.75rem;
}

/* Pagination, comments, forms */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 46px; }
.pagination .page-numbers {
	padding: 9px 16px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 0.9rem;
}
.pagination .current { background: var(--teal); color: #06251f; border-color: var(--teal); }
.comments-area { max-width: 840px; margin: 40px auto 0; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; }
.comment-list .children { list-style: none; padding-left: 24px; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	font-family: var(--font-body);
	font-size: 1rem;
	background: var(--bg-2);
	color: var(--ink);
}
input:focus, textarea:focus { border-color: var(--teal); }
.search-form { display: flex; gap: 10px; }
.search-form input[type="search"] { flex: 1; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); color: var(--muted); margin-top: 80px; }
.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 56px 0; }
@media (max-width: 860px) { .footer-widgets { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--ink); font-size: 1rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--teal); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.footer-bottom {
	border-top: 1px solid var(--line);
	padding: 22px 0;
	font-size: 0.88rem;
	font-family: var(--font-mono);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

/* Misc */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden;
}
.alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }
.sticky, .bypostauthor { display: block; }
