/* ============================================================================
   Projectra Premium Design System (FabFilter / Modern Studio Style)
   ============================================================================ */

:root {
	/* Palette - Premium Dark Studio (Lightened for better readability) */
	--bg-deep: #212226;
	--bg-surface: #2c2d33;
	--bg-surface-glass: rgba(44, 45, 51, 0.85);
	--bg-elevated: #36373d;

	/* Brand Gradients (FabFilter Orange/Gold) */
	--grad-primary: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
	--grad-accent: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
	--grad-success: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
	--grad-warm: linear-gradient(135deg, #f1c40f 0%, #e67e22 100%);

	/* Text */
	--text-main: #ffffff;
	--text-muted: #a0a0a0;
	--accent-orange: #ff7e22;

	/* Effects */
	--glowing-shadow: 0 8px 32px rgba(255, 126, 34, 0.15);
	--glass-border: 1px solid rgba(255, 255, 255, 0.08);
	--radius-lg: 16px;

	/* Layout */
	--container-width: 1400px;
}

body {
	background-color: var(--bg-deep) !important;
	color: var(--text-main);
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-feature-settings: 'cv02', 'cv05', 'cv08', 'ss01';
	/* Sharpness for Inter */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

/* ============================================================================
   Layout & Containers
   ============================================================================ */

/* Section containers - just background, let WordPress handle layout */
.section-dark {
	background-color: var(--bg-deep);
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.section-surface {
	background-color: var(--bg-surface);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding-top: 3rem;
	padding-bottom: 3rem;
}

/* Inner Container Constraint */
.wp-block-group__inner-container,
.wp-block-group>div {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
}

/* ============================================================================
   Typography & Visuals
   ============================================================================ */

/* Base heading styles - Inter for major headings */
h1,
h2 {
	color: var(--text-main);
	letter-spacing: -0.03em;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 1rem;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* H3 default (will be overridden by card styles) */
h3 {
	color: var(--text-main);
	letter-spacing: -0.03em;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 1rem;
}

/* CRITICAL: Force center alignment for display headings - minimal approach */
.display-text,
h2.display-text,
.wp-block-heading.display-text,
.section-dark .display-text,
body .display-text {
	font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
	font-weight: 800 !important;
	line-height: 1.1 !important;
	margin-bottom: 2rem !important;
	margin-top: 0 !important;
	letter-spacing: -0.04em !important;
	text-align: center !important;
	font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
	color: #ff7e22 !important;
	/* Professional orange */
}

.text-gradient {
	background: var(--grad-primary);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.text-gradient-accent {
	background: var(--grad-accent);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Feature Cards Grid */
.feature-grid {
	gap: 1.5rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	margin-top: 3rem;
	align-items: stretch;
}

@media (max-width: 480px) {
	.feature-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

.feature-card {
	background: var(--bg-surface);
	border: 1px solid rgba(255, 255, 255, 0.05);
	/* Sharper border */
	border-radius: 12px;
	/* Slightly smaller radius for technical look */
	padding: 1.5rem;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

.feature-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 2px;
	height: 0;
	background: var(--accent-orange);
	transition: height 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-4px);
	background: var(--bg-elevated);
	border-color: rgba(255, 126, 34, 0.3);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
	height: 100%;
}

.feature-icon {
	font-size: 1.5rem;
	margin-bottom: 1.2rem;
	background: rgba(255, 126, 34, 0.05);
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	color: var(--accent-orange);
	border: 1px solid rgba(255, 126, 34, 0.1);
}

.feature-card h3 {
	color: var(--text-main);
	/* White for headings inside cards too, orange for labels */
	font-size: 1.1rem;
	margin-bottom: 0.75rem;
	font-family: 'IBM Plex Mono', monospace;
	/* Monospace for card headings gives technical feel */
	letter-spacing: -0.01em;
	text-transform: uppercase;
	font-weight: 600;
}

.feature-card p {
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--text-muted);
	margin: 0;
}

/* ============================================================================
   Interactive Elements
   ============================================================================ */

/* Buttons */
.wp-block-button__link {
	border-radius: 50px !important;
	padding: 0.8rem 2.5rem !important;
	font-weight: 600 !important;
	transition: all 0.3s !important;
	min-height: 44px;
	/* Touch-friendly tap target */
	box-sizing: border-box;
}

.is-style-fill .wp-block-button__link {
	background: var(--grad-primary) !important;
	box-shadow: 0 4px 20px rgba(255, 126, 34, 0.3);
	color: #fff !important;
	border: none !important;
}

.is-style-fill .wp-block-button__link:hover {
	transform: scale(1.05);
	box-shadow: 0 0 30px rgba(255, 126, 34, 0.5);
}

.is-style-outline .wp-block-button__link {
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	color: #fff !important;
}

.is-style-outline .wp-block-button__link:hover {
	border-color: #fff !important;
	background: rgba(255, 255, 255, 0.1) !important;
}

/* Accordions (Details) */
.wp-block-details {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	padding: 1rem 1.5rem;
	margin-bottom: 1rem;
	transition: all 0.3s;
}

.wp-block-details:hover {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 126, 34, 0.3);
}

.wp-block-details summary {
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 20px;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: '+';
	position: absolute;
	right: 0;
	color: var(--text-muted);
	font-size: 1.2rem;
}

.wp-block-details[open] summary::after {
	content: '-';
	color: #fff;
}

.wp-block-details[open] summary {
	color: var(--accent-orange);
	margin-bottom: 1rem;
}

/* Tables */
.wp-block-table table {
	border-collapse: collapse;
	width: 100%;
}

.wp-block-table td,
.wp-block-table th {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1rem;
	color: var(--text-muted);
}

.wp-block-table th {
	color: #fff;
	text-align: left;
}

.wp-block-table tr:last-child td {
	border-bottom: none;
}

/* Code Blocks */
.wp-block-code {
	background: #000;
	border: 1px solid #333;
	border-radius: 8px;
	padding: 1rem;
	color: #a5d6ff;
	font-family: 'Fira Code', monospace;
}

/* FabFilter Style Lists */
.qylos-list {
	list-style: none !important;
	padding-left: 0 !important;
}

.qylos-list li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.8rem;
	color: var(--text-muted);
	line-height: 1.5;
}

.qylos-list li::before {
	content: "•";
	color: var(--accent-orange);
	font-weight: bold;
	position: absolute;
	left: 0;
}

/* ============================================================================
   New Additions (Logo Grid & Hero)
   ============================================================================ */

/* Logo Grid (DAW partners — full color, titled cells) */
.logo-grid .daw-logo-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0.875rem;
	width: 100%;
	text-align: center;
}

.logo-grid .daw-logo-title {
	margin: 0 !important;
	padding: 0;
	font-size: clamp(0.8125rem, 1.4vw, 1rem);
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1.25;
	color: var(--text-muted, rgba(255, 255, 255, 0.72));
}

.logo-grid .daw-logo-item figure {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

/* Force full-color logos: overrides cached CSS, plugins, or older theme rules */
.wp-block-columns.logo-grid img,
.section-dark .wp-block-columns.logo-grid img {
	filter: none !important;
	-webkit-filter: none !important;
	opacity: 1 !important;
	transition: none !important;
	transform: none !important;
}

.wp-block-columns.logo-grid:hover img,
.section-dark .wp-block-columns.logo-grid:hover img,
.wp-block-columns.logo-grid img:hover,
.section-dark .wp-block-columns.logo-grid img:hover,
.wp-block-columns.logo-grid figure:hover img,
.section-dark .wp-block-columns.logo-grid figure:hover img {
	filter: none !important;
	-webkit-filter: none !important;
	opacity: 1 !important;
	transform: none !important;
}

.logo-grid img {
	max-height: 96px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

/* Hero Section Specifics */
/* Use specificity to ensure we don't accidentally override image covers unless empty */
.wp-block-cover.hero-section {
	background: radial-gradient(circle at center, #2d2e33 0%, #1a1b1e 80%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}