/* Nado Tech Catalog theme styles */

:root {
	--font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
	--font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

	--ink-950: #070c17;
	--ink-900: #0b1220;
	--ink-800: #121a2e;
	--ink-700: #1a2540;
	--ink-600: #26355a;
	--ink-500: #3a4d7a;

	--mist-400: #94a3b8;
	--mist-300: #b6c2d6;
	--mist-100: #eef2f8;

	--signal-500: #2f8cf5;
	--signal-400: #4fa5ff;
	--signal-300: #7cc4ff;
	--signal-200: #bfe3ff;

	--glass-bg: rgba(18, 26, 46, 0.72);
	--glass-border: rgba(124, 196, 255, 0.14);
	--radius-lg: 20px;
	--radius-md: 12px;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	background: var(--ink-900);
	color: var(--mist-100);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.nt-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.nt-eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--signal-400);
}

.nt-link { color: var(--signal-300); font-size: 14px; font-weight: 500; }
.nt-link:hover { color: var(--signal-200); }

.nt-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.2s ease;
}
.nt-btn-primary { background: var(--signal-500); color: #fff; }
.nt-btn-primary:hover { background: var(--signal-400); }
.nt-btn-outline { border: 1px solid var(--ink-600); color: var(--mist-100); }
.nt-btn-outline:hover { border-color: var(--signal-500); }

/* Header */
.nt-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid transparent;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.nt-header.is-scrolled {
	background: var(--glass-bg);
	backdrop-filter: blur(14px);
	border-bottom-color: var(--glass-border);
}
.nt-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 72px;
}
.nt-brand { display: flex; align-items: center; gap: 10px; }
.nt-brand-mark { height: 34px; width: auto; }
.nt-brand-word { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.nt-accent { color: var(--signal-300); }

.nt-nav { display: none; align-items: center; gap: 32px; }
.nt-nav a { font-size: 14px; font-weight: 500; color: var(--mist-300); }
.nt-nav a:hover { color: var(--mist-100); }

.nt-header-actions { display: flex; align-items: center; gap: 12px; }
.nt-phone-pill {
	display: none;
	border: 1px solid var(--ink-600);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 500;
}
.nt-menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 40px;
	height: 40px;
	border: 1px solid var(--ink-600);
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
	align-items: center;
}
.nt-menu-toggle span { width: 18px; height: 2px; background: var(--mist-100); border-radius: 2px; }

.nt-mobile-nav {
	display: none;
	flex-direction: column;
	background: var(--glass-bg);
	border-top: 1px solid var(--glass-border);
	padding: 12px 20px 20px;
}
.nt-mobile-nav.is-open { display: flex; }
.nt-mobile-nav a { padding: 12px 4px; font-weight: 500; }

@media (min-width: 1024px) {
	.nt-nav { display: flex; }
	.nt-phone-pill { display: inline-flex; align-items: center; }
	.nt-menu-toggle { display: none; }
}

/* Hero */
.nt-hero {
	position: relative;
	border-bottom: 1px solid var(--ink-700);
	padding: 72px 0 96px;
	background:
		radial-gradient(ellipse at top, rgba(124,196,255,0.08), transparent 70%),
		var(--ink-900);
}
.nt-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(47,140,245,0.3);
	background: rgba(47,140,245,0.1);
	color: var(--signal-300);
	border-radius: 999px;
	padding: 7px 15px;
	font-size: 12px;
	font-weight: 500;
}
.nt-hero h1 {
	margin-top: 22px;
	max-width: 720px;
	font-size: 44px;
	line-height: 1.08;
	font-weight: 600;
}
.nt-hero-subtitle { margin-top: 20px; max-width: 540px; font-size: 18px; line-height: 1.6; color: var(--mist-300); }
.nt-hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

@media (min-width: 1024px) { .nt-hero h1 { font-size: 64px; } }

/* Sections */
.nt-section { padding: 72px 0; }
.nt-section-alt { background: var(--ink-950); border-top: 1px solid var(--ink-800); border-bottom: 1px solid var(--ink-800); }
.nt-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.nt-section-head h2 { margin-top: 8px; font-size: 30px; font-weight: 600; }

/* Category grid */
.nt-category-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .nt-category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nt-category-grid { grid-template-columns: repeat(3, 1fr); } }

.nt-category-card {
	display: block;
	border: 1px solid var(--ink-700);
	border-radius: var(--radius-lg);
	padding: 24px;
	background: linear-gradient(160deg, var(--ink-800), var(--ink-900));
	transition: transform 0.2s ease, border-color 0.2s ease;
}
.nt-category-card:hover { transform: translateY(-4px); border-color: rgba(47,140,245,0.5); }
.nt-category-card h3 { font-size: 18px; font-weight: 600; }
.nt-category-card p { margin-top: 6px; font-size: 14px; color: var(--mist-400); }
.nt-category-count { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--signal-400); }

/* Product grid + card */
.nt-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .nt-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .nt-product-grid { grid-template-columns: repeat(4, 1fr); } }

.nt-product-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--ink-700);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: rgba(18,26,46,0.6);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.nt-product-card:hover { transform: translateY(-4px); border-color: rgba(47,140,245,0.5); box-shadow: 0 20px 40px -15px rgba(47,140,245,0.35); }
.nt-product-card-image { position: relative; aspect-ratio: 4/3; background: var(--ink-900); overflow: hidden; }
.nt-product-card-image img { width: 100%; height: 100%; object-fit: cover; }
.nt-product-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ink-500); font-size: 32px; }
.nt-product-card-placeholder.nt-large { font-size: 56px; }
.nt-badge-new {
	position: absolute; top: 12px; left: 12px;
	background: var(--signal-500); color: #fff;
	font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
	border-radius: 999px; padding: 5px 10px;
}
.nt-badge-oos {
	position: absolute; top: 12px; right: 12px;
	background: rgba(7,12,23,0.85); color: var(--mist-300);
	font-size: 10px; font-weight: 500;
	border-radius: 999px; padding: 5px 10px;
}
.nt-product-card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.nt-product-card-brand { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--signal-400); }
.nt-product-card-body h3 { font-size: 15px; font-weight: 600; line-height: 1.3; }
.nt-product-card-body p { margin: 0; font-size: 13px; color: var(--mist-400); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Catalog / archive */
.nt-catalog { padding: 56px 0; }
.nt-catalog-head p { margin-top: 10px; max-width: 560px; font-size: 14px; color: var(--mist-400); }
.nt-catalog-head h1 { margin-top: 6px; font-size: 34px; font-weight: 600; }
.nt-catalog-controls { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
@media (min-width: 1024px) { .nt-catalog-controls { flex-direction: row; align-items: center; justify-content: space-between; } }
.nt-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nt-chip {
	border: 1px solid var(--ink-600);
	color: var(--mist-300);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.15s ease;
}
.nt-chip:hover { border-color: var(--signal-500); }
.nt-chip.is-active { background: var(--signal-500); color: #fff; border-color: var(--signal-500); }
.nt-search-form input {
	width: 100%;
	max-width: 280px;
	background: rgba(18,26,46,0.6);
	border: 1px solid var(--ink-600);
	border-radius: 999px;
	padding: 10px 18px;
	color: var(--mist-100);
	font-size: 14px;
}
.nt-search-form input::placeholder { color: var(--mist-400); }
.nt-empty-state { text-align: center; padding: 90px 20px; }
.nt-empty-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.nt-empty-state p:last-child { max-width: 380px; margin: 0 auto; color: var(--mist-400); font-size: 14px; }

.nt-product-grid { margin-top: 34px; }

/* Single product */
.nt-product-single { padding: 40px 0 80px; }
.nt-breadcrumb { display: flex; gap: 6px; font-size: 12px; color: var(--mist-400); flex-wrap: wrap; }
.nt-breadcrumb a:hover { color: var(--mist-100); }
.nt-product-layout { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 24px; }
@media (min-width: 1024px) { .nt-product-layout { grid-template-columns: 1fr 1fr; gap: 60px; } }

.nt-product-main-image { aspect-ratio: 4/3; border: 1px solid var(--ink-700); border-radius: var(--radius-lg); overflow: hidden; background: rgba(18,26,46,0.6); }
.nt-product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.nt-gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nt-gallery-thumb { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 2px solid var(--ink-700); padding: 0; cursor: pointer; background: none; }
.nt-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nt-gallery-thumb.is-active { border-color: var(--signal-500); }

.nt-product-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.nt-badge-status {
	border: 1px solid var(--ink-600); border-radius: 999px; padding: 5px 12px;
	font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
	color: var(--mist-400);
}
.nt-status-available { color: #34d399; border-color: rgba(52,211,153,0.3); background: rgba(52,211,153,0.1); }
.nt-status-coming_soon { color: #fbbf24; border-color: rgba(251,191,36,0.3); background: rgba(251,191,36,0.1); }

.nt-product-brand { margin-top: 16px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--signal-400); }
.nt-product-info h1 { margin-top: 6px; font-size: 30px; font-weight: 600; }
.nt-product-description { margin-top: 16px; font-size: 15px; line-height: 1.7; color: var(--mist-300); }

.nt-specs-table { margin-top: 30px; border: 1px solid var(--ink-700); border-radius: var(--radius-lg); overflow: hidden; }
.nt-specs-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--ink-700); }
.nt-specs-row:last-child { border-bottom: none; }
.nt-specs-row dt { color: var(--mist-400); margin: 0; }
.nt-specs-row dd { margin: 0; font-weight: 500; text-align: right; }

.nt-product-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.nt-install-box { margin-top: 30px; border: 1px solid var(--ink-700); background: rgba(18,26,46,0.4); border-radius: var(--radius-lg); padding: 20px; }
.nt-install-box h2 { font-size: 16px; font-weight: 600; }
.nt-install-box p { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--mist-300); }
.nt-install-box .nt-link { display: inline-block; margin-top: 14px; }

.nt-product-single .nt-section { padding: 60px 0 0; }
.nt-product-single .nt-section h2 { font-size: 24px; font-weight: 600; margin-bottom: 20px; }

/* Visit CTA */
.nt-visit-cta {
	text-align: center;
	border: 1px solid var(--glass-border);
	background: var(--glass-bg);
	border-radius: 24px;
	padding: 56px 24px;
}
.nt-visit-cta h2 { font-size: 28px; font-weight: 600; }
.nt-visit-cta p { max-width: 460px; margin: 16px auto 28px; color: var(--mist-300); }

/* About */
.nt-about { padding: 64px 0; max-width: 900px; }
.nt-about h1 { margin-top: 8px; font-size: 38px; font-weight: 600; }
.nt-about-tagline { margin-top: 16px; font-size: 18px; color: var(--mist-300); }
.nt-about-body { margin-top: 16px; color: var(--mist-400); line-height: 1.7; }
.nt-contact-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .nt-contact-grid { grid-template-columns: repeat(2, 1fr); } }
.nt-contact-card {
	display: flex; flex-direction: column; gap: 4px;
	border: 1px solid var(--glass-border); background: var(--glass-bg);
	border-radius: var(--radius-lg); padding: 18px;
	transition: border-color 0.2s ease;
}
a.nt-contact-card:hover { border-color: rgba(47,140,245,0.5); }
.nt-contact-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mist-400); }
.nt-contact-value { font-weight: 500; }
.nt-map-embed { margin-top: 36px; border: 1px solid var(--ink-700); border-radius: var(--radius-lg); overflow: hidden; }
.nt-map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Footer */
.nt-footer { margin-top: 60px; border-top: 1px solid var(--ink-700); background: var(--ink-950); }
.nt-footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
@media (min-width: 1024px) { .nt-footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.nt-footer-logo { height: 40px; width: auto; }
.nt-footer-tagline { margin-top: 14px; max-width: 300px; font-size: 14px; color: var(--mist-400); line-height: 1.6; }
.nt-social { margin-top: 20px; display: flex; gap: 10px; }
.nt-social a {
	width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--ink-600); border-radius: 999px; font-size: 11px; font-weight: 700;
	color: var(--mist-300);
}
.nt-social a:hover { border-color: var(--signal-400); color: var(--signal-300); }
.nt-footer-grid h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mist-400); font-weight: 600; }
.nt-footer-grid ul { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.nt-footer-grid li a:hover { color: var(--signal-300); }
.nt-footer-bottom { border-top: 1px solid var(--ink-800); padding: 20px 0; text-align: center; font-size: 12px; color: var(--mist-400); }

.nt-whatsapp-button {
	position: fixed; bottom: 24px; right: 24px; z-index: 40;
	width: 56px; height: 56px; border-radius: 999px;
	background: #25D366; color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 30px rgba(37,211,102,0.45);
	transition: transform 0.15s ease;
}
.nt-whatsapp-button:hover { transform: scale(1.05); }
.nt-whatsapp-ping {
	position: absolute; inset: 0; border-radius: 999px; background: #25D366; opacity: 0.35;
	animation: nt-ping 1.8s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes nt-ping { 75%, 100% { transform: scale(1.7); opacity: 0; } }

/* 404 */
.nt-404 { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 60px 20px; }
.nt-404-code { font-family: var(--font-display); font-size: 60px; font-weight: 600; color: rgba(47,140,245,0.4); }
.nt-404 h1 { font-size: 24px; font-weight: 600; }
.nt-404 p { max-width: 340px; color: var(--mist-400); }

@media (prefers-reduced-motion: reduce) {
	.nt-whatsapp-ping { animation: none; }
	* { transition-duration: 0.01ms !important; }
}
