/* ============================================================
   Ndn Inc Solutions — style.css
   Corporate Tech aesthetic: Deep Navy · Slate Grey · Electric Blue
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
	--navy: #0a0f2c;
	--navy-mid: #0d1540;
	--navy-light: #1a2355;
	--slate: #64748b;
	--slate-light: #94a3b8;
	--blue: #2563eb;
	--blue-bright: #3b82f6;
	--blue-glow: #60a5fa;
	--white: #f8fafc;
	--off-white: #e2e8f0;
	--text-body: #cbd5e1;
	--text-muted: #94a3b8;
	--border: rgba(255, 255, 255, 0.08);
	--card-bg: rgba(255, 255, 255, 0.04);
	--radius: 10px;
	--radius-lg: 18px;
	--transition: 0.25s ease;
	--shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
	--shadow-blue: 0 4px 32px rgba(37, 99, 235, 0.28);
	--max-width: 1200px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: 'Inter', system-ui, sans-serif;
	background: var(--navy);
	color: var(--text-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--blue-bright);
	text-decoration: none;
	transition: color var(--transition);
}
a:hover {
	color: var(--blue-glow);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul {
	list-style: none;
}

/* ---------- Utility ---------- */
.container {
	width: 100%;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}
.section {
	padding: 5rem 0;
}
.section--alt {
	background: var(--navy-mid);
}
.section--dark {
	background: var(--navy);
}
.text-center {
	text-align: center;
}
.text-blue {
	color: var(--blue-bright);
}
.badge {
	display: inline-block;
	background: rgba(37, 99, 235, 0.18);
	color: var(--blue-glow);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	margin-bottom: 1rem;
	border: 1px solid rgba(37, 99, 235, 0.3);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
	color: var(--white);
	font-weight: 700;
	line-height: 1.25;
}
h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
	font-size: clamp(1.5rem, 3.5vw, 2.4rem);
}
h3 {
	font-size: 1.2rem;
}

.section-heading {
	text-align: center;
	margin-bottom: 3.5rem;
}
.section-heading h2 {
	margin-bottom: 0.75rem;
}
.section-heading p {
	color: var(--text-muted);
	max-width: 540px;
	margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.75rem;
	border-radius: var(--radius);
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all var(--transition);
	letter-spacing: 0.01em;
}
.btn-primary {
	background: var(--blue);
	color: #fff;
	border-color: var(--blue);
}
.btn-primary:hover {
	background: var(--blue-bright);
	border-color: var(--blue-bright);
	box-shadow: var(--shadow-blue);
	color: #fff;
	transform: translateY(-1px);
}
.btn-outline {
	background: transparent;
	color: var(--white);
	border-color: var(--border);
}
.btn-outline:hover {
	border-color: var(--blue-bright);
	color: var(--blue-bright);
}
.btn-sm {
	padding: 0.5rem 1.25rem;
	font-size: 0.875rem;
}

/* ---------- Navbar ---------- */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(10, 15, 44, 0.85);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
	transition: background var(--transition);
}
.navbar.scrolled {
	background: rgba(10, 15, 44, 0.97);
}

.navbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 70px;
}

.navbar__brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
}
.navbar__logo-icon {
	width: 36px;
	height: 36px;
	background: var(--blue);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.navbar__logo-icon svg {
	width: 20px;
	height: 20px;
	fill: #fff;
}
.navbar__brand-text {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--white);
}
.navbar__brand-text span {
	color: var(--blue-bright);
}

.navbar__links {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
.navbar__links a {
	color: var(--text-body);
	font-size: 0.9rem;
	font-weight: 500;
	padding: 0.45rem 0.9rem;
	border-radius: 6px;
	transition: all var(--transition);
}
.navbar__links a:hover,
.navbar__links a.active {
	color: var(--white);
	background: rgba(255, 255, 255, 0.07);
}

.navbar__cta {
	margin-left: 1rem;
}

.navbar__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.25rem;
}
.navbar__toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--white);
	border-radius: 2px;
	transition: all var(--transition);
}

/* Mobile nav */
@media (max-width: 768px) {
	.navbar__links,
	.navbar__cta {
		display: none;
	}
	.navbar__toggle {
		display: flex;
	}
	.navbar__links.open {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		position: absolute;
		top: 70px;
		left: 0;
		right: 0;
		background: var(--navy-mid);
		border-bottom: 1px solid var(--border);
		padding: 1rem 1.5rem 1.5rem;
	}
	.navbar__links.open + .navbar__cta {
		display: block;
		padding: 0 1.5rem 1rem;
	}
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding-top: 70px;
}
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(
		135deg,
		var(--navy) 0%,
		var(--navy-mid) 60%,
		#0c1a4a 100%
	);
}
.hero__bg-img {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.15;
}
.hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to right,
		rgba(10, 15, 44, 0.95) 45%,
		rgba(10, 15, 44, 0.4)
	);
}
.hero__content {
	position: relative;
	z-index: 2;
	max-width: 680px;
}
.hero__content h1 {
	margin-bottom: 1.25rem;
}
.hero__content p {
	font-size: 1.15rem;
	color: var(--text-muted);
	margin-bottom: 2rem;
	max-width: 560px;
}
.hero__actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}
.hero__stats {
	display: flex;
	gap: 2.5rem;
	margin-top: 3.5rem;
	flex-wrap: wrap;
}
.hero__stat strong {
	display: block;
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--white);
}
.hero__stat span {
	font-size: 0.85rem;
	color: var(--text-muted);
}

/* ---------- Trust Bar ---------- */
.trust-bar {
	background: var(--navy-light);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 1.25rem 0;
}
.trust-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2.5rem;
	flex-wrap: wrap;
}
.trust-item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-muted);
}
.trust-item svg {
	width: 18px;
	height: 18px;
	color: var(--blue-bright);
	flex-shrink: 0;
}

/* ---------- Feature Cards ---------- */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
}
.feature-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2rem;
	transition: all var(--transition);
}
.feature-card:hover {
	border-color: rgba(37, 99, 235, 0.4);
	transform: translateY(-4px);
	box-shadow: var(--shadow-blue);
}
.feature-card__icon {
	width: 48px;
	height: 48px;
	background: rgba(37, 99, 235, 0.15);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
}
.feature-card__icon svg {
	width: 24px;
	height: 24px;
	color: var(--blue-bright);
}
.feature-card h3 {
	margin-bottom: 0.5rem;
}
.feature-card p {
	font-size: 0.9rem;
	color: var(--text-muted);
}

/* ---------- Pricing Cards ---------- */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	align-items: start;
}
.pricing-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2rem;
	position: relative;
	transition: all var(--transition);
}
.pricing-card:hover {
	border-color: rgba(37, 99, 235, 0.35);
	box-shadow: var(--shadow);
}
.pricing-card--featured {
	border-color: var(--blue);
	background: rgba(37, 99, 235, 0.08);
}
.pricing-card--featured::before {
	content: 'Most Popular';
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--blue);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 0.2rem 0.9rem;
	border-radius: 999px;
}
.pricing-card__name {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.5rem;
}
.pricing-card__price {
	display: flex;
	align-items: baseline;
	gap: 0.25rem;
	margin-bottom: 1.25rem;
}
.pricing-card__price strong {
	font-size: 2.4rem;
	font-weight: 800;
	color: var(--white);
}
.pricing-card__price span {
	font-size: 0.9rem;
	color: var(--text-muted);
}
.pricing-card__features {
	margin: 1.25rem 0 1.75rem;
}
.pricing-card__features li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.45rem 0;
	font-size: 0.9rem;
	color: var(--text-body);
	border-bottom: 1px solid var(--border);
}
.pricing-card__features li:last-child {
	border-bottom: none;
}
.pricing-card__features li svg {
	width: 16px;
	height: 16px;
	color: var(--blue-bright);
	flex-shrink: 0;
}
.pricing-card .btn {
	width: 100%;
	justify-content: center;
}

/* ---------- Server Specs Table ---------- */
.specs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}
.specs-table th,
.specs-table td {
	padding: 0.9rem 1.25rem;
	text-align: left;
	border-bottom: 1px solid var(--border);
}
.specs-table th {
	background: rgba(37, 99, 235, 0.1);
	color: var(--white);
	font-weight: 600;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.specs-table tr:hover td {
	background: rgba(255, 255, 255, 0.025);
}
.specs-table td:first-child {
	font-weight: 600;
	color: var(--white);
}

/* ---------- Image Section ---------- */
.img-section {
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.img-section img {
	width: 100%;
	height: 420px;
	object-fit: cover;
}

/* ---------- Split Layout ---------- */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}
.split--reverse .split__img {
	order: 1;
}
@media (max-width: 900px) {
	.split {
		grid-template-columns: 1fr;
	}
	.split--reverse .split__img {
		order: 0;
	}
}
.split__img img {
	width: 100%;
	height: 380px;
	object-fit: cover;
	border-radius: var(--radius-lg);
}
.split__text .badge {
	margin-bottom: 1rem;
}
.split__text h2 {
	margin-bottom: 1rem;
}
.split__text p {
	color: var(--text-muted);
	margin-bottom: 1.5rem;
}
.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	padding: 0.35rem 0;
	font-size: 0.92rem;
}
.check-list li svg {
	width: 18px;
	height: 18px;
	color: var(--blue-bright);
	flex-shrink: 0;
	margin-top: 0.1rem;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}
.testimonial-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2rem;
}
.testimonial-card__stars {
	color: #fbbf24;
	font-size: 1rem;
	margin-bottom: 0.75rem;
}
.testimonial-card__text {
	font-size: 0.92rem;
	color: var(--text-body);
	margin-bottom: 1.25rem;
	font-style: italic;
}
.testimonial-card__author strong {
	display: block;
	font-size: 0.9rem;
	color: var(--white);
}
.testimonial-card__author span {
	font-size: 0.8rem;
	color: var(--text-muted);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
	background: linear-gradient(135deg, var(--navy-light) 0%, #0c1a50 100%);
	border: 1px solid rgba(37, 99, 235, 0.3);
	border-radius: var(--radius-lg);
	padding: 3.5rem;
	text-align: center;
}
.cta-banner h2 {
	margin-bottom: 0.75rem;
}
.cta-banner p {
	color: var(--text-muted);
	margin-bottom: 2rem;
}
.cta-banner__actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---------- About Team ---------- */
.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
}
.team-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	text-align: center;
}
.team-card__avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(37, 99, 235, 0.2);
	margin: 0 auto 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--blue-bright);
}
.team-card h3 {
	font-size: 1rem;
	margin-bottom: 0.2rem;
}
.team-card span {
	font-size: 0.82rem;
	color: var(--text-muted);
}

/* ---------- Contact Form ---------- */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 3.5rem;
	align-items: start;
}
@media (max-width: 900px) {
	.contact-grid {
		grid-template-columns: 1fr;
	}
}
.contact-info__item {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.75rem;
}
.contact-info__item-icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	background: rgba(37, 99, 235, 0.15);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.contact-info__item-icon svg {
	width: 20px;
	height: 20px;
	color: var(--blue-bright);
}
.contact-info__item-text strong {
	display: block;
	color: var(--white);
	font-size: 0.9rem;
	margin-bottom: 0.2rem;
}
.contact-info__item-text span {
	font-size: 0.875rem;
	color: var(--text-muted);
}

.form-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2.25rem;
}
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
@media (max-width: 600px) {
	.form-row {
		grid-template-columns: 1fr;
	}
}
.form-group {
	margin-bottom: 1.25rem;
}
.form-group label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-body);
	margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.7rem 1rem;
	color: var(--white);
	font-family: inherit;
	font-size: 0.9rem;
	transition: border-color var(--transition);
	outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-group textarea {
	resize: vertical;
	min-height: 120px;
}
.form-group select option {
	background: var(--navy-mid);
	color: var(--white);
}
.form-note {
	font-size: 0.78rem;
	color: var(--text-muted);
	margin-top: 0.4rem;
}

/* ---------- Legal Pages ---------- */
.legal-content {
	max-width: 800px;
	margin: 0 auto;
}
.legal-content h2 {
	margin: 2.5rem 0 0.75rem;
	font-size: 1.3rem;
	color: var(--white);
}
.legal-content h3 {
	margin: 1.75rem 0 0.5rem;
	font-size: 1.05rem;
	color: var(--off-white);
}
.legal-content p {
	margin-bottom: 1rem;
	font-size: 0.93rem;
	color: var(--text-body);
}
.legal-content ul {
	margin: 0.75rem 0 1rem 1.25rem;
}
.legal-content ul li {
	list-style: disc;
	font-size: 0.93rem;
	color: var(--text-body);
	margin-bottom: 0.4rem;
}
.legal-effective {
	background: rgba(37, 99, 235, 0.1);
	border-left: 4px solid var(--blue);
	padding: 0.75rem 1.25rem;
	border-radius: 0 var(--radius) var(--radius) 0;
	margin-bottom: 2rem;
	font-size: 0.875rem;
	color: var(--text-muted);
}

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
	padding: 8rem 0 4rem;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
	border-bottom: 1px solid var(--border);
	text-align: center;
}
.page-hero h1 {
	margin-bottom: 0.75rem;
}
.page-hero p {
	color: var(--text-muted);
	max-width: 560px;
	margin: 0 auto;
	font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.footer {
	background: #060b1f;
	border-top: 1px solid var(--border);
	padding: 4rem 0 2rem;
}
.footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 2.5rem;
	margin-bottom: 3rem;
}
@media (max-width: 900px) {
	.footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 560px) {
	.footer__grid {
		grid-template-columns: 1fr;
	}
}

.footer__brand p {
	font-size: 0.875rem;
	color: var(--text-muted);
	margin-top: 0.75rem;
	max-width: 280px;
	line-height: 1.7;
}
.footer__col h4 {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--slate-light);
	margin-bottom: 1rem;
}
.footer__col ul li {
	margin-bottom: 0.5rem;
}
.footer__col ul li a {
	font-size: 0.875rem;
	color: var(--text-muted);
	transition: color var(--transition);
}
.footer__col ul li a:hover {
	color: var(--blue-bright);
}

.footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	border-top: 1px solid var(--border);
	padding-top: 1.75rem;
	font-size: 0.8rem;
	color: var(--text-muted);
}
.footer__bottom-links {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.footer__bottom-links a {
	color: var(--text-muted);
	font-size: 0.8rem;
}
.footer__bottom-links a:hover {
	color: var(--blue-bright);
}

/* ---------- Misc ---------- */
.tag {
	display: inline-block;
	background: rgba(37, 99, 235, 0.15);
	color: var(--blue-glow);
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.2rem 0.65rem;
	border-radius: 4px;
	margin-right: 0.4rem;
}
.divider {
	border: none;
	border-top: 1px solid var(--border);
	margin: 3rem 0;
}
.uptime-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(16, 185, 129, 0.12);
	color: #34d399;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	border: 1px solid rgba(16, 185, 129, 0.25);
}
.uptime-badge::before {
	content: '';
	width: 8px;
	height: 8px;
	background: #34d399;
	border-radius: 50%;
	animation: pulse 2s infinite;
}
@keyframes pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.35;
	}
}

/* ---------- Responsive Helpers ---------- */
@media (max-width: 768px) {
	.section {
		padding: 3.5rem 0;
	}
	.hero__stats {
		gap: 1.5rem;
	}
	.cta-banner {
		padding: 2.5rem 1.5rem;
	}
	.specs-table {
		display: block;
		overflow-x: auto;
	}
}
