/* Google AI product aesthetic — clean dark, vivid Google accents */
:root {
	--google-blue:   #4285F4;
	--google-red:    #EA4335;
	--google-yellow: #FBBC05;
	--google-green:  #34A853;

	/* Gemini brand gradient */
	--gemini-grad: linear-gradient(135deg, #4285F4 0%, #9B72CB 40%, #D96570 70%, #FBBC05 100%);

	--bg:     #050508;
	--panel:  #0f0f14;
	--card:   rgba(255, 255, 255, 0.05);
	--text:   #f0f4ff;
	--muted:  #9aa0b4;
	--border: rgba(255, 255, 255, 0.09);
	--shadow: 0 24px 60px rgba(0, 0, 0, 0.6);

	font-family: "Space Grotesk", "Manrope", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
	background: var(--bg);
	color: var(--text);
	min-height: 100vh;
	line-height: 1.6;
	padding-bottom: 4rem;
}

/* Big Gemini-style ambient glow behind the hero */
body::before {
	content: "";
	position: fixed;
	top: -30%;
	left: 50%;
	transform: translateX(-50%);
	width: 900px;
	height: 600px;
	background: radial-gradient(ellipse,
		rgba(66,133,244,0.18) 0%,
		rgba(155,114,203,0.14) 35%,
		rgba(217,101,112,0.10) 60%,
		transparent 80%);
	pointer-events: none;
	z-index: 0;
}

a { color: inherit; text-decoration: none; }

/* ── Topline ─────────────────────────────────────────────────────────────── */
.hero {
	padding: 2.5rem clamp(1.5rem, 4vw, 4rem) 3rem;
	position: relative;
	z-index: 1;
}

.topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1100px;
	margin: 0 auto 3rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 700;
	font-size: 1.05rem;
}

.logo {
	width: 2rem;
	height: 2rem;
	border-radius: 8px;
	background: var(--gemini-grad);
	display: grid;
	place-items: center;
	font-size: 1rem;
}

.pill {
	padding: 0.5rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(66,133,244,0.35);
	background: rgba(66,133,244,0.08);
	color: var(--muted);
	font-size: 0.85rem;
}
.pill a { color: var(--google-blue); }
.pill a:hover { text-decoration: underline; }

/* ── Hero grid ───────────────────────────────────────────────────────────── */
.hero-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(2rem, 4vw, 4rem);
	max-width: 1100px;
	margin: 0 auto;
	align-items: center;
}

.eyebrow {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 600;
	margin-bottom: 1rem;
	/* Gemini gradient text */
	background: var(--gemini-grad);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline-block;
}

.hero-copy h1 {
	font-size: clamp(2.8rem, 4.5vw, 4rem);
	line-height: 1.08;
	letter-spacing: -1px;
	margin-bottom: 1.2rem;
	font-weight: 700;
}

.lede {
	color: var(--muted);
	font-size: 1.1rem;
	max-width: 560px;
	line-height: 1.7;
}
.lede a { color: var(--google-blue); }
.lede a:hover { text-decoration: underline; }

.hero-actions {
	display: flex;
	gap: 0.8rem;
	margin: 2rem 0 1.5rem;
	flex-wrap: wrap;
}

.btn {
	padding: 0.8rem 1.5rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.btn.primary {
	background: var(--google-blue);
	color: #fff;
	box-shadow: 0 4px 24px rgba(66,133,244,0.40);
}
.btn.primary:hover {
	background: #5a95f5;
	box-shadow: 0 8px 32px rgba(66,133,244,0.55);
	transform: translateY(-1px);
}
.btn.ghost {
	background: rgba(255,255,255,0.06);
	border-color: var(--border);
	color: var(--text);
}
.btn.ghost:hover { background: rgba(255,255,255,0.10); transform: translateY(-1px); }

.hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.hero-badges span {
	padding: 0.4rem 0.85rem;
	border-radius: 6px;
	font-size: 0.83rem;
	font-weight: 500;
	border: 1px solid var(--border);
	color: var(--muted);
	background: rgba(255,255,255,0.03);
}

.hero-visual .glass-card {
	background: rgba(255,255,255,0.03);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 1rem;
	/* Subtle Gemini gradient border glow */
	box-shadow: 0 0 0 1px rgba(66,133,244,0.15), var(--shadow);
}
.hero-gif {
	width: 100%;
	display: block;
	border-radius: 10px;
}
.caption { margin-top: 0.7rem; color: var(--muted); font-size: 0.9rem; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section {
	max-width: 1100px;
	margin: 0 auto;
	padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 4vw, 4rem);
	position: relative;
	z-index: 1;
}

.section-header { text-align: center; max-width: 700px; margin: 0 auto 2.5rem; }
.section-header h2 {
	font-size: clamp(1.9rem, 3vw, 2.5rem);
	font-weight: 700;
	margin-bottom: 0.6rem;
	letter-spacing: -0.5px;
}
.intro { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.intro a { color: var(--google-blue); }
.intro a:hover { text-decoration: underline; }

/* ── Feature cards — one Google color per card ───────────────────────────── */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1px;
	background: var(--border);
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--border);
}

.feature-card {
	background: var(--panel);
	padding: 1.5rem;
	transition: background 0.2s ease;
}
.feature-card:hover { background: rgba(255,255,255,0.04); }

/* Google four-color rotation */
.feature-card:nth-child(1) .icon { background: rgba(66,133,244,0.15);  border-left: 3px solid var(--google-blue); }
.feature-card:nth-child(2) .icon { background: rgba(234,67,53,0.12);   border-left: 3px solid var(--google-red); }
.feature-card:nth-child(3) .icon { background: rgba(251,188,5,0.12);   border-left: 3px solid var(--google-yellow); }
.feature-card:nth-child(4) .icon { background: rgba(52,168,83,0.12);   border-left: 3px solid var(--google-green); }
.feature-card:nth-child(5) .icon { background: rgba(66,133,244,0.15);  border-left: 3px solid var(--google-blue); }
.feature-card:nth-child(6) .icon { background: rgba(234,67,53,0.12);   border-left: 3px solid var(--google-red); }

.feature-card:nth-child(1):hover { border-top: none; box-shadow: inset 3px 0 0 var(--google-blue); }
.feature-card:nth-child(2):hover { box-shadow: inset 3px 0 0 var(--google-red); }
.feature-card:nth-child(3):hover { box-shadow: inset 3px 0 0 var(--google-yellow); }
.feature-card:nth-child(4):hover { box-shadow: inset 3px 0 0 var(--google-green); }
.feature-card:nth-child(5):hover { box-shadow: inset 3px 0 0 var(--google-blue); }
.feature-card:nth-child(6):hover { box-shadow: inset 3px 0 0 var(--google-red); }

.feature-card .icon {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	display: grid;
	place-items: center;
	font-size: 1.3rem;
	margin-bottom: 0.9rem;
}
.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.feature-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.feature-card a {
	display: inline-block;
	margin-top: 0.7rem;
	color: var(--google-blue);
	font-size: 0.82rem;
	font-weight: 500;
}
.feature-card a:hover { text-decoration: underline; }

/* ── Story ───────────────────────────────────────────────────────────────── */
.story { padding-top: 0; }
.story-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1rem;
}
.story-card {
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 1.75rem;
}
.story-card.secondary {
	/* Very subtle Google blue-green tint */
	background: linear-gradient(160deg, rgba(66,133,244,0.07), rgba(52,168,83,0.05));
	border-color: rgba(66,133,244,0.18);
}
.story-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.9rem; }
.story-list { list-style: none; display: grid; gap: 0.65rem; color: var(--muted); font-size: 0.93rem; }
.story-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.story-text { color: var(--muted); line-height: 1.7; margin-bottom: 1rem; font-size: 0.95rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
	padding: 0.35rem 0.75rem;
	border-radius: 6px;
	background: rgba(66,133,244,0.10);
	border: 1px solid rgba(66,133,244,0.20);
	color: #a8c4ff;
	font-size: 0.82rem;
	font-weight: 500;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
	text-align: center;
	color: var(--muted);
	padding: 2.5rem 1.5rem 0;
	font-size: 0.9rem;
	position: relative;
	z-index: 1;
}
.footer a { color: var(--google-blue); }
.footer a:hover { text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
	.topline { flex-direction: column; gap: 1rem; align-items: flex-start; }
	.hero-actions { width: 100%; }
	.btn { flex: 1; justify-content: center; }
	.feature-grid { background: none; border: none; border-radius: 0; gap: 0.75rem; }
	.feature-card { border-radius: 12px; border: 1px solid var(--border); }
}
