:root{
	--bg:#f7f7f8;
	--surface:#ffffff;
	--border:#e6e6e9;
	--text:#0f172a;
	--muted:#6b7280;
	--accent:#2563eb; /* blue */
	--accent-2:#10b981; /* green */
	--live:#ef4444; /* red */
	--star:#f59e0b;
	--shadow:0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
	font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,'Apple Color Emoji','Segoe UI Emoji';
	background:var(--bg);
	color:var(--text);
	line-height:1.5;
}

img,svg,video{
	max-width:100%;
	height:auto;
}

/* Hero (inspired by Notion: bold headline, soft gradient background, clean CTAs) */
.hero{
	position:relative;
	background:
		radial-gradient(800px 300px at 85% -10%, rgba(37,99,235,0.12), transparent 70%),
		radial-gradient(700px 260px at 10% 100%, rgba(16,185,129,0.10), transparent 70%),
		linear-gradient(180deg, #ffffff, #fafafa);
	border-bottom:1px solid var(--border);
	overflow:hidden;
	padding: clamp(32px, 6vw, 80px) 0 clamp(24px, 4vw, 56px);
}
.hero-inner{
	display:grid;
	grid-template-columns:1.4fr 1fr;
	align-items:center;
	gap:20px;
}
.hero-title{
	margin:0 0 8px 0;
	font-weight:800;
	letter-spacing:-0.02em;
	font-size:clamp(28px, 5vw, 48px);
}
.hero-subtitle{
	margin:0 0 16px 0;
	color:var(--muted);
	max-width:65ch;
}
.hero-cta{
	display:flex;
	gap:10px;
	flex-wrap:wrap;
}
.btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	text-decoration:none;
	border-radius:999px;
	padding:10px 16px;
	border:1px solid var(--border);
	font-weight:600;
	transition:filter .2s ease, background .2s ease, transform .2s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
	background:linear-gradient(135deg, var(--accent), var(--accent-2));
	color:#fff;
	border-color:transparent;
}
.btn-primary:hover{filter:brightness(0.96)}
.btn-secondary{
	background:#fff;
	color:var(--text);
}
.btn-secondary:hover{background:#f8fafc}
.btn-sm{
	padding:8px 14px;
	font-size:0.9rem;
}

/* Company hero */
.company-header-layout{
	display:flex;
	align-items:flex-start;
	gap:24px;
}
.company-logo{
	flex-shrink:0;
}
.company-logo img{
	width:120px;
	height:120px;
	object-fit:contain;
	border:1px solid var(--border);
	border-radius:12px;
	padding:8px;
	margin:15px 0;
	background:#fff;
}
.company-hero-main{
	flex:1;
}
.company-hero-slogan{
	font-size:1rem;
	font-weight:500;
	color:var(--muted);
	margin:0 0 4px;
}
.company-hero-header{
	display:flex;
	align-items:center;
	gap:12px;
	flex-wrap:wrap;
	margin-bottom:6px;
}
.company-hero-rating{
	margin:6px 0 10px;
	font-size:0.95rem;
	color:var(--muted);
}
.company-hero-rating strong{
	color:var(--text);
	font-size:1.05rem;
}
.company-hero-description{
	font-size:0.95rem;
	color:#4b5563;
	margin:10px 0 12px;
	line-height:1.6;
	display:-webkit-box;
	-webkit-line-clamp:3;
	-webkit-box-orient:vertical;
	overflow:hidden;
}
.company-hero-meta{
	display:flex;
	flex-wrap:wrap;
	gap:10px 16px;
	font-size:0.85rem;
	color:var(--muted);
	margin-bottom:10px;
}
.company-hero-meta span,
.company-hero-meta a{
	color:inherit;
	text-decoration:none;
}
.company-hero-meta a:hover{
	text-decoration:underline;
}
.company-hero-actions{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	margin-top:4px;
}
.hero-visual{
	position:relative;
	min-height:220px;
}
.orb{
	position:absolute;
	border-radius:50%;
	filter:blur(8px);
	opacity:0.65;
	will-change:transform;
}
.orb-a{
	width:240px;height:240px;
	background:linear-gradient(135deg, var(--accent), var(--accent-2));
	top:6%;right:8%;
}
.orb-b{
	width:180px;height:180px;
	background:linear-gradient(135deg, #a78bfa, #60a5fa);
	bottom:-10%;left:12%;
}

.container{
	width:100%;
	max-width:1200px;
	margin:0 auto;
	padding:0 16px;
}

.visually-hidden{
	position:absolute !important;
	height:1px;width:1px;
	overflow:hidden;
	clip:rect(1px,1px,1px,1px);
	white-space:nowrap;
}

/* Header */
.app-header{
	position:sticky;top:0;z-index:10;
	background:var(--surface);
	border-bottom:1px solid var(--border);
}
.header-inner{
	display:flex;
	align-items:center;
	justify-content:space-between;
	height:72px;
	gap:16px;
	padding:0px;
}
.brand{
	display:flex;align-items:center;gap:10px;
}
.brand-link{
	display:flex;align-items:center;gap:10px;
	text-decoration:none;
	color:inherit;
	transition:opacity .2s ease;
}
.brand-link:hover{opacity:0.8}
.logo{
	width:56px;height:56px;border-radius:12px;
	display:grid;place-items:center;
	background:linear-gradient(135deg,var(--accent),var(--accent-2));
	color:white;font-weight:700;
	box-shadow:var(--shadow);
}
.logo-img{
	width:56px;height:56px;border-radius:12px;display:block;object-fit:contain;aspect-ratio:1/1;
	box-shadow:var(--shadow);
}
.logo.is-hidden{display:none}
.wordmark{font-weight:700;letter-spacing:0.2px}
.nav{display:flex;align-items:center;gap:14px}
.nav-link{
	color:var(--text);text-decoration:none;
	padding:8px 10px;border-radius:6px;
}
.nav-link:hover{background:#f1f5f9}
.nav-link.is-active{color:var(--accent);font-weight:600}

/* Filters */
.filters{
	background:var(--surface);
	border-bottom:1px solid var(--border);
}
.filters-inner{
	display:grid;
	grid-template-columns:1.5fr repeat(3,1fr);
	gap:12px;
	padding:14px 0;
}
.search-input{
	width:100%;
	padding:12px 14px;
	border:1px solid var(--border);
	border-radius:10px;
	background:#fbfbfb;
	outline:none;
}
.search-input:focus{border-color:#c7d2fe;box-shadow:0 0 0 3px rgba(37,99,235,0.15)}
.filter-group{display:flex;flex-direction:column;gap:6px}
.filter-label{font-size:12px;color:var(--muted)}
.filter-control{
	width:100%;
	border:1px solid var(--border);
	border-radius:10px;
	padding:10px 12px;
	background:white;
}
.rating-group .rating-slider{
	display:flex;align-items:center;gap:10px;
}
.rating-group output{
	min-width:40px;text-align:center;font-variant-numeric:tabular-nums;
}

/* Layout */
.main-grid{
	display:grid;
	grid-template-columns:2fr 1fr;
	gap:20px;
	padding:20px 0 32px;
}
.insights-column{position:sticky;top:88px;height:fit-content}

.reviews-list{
	display:flex;flex-direction:column;gap:12px;
}
.card{
	background:var(--surface);
	border:1px solid var(--border);
	border-radius:12px;
	box-shadow:var(--shadow);
}
.block{padding:16px}
.block-title{
	font-weight:600;margin-bottom:6px;
}
.block-title-inline{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:6px;
}
.block-title-hint{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:18px;
	height:18px;
	border-radius:999px;
	border:1px solid var(--border);
	color:var(--muted);
	background:#f9fafb;
	cursor:default;
}
.block-title-hint-icon{
	width:10px;
	height:10px;
}
.muted{color:var(--muted)}
.block .muted a{
	word-break:break-word;
	overflow-wrap:break-word;
	white-space:normal;
}

.live{overflow:hidden;display:flex;flex-direction:column;height:360px}
.live-header{
	display:flex;align-items:center;justify-content:space-between;
	gap:10px;padding:10px 12px;border-bottom:1px solid var(--border);
	background:linear-gradient(180deg, #fff, #fafafa);
}
.live-left{display:flex;align-items:center;gap:10px}
.live-title{font-weight:600}
.live-status{color:var(--muted);font-size:12px}
.live-actions .btn-live{padding:6px 10px}
.live-indicator{
	width:10px;height:10px;border-radius:999px;display:inline-block;
	background:var(--live);
	box-shadow:0 0 0 0 rgba(239,68,68,0.6);
	animation:livePulse 1.6s ease-in-out infinite;
}
.live.is-connected .live-indicator{box-shadow:0 0 0 4px rgba(239,68,68,0.08)}
@keyframes livePulse{
	0%{transform:scale(1);opacity:.7}
	50%{transform:scale(1.15);opacity:1}
	100%{transform:scale(1);opacity:.7}
}
.live-stream{flex:1 1 auto;min-height:0;overflow:auto;list-style:none;margin:0;padding:6px 0}
.live-item{
	padding:10px 12px;background:#fff;
}
.live-item + .live-item{border-top:1px solid var(--border)}
.live-item-header{
	display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px;
}
.live-item .summary{margin:6px 0 4px}
.live-item .timestamp{font-size:12px;color:var(--muted)}

.review-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);padding:14px;transition:transform .15s ease, box-shadow .15s ease}
.review-card:hover{transform:translateY(-1px);box-shadow:0 2px 6px rgba(0,0,0,0.05), 0 12px 28px rgba(0,0,0,0.08)}
.review-header{
	display:flex;align-items:center;justify-content:space-between;
	gap:10px;margin-bottom:6px;
}
.product-name{font-weight:600}
.product-detail{
	font-size:13px;
	color:var(--muted);
	font-weight:400;
	margin-top:4px;
}
.company-link{
	text-decoration:none;
	color:inherit;
	transition:color .2s ease;
}
.company-link:hover{
	color:var(--accent);
}
.company-link span{
	border-bottom:1px solid transparent;
	transition:border-color .2s ease;
}
.company-link:hover span{
	border-bottom-color:var(--accent);
}
.meta{
	display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;
}
.badge{
	border:1px solid var(--border);
	padding:4px 8px;border-radius:999px;font-size:12px;background:#fafafa;
}
.badge.mantap{border-color:#d1fae5;color:#065f46;background:#ecfdf5}
.badge.google{border-color:#dbeafe;color:#1e40af;background:#eff6ff}
.verified-badge{
	display:inline-flex;
	align-items:center;
	gap:4px;
	padding:6px 12px;
	border-radius:999px;
	font-size:13px;
	font-weight:600;
	background:linear-gradient(135deg,#10b981,#059669);
	color:#fff;
	border:none;
	box-shadow:0 2px 4px rgba(16,185,129,0.2);
	transition:transform .2s ease,box-shadow .2s ease;
}
.verified-badge:hover{
	transform:translateY(-1px);
	box-shadow:0 4px 8px rgba(16,185,129,0.3);
}
.verified-badge svg{
	flex-shrink:0;
}
.stars{color:var(--star);font-size:25px}
.summary{margin:8px 0 6px}
.review-summary{margin:8px 0 6px;color:#374151}
.review-images{
	display:flex;
	flex-wrap:wrap;
	gap:6px;
	margin:10px 0 6px;
}
.review-image{
	width:80px;
	height:80px;
	border-radius:6px;
	border:1px solid var(--border);
	object-fit:cover;
	cursor:pointer;
	transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease;
	background:#f3f4f6;
}
.review-image:hover{
	transform:scale(1.08);
	box-shadow:0 2px 8px rgba(0,0,0,0.12);
	opacity:0.9;
}
.review-image:active{
	transform:scale(0.98);
}

/* Image Modal/Lightbox */
.image-modal{
	display:none;
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:rgba(0,0,0,0.9);
	z-index:10000;
	align-items:center;
	justify-content:center;
	padding:20px;
	cursor:pointer;
	animation:fadeIn .2s ease;
}
.image-modal.is-open{
	display:flex;
}
.image-modal-content{
	max-width:90vw;
	max-height:90vh;
	width:auto;
	height:auto;
	border-radius:8px;
	box-shadow:0 8px 32px rgba(0,0,0,0.5);
	object-fit:contain;
	cursor:default;
	animation:scaleIn .2s ease;
}
.image-modal-close{
	position:absolute;
	top:20px;
	right:20px;
	width:40px;
	height:40px;
	background:rgba(255,255,255,0.1);
	border:1px solid rgba(255,255,255,0.2);
	border-radius:50%;
	color:#fff;
	font-size:24px;
	line-height:1;
	cursor:pointer;
	display:flex;
	align-items:center;
	justify-content:center;
	transition:background .2s ease,transform .2s ease;
	backdrop-filter:blur(10px);
}
.image-modal-close:hover{
	background:rgba(255,255,255,0.2);
	transform:scale(1.1);
}
@keyframes fadeIn{
	from{opacity:0}
	to{opacity:1}
}
@keyframes scaleIn{
	from{transform:scale(0.9);opacity:0}
	to{transform:scale(1);opacity:1}
}
.timestamp{color:var(--muted);font-size:12px}
.review-footer{display:flex;align-items:center;gap:8px;color:var(--muted)}
.avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;border:1px solid var(--border)}

/* Reviewer block (subtle, clean) */
.reviewer{
	display:flex;align-items:center;gap:12px;
	margin:10px 0 6px;
}
.reviewer-photo{
	width:44px;height:44px;border-radius:50%;
	object-fit:cover;background:#f3f4f6;
	border:1px solid var(--border);
}
.reviewer-name{
	font-weight:600;color:#111827;
}
.reviewer-placeholder{
	display:grid;place-items:center;
	background:#f3f4f6;
	color:#9ca3af;
	border:1px solid var(--border);
}
.reviewer-placeholder::before{
	content:'👤';
	font-size:18px;
	line-height:1;
}

/* Product info section */
.product-info{
	display:flex;
	align-items:center;
	gap:12px;
	margin:10px 0 8px;
	padding:10px 12px;
	background:#f9fafb;
	border:1px solid var(--border);
	border-radius:10px;
}
.product-thumbnail{
	width:80px;
	height:80px;
	border-radius:6px;
	border:1px solid var(--border);
	object-fit:cover;
	cursor:pointer;
	transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease;
	background:#f3f4f6;
	flex-shrink:0;
}
.product-thumbnail:hover{
	transform:scale(1.08);
	box-shadow:0 2px 8px rgba(0,0,0,0.12);
	opacity:0.9;
}
.product-thumbnail:active{
	transform:scale(0.98);
}
.product-title{
	font-weight:600;
	color:#111827;
	font-size:14px;
	line-height:1.4;
}
.product-link{
	text-decoration:none;
	color:inherit;
	display:inline-block;
}
.product-link:hover .product-title{
	color:var(--accent);
}
.product-title-link:hover .product-title{
	color:var(--accent);
}

/* Domain link (Others) */
.domain-link{
	color:var(--muted);
	text-decoration:none;
}
.domain-link:hover{color:var(--text);text-decoration:underline}

/* Others reply */
.reply{
	margin:8px 0 6px;
	padding:10px 12px;
	background:#f9fafb;
	border:1px solid var(--border);
	border-radius:10px;
}
.reply-label{
	font-size:12px;
	color:var(--muted);
	font-weight:600;
	margin-bottom:4px;
}
.reply-text{margin:0;color:#374151}
.pagination{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:6px;
	padding:24px 0;
	flex-wrap:wrap;
}
.pagination-link{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:36px;
	height:36px;
	padding:0 12px;
	border-radius:6px;
	border:1px solid #d1d5db;
	background:#fff;
	color:var(--text);
	text-decoration:none;
	font-size:14px;
	font-weight:500;
	transition:background .15s, border-color .15s, color .15s;
}
.pagination-link:hover{background:#f3f4f6;border-color:#9ca3af}
.pagination-disabled{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:36px;
	height:36px;
	padding:0 12px;
	border-radius:6px;
	border:1px solid #e5e7eb;
	background:#f9fafb;
	color:#9ca3af;
	font-size:14px;
	font-weight:500;
	cursor:not-allowed;
}
.pagination-numbers{
	display:flex;
	align-items:center;
	gap:4px;
}
.pagination-num{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:36px;
	height:36px;
	padding:0 10px;
	border-radius:6px;
	border:1px solid #d1d5db;
	background:#fff;
	color:var(--text);
	text-decoration:none;
	font-size:14px;
	font-weight:500;
	transition:background .15s, border-color .15s, color .15s;
}
.pagination-num:hover{background:#f3f4f6;border-color:var(--accent)}
.pagination-current{
	background:var(--accent)!important;
	border-color:var(--accent)!important;
	color:#fff!important;
	cursor:default;
}
.pagination-current:hover{background:var(--accent)!important;color:#fff!important}
.pagination-ellipsis{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:28px;
	height:36px;
	color:var(--muted);
	font-size:14px;
}
.pagination-amazon .pagination-prev,
.pagination-amazon .pagination-next{padding:0 14px}
@media (max-width:640px){
	.pagination{gap:4px;padding:16px 0}
	.pagination-link,.pagination-disabled,.pagination-num{min-width:32px;height:32px;font-size:13px}
	.pagination-ellipsis{min-width:24px}
}

.load-more{
	margin:16px auto 0;display:block;
	padding:10px 14px;border-radius:10px;border:1px solid var(--border);
	background:white;cursor:pointer;
}
.load-more:hover{background:#f8fafc}
.no-results{
	margin:16px 0;color:var(--muted);text-align:center;
}

.trust-score{
	display:flex;align-items:center;gap:12px;
}
.trust-badge{
	min-width:56px;text-align:center;
	background:linear-gradient(135deg,var(--accent),var(--accent-2));
	color:white;border-radius:10px;padding:10px 12px;font-weight:700;
}
.snippets{margin:0;padding-left:18px}
.snippets li{margin:6px 0}

/* Footer */
.app-footer{
	border-top:1px solid var(--border);
	background:var(--surface);
}
.footer-inner{
	display:flex;align-items:center;justify-content:space-between;
	height:64px;
}
.footer-link{color:var(--muted);text-decoration:none;margin-right:10px}
.footer-link:hover{color:var(--text)}
.dot{color:#cbd5e1;margin:0 6px}
.lang-toggle{
	display:inline-flex;border:1px solid var(--border);border-radius:10px;overflow:hidden;
}
.lang-btn{
	padding:6px 10px;background:white;border:0;border-right:1px solid var(--border);cursor:pointer;color:var(--muted)
}
.lang-btn:last-child{border-right:0}
.lang-btn.is-active{background:#eef2ff;color:#3730a3}

/* Responsive */
@media (max-width: 1024px){
	.main-grid{grid-template-columns:1fr;gap:16px}
	.insights-column{position:static}
	.hero-inner{grid-template-columns:1fr}
	.hero-visual{min-height:160px}
}
@media (max-width: 768px){
	.filters-inner{
		grid-template-columns:1fr;
		gap:10px;
	}
	.header-inner{flex-wrap:wrap;height:auto;padding:8px 0}
	.brand{gap:8px}
	.logo,.logo-img{width:44px;height:44px}
	.wordmark{font-size:16px}
	.nav{width:100%;overflow-x:auto;padding:6px 2px 8px;gap:8px}
	.nav::-webkit-scrollbar{display:none}
	.nav-link{flex:0 0 auto}
	.review-header{flex-wrap:wrap}
	.trust-score{flex-wrap:wrap}
	.footer-inner{flex-direction:column;gap:8px;height:auto;padding:12px 0}
	.hero{padding:28px 0 20px}
	.hero-visual{display:none}
	.company-header-layout{flex-direction:column;align-items:center;gap:16px}
	.company-logo{text-align:center}
}
@media (max-width: 480px){
	.container{padding:0 12px}
	.logo,.logo-img{width:40px;height:40px}
	.block{padding:14px}
	.review-card{padding:12px}
	.trust-badge{min-width:48px}
	#sourceSelect{margin:10px 0px}
	.review-image{
		width:70px;
		height:70px;
	}
	.product-thumbnail{
		width:70px;
		height:70px;
	}
	.image-modal{
		padding:10px;
	}
	.image-modal-content{
		max-width:95vw;
		max-height:95vh;
	}
	.image-modal-close{
		top:10px;
		right:10px;
		width:36px;
		height:36px;
		font-size:20px;
	}
}


