/* ==========================================================================
   AppShowcase v2 — Premium App Portfolio Theme
   ========================================================================== */

:root {
	--primary: #7c3aed;
	--primary-dark: #6d28d9;
	--primary-light: #a78bfa;
	--accent: #06b6d4;
	--accent-2: #f472b6;
	--bg: #09090f;
	--bg-elevated: #12121a;
	--bg-card: #16161f;
	--bg-card-hover: #1c1c28;
	--text: #f4f4f5;
	--text-muted: #a1a1aa;
	--text-dim: #71717a;
	--border: rgba(255, 255, 255, 0.08);
	--border-hover: rgba(124, 58, 237, 0.4);
	--gradient: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
	--gradient-text: linear-gradient(135deg, #fff 0%, #a78bfa 50%, #06b6d4 100%);
	--font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	--radius-sm: 10px;
	--radius-md: 14px;
	--radius-lg: 20px;
	--radius-xl: 28px;
	--shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
	--shadow-glow: 0 0 40px rgba(124, 58, 237, 0.25);
	--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--container: 1180px;
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Background effects */
.bg-effects {
	position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.bg-orb {
	position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
	animation: float 20s ease-in-out infinite;
}
.bg-orb-1 { width: 600px; height: 600px; background: #7c3aed; top: -200px; left: -100px; }
.bg-orb-2 { width: 500px; height: 500px; background: #06b6d4; top: 40%; right: -150px; animation-delay: -7s; }
.bg-orb-3 { width: 400px; height: 400px; background: #f472b6; bottom: -100px; left: 30%; animation-delay: -14s; opacity: 0.2; }
.bg-grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
	                  linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
	background-size: 60px 60px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}
@keyframes float {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33% { transform: translate(30px, -30px) scale(1.05); }
	66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Reveal animations */
.reveal {
	opacity: 0; transform: translateY(30px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Icons */
.icon { display: inline-flex; align-items: center; vertical-align: middle; }
.icon svg { display: block; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 28px; font-family: var(--font); font-size: 15px; font-weight: 600;
	border-radius: var(--radius-md); border: none; cursor: pointer;
	transition: all var(--transition); text-decoration: none; white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-primary {
	background: var(--gradient); color: #fff;
	box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5); color: #fff; }
.btn-glow:hover { box-shadow: 0 0 30px rgba(124, 58, 237, 0.6), 0 8px 30px rgba(124, 58, 237, 0.4); }
.btn-ghost {
	background: rgba(255,255,255,0.05); color: var(--text);
	border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--border-hover); color: var(--text); }
.btn-outline {
	background: transparent; color: var(--text); border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); }
.btn-white { background: #fff; color: var(--bg); }
.btn-white:hover { background: #f4f4f5; color: var(--bg); transform: translateY(-2px); }

/* Header */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
	height: var(--header-h);
	background: rgba(9, 9, 15, 0.7);
	backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border);
	transition: background var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
	background: rgba(9, 9, 15, 0.92);
	box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.header-inner {
	display: flex; align-items: center; justify-content: space-between;
	height: var(--header-h);
}
.site-title {
	display: flex; align-items: center; gap: 10px;
	font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: -0.5px;
}
.site-title:hover { color: var(--primary-light); }
.site-title-icon { color: var(--primary-light); }
.site-title-text { display: inline-block; }
.site-logo-img { width: auto; max-width: 220px; display: block; object-fit: contain; }
.site-title.has-logo { gap: 12px; }
.custom-logo-link img { max-height: 44px; width: auto; }
.main-navigation { display: flex; align-items: center; gap: 8px; }
.nav-menu { display: flex; list-style: none; gap: 4px; }
.nav-menu a {
	display: block; padding: 8px 16px; color: var(--text-muted);
	font-weight: 500; font-size: 14px; border-radius: var(--radius-sm);
	transition: all var(--transition);
}
.nav-menu a:hover, .nav-menu .current-menu-item a {
	color: var(--text); background: rgba(255,255,255,0.06);
}
.header-cta { margin-left: 12px; }
.menu-toggle {
	display: none; flex-direction: column; gap: 5px;
	background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span {
	display: block; width: 22px; height: 2px;
	background: var(--text); border-radius: 2px; transition: var(--transition);
}
.menu-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Main */
.site-main { position: relative; z-index: 1; padding-top: var(--header-h); }

/* Section headers */
.section-label {
	display: inline-block; font-size: 12px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 1.5px;
	color: var(--primary-light); margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-title {
	font-size: clamp(28px, 4vw, 42px); font-weight: 800;
	letter-spacing: -1px; margin-bottom: 14px; line-height: 1.15;
}
.section-title-left { text-align: left; }
.section-subtitle { color: var(--text-muted); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* Hero */
.hero-section {
	padding: 80px 0 60px;
	min-height: calc(100vh - var(--header-h));
	display: flex; align-items: center;
}
.hero-inner {
	display: grid; grid-template-columns: 1.1fr 0.9fr;
	gap: 60px; align-items: center;
}
.hero-badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 16px; margin-bottom: 24px;
	background: rgba(124, 58, 237, 0.12);
	border: 1px solid rgba(124, 58, 237, 0.25);
	border-radius: 50px; font-size: 13px; font-weight: 600; color: var(--primary-light);
}
.hero-badge-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--accent); animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title {
	font-size: clamp(38px, 5.5vw, 62px); font-weight: 800;
	line-height: 1.08; letter-spacing: -2px; margin-bottom: 22px;
	background: var(--gradient-text);
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
	background-clip: text;
}
.hero-subtitle {
	font-size: 18px; color: var(--text-muted); margin-bottom: 36px;
	max-width: 500px; line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0; }
.hero-platforms { margin-bottom: 28px; }
.btn-download-hero {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 14px 28px; border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
	color: var(--text); font-weight: 700; transition: all var(--transition);
}
.btn-download-hero:hover {
	background: rgba(124, 58, 237, 0.18); border-color: rgba(124, 58, 237, 0.45);
	color: #fff; transform: translateY(-2px);
}

/* Hero visual — desktop mockup */
.hero-showcase { position: relative; display: flex; justify-content: center; padding: 20px 0 40px; }
.desktop-mockup-wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.desktop-mockup { filter: drop-shadow(0 24px 48px rgba(0,0,0,.45)); }
.desktop-monitor { display: flex; flex-direction: column; align-items: center; }
.desktop-monitor-bezel {
	width: min(100%, 520px);
	padding: 14px 14px 18px;
	background: linear-gradient(160deg, #3f3f50 0%, #1c1c28 55%, #12121a 100%);
	border-radius: 18px 18px 12px 12px;
	border: 1px solid rgba(255,255,255,.12);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.08), var(--shadow-glow);
}
.desktop-monitor-cam {
	width: 8px; height: 8px; margin: 0 auto 10px;
	border-radius: 50%; background: #2a2a35;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.desktop-screen {
	aspect-ratio: 16 / 10;
	border-radius: 8px;
	overflow: hidden;
	background: #0a0a0f;
	border: 1px solid rgba(255,255,255,.06);
}
.desktop-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.desktop-screen-placeholder {
	display: flex; align-items: center; justify-content: center;
	height: 100%; min-height: 220px;
	font-size: 64px; opacity: .22;
	background: linear-gradient(135deg, #14141f, #0d0d14);
}
.desktop-stand-neck {
	width: 56px; height: 36px;
	background: linear-gradient(180deg, #2a2a38, #181822);
	border-radius: 0 0 4px 4px;
	margin-top: -2px;
}
.desktop-stand-base {
	width: 140px; height: 10px;
	background: linear-gradient(180deg, #32323f, #1a1a24);
	border-radius: 0 0 20px 20px;
	box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.desktop-mockup-platforms { text-align: center; }
.hero-desktop-mockup .desktop-monitor-bezel { width: min(100%, 480px); }
.hero-float-card {
	position: absolute; display: flex; align-items: center; gap: 10px;
	padding: 10px 16px; background: var(--bg-card);
	border: 1px solid var(--border); border-radius: var(--radius-md);
	box-shadow: var(--shadow); font-size: 13px; font-weight: 600;
	animation: floatCard 6s ease-in-out infinite; z-index: 3;
}
.hero-float-card img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.float-card-1 { top: 10%; left: -10%; animation-delay: 0s; }
.float-card-2 { top: 50%; right: -15%; animation-delay: -2s; }
.float-card-3 { bottom: 5%; left: 0; animation-delay: -4s; }
@keyframes floatCard {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

/* Features strip */
.features-strip {
	padding: 0 0 80px; margin-top: -20px;
}
.features-strip-head {
	text-align: center; max-width: 640px; margin: 0 auto 36px;
}
.features-strip-head h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px;
}
.features-strip-head p {
	color: var(--text-dim); margin: 0; font-size: 1.02rem;
}
.features-strip-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.feature-strip-item {
	display: flex; gap: 16px; padding: 24px;
	background: var(--bg-card); border: 1px solid var(--border);
	border-radius: var(--radius-lg); transition: all var(--transition);
}
.feature-strip-item:hover {
	border-color: var(--border-hover); transform: translateY(-4px);
	box-shadow: var(--shadow);
}
.feature-strip-icon {
	flex-shrink: 0; width: 48px; height: 48px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(124, 58, 237, 0.12); border-radius: var(--radius-sm);
	color: var(--primary-light);
}
.feature-strip-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature-strip-item p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* Apps grid */
.apps-section { padding: 100px 0; }
.apps-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px;
}
.apps-grid-sm { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* App card */
.app-card {
	position: relative; background: var(--bg-card);
	border-radius: var(--radius-lg); border: 1px solid var(--border);
	overflow: hidden; transition: all var(--transition);
}
.app-card:hover {
	transform: translateY(-8px); border-color: var(--border-hover);
	box-shadow: var(--shadow), 0 0 0 1px rgba(124, 58, 237, 0.1);
}
.app-card-ribbon {
	position: absolute; top: 16px; right: -32px; z-index: 2;
	padding: 4px 40px; font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.5px;
	background: var(--gradient); color: #fff;
	transform: rotate(45deg);
}
.app-card-link { display: block; color: inherit; }
.app-card-image {
	position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-elevated);
}
.app-card-image img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.5s ease;
}
.app-card:hover .app-card-image img { transform: scale(1.08); }
.app-card-overlay {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	background: rgba(9, 9, 15, 0.7); opacity: 0;
	transition: opacity var(--transition);
}
.app-card:hover .app-card-overlay { opacity: 1; }
.app-card-view {
	display: flex; align-items: center; gap: 6px;
	font-size: 14px; font-weight: 600; color: #fff;
}
.app-card-placeholder {
	display: flex; align-items: center; justify-content: center;
	height: 100%; font-size: 48px;
	background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
}
.app-card-body { padding: 24px; }
.app-card-top {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 10px;
}
.app-card-category {
	font-size: 11px; font-weight: 700; text-transform: uppercase;
	letter-spacing: 0.8px; color: var(--primary-light);
}
.app-card-rating {
	display: flex; align-items: center; gap: 4px;
	font-size: 13px; font-weight: 600; color: #fbbf24;
}
.app-card-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.app-card-tagline {
	font-size: 13px; font-weight: 600; color: var(--primary-light);
	margin: -4px 0 8px; line-height: 1.4;
}
.app-card-badge {
	background: rgba(124, 58, 237, 0.15);
	padding: 4px 10px;
	border-radius: 999px;
}
.app-card-excerpt {
	font-size: 14px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.app-card-footer { margin-top: auto; }
.platform-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.platform-badge {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 10px; border-radius: 999px;
	font-size: 11px; font-weight: 700; letter-spacing: .02em;
	border: 1px solid transparent;
}
.platform-badges-md .platform-badge { padding: 7px 12px; font-size: 12px; }
.platform-badge-icon { font-size: 12px; line-height: 1; opacity: .9; }
.platform-windows { background: rgba(0, 120, 215, 0.15); color: #60a5fa; border-color: rgba(96,165,250,.25); }
.platform-macos { background: rgba(148, 163, 184, 0.15); color: #e2e8f0; border-color: rgba(226,232,240,.2); }
.platform-linux { background: rgba(249, 115, 22, 0.15); color: #fdba74; border-color: rgba(253,186,116,.25); }
.platform-android { background: rgba(52, 168, 83, 0.15); color: #4ade80; border-color: rgba(74,222,128,.25); }
.platform-ios { background: rgba(0, 122, 255, 0.15); color: #60a5fa; border-color: rgba(96,165,250,.25); }
.platform-web { background: rgba(124, 58, 237, 0.15); color: var(--primary-light); border-color: rgba(124,58,237,.25); }

.section-cta { text-align: center; margin-top: 52px; }
.no-apps {
	grid-column: 1 / -1; text-align: center; padding: 80px 40px;
	background: var(--bg-card); border-radius: var(--radius-xl);
	border: 1px dashed var(--border);
}
.no-apps-icon { font-size: 48px; margin-bottom: 16px; }
.no-apps h3 { font-size: 22px; margin-bottom: 8px; }
.no-apps p { color: var(--text-muted); }

/* About */
.about-section { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.about-card {
	position: relative; padding: 48px; border-radius: var(--radius-xl);
	background: var(--bg-card); border: 1px solid var(--border); overflow: hidden;
}
.about-card-glow {
	position: absolute; top: -50%; right: -50%; width: 100%; height: 100%;
	background: radial-gradient(circle, rgba(124,58,237,0.2), transparent 70%);
}
.about-card-content { position: relative; text-align: center; }
.about-emoji { font-size: 72px; display: block; margin-bottom: 24px; }
.about-card-stats {
	display: flex; justify-content: center; gap: 48px;
	padding-top: 24px; border-top: 1px solid var(--border);
}
.about-card-stats strong { display: block; font-size: 32px; font-weight: 800; color: var(--primary-light); }
.about-card-stats span { font-size: 13px; color: var(--text-muted); }
.about-text { font-size: 17px; color: var(--text-muted); line-height: 1.8; margin: 20px 0 28px; }
.skills-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.skill-tag, .tech-tag {
	padding: 8px 16px; font-size: 13px; font-weight: 500;
	background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(124, 58, 237, 0.2);
	border-radius: 50px; color: var(--primary-light);
}

/* Subscribe banner */
.subscribe-banner { padding: 0 0 100px; }
.subscribe-banner-inner {
	display: grid; grid-template-columns: auto 1fr 1.2fr; gap: 32px; align-items: center;
	padding: 48px 56px; border-radius: var(--radius-xl);
	background: var(--gradient); position: relative; overflow: hidden;
}
.subscribe-banner-inner::before {
	content: ''; position: absolute; inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.subscribe-banner-icon {
	position: relative; font-size: 48px; line-height: 1;
	filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
.subscribe-banner-content { position: relative; }
.subscribe-banner-content h2 {
	font-size: clamp(22px, 3vw, 30px); font-weight: 800;
	margin-bottom: 8px; color: #fff; line-height: 1.2;
}
.subscribe-banner-content p {
	font-size: 15px; color: rgba(255,255,255,0.88); line-height: 1.6;
}
.subscribe-banner-form { position: relative; }
.subscribe-form-row {
	display: flex; gap: 10px;
}
.subscribe-form input[type="email"] {
	flex: 1; min-width: 0; padding: 14px 18px;
	font-family: var(--font); font-size: 15px;
	background: rgba(255,255,255,0.95); border: none;
	border-radius: var(--radius-md); color: var(--bg); outline: none;
}
.subscribe-form input[type="email"]::placeholder { color: #71717a; }
.subscribe-form input[type="email"]:focus {
	box-shadow: 0 0 0 3px rgba(255,255,255,0.35);
}
.subscribe-form .subscribe-submit {
	flex-shrink: 0; white-space: nowrap;
}
.subscribe-form .subscribe-submit.is-loading { opacity: 0.8; pointer-events: none; }
.subscribe-form .submit-loading { display: none; }
.subscribe-form .subscribe-submit.is-loading .submit-text { display: none; }
.subscribe-form .subscribe-submit.is-loading .submit-loading { display: inline; }
.subscribe-honeypot {
	position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.subscribe-note {
	margin-top: 10px; font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.5;
}
.subscribe-feedback {
	margin-top: 12px; padding: 10px 14px; border-radius: var(--radius-sm);
	font-size: 13px; font-weight: 500;
}
.subscribe-feedback.is-success {
	background: rgba(255,255,255,0.2); color: #fff;
}
.subscribe-feedback.is-error {
	background: rgba(0,0,0,0.25); color: #fecdd3;
}

/* Legacy CTA (kept for compatibility) */
.cta-banner { padding: 0 0 100px; }
.cta-banner-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 40px;
	padding: 56px 64px; border-radius: var(--radius-xl);
	background: var(--gradient); position: relative; overflow: hidden;
}
.cta-banner-inner::before {
	content: ''; position: absolute; inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner-content { position: relative; }
.cta-banner-content h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 10px; color: #fff; }
.cta-banner-content p { font-size: 16px; color: rgba(255,255,255,0.85); max-width: 480px; }
.cta-banner .btn-white { position: relative; flex-shrink: 0; }

/* Contact */
.contact-section { padding: 100px 0; }
.contact-layout {
	display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 32px; align-items: start;
}
.contact-form-wrap {
	padding: 40px; background: var(--bg-card);
	border: 1px solid var(--border); border-radius: var(--radius-xl);
}
.contact-form-title { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.contact-form-desc { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }
.contact-form .form-row { margin-bottom: 20px; }
.contact-form .form-row-2 {
	display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form .form-row-2 .form-group { margin-bottom: 0; }
.contact-form label {
	display: block; font-size: 14px; font-weight: 600;
	margin-bottom: 8px; color: var(--text);
}
.contact-form .required { color: var(--accent-2); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	width: 100%; padding: 14px 18px; font-family: var(--font); font-size: 15px;
	background: var(--bg-elevated); border: 1px solid var(--border);
	border-radius: var(--radius-md); color: var(--text); outline: none;
	transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-dim); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .form-honeypot {
	position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.contact-form .form-recaptcha-wrap {
	margin: 4px 0 16px;
	transform-origin: 0 0;
}
.contact-form .form-recaptcha-notice {
	font-size: 12px;
	color: var(--text-dim);
	line-height: 1.5;
	margin: 0 0 16px;
}
.contact-form .form-recaptcha-notice a {
	color: var(--text-muted);
	text-decoration: underline;
}
.subscribe-form .form-recaptcha-wrap {
	margin-top: 12px;
}
.contact-form .form-actions { margin-top: 8px; }
.contact-form .contact-submit { width: 100%; }
.contact-form .contact-submit.is-loading { opacity: 0.75; pointer-events: none; }
.contact-form .submit-loading { display: none; }
.contact-form .contact-submit.is-loading .submit-text { display: none; }
.contact-form .contact-submit.is-loading .submit-loading { display: inline; }
.form-feedback {
	margin-top: 20px; padding: 14px 18px; border-radius: var(--radius-md);
	font-size: 14px; font-weight: 500;
}
.form-feedback.is-success {
	background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.3);
	color: #4ade80;
}
.form-feedback.is-error {
	background: rgba(244, 114, 182, 0.12); border: 1px solid rgba(244, 114, 182, 0.3);
	color: #f472b6;
}
.contact-sidebar { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
	padding: 24px; background: var(--bg-card); border: 1px solid var(--border);
	border-radius: var(--radius-lg);
}
.contact-info-card .contact-card-icon {
	width: 44px; height: 44px; margin-bottom: 12px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(124, 58, 237, 0.12); border-radius: var(--radius-sm);
	color: var(--primary-light);
}
.contact-info-card .contact-value {
	display: block; font-weight: 600; font-size: 15px; color: var(--primary-light); margin-top: 4px;
}
.contact-social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.contact-social-link {
	padding: 8px 14px; font-size: 13px; font-weight: 500;
	background: rgba(255,255,255,0.05); border: 1px solid var(--border);
	border-radius: var(--radius-sm); color: var(--text-muted);
	transition: all var(--transition);
}
.contact-social-link:hover { border-color: var(--primary); color: var(--primary-light); }
.contact-info-note p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* Legacy contact cards (archive etc.) */
.contact-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;
}
.contact-card {
	display: flex; flex-direction: column; gap: 12px; padding: 32px;
	background: var(--bg-card); border: 1px solid var(--border);
	border-radius: var(--radius-lg); transition: all var(--transition); color: inherit;
}
.contact-card:hover {
	border-color: var(--border-hover); transform: translateY(-6px);
	box-shadow: var(--shadow); color: inherit;
}
.contact-card-icon {
	width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
	background: rgba(124, 58, 237, 0.12); border-radius: var(--radius-sm); color: var(--primary-light);
}
.contact-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); }
.contact-value { font-weight: 600; font-size: 15px; color: var(--text); }

/* Breadcrumbs */
.breadcrumbs {
	padding: 20px 0; border-bottom: 1px solid var(--border);
	font-size: 14px; color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary-light); }
.breadcrumb-sep { margin: 0 10px; opacity: 0.4; }
.breadcrumb-current { color: var(--text); }

/* Single app */
.single-app { padding: 60px 0 100px; }
.single-app-hero {
	display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
	align-items: center; margin-bottom: 72px;
}
.app-category-badge {
	display: inline-block; padding: 6px 14px; margin-bottom: 16px;
	background: rgba(124, 58, 237, 0.12); color: var(--primary-light);
	font-size: 12px; font-weight: 700; text-transform: uppercase;
	letter-spacing: 0.8px; border-radius: 50px;
}
.single-app-title {
	font-size: clamp(32px, 4vw, 48px); font-weight: 800;
	letter-spacing: -1px; margin-bottom: 16px; line-height: 1.1;
}
.single-app-tagline {
	font-size: 20px; font-weight: 600; color: var(--primary-light);
	margin: -8px 0 14px; line-height: 1.4;
}
.single-app-developer {
	font-size: 14px; color: var(--text-muted);
	margin: -8px 0 20px;
}
.single-app-developer strong { color: var(--text); }
.app-custom-badge { background: rgba(124, 58, 237, 0.18); }
.single-app-excerpt { font-size: 18px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; }
.app-video-section { margin: 48px 0; }
.app-video-embed {
	position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
	border-radius: var(--radius-lg); border: 1px solid var(--border);
	background: #000;
}
.app-video-embed iframe {
	position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.app-requirements-section { margin: 48px 0; }
.app-requirements-body {
	padding: 20px 24px; background: var(--bg-card); border: 1px solid var(--border);
	border-radius: var(--radius-md); color: var(--text-muted); line-height: 1.7;
}
.app-meta-cards { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.app-meta-card {
	padding: 14px 20px; background: var(--bg-card); border: 1px solid var(--border);
	border-radius: var(--radius-md);
}
.meta-label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase;
	letter-spacing: 0.8px; color: var(--text-dim); margin-bottom: 4px; }
.meta-value { font-size: 16px; font-weight: 700; color: var(--text); }
.meta-rating { display: flex; align-items: center; gap: 4px; color: #fbbf24; }
.app-download-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn { padding: 12px 22px; font-size: 14px; color: #fff; }
.btn-appstore { background: #007aff; }
.btn-playstore { background: #34a853; }
.btn-download { background: var(--primary); }
.btn-website { background: var(--accent); }
.btn-github { background: #24292e; }
.store-btn:hover { transform: translateY(-2px); filter: brightness(1.1); color: #fff; }
.single-app-image-frame {
	padding: 16px; background: var(--bg-card); border: 1px solid var(--border);
	border-radius: var(--radius-xl); box-shadow: var(--shadow);
}
.single-app-image-frame img { border-radius: var(--radius-lg); }
.app-image-placeholder {
	display: flex; align-items: center; justify-content: center;
	height: 400px; font-size: 80px; background: var(--bg-elevated);
	border-radius: var(--radius-lg);
}
.subsection-title {
	font-size: 24px; font-weight: 800; margin-bottom: 28px; letter-spacing: -0.5px;
}
.app-features-section, .app-screenshots-section, .app-changelog-section, .app-tech-section, .related-apps-section {
	margin-bottom: 64px;
}
.features-list {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
	list-style: none;
}
.feature-item {
	display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px;
	background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
	font-size: 15px; color: var(--text-muted);
}
.feature-check { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.app-changelog-body {
	padding: 24px 28px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	color: var(--text-muted);
	line-height: 1.75;
	font-size: 15px;
}
.screenshots-gallery {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px;
}
.screenshot-item {
	padding: 0; border: 2px solid var(--border); border-radius: var(--radius-md);
	overflow: hidden; cursor: pointer; background: none;
	transition: all var(--transition);
}
.screenshot-item:hover { border-color: var(--primary); transform: scale(1.02); }
.screenshot-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.single-app-platforms { margin-bottom: 24px; }
.single-app-platforms .meta-label { display: block; margin-bottom: 10px; font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
.app-platforms-section { margin-bottom: 64px; }
.app-platforms-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px;
}
.app-platform-card {
	padding: 18px; background: var(--bg-card); border: 1px solid var(--border);
	border-radius: var(--radius-md); display: flex; flex-direction: column; gap: 14px;
}
.app-platform-card-head { display: flex; gap: 12px; align-items: flex-start; }
.app-platform-card-head strong { display: block; font-size: 15px; margin-bottom: 4px; }
.app-platform-card-head span { display: block; font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.app-platform-icon {
	width: 36px; height: 36px; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	border-radius: 10px; font-size: 18px;
	background: rgba(124,58,237,.12);
}
.app-platform-available { font-size: 12px; font-weight: 600; color: var(--accent); }
.app-platform-download {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}
.app-download-file-meta {
	display: block;
	font-size: 11px;
	font-weight: 500;
	opacity: 0.8;
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.single-desktop-mockup .desktop-monitor-bezel { width: 100%; }
.single-app-content {
	max-width: 800px; font-size: 17px; line-height: 1.85; color: var(--text-muted);
}
.single-app-content h2, .single-app-content h3 { color: var(--text); margin: 32px 0 16px; }
.single-app-content p { margin-bottom: 16px; }
.single-app-content img { border-radius: var(--radius-md); margin: 24px 0; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.single-app-nav {
	display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
	margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border);
}
.app-nav-link {
	padding: 24px; background: var(--bg-card); border: 1px solid var(--border);
	border-radius: var(--radius-md); transition: all var(--transition); color: inherit;
}
.app-nav-link:hover { border-color: var(--border-hover); color: inherit; }
.app-nav-next { text-align: right; }
.nav-label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase;
	letter-spacing: 1px; color: var(--text-dim); margin-bottom: 6px; }
.nav-title { font-weight: 700; font-size: 16px; }

/* Lightbox */
.lightbox {
	position: fixed; inset: 0; z-index: 9999;
	display: flex; align-items: center; justify-content: center;
	background: rgba(0,0,0,0.92); padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox-image { max-width: 90vw; max-height: 90vh; border-radius: var(--radius-md); }
.lightbox-close {
	position: absolute; top: 20px; right: 24px;
	width: 48px; height: 48px; font-size: 32px; line-height: 1;
	background: rgba(255,255,255,0.1); border: none; border-radius: 50%;
	color: #fff; cursor: pointer; transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* Archive */
.archive-header { padding: 60px 0 40px; text-align: center; }
.archive-title { font-size: clamp(32px, 4vw, 44px); font-weight: 800; margin-bottom: 12px; }
.archive-description { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; }
.app-search-form {
	display: flex; max-width: 480px; margin: 0 auto; gap: 10px;
}
.app-search-form input {
	flex: 1; padding: 14px 20px; font-family: var(--font); font-size: 15px;
	background: var(--bg-card); border: 1px solid var(--border);
	border-radius: var(--radius-md); color: var(--text); outline: none;
	transition: border-color var(--transition);
}
.app-search-form input:focus { border-color: var(--primary); }
.app-search-form input::placeholder { color: var(--text-dim); }
.category-filter {
	display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px;
}
.filter-btn {
	padding: 10px 22px; font-size: 14px; font-weight: 500; font-family: var(--font);
	color: var(--text-muted); background: var(--bg-card);
	border: 1px solid var(--border); border-radius: 50px;
	transition: all var(--transition); cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
	color: #fff; background: var(--primary); border-color: var(--primary);
}

/* Pagination */
.pagination, .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 52px; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 14px;
	background: var(--bg-card); border: 1px solid var(--border);
	border-radius: var(--radius-sm); color: var(--text-muted);
	font-weight: 500; transition: all var(--transition);
}
.page-numbers:hover, .page-numbers.current {
	background: var(--primary); border-color: var(--primary); color: #fff;
}

/* Blog & Pages */
.blog-section, .page-content { padding: 60px 0 100px; }
.page-title { font-size: 40px; font-weight: 800; margin-bottom: 40px; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.post-card {
	background: var(--bg-card); border-radius: var(--radius-lg);
	border: 1px solid var(--border); overflow: hidden;
}
.post-card-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card-body { padding: 24px; }
.post-card-title a { color: var(--text); font-size: 20px; font-weight: 700; }
.post-card-meta { font-size: 13px; color: var(--text-dim); margin: 8px 0; }
.post-card-excerpt { font-size: 14px; color: var(--text-muted); }
.entry-content { line-height: 1.85; }

/* Footer */
.site-footer {
	position: relative; z-index: 1;
	background: var(--bg-elevated); border-top: 1px solid var(--border);
	padding: 72px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-grid--split { grid-template-columns: 1.4fr 1fr; }
.footer-logo { font-size: 22px; font-weight: 800; color: var(--text); }
.footer-logo:hover { color: var(--primary-light); }
.footer-tagline { color: var(--text-muted); font-size: 14px; margin: 10px 0 20px; line-height: 1.6; max-width: 420px; }
.footer-social-title { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase;
	letter-spacing: 1px; color: var(--text-dim); margin-bottom: 12px; }
.footer-social-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.social-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px;
	background: rgba(255,255,255,0.05); border: 1px solid var(--border);
	border-radius: 12px; color: var(--text-muted);
	transition: all var(--transition);
}
.social-icon-btn .social-svg { display: inline-flex; }
.social-icon-btn .social-svg svg { width: 20px; height: 20px; }
.social-icon-btn:hover {
	border-color: var(--primary); color: #fff;
	background: var(--primary); transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(124,58,237,.35);
}
.footer-heading { font-size: 14px; font-weight: 700; text-transform: uppercase;
	letter-spacing: 1px; margin-bottom: 20px; color: var(--text); }
.footer-menu { list-style: none; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { color: var(--text-muted); font-size: 14px; }
.footer-menu a:hover { color: var(--primary-light); }
.footer-contact-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact-icon {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 10px;
	background: rgba(124,58,237,.14); color: var(--primary-light);
}
.footer-contact-icon .social-svg svg,
.footer-contact-icon svg { width: 18px; height: 18px; }
.footer-contact-item a { color: var(--text-muted); font-size: 14px; transition: color var(--transition); word-break: break-word; }
.footer-contact-item a:hover { color: var(--primary-light); }
.footer-contact-address { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.footer-email { display: block; color: var(--primary-light); font-weight: 600; margin-bottom: 12px; }
.footer-note { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.footer-bottom { padding-top: 28px; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { font-size: 14px; color: var(--text-dim); }

/* 404 */
.error-section { padding: 120px 0; min-height: 60vh; display: flex; align-items: center; }
.error-inner { text-align: center; }
.error-code {
	font-size: clamp(80px, 15vw, 160px); font-weight: 800; line-height: 1;
	background: var(--gradient-text);
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
	background-clip: text; opacity: 0.8;
}
.error-title { font-size: 28px; font-weight: 800; margin: 16px 0 12px; }
.error-text { color: var(--text-muted); margin-bottom: 32px; max-width: 400px; margin-left: auto; margin-right: auto; }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Back to top */
.back-to-top {
	position: fixed; bottom: 28px; right: 28px; z-index: 999;
	width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
	background: var(--primary); border: none; border-radius: 50%;
	color: #fff; cursor: pointer; box-shadow: var(--shadow-glow);
	opacity: 0; visibility: hidden; transform: translateY(20px);
	transition: all var(--transition);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* Responsive */
@media (max-width: 1024px) {
	.hero-inner, .single-app-hero, .about-grid { grid-template-columns: 1fr; gap: 48px; }
	.hero-visual { order: -1; }
	.hero-showcase { padding: 20px 0; }
	.float-card-1 { left: 0; }
	.float-card-2 { right: 0; }
	.features-strip-grid { grid-template-columns: 1fr; }
	.cta-banner-inner,
	.subscribe-banner-inner { flex-direction: column; text-align: center; padding: 40px 28px; grid-template-columns: 1fr; }
	.subscribe-banner-icon { margin: 0 auto; }
	.subscribe-form-row { flex-direction: column; }
	.subscribe-form .subscribe-submit { width: 100%; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
	.menu-toggle { display: flex; }
	.main-navigation {
		position: fixed; top: var(--header-h); left: 0; right: 0;
		flex-direction: column; align-items: stretch;
		background: rgba(9, 9, 15, 0.98); backdrop-filter: blur(20px);
		border-bottom: 1px solid var(--border); padding: 20px;
		transform: translateY(-120%); opacity: 0;
		transition: all var(--transition);
	}
	.main-navigation.is-open { transform: translateY(0); opacity: 1; }
	.nav-menu { flex-direction: column; }
	.header-cta { margin: 12px 0 0; text-align: center; }
	.hero-section { padding: 48px 0 40px; min-height: auto; }
	.hero-desktop-mockup .desktop-monitor-bezel { width: min(100%, 340px); }
	.hero-float-card { display: none; }
	.apps-grid { grid-template-columns: 1fr; }
	.single-app-nav { grid-template-columns: 1fr; }
	.app-nav-next { text-align: left; }
	.footer-grid { grid-template-columns: 1fr; }
	.features-list { grid-template-columns: 1fr; }
	.contact-layout { grid-template-columns: 1fr; }
	.contact-form .form-row-2 { grid-template-columns: 1fr; }
	.contact-form .form-row-2 .form-group { margin-bottom: 20px; }
}

/* About profile image */
.about-profile-image {
	width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
	margin: 0 auto 20px; border: 3px solid var(--border);
}

/* Blog single */
.single-post { padding: 60px 0 100px; }
.single-post-header { max-width: 800px; margin-bottom: 32px; }
.single-post-title { font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; margin: 12px 0; }
.single-post-excerpt { font-size: 18px; color: var(--text-muted); line-height: 1.7; }
.single-post-image { margin-bottom: 40px; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); }
.single-post-image img { width: 100%; }
.single-post-content { max-width: 800px; margin: 0 auto 48px; font-size: 17px; line-height: 1.85; color: var(--text-muted); }
.single-post-content h2, .single-post-content h3 { color: var(--text); margin: 28px 0 14px; }
.single-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 800px; margin: 0 auto; }
.read-more-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--primary-light); margin-top: 12px; }
.read-more-link:hover { color: var(--accent); }
