/*
Theme Name:   LiteSpeed Tech
Theme URI:    https://www.litespeedtech.com
Description:  GeneratePress child theme for LiteSpeed Technologies. Brand palette (navy, green, gold), modern CDN/hosting-style layout inspired by litespeedtech.com, cloudlinux.com and leading CDN/hosting sites.
Author:       LiteSpeed Technologies
Template:     generatepress
Version:      1.0.0
Text Domain:  litespeed-tech
*/

/* ---------- Design tokens ---------- */
:root {
	--ls-navy: #0c3474;
	--ls-navy-900: #061a3a;
	--ls-navy-800: #0a2556;
	--ls-blue: #2b68db;
	--ls-green: #729f2f;
	--ls-green-600: #5f8a24;
	--ls-lime: #9bd14a;
	--ls-gold: #ead059;
	--ls-ink: #0f1b2d;
	--ls-slate: #4a5568;
	--ls-muted: #6d6e71;
	--ls-line: #e3e8f0;
	--ls-surface: #f5f7fb;
	--ls-white: #ffffff;
	--ls-radius: 12px;
	--ls-radius-lg: 20px;
	--ls-shadow: 0 2px 8px rgba(12, 52, 116, .06), 0 20px 44px rgba(12, 52, 116, .10);
	--ls-shadow-sm: 0 1px 3px rgba(12, 52, 116, .08);
	--ls-font-head: "Plus Jakarta Sans", "Open Sans", system-ui, sans-serif;
	--ls-font-body: "Inter", "Open Sans", system-ui, sans-serif;
	--ls-font-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- Base ---------- */
body {
	font-family: var(--ls-font-body);
	color: var(--ls-slate);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.main-title,
.entry-title {
	font-family: var(--ls-font-head);
	color: var(--ls-ink);
	letter-spacing: -0.02em;
	line-height: 1.15;
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

a { color: var(--ls-blue); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--ls-green); }

code, pre, kbd { font-family: var(--ls-font-mono); }
pre {
	background: var(--ls-navy-900);
	color: #d6e2ff;
	border-radius: var(--ls-radius);
	padding: 1.25rem 1.5rem;
}

::selection { background: var(--ls-gold); color: var(--ls-ink); }

/* ---------- Top bar ---------- */
.top-bar {
	background: var(--ls-navy-900);
	color: #b9c6e4;
	font-size: 13px;
}
.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--ls-gold); }

/* ---------- Header / navigation ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--ls-line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }

.main-title a, .main-title a:hover {
	color: var(--ls-navy);
	font-weight: 800;
}
.site-logo img { max-height: 44px; width: auto; }

.main-navigation,
.main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a {
	font-family: var(--ls-font-head);
	font-weight: 600;
	font-size: 15px;
	color: var(--ls-ink);
}
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a {
	color: var(--ls-green);
}
.main-navigation ul ul {
	background: #fff;
	border: 1px solid var(--ls-line);
	border-radius: var(--ls-radius);
	box-shadow: var(--ls-shadow);
	padding: .5rem 0;
}
.main-navigation .main-nav ul ul li a { font-weight: 500; font-size: 14px; }

/* Menu item with class "ls-cta" renders as a button */
.main-navigation .main-nav ul li.ls-cta > a {
	background: var(--ls-green);
	color: #fff;
	border-radius: 8px;
	line-height: 40px;
	padding: 0 20px;
	margin-left: 10px;
}
.main-navigation .main-nav ul li.ls-cta > a:hover { background: var(--ls-green-600); color: #fff; }

/* ---------- Buttons ---------- */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
.wp-block-button__link,
.wp-element-button {
	font-family: var(--ls-font-head);
	font-weight: 700;
	font-size: 16px;
	background: var(--ls-green);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 14px 28px;
	box-shadow: 0 6px 18px rgba(114, 159, 47, .28);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
button:hover,
input[type="submit"]:hover,
a.button:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
	background: var(--ls-green-600);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(114, 159, 47, .35);
}
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: currentColor;
	border: 2px solid currentColor;
	box-shadow: none;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgba(255, 255, 255, .08);
}

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="tel"], input[type="number"], textarea, select {
	border: 1px solid var(--ls-line);
	border-radius: 8px;
	background: #fff;
	padding: 12px 14px;
}
input:focus, textarea:focus, select:focus {
	border-color: var(--ls-blue);
	outline: 3px solid rgba(43, 104, 219, .15);
}

/* ---------- Full-width sections (block patterns) ---------- */
.ls-section { padding: clamp(4rem, 8vw, 7rem) 1.5rem; }
.ls-section > .wp-block-group__inner-container,
.ls-section.is-layout-constrained > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.ls-dark {
	background: radial-gradient(1200px 600px at 85% -10%, rgba(43, 104, 219, .35), transparent 60%),
	            radial-gradient(900px 500px at -10% 110%, rgba(114, 159, 47, .25), transparent 60%),
	            var(--ls-navy-900);
	color: #c9d5ef;
}
.ls-dark h1, .ls-dark h2, .ls-dark h3, .ls-dark h4 { color: #fff; }
.ls-dark a:not(.wp-block-button__link) { color: var(--ls-gold); }

.ls-surface { background: var(--ls-surface); }

.ls-eyebrow {
	display: inline-block;
	font-family: var(--ls-font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ls-green);
	margin-bottom: .75rem;
}
.ls-dark .ls-eyebrow { color: var(--ls-lime); }

.ls-gradient-text {
	background: linear-gradient(90deg, var(--ls-lime), var(--ls-gold));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ls-lead { font-size: 1.2rem; line-height: 1.6; max-width: 40rem; }

/* Hero */
.ls-hero { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); }
.ls-hero h1 { color: #fff; margin-bottom: 1.25rem; }

.ls-terminal {
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--ls-radius-lg);
	padding: 1.75rem;
	font-family: var(--ls-font-mono);
	font-size: 14px;
	color: #d6e2ff;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.ls-terminal p { margin-bottom: .4rem; }
.ls-terminal strong { color: var(--ls-lime); font-weight: 600; }

/* Cards */
.ls-card {
	background: #fff;
	border: 1px solid var(--ls-line);
	border-radius: var(--ls-radius-lg);
	padding: 2rem;
	height: 100%;
	box-shadow: var(--ls-shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ls-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ls-shadow);
	border-color: rgba(114, 159, 47, .45);
}
.ls-card h3 { margin-bottom: .5rem; }
.ls-card .ls-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ls-navy);
	background: rgba(234, 208, 89, .35);
	border-radius: 999px;
	padding: 4px 12px;
	margin-bottom: 1rem;
}
.ls-card ul { margin-left: 1.1em; }
.ls-card li::marker { color: var(--ls-green); }

/* Stats */
.ls-stat { text-align: center; }
.ls-stat .ls-stat-num {
	font-family: var(--ls-font-head);
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 800;
	line-height: 1;
	color: var(--ls-navy);
	margin-bottom: .5rem;
}
.ls-dark .ls-stat .ls-stat-num { color: var(--ls-gold); }
.ls-stat p { font-size: 15px; margin: 0; }

/* Logo / integration strip */
.ls-logos { gap: .75rem !important; }
.ls-logos p {
	margin: 0;
	padding: .65rem 1.25rem;
	border: 1px solid var(--ls-line);
	border-radius: 999px;
	background: #fff;
	font-family: var(--ls-font-head);
	font-weight: 600;
	font-size: 15px;
	color: var(--ls-ink);
}

/* Testimonials */
.ls-quote {
	background: #fff;
	border-radius: var(--ls-radius-lg);
	padding: 2rem;
	border: 1px solid var(--ls-line);
	height: 100%;
}
.ls-quote blockquote, .ls-quote .wp-block-quote {
	border: 0;
	margin: 0;
	padding: 0;
	font-size: 1.05rem;
	color: var(--ls-ink);
}
.ls-quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; font-size: 14px; color: var(--ls-muted); }

/* CTA band */
.ls-cta-band {
	background: linear-gradient(135deg, var(--ls-navy) 0%, var(--ls-blue) 60%, var(--ls-green) 130%);
	border-radius: var(--ls-radius-lg);
	padding: clamp(2.5rem, 6vw, 4.5rem);
	color: #e6edff;
}
.ls-cta-band h2 { color: #fff; }
.ls-cta-band .wp-block-button__link { background: var(--ls-gold); color: var(--ls-ink); box-shadow: none; }
.ls-cta-band .wp-block-button__link:hover { background: #f3dc74; color: var(--ls-ink); }

/* ---------- Contact page ---------- */
.ls-channel { display: flex; flex-direction: column; }
.ls-channel > *:last-child { margin-top: auto; margin-bottom: 0; }
.ls-channel .ls-email { font-family: var(--ls-font-mono); font-size: 14px; color: var(--ls-navy); }
.ls-channel.ls-urgent { border-color: rgba(43, 104, 219, .35); background: linear-gradient(180deg, rgba(43, 104, 219, .05), #fff 60%); }
.ls-hours { font-size: 14px; color: var(--ls-muted); }
.ls-hours strong { color: var(--ls-ink); }

.ls-hq {
	background: #fff;
	border: 1px solid var(--ls-line);
	border-radius: var(--ls-radius-lg);
	padding: 2rem;
	box-shadow: var(--ls-shadow);
}
.ls-hq h3 { margin-bottom: .75rem; }
.ls-hq p { margin-bottom: .75rem; }

.ls-faq .wp-block-details {
	background: #fff;
	border: 1px solid var(--ls-line);
	border-radius: var(--ls-radius);
	padding: 1.1rem 1.4rem;
	margin-bottom: .75rem;
}
.ls-faq .wp-block-details summary {
	font-family: var(--ls-font-head);
	font-weight: 700;
	color: var(--ls-ink);
	cursor: pointer;
}
.ls-faq .wp-block-details[open] { border-color: rgba(114, 159, 47, .5); }
.ls-faq .wp-block-details p { margin: .75rem 0 0; }

.ls-social a {
	display: inline-block;
	padding: .5rem 1rem;
	margin: 0 .4rem .4rem 0;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
}
.ls-social a:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Blog / content ---------- */
.separate-containers .inside-article,
.one-container .site-content { background: #fff; }
.entry-meta { font-size: 14px; color: var(--ls-muted); }
.entry-content blockquote {
	border-left: 4px solid var(--ls-green);
	background: var(--ls-surface);
	padding: 1.25rem 1.5rem;
	border-radius: 0 var(--ls-radius) var(--ls-radius) 0;
}
.post-image img, .featured-image img { border-radius: var(--ls-radius); }

.sidebar .widget {
	background: var(--ls-surface);
	border-radius: var(--ls-radius);
	padding: 1.5rem;
}
.widget-title { font-family: var(--ls-font-head); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ls-navy); }

/* ---------- Footer ---------- */
.site-footer .footer-widgets {
	background: var(--ls-navy-900);
	color: #9fb0d4;
	font-size: 15px;
}
.site-footer .footer-widgets .widget-title,
.site-footer .footer-widgets h2,
.site-footer .footer-widgets h3 { color: #fff; }
.site-footer .footer-widgets a { color: #c9d5ef; }
.site-footer .footer-widgets a:hover { color: var(--ls-gold); }
.site-footer .footer-widgets ul { list-style: none; margin: 0; }
.site-footer .footer-widgets li { margin-bottom: .5rem; }

.site-info {
	background: #040f24;
	color: #7d8db3;
	font-size: 14px;
	border-top: 1px solid rgba(255, 255, 255, .06);
}
.site-info a { color: #c9d5ef; }
.site-info a:hover { color: var(--ls-gold); }

.generate-back-to-top { background: var(--ls-green); border-radius: 8px; }
.generate-back-to-top:hover { background: var(--ls-green-600); }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
	.ls-hero .wp-block-columns { gap: 2rem; }
	.ls-terminal { font-size: 12px; }
	.main-navigation .main-nav ul li.ls-cta > a { margin: 10px 20px; display: inline-block; }
}
