/*
Theme Name: Dev-Noman-Theme
Theme URI: https://nomanakhter.com
Author: Al Nomani LLC
Author URI: https://nomanakhter.com
Description: A blue, panel-style WordPress theme built for SMM / digital-service reseller panels. Designed to pair with the Nomani SMM Panel plugin. Bright blue marketing pages up top, a clean light content area underneath so plugin dashboards (wallet, orders, forms) stay perfectly readable.
Version: 1.2.6
Requires at least: 6.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nomani-panel
*/

/* =========================================================
   Tokens
========================================================= */
:root {
	--ink: #1e2a5c;
	--ink-soft: #26327a;
	--ink-line: #34419c;
	--paper: #ffffff;
	--paper-line: #e2e8f0;
	--coral: #4f6ef5;
	--coral-hover: #3f5ce0;
	--teal: #22c55e;
	--text-dim: #dbe4ff;
	--content-bg: #ffffff;
	--content-text: #1f2937;
	--content-border: #e5e7eb;
	--tint: #eef2ff;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	background: var(--content-bg);
	color: var(--content-text);
	line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { color: var(--coral); }

.nsp-display {
	font-family: 'Roboto', Arial, sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -0.01em;
}
.nsp-mono { font-family: 'Roboto Mono', 'Courier New', monospace; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
}

/* =========================================================
   Header (white, site-wide)
========================================================= */
.site-header {
	background: #fff;
	color: var(--ink);
	border-bottom: 1px solid var(--content-border);
}
.nsp-nav {
	max-width: 1120px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 24px;
	flex-wrap: wrap;
	gap: 14px;
}
.nsp-logo {
	font-size: 18px;
	letter-spacing: 0.02em;
	color: var(--ink);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 10px;
}
.nsp-logo img { max-height: 34px; width: auto; }
.nsp-logo em { font-style: normal; color: var(--coral); }

.nsp-nav-links { display: flex; align-items: center; flex-wrap: wrap; }
.nsp-nav-links ul { list-style: none; display: flex; margin: 0; padding: 0; align-items: center; flex-wrap: wrap; }
.nsp-nav-links li { margin: 0; }
.nsp-nav-links a {
	color: var(--ink);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	margin-left: 22px;
	padding: 9px 0;
	border-bottom: 2px solid transparent;
	display: inline-block;
}
.nsp-nav-links a:hover { border-color: var(--coral); color: var(--coral); }
.nsp-auth-links { display: flex; align-items: center; margin-left: 22px; }
.nsp-auth-links a { margin-left: 14px; }
.nsp-btn-primary {
	background: var(--coral) !important;
	color: #fff !important;
	padding: 9px 18px !important;
	border-radius: 3px;
	border-bottom: none !important;
}
.nsp-btn-primary:hover { background: var(--coral-hover) !important; }

/* =========================================================
   Ticker (used on front page)
========================================================= */
.nsp-ticker-wrap {
	background: var(--tint);
	color: var(--ink);
	border-bottom: 1px solid var(--content-border);
	overflow: hidden;
	white-space: nowrap;
	padding: 9px 0;
}
.nsp-ticker-track { display: inline-block; animation: nsp-scroll 26s linear infinite; }
.nsp-ticker-track span { display: inline-block; padding: 0 28px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.nsp-ticker-track span b { color: var(--coral); }
.nsp-ticker-track span.up { color: #16a34a; }
@keyframes nsp-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nsp-ticker-track { animation: none; } }

/* =========================================================
   Hero
========================================================= */
.nsp-hero {
	background: var(--coral);
	color: #fff;
}
.nsp-hero-inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 70px 24px 70px;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 50px;
	align-items: center;
}
.nsp-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
	color: #eafff2; margin-bottom: 18px;
}
.nsp-eyebrow::before {
	content: ''; width: 7px; height: 7px; background: var(--teal); border-radius: 50%;
	display: inline-block; box-shadow: 0 0 0 3px rgba(34,197,94,0.3);
}
.nsp-hero h1 { font-size: clamp(38px, 5.6vw, 60px); line-height: 0.98; margin: 0 0 22px; color: #fff; }
.nsp-hero h1 span { color: #142058; }
.nsp-hero .nsp-sub { font-size: 17px; line-height: 1.6; color: var(--text-dim); max-width: 480px; margin-bottom: 30px; }
.nsp-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.nsp-btn-ghost {
	display: inline-block; font-size: 14px; font-weight: 700; text-decoration: none;
	padding: 15px 26px; border-radius: 3px; border: 1.5px solid rgba(255,255,255,0.55); color: #fff;
}
.nsp-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.12); }
.nsp-hero-ctas .nsp-btn-primary { padding: 15px 26px !important; font-size: 14px; background: #142058 !important; }
.nsp-hero-ctas .nsp-btn-primary:hover { background: #0d1740 !important; }

.nsp-hero-checklist { list-style: none; margin: 0 0 30px; padding: 0; }
.nsp-hero-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-dim); margin-bottom: 10px; }
.nsp-hero-checklist li b { color: #eafff2; }

.nsp-hero-form { background: var(--paper); color: var(--ink); border-radius: 8px; padding: 28px 26px; box-shadow: 0 24px 60px rgba(20,32,88,0.35); }
.nsp-hero-form h3 { margin: 0 0 4px; font-size: 18px; color: var(--content-text); }
.nsp-hero-form > p { margin: 0 0 18px; font-size: 13px; color: #6b7280; }
.nsp-hero-form label { display: block; font-size: 12px; font-weight: 700; margin: 0 0 6px; color: var(--content-text); }
.nsp-hero-form input[type=text], .nsp-hero-form input[type=email], .nsp-hero-form input[type=password] { width: 100%; padding: 11px 12px; margin-bottom: 14px; border: 1px solid var(--paper-line); border-radius: 4px; font-size: 14px; background: #fff; }
.nsp-hero-form button { width: 100%; background: var(--coral); color: #fff; border: none; padding: 12px; border-radius: 4px; font-weight: 700; font-size: 14px; cursor: pointer; }
.nsp-hero-form button:hover { background: var(--coral-hover); }
.nsp-hero-form .nsp-form-foot { margin-top: 14px; font-size: 12.5px; text-align: center; color: #6b7280; }
.nsp-hero-form .nsp-form-foot a { color: var(--coral); font-weight: 600; text-decoration: none; }

/* =========================================================
   Marketing sections (front page)
========================================================= */
.nsp-dark-section { background: var(--tint); color: var(--content-text); }
.nsp-dark-section .container,
.nsp-section-container { max-width: 1120px; margin: 0 auto; padding: 60px 24px; }
.nsp-section-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }
.nsp-section-title { font-size: clamp(26px, 3.4vw, 36px); max-width: 560px; margin: 0 0 40px; color: var(--content-text); }

.nsp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nsp-card { background: #fff; border: 1px solid var(--content-border); border-radius: 8px; padding: 26px 22px; }
.nsp-card .n { font-size: 30px; margin-bottom: 14px; }
.nsp-card h3 { font-size: 15px; letter-spacing: 0.02em; margin: 0 0 8px; color: var(--content-text); }
.nsp-card p { font-size: 13.5px; color: #6b7280; line-height: 1.55; margin: 0; }

.nsp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nsp-step-num {
	font-family: 'Roboto Mono', monospace; font-size: 13px; color: #fff; background: var(--coral);
	border-radius: 50%; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.nsp-step h4 { font-size: 17px; margin: 0 0 8px; color: var(--content-text); }
.nsp-step p { font-size: 13.5px; color: #6b7280; line-height: 1.6; margin: 0; }

.nsp-trust { border-top: 1px solid var(--content-border); border-bottom: 1px solid var(--content-border); display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; }
.nsp-trust div { padding: 30px 24px; text-align: center; border-right: 1px solid var(--content-border); }
.nsp-trust div:last-child { border-right: none; }
.nsp-trust .nsp-mono { font-size: 26px; color: var(--coral); display: block; margin-bottom: 6px; }
.nsp-trust small { font-size: 12px; color: #6b7280; letter-spacing: 0.03em; }

.nsp-cta-final { text-align: center; padding: 80px 24px; background: var(--ink); color: #f1f4ff; }
.nsp-cta-final h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 16px; color: #fff; }
.nsp-cta-final p { color: var(--text-dim); margin: 0 0 28px; }

/* =========================================================
   Light content area (inner pages: page.php, single.php, index.php)
========================================================= */
.nsp-page-banner { background: var(--ink); color: #fff; padding: 46px 24px; }
.nsp-page-banner .nsp-section-container { padding: 0; max-width: 1120px; margin: 0 auto; }
.nsp-page-banner h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); color: #fff; }

.site-content {
	max-width: 1120px;
	margin: 0 auto;
	padding: 20px 24px 80px;
	background: var(--content-bg);
	color: var(--content-text);
}
.nsp-content-card {
	background: #fff;
	border: 1px solid var(--content-border);
	border-radius: 10px;
	padding: 16px 30px 30px;
}
.nsp-post { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--content-border); }
.nsp-post:last-child { border-bottom: none; }
.nsp-post h2 a { color: var(--content-text); text-decoration: none; }
.nsp-post h2 a:hover { color: var(--coral); }
.nsp-post .nsp-meta { font-size: 13px; color: #6b7280; margin: 4px 0 14px; }

/* =========================================================
   Footer
========================================================= */
.site-footer { border-top: 1px solid var(--ink-line); background: var(--ink); color: var(--text-dim); padding: 24px; text-align: center; font-size: 12.5px; }
.site-footer a { color: var(--text-dim); }

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 820px) {
	.nsp-hero-inner { grid-template-columns: 1fr; padding-top: 46px; }
	.nsp-cards, .nsp-steps { grid-template-columns: 1fr; }
	.nsp-trust { grid-template-columns: 1fr; }
	.nsp-trust div { border-right: none; border-bottom: 1px solid var(--content-border); }
	.nsp-nav { flex-direction: column; align-items: flex-start; }
	.nsp-nav-links { width: 100%; justify-content: space-between; }
}

/* =========================================================
   Extended homepage sections (Boostercube-style layout)
========================================================= */
.nsp-stats-light { background: var(--content-bg); border-bottom: 1px solid var(--content-border); display: grid; grid-template-columns: repeat(3,1fr); }
.nsp-stats-light div { padding: 34px 24px; text-align: center; border-right: 1px solid var(--content-border); }
.nsp-stats-light div:last-child { border-right: none; }
.nsp-stats-light .nsp-mono { font-size: 30px; color: var(--coral); display: block; margin-bottom: 6px; }
.nsp-stats-light small { font-size: 12px; color: #6b7280; letter-spacing: 0.03em; text-transform: uppercase; }

.nsp-light-section { background: var(--content-bg); color: var(--content-text); }
.nsp-light-section .nsp-section-container { max-width: 1120px; margin: 0 auto; padding: 60px 24px; }
.nsp-light-section .nsp-section-tag { color: var(--coral); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.nsp-light-section .nsp-section-title { color: var(--content-text); font-size: clamp(26px,3.4vw,36px); max-width: 620px; margin: 0 0 12px; }
.nsp-light-section .nsp-section-desc { color: #6b7280; font-size: 14.5px; max-width: 560px; margin: 0 0 40px; }

.nsp-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.nsp-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.nsp-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.nsp-grid-6 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

.nsp-light-card { background: #fff; border: 1px solid var(--content-border); border-radius: 8px; padding: 24px 20px; }
.nsp-light-card .n { font-size: 26px; margin-bottom: 12px; }
.nsp-light-card h3 { font-size: 15px; margin: 0 0 8px; color: var(--content-text); }
.nsp-light-card h4 { font-size: 14.5px; margin: 0 0 8px; color: var(--content-text); }
.nsp-light-card p { font-size: 13.5px; color: #6b7280; line-height: 1.55; margin: 0; }
.nsp-light-card a.nsp-explore { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--coral); text-decoration: none; }

.nsp-dark-card { background: #fff; border: 1px solid var(--content-border); border-radius: 8px; padding: 24px 20px; }
.nsp-dark-card .n { font-size: 26px; margin-bottom: 12px; }
.nsp-dark-card h3 { font-size: 15px; margin: 0 0 8px; color: var(--content-text); }
.nsp-dark-card p { font-size: 13.5px; color: #6b7280; line-height: 1.55; margin: 0; }

.nsp-testi-card { background: #fff; border: 1px solid var(--content-border); border-radius: 8px; padding: 24px 20px; }
.nsp-testi-card p { font-size: 13.5px; color: #6b7280; line-height: 1.6; margin: 0 0 18px; font-style: italic; }
.nsp-testi-person { display: flex; align-items: center; gap: 10px; }
.nsp-testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.nsp-testi-person strong { display: block; font-size: 13.5px; color: var(--content-text); }
.nsp-testi-person span { font-size: 12px; color: #6b7280; }

.nsp-faq details { border: 1px solid var(--content-border); border-radius: 6px; padding: 16px 18px; margin-bottom: 12px; background: #fff; }
.nsp-faq summary { font-size: 14.5px; font-weight: 700; cursor: pointer; list-style: none; color: var(--content-text); }
.nsp-faq summary::-webkit-details-marker { display: none; }
.nsp-faq summary::after { content: '\2304'; float: right; color: var(--coral); font-weight: 800; font-size: 16px; }
.nsp-faq details[open] summary::after { content: '\2303'; }
.nsp-faq p { font-size: 13.5px; color: #6b7280; margin: 12px 0 0; line-height: 1.6; }

.nsp-country-card { background: #fff; border: 1px solid var(--content-border); border-radius: 8px; padding: 22px 18px; text-align: center; }
.nsp-country-card .flag { font-size: 30px; margin-bottom: 10px; }
.nsp-country-card h4 { font-size: 14px; margin: 0 0 6px; color: var(--content-text); }
.nsp-country-card p { font-size: 12.5px; color: #6b7280; margin: 0; line-height: 1.5; }

.nsp-icon-badge { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.nsp-icon-badge svg { width: 24px; height: 24px; }
.nsp-icon-badge--pink { background: #e1306c; }
.nsp-icon-badge--black { background: #111111; }
.nsp-icon-badge--red { background: #ff0000; }
.nsp-icon-badge--fb { background: #1877f2; }
.nsp-icon-badge--tg { background: #26a5e4; }
.nsp-icon-badge--x { background: #14171a; }
.nsp-icon-badge--brand { background: var(--coral); }

@media (max-width: 820px) {
	.nsp-grid-2, .nsp-grid-3, .nsp-grid-4, .nsp-grid-6 { grid-template-columns: 1fr; }
	.nsp-stats-light { grid-template-columns: 1fr; }
	.nsp-stats-light div { border-right: none; border-bottom: 1px solid var(--content-border); }
}
