/*
Theme Name: NISMC CRM Theme
Theme URI: https://nismc.in/
Author: NISMC - National Institute of Stock Market Courses
Author URI: https://nismc.in/
Description: A premium, glassmorphism front-end for the NISMC CRM. Provides an institute landing page, a staff login that opens the CRM dashboard, and surfaces NISMC CRM plugin options (institute info, live student/revenue counts). Pairs with the NISMC CRM and NISMC Fee Receipt Generator plugins.
Version: 1.0.0
Requires at least: 5.8
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: nismc-crm-theme
Tags: education, business, custom-logo, custom-menu, featured-images, full-width-template, translation-ready
*/

:root {
	--nt-bg: #f3f7f5;
	--nt-ink: #102a20;
	--nt-muted: #5d6b66;
	--nt-accent: #168a4f;
	--nt-accent-2: #0d6b6b;
	--nt-deep: #11532e;
	--nt-surface: rgba(255, 255, 255, 0.66);
	--nt-border: rgba(17, 83, 46, 0.14);
	--nt-shadow: 0 18px 48px rgba(13, 59, 40, 0.14);
	--nt-radius: 20px;
	--nt-display: "Fraunces", Georgia, "Times New Roman", serif;
	--nt-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--nt-body);
	color: var(--nt-ink);
	background:
		radial-gradient(1100px 520px at 92% -8%, #d6f0e3, transparent 60%),
		radial-gradient(820px 480px at -8% 8%, #dcebf7, transparent 55%),
		var(--nt-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--nt-accent); text-decoration: none; }
img { max-width: 100%; height: auto; }

.nt-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* glass */
.nt-glass {
	background: var(--nt-surface);
	border: 1px solid var(--nt-border);
	border-radius: var(--nt-radius);
	box-shadow: var(--nt-shadow);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

/* header */
.nt-site-header {
	position: sticky; top: 0; z-index: 50;
	backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.7);
	border-bottom: 1px solid var(--nt-border);
}
.nt-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1140px; margin: 0 auto; }
.nt-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: 0.5px; color: var(--nt-deep); }
.nt-brand .nt-logo-badge { background: linear-gradient(135deg, var(--nt-deep), var(--nt-accent-2)); color: #fff; padding: 7px 12px; border-radius: 12px; font-size: 15px; letter-spacing: 2px; }
.nt-nav { display: flex; align-items: center; gap: 26px; }
.nt-nav a { color: var(--nt-ink); font-weight: 600; font-size: 14.5px; }
.nt-nav a:hover { color: var(--nt-accent); }
.nt-nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }

/* buttons */
.nt-btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: linear-gradient(135deg, var(--nt-accent), var(--nt-accent-2));
	color: #fff; font-weight: 700; font-size: 14.5px;
	padding: 12px 22px; border-radius: 12px; border: none; cursor: pointer;
	box-shadow: 0 8px 22px rgba(22, 138, 79, 0.32); transition: transform .14s ease, box-shadow .14s ease;
}
.nt-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22, 138, 79, 0.4); color: #fff; }
.nt-btn-ghost { background: transparent; color: var(--nt-deep); border: 1.6px solid var(--nt-border); box-shadow: none; }
.nt-btn-ghost:hover { background: rgba(22, 138, 79, 0.08); color: var(--nt-deep); }

/* hero */
.nt-hero { padding: 84px 0 60px; }
.nt-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.nt-eyebrow { display: inline-block; font-weight: 700; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--nt-accent-2); background: rgba(13,107,107,0.1); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.nt-hero h1 { font-family: var(--nt-display); font-weight: 600; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; margin: 0 0 18px; letter-spacing: -0.5px; }
.nt-hero h1 em { font-style: italic; color: var(--nt-accent); }
.nt-hero p.nt-lede { font-size: 18px; color: var(--nt-muted); max-width: 520px; margin: 0 0 30px; }
.nt-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero card */
.nt-hero-card { padding: 26px; }
.nt-hero-card h3 { margin: 0 0 16px; font-size: 15px; letter-spacing: 0.4px; color: var(--nt-muted); text-transform: uppercase; }
.nt-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nt-stat { padding: 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(22,138,79,0.1), rgba(13,107,107,0.08)); }
.nt-stat .nt-stat-val { font-family: var(--nt-display); font-size: 30px; font-weight: 600; line-height: 1; }
.nt-stat .nt-stat-lbl { font-size: 12.5px; color: var(--nt-muted); margin-top: 6px; }

/* sections */
.nt-section { padding: 64px 0; }
.nt-section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.nt-section-head h2 { font-family: var(--nt-display); font-weight: 600; font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 12px; letter-spacing: -0.4px; }
.nt-section-head p { color: var(--nt-muted); font-size: 16.5px; margin: 0; }

/* feature grid */
.nt-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nt-feature { padding: 26px; transition: transform .16s ease; }
.nt-feature:hover { transform: translateY(-4px); }
.nt-feature .nt-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; background: linear-gradient(135deg, rgba(22,138,79,0.16), rgba(13,107,107,0.14)); }
.nt-feature h3 { margin: 0 0 8px; font-size: 18px; }
.nt-feature p { margin: 0; color: var(--nt-muted); font-size: 14.5px; }

/* roles */
.nt-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nt-role { padding: 26px; }
.nt-role h3 { font-family: var(--nt-display); font-weight: 600; margin: 0 0 6px; font-size: 22px; }
.nt-role .nt-role-tag { font-size: 12px; font-weight: 700; color: var(--nt-accent); text-transform: uppercase; letter-spacing: 1px; }
.nt-role ul { margin: 14px 0 0; padding-left: 18px; color: var(--nt-muted); font-size: 14px; }
.nt-role ul li { margin-bottom: 6px; }

/* cta band */
.nt-cta-band { padding: 52px; text-align: center; background: linear-gradient(120deg, var(--nt-deep), var(--nt-accent-2)); color: #fff; border-radius: var(--nt-radius); box-shadow: var(--nt-shadow); }
.nt-cta-band h2 { font-family: var(--nt-display); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 12px; }
.nt-cta-band p { opacity: 0.9; margin: 0 0 24px; font-size: 16px; }
.nt-cta-band .nt-btn { background: #fff; color: var(--nt-deep); }
.nt-cta-band .nt-btn:hover { color: var(--nt-deep); }

/* contact */
.nt-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nt-contact .nt-glass { padding: 22px; text-align: center; }
.nt-contact .nt-ico { font-size: 24px; margin-bottom: 8px; }
.nt-contact .nt-c-lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--nt-muted); }
.nt-contact .nt-c-val { font-weight: 700; margin-top: 4px; word-break: break-word; }

/* login */
.nt-login-shell { min-height: 70vh; display: grid; place-items: center; padding: 60px 0; }
.nt-login-card { width: 100%; max-width: 420px; padding: 34px; }
.nt-login-card h2 { font-family: var(--nt-display); font-weight: 600; margin: 0 0 4px; font-size: 28px; }
.nt-login-card p.nt-sub { color: var(--nt-muted); margin: 0 0 22px; font-size: 14.5px; }
.nt-login-card label { display: block; font-weight: 700; font-size: 13px; margin: 14px 0 6px; }
.nt-login-card input[type="text"], .nt-login-card input[type="password"] { width: 100%; padding: 12px 14px; border: 1px solid var(--nt-border); border-radius: 12px; font-size: 15px; background: #fff; }
.nt-login-card input:focus { outline: none; border-color: var(--nt-accent); box-shadow: 0 0 0 3px rgba(22,138,79,0.16); }
.nt-login-card .nt-btn { width: 100%; justify-content: center; margin-top: 22px; }

/* generic content */
.nt-content { padding: 56px 0; }
.nt-content article { padding: 34px; }
.nt-content h1, .nt-content h2 { font-family: var(--nt-display); font-weight: 600; }
.nt-page-title { font-family: var(--nt-display); font-weight: 600; font-size: 40px; margin: 0 0 24px; }

/* footer */
.nt-site-footer { margin-top: 40px; padding: 40px 0; border-top: 1px solid var(--nt-border); color: var(--nt-muted); font-size: 14px; }
.nt-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }

/* notice */
.nt-plugin-flag { background: #fff6e6; border: 1px solid #f0d9a8; color: #8a5b00; padding: 12px 18px; border-radius: 12px; font-size: 14px; text-align: center; margin: 18px auto 0; max-width: 1140px; }

/* responsive */
@media (max-width: 980px) {
	.nt-hero-grid { grid-template-columns: 1fr; gap: 32px; }
	.nt-features, .nt-roles, .nt-contact { grid-template-columns: 1fr; }
	.nt-nav { display: none; }
}
