/* kovidalab.tech storefront */

:root {
	--bg: #f7f8fb;
	--surface: #ffffff;
	--surface-2: #f1f3f8;
	--border: #e3e6ee;
	--text: #101828;
	--muted: #5b6474;
	--accent: #5b3df5;
	--accent-2: #22d3ee;
	--accent-ink: #ffffff;
	--shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.06);
	--radius: 16px;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0b0e14;
		--surface: #141923;
		--surface-2: #1b2130;
		--border: #262e3f;
		--text: #e8ecf5;
		--muted: #97a1b5;
		--accent: #8b7bff;
		--shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
	}
}

:root[data-theme="dark"] {
	--bg: #0b0e14;
	--surface: #141923;
	--surface-2: #1b2130;
	--border: #262e3f;
	--text: #e8ecf5;
	--muted: #97a1b5;
	--accent: #8b7bff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; color: var(--muted); }

p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

section { padding: 88px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .lead { margin: 0 auto; }
.eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 12px;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: color-mix(in srgb, var(--bg) 85%, transparent);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand-mark {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff;
	font-weight: 800;
}
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(91, 61, 245, 0.25); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-small { padding: 8px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
	content: "";
	position: absolute;
	inset: -20% -10% auto;
	height: 520px;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
	pointer-events: none;
	z-index: -1;
}
.hero .lead { margin: 20px auto 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 28px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: 0.92rem; }
.hero-meta span::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Product cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 28px;
}

.product-card { display: flex; flex-direction: column; gap: 14px; }
.product-icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: var(--surface-2);
	color: var(--accent);
	font-size: 1.4rem;
	font-weight: 800;
}
.product-card ul { list-style: none; padding: 0; margin: 0 0 8px; color: var(--muted); }
.product-card li { padding: 4px 0; }
.product-card li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.product-card .btn { margin-top: auto; }
.from-price { font-size: 0.9rem; color: var(--muted); }
.from-price strong { color: var(--text); font-size: 1.3rem; }

/* Pricing */
.pricing-product + .pricing-product { margin-top: 72px; }
.pricing-product-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.plan { display: flex; flex-direction: column; gap: 12px; position: relative; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan.featured::after {
	content: "En çok tercih edilen";
	position: absolute;
	top: -12px;
	left: 24px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
}
.plan .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 6px 0 4px; }
.plan .price span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 16px; color: var(--muted); flex: 1; }
.plan li { padding: 6px 0; border-top: 1px dashed var(--border); }
.plan li:first-child { border-top: 0; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.plan form { margin: 0; }

.empty {
	text-align: center;
	padding: 56px 24px;
	border: 1px dashed var(--border);
	border-radius: var(--radius);
	color: var(--muted);
}

/* Trust */
.trust { background: var(--surface); border-block: 1px solid var(--border); }
.trust-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); text-align: center; }
.trust-item .icon { font-size: 2rem; margin-bottom: 8px; color: var(--accent); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 56px 0 20px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 2fr 1fr 1fr; }
.footer-grid a { display: block; color: var(--muted); padding: 3px 0; }
.footer-grid a:hover { color: var(--text); }
.footer-grid .brand { margin-bottom: 12px; }
.copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.88rem; }

/* Success page */
.narrow { max-width: 620px; margin: 0 auto; text-align: center; padding: 96px 20px; }

@media (max-width: 760px) {
	.nav-links { display: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid > div:first-child { grid-column: 1 / -1; }
	section { padding: 64px 0; }
	.hero { padding: 64px 0 48px; }
}
