/* ============================================
   ForDev.tools - Shared Styles
   ============================================ */

/* Reset & Base */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--bg-base: #0d1117;
	--bg-section-alt: #0a0f16;
	--bg-footer: #070a0f;
	--card-bg: rgba(255, 255, 255, 0.03);
	--card-border: rgba(255, 255, 255, 0.06);
	--card-border-hover: rgba(255, 255, 255, 0.08);
	--text-primary: #f3f4f6;
	--text-muted: #9ca3af;
	--text-nav: #e5e7eb;
	--accent-mint: #5eead4;
	--accent-purple: #a78bfa;
	--accent-cyan: #22d3ee;
	--accent-blue: #60a5fa;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background-color: var(--bg-base);
	color: var(--text-primary);
	line-height: 1.5;
	letter-spacing: -0.01em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 32px;
	z-index: 100;
	background: transparent;
	transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled,
.nav.nav-solid {
	background: rgba(13, 17, 23, 0.9);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--card-border);
}

.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 18px;
	color: var(--text-nav);
	text-decoration: none;
}

.nav-logo img {
	height: 60px;
	border-radius: 6px;
}

.nav-links {
	display: flex;
	gap: 24px;
}

.nav-links a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s ease;
}

.nav-links a:hover {
	color: var(--accent-cyan);
}

/* ============================================
   Sections & Containers
   ============================================ */
section {
	padding: 60px 20px;
}

.container {
	max-width: 960px;
	margin: 0 auto;
}

/* ============================================
   Typography
   ============================================ */
.section-title {
	font-size: clamp(22px, 3.5vw, 34px);
	font-weight: 700;
	margin-bottom: 16px;
	line-height: 1.2;
}

.section-subtitle {
	font-size: 17px;
	color: var(--text-muted);
	max-width: 600px;
	line-height: 1.6;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
	color: #0d1117;
	font-weight: 600;
	font-size: 15px;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
	transform: scale(1.02);
	box-shadow: 0 0 30px rgba(94, 234, 212, 0.3);
}

.btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	color: var(--text-primary);
	font-weight: 500;
	font-size: 14px;
	border-radius: 10px;
	cursor: pointer;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
	border-color: var(--card-border-hover);
	background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   Cards
   ============================================ */
.card {
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 14px;
	padding: 24px;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
	transform: scale(1.02);
	border-color: var(--card-border-hover);
}

.highlight-box {
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 12px;
	padding: 20px 24px;
	margin: 24px 0;
}

.highlight-box p {
	margin-bottom: 0;
}

.warning-box {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.2);
	border-radius: 12px;
	padding: 20px 24px;
	margin: 24px 0;
}

.warning-box p {
	margin-bottom: 0;
	color: #fca5a5;
}

/* ============================================
   Footer
   ============================================ */
footer {
	background: var(--bg-footer);
	padding: 48px 32px;
	border-top: 1px solid var(--card-border);
}

.footer-content {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 32px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 16px;
	color: var(--text-muted);
	text-decoration: none;
}

.footer-brand img {
	height: 50px;
	border-radius: 5px;
}

.footer-links {
	display: flex;
	gap: 32px;
}

.footer-links a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s ease;
}

.footer-links a:hover {
	color: var(--accent-cyan);
}

.footer-info {
	color: #6b7280;
	font-size: 13px;
	text-align: right;
}

.footer-info p {
	margin-bottom: 4px;
}

/* ============================================
   Page Content (Legal/Info Pages)
   ============================================ */
main.page-content {
	max-width: 760px;
	margin: 0 auto;
	padding: 120px 32px 80px;
	line-height: 1.7;
}

.page-header {
	margin-bottom: 48px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--card-border);
}

.page-header h1 {
	font-size: 40px;
	font-weight: 700;
	margin-bottom: 12px;
	background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.page-header .last-updated {
	color: var(--text-muted);
	font-size: 14px;
}

.content-section {
	margin-bottom: 40px;
    padding: 40px 0;
}

.content-section h2 {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 16px;
	color: var(--text-primary);
}

.content-section h3 {
	font-size: 17px;
	font-weight: 600;
	margin: 24px 0 12px;
	color: var(--text-primary);
}

.content-section p {
	color: var(--text-muted);
	margin-bottom: 16px;
	font-size: 15px;
}

.content-section ul,
.content-section ol {
	color: var(--text-muted);
	margin-bottom: 16px;
	padding-left: 24px;
	font-size: 15px;
}

.content-section li {
	margin-bottom: 8px;
}

.content-section a {
	color: var(--accent-cyan);
	text-decoration: none;
}

.content-section a:hover {
	text-decoration: underline;
}

/* ============================================
   Hero Section (Landing Page)
   ============================================ */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at top center, #1e2635 0%, #0d1117 70%);
	padding-top: 68px;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 800px;
	height: 800px;
	background: radial-gradient(
		circle,
		rgba(94, 234, 212, 0.08) 0%,
		rgba(167, 139, 250, 0.06) 40%,
		transparent 70%
	);
	pointer-events: none;
}

.hero-card {
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 24px;
	padding: 64px 48px;
	text-align: center;
	max-width: 960px;
	position: relative;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-logo {
	width: 80px;
	height: 80px;
	margin-bottom: 24px;
	border-radius: 16px;
}

.hero h1 {
	font-size: clamp(26px, 4vw, 44px);
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 16px;
	background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero p {
	font-size: 18px;
	color: var(--text-muted);
	max-width: 540px;
	margin: 0 auto 32px;
	line-height: 1.6;
}

.hero-checklist {
	list-style: none;
	text-align: left;
	max-width: 480px;
	margin: 0 auto 32px;
}

.hero-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
	color: var(--text-muted);
	font-size: 15px;
	line-height: 1.5;
}

.hero-checklist li svg {
	width: 20px;
	height: 20px;
	color: var(--accent-mint);
	flex-shrink: 0;
	margin-top: 2px;
}

.hero-link {
	display: block;
	margin-top: 16px;
	color: var(--text-muted);
	font-size: 14px;
	text-decoration: none;
	transition: color 0.2s ease;
}

.hero-link:hover {
	color: var(--accent-cyan);
}

/* ============================================
   Landing Page Sections
   ============================================ */
.custom-tools {
	background: var(--bg-section-alt);
}

.two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.code-block {
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid var(--card-border);
	border-radius: 16px;
	padding: 24px;
	font-family: "SF Mono", "Fira Code", monospace;
	font-size: 14px;
	color: var(--text-muted);
	overflow-x: auto;
}

.code-block .keyword {
	color: var(--accent-purple);
}
.code-block .function {
	color: var(--accent-cyan);
}
.code-block .string {
	color: var(--accent-mint);
}
.code-block .comment {
	color: #6b7280;
}

.free-tools {
	background: var(--bg-base);
}

.free-tools .section-header,
.dx-features .section-header {
	text-align: center;
	margin-bottom: 48px;
}

.free-tools .section-subtitle,
.dx-features .section-subtitle {
	margin: 0 auto;
}

.tools-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.tool-card {
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 14px;
	padding: 24px;
	text-align: center;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.tool-card:hover {
	transform: scale(1.02);
	border-color: var(--card-border-hover);
}

.tool-card svg {
	width: 32px;
	height: 32px;
	margin-bottom: 12px;
	color: var(--accent-cyan);
}

.tool-card h3 {
	font-size: 15px;
	font-weight: 600;
}

.tool-card p {
	font-size: 13px;
	color: var(--text-muted);
	margin-top: 6px;
}

/* Tier Labels */
.tier-label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--accent-cyan);
	margin-bottom: 20px;
	margin-top: 48px;
	text-align: center;
}

.tier-label:first-of-type {
	margin-top: 0;
}

/* 3-column grid */
.tools-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

/* Featured tool cards (Tier 1) */
.tool-card-featured {
	background: linear-gradient(135deg, rgba(94, 234, 212, 0.08) 0%, rgba(167, 139, 250, 0.05) 100%);
	border-color: rgba(94, 234, 212, 0.2);
}

.tool-card-featured:hover {
	border-color: rgba(94, 234, 212, 0.4);
	box-shadow: 0 0 30px rgba(94, 234, 212, 0.1);
}

.tool-card-featured svg {
	color: var(--accent-mint);
}

/* Remix section */
.remix-section {
	background: linear-gradient(to bottom, var(--bg-section-alt) 0%, var(--bg-base) 100%);
}

.remix-section .section-header {
	text-align: center;
	margin-bottom: 48px;
}

.remix-section .section-subtitle {
	margin: 0 auto;
}

/* Remix tool cards (Tier 3) */
.tool-card-remix {
	background: linear-gradient(135deg, rgba(167, 139, 250, 0.08) 0%, rgba(96, 165, 250, 0.05) 100%);
	border-color: rgba(167, 139, 250, 0.2);
}

.tool-card-remix:hover {
	border-color: rgba(167, 139, 250, 0.4);
	box-shadow: 0 0 30px rgba(167, 139, 250, 0.1);
}

.tool-card-remix svg {
	color: var(--accent-purple);
}

.marketplace {
	background: linear-gradient(to bottom, #0a0f16 0%, #121821 100%);
	text-align: center;
}

.marketplace .section-subtitle {
	margin: 0 auto 48px;
}

.ecosystem-graphic {
	width: 100%;
	max-width: 600px;
	height: 200px;
	margin: 0 auto;
	background: radial-gradient(
		ellipse at center,
		rgba(94, 234, 212, 0.1) 0%,
		rgba(167, 139, 250, 0.05) 50%,
		transparent 70%
	);
	border-radius: 50%;
	position: relative;
}

.ecosystem-graphic::before {
	content: "";
	position: absolute;
	inset: 20%;
	background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 70%);
	border-radius: 50%;
	animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
	0%,
	100% {
		opacity: 0.5;
		transform: scale(1);
	}
	50% {
		opacity: 1;
		transform: scale(1.1);
	}
}

.dx-features {
	background: var(--bg-section-alt);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.feature-card {
	background: rgba(255, 255, 255, 0.02);
	border-radius: 14px;
	padding: 24px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.feature-card svg {
	width: 24px;
	height: 24px;
	color: var(--accent-mint);
	flex-shrink: 0;
}

.feature-card span {
	font-size: 15px;
	font-weight: 500;
}

.cta-section {
	background: var(--bg-base);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta-section::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 800px;
	height: 400px;
	background: radial-gradient(circle at bottom, #2b6777 0%, transparent 55%);
	opacity: 0.3;
	pointer-events: none;
}

.cta-section .container {
	position: relative;
}

.cta-section .section-title {
	font-size: clamp(22px, 3.5vw, 34px);
	margin-bottom: 16px;
}

/* Control Section */
.control-section {
	padding: 80px 24px;
	background: var(--bg-section-alt);
	text-align: center;
}

.control-content {
	max-width: 600px;
	margin: 0 auto;
}

/* AI Packs Section */
.ai-packs-section {
	padding: 80px 24px;
	background: var(--bg-base);
	text-align: center;
}

.ai-packs-checklist {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 32px;
	max-width: 700px;
	margin: 32px auto 0;
	text-align: left;
}

.ai-packs-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--text-muted);
	font-size: 15px;
	line-height: 1.5;
}

.ai-packs-checklist li svg {
	width: 20px;
	height: 20px;
	color: var(--accent-mint);
	flex-shrink: 0;
	margin-top: 2px;
}

.cta-section .section-subtitle {
	margin: 0 auto 32px;
}

.form-message {
	margin-top: 16px;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 14px;
	text-align: center;
	display: none;
}

.form-message.success,
.form-message.error {
	display: block;
}

.form-message.success {
	background: rgba(46, 204, 113, 0.15);
	color: #2ecc71;
	border: 1px solid rgba(46, 204, 113, 0.3);
}

.form-message.error {
	background: rgba(231, 76, 60, 0.15);
	color: #e74c3c;
	border: 1px solid rgba(231, 76, 60, 0.3);
}

/* ============================================
   About & Contact Page Specific
   ============================================ */
.about-hero,
.contact-hero {
	padding-top: 140px;
	padding-bottom: 80px;
	text-align: center;
	background: radial-gradient(circle at top center, #1e2635 0%, #0d1117 70%);
}

.about-hero .hero-logo,
.contact-hero .hero-logo {
	width: 64px;
	height: 64px;
	margin-bottom: 24px;
}

/* About Page Narrative Sections */
.about-narrative,
.about-transition,
.about-philosophy,
.about-closing {
	padding: 30px 24px;
}

.about-narrative {
	background: var(--bg-base);
}

.about-transition {
	background: var(--bg-section-alt);
}

.about-philosophy {
	background: var(--bg-base);
}

.about-features {
	padding: 80px 24px;
	background: var(--bg-section-alt);
}

.about-closing {
	background: var(--bg-base);
	padding: 50px 24px;
}

.narrative-content {
	max-width: 640px;
	text-align: left;
}

.narrative-content p {
	color: var(--text-muted);
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 20px;
}

.narrative-content p:last-child {
	margin-bottom: 0;
}

.narrative-lead {
	font-size: 20px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 24px;
}

.narrative-content .section-title {
	text-align: left;
	margin-bottom: 24px;
}

.closing-statement {
	font-size: 17px;
	color: var(--text-muted);
	font-style: italic;
	text-align: center;
	max-width: 100%;
}

.about-closing .narrative-content {
	max-width: 100%;
	text-align: center;
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}

.info-card {
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 16px;
	padding: 32px;
}

.info-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.info-card-header svg {
	flex-shrink: 0;
}

.info-card-header h3 {
	font-size: 18px;
	font-weight: 600;
	margin: 0;
	color: var(--text-primary);
}

.info-card p {
	color: var(--text-muted);
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 12px;
}

.info-card p:last-child {
	margin-bottom: 0;
}

.info-card a {
	color: var(--accent-cyan);
	text-decoration: none;
}

.info-card a:hover {
	text-decoration: underline;
}

.contact-methods {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 48px;
}

.contact-card {
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 16px;
	padding: 32px;
	text-align: center;
}

.contact-card svg {
	width: 32px;
	height: 32px;
	color: var(--accent-cyan);
	margin-bottom: 16px;
}

.contact-card h3 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
	color: var(--text-muted);
	font-size: 14px;
}

.contact-card a {
	color: var(--accent-cyan);
	text-decoration: none;
}

.contact-card a:hover {
	text-decoration: underline;
}

/* 2-column contact methods */
.contact-methods-2col {
	grid-template-columns: repeat(2, 1fr);
}

/* ============================================
   Forms
   ============================================ */
.notify-form {
	display: flex;
	gap: 12px;
	max-width: 480px;
	margin: 0 auto;
}

.notify-form input[type="email"] {
	flex: 1;
	padding: 14px 20px;
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 12px;
	color: var(--text-primary);
	font-size: 15px;
	outline: none;
	transition: border-color 0.2s ease;
}

.notify-form input[type="email"]:focus {
	border-color: var(--accent-cyan);
}

.notify-form input[type="email"]::placeholder {
	color: var(--text-muted);
}

.contact-form {
	max-width: 600px;
	margin: 0 auto;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--text-primary);
	margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 14px 16px;
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 10px;
	color: var(--text-primary);
	font-size: 15px;
	font-family: inherit;
	outline: none;
	transition: border-color 0.2s ease;
	resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: var(--accent-cyan);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: var(--text-muted);
}

.contact-form .btn-primary {
	width: 100%;
	justify-content: center;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-section {
	background: var(--bg-base);
}

.pricing-section .section-header {
	text-align: center;
	margin-bottom: 32px;
}

.pricing-section .section-subtitle {
	margin: 0 auto;
}

.billing-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-bottom: 48px;
}

.toggle-label {
	font-size: 14px;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	gap: 8px;
}

.discount-badge {
	background: linear-gradient(135deg, var(--accent-mint) 0%, var(--accent-cyan) 100%);
	color: #0d1117;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 20px;
}

.toggle-switch {
	position: relative;
	width: 48px;
	height: 26px;
	cursor: pointer;
}

.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.toggle-slider {
	position: absolute;
	inset: 0;
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 26px;
	transition: background 0.3s ease;
}

.toggle-slider::before {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	left: 3px;
	top: 50%;
	transform: translateY(-50%);
	background: var(--text-muted);
	border-radius: 50%;
	transition: transform 0.3s ease, background 0.3s ease;
}

.toggle-switch input:checked + .toggle-slider::before {
	transform: translateY(-50%) translateX(22px);
	background: var(--accent-mint);
}

.pricing-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	max-width: 1100px;
	margin: 0 auto;
}

.pricing-card {
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 20px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	position: relative;
}

.pricing-card-featured {
	background: linear-gradient(135deg, rgba(94, 234, 212, 0.08) 0%, rgba(167, 139, 250, 0.05) 100%);
	border-color: rgba(94, 234, 212, 0.3);
}

.popular-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
	color: #0d1117;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 16px;
	border-radius: 20px;
    display: none;
}

.pricing-header h3 {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 4px;
}

.pricing-tagline {
	font-size: 14px;
	color: var(--text-muted);
	margin-bottom: 0;
}

.pricing-price {
	margin: 24px 0;
	display: flex;
	align-items: baseline;
	gap: 4px;
}

.price-amount {
	font-size: 48px;
	font-weight: 700;
	background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.price-period {
	font-size: 16px;
	color: var(--text-muted);
}

.pricing-features {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	flex: 1;
}

.pricing-features li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	color: var(--text-muted);
	margin-bottom: 12px;
}

.pricing-features li svg {
	width: 18px;
	height: 18px;
	color: var(--accent-mint);
	flex-shrink: 0;
	margin-top: 1px;
}

.pricing-cta {
	width: 100%;
	justify-content: center;
	text-align: center;
}

.pricing-note {
	text-align: center;
	margin-top: 32px;
	font-size: 14px;
}

.pricing-note a {
	color: var(--accent-cyan);
	text-decoration: none;
}

.pricing-note a:hover {
	text-decoration: underline;
}

/* Pricing Page Specific */
.pricing-hero {
	padding-top: 140px;
	padding-bottom: 40px;
	text-align: center;
	/* background: radial-gradient(circle at top center, #1e2635 0%, #0d1117 70%); */
}

.included-section {
	background: var(--bg-section-alt);
}

.included-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.included-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	color: var(--text-muted);
}

.included-item svg {
	width: 20px;
	height: 20px;
	color: var(--accent-mint);
	flex-shrink: 0;
}

.comparison-section {
	background: var(--bg-base);
}

.comparison-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 32px;
}

.comparison-table th,
.comparison-table td {
	padding: 16px 20px;
	text-align: left;
	border-bottom: 1px solid var(--card-border);
}

.comparison-table th {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-primary);
	background: var(--card-bg);
}

.comparison-table th:first-child {
	border-radius: 12px 0 0 0;
}

.comparison-table th:last-child {
	border-radius: 0 12px 0 0;
}

.comparison-table td {
	font-size: 14px;
	color: var(--text-muted);
}

.comparison-table td:first-child {
	color: var(--text-primary);
	font-weight: 500;
}

.comparison-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.02);
}

.comparison-table .category-row td {
	background: rgba(94, 234, 212, 0.05);
	color: var(--accent-mint);
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 12px 20px;
}

.check-icon {
	color: var(--accent-mint);
}

.comparison-table svg {
	width: 18px;
	height: 18px;
}

.faq-section {
	background: var(--bg-section-alt);
}

.faq-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-top: 32px;
}

.faq-item {
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 16px;
	padding: 24px;
}

.faq-item h3 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--text-primary);
}

.faq-item p {
	font-size: 14px;
	color: var(--text-muted);
	line-height: 1.6;
	margin: 0;
}

.faq-item a {
	color: var(--accent-cyan);
	text-decoration: none;
}

.faq-item a:hover {
	text-decoration: underline;
}

.feature-label {
	display: inline-flex;
	align-items: flex-start;
	gap: 6px;
	position: relative;
	cursor: help;
}

.feature-label-text {
	display: block;
}

.feature-label-text > span:first-child {
	display: block;
}

.feature-label-hint {
	display: block;
	font-size: 11px;
	color: var(--text-muted);
	font-weight: 400;
}

.tooltip-icon {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.tooltip-icon .help-icon {
	width: 14px;
	height: 14px;
	opacity: 0.5;
	transition: opacity 0.2s ease;
}

.feature-label:hover .tooltip-icon .help-icon {
	opacity: 0.8;
}

.tooltip-content {
	position: absolute !important;
	bottom: calc(100% + 8px);
	left: 0;
	background: #1e2635;
	color: var(--text-primary);
	font-size: 12px;
	line-height: 1.5;
	padding: 12px 14px;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	display: none !important;
	z-index: 1000;
	pointer-events: none;
	width: max-content;
	max-width: 320px;
	text-align: left;
	white-space: normal;
}

.feature-label:hover .tooltip-content,
.inline-tooltip:hover .tooltip-content {
	display: block !important;
}

.tooltip-content ul {
	margin: 4px 0 0 0;
	padding-left: 16px;
	list-style: disc;
}

.tooltip-content li {
	margin: 2px 0;
}

/* Inline tooltip for table cells and list items */
.inline-tooltip {
	position: relative;
	cursor: help;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.inline-tooltip .help-icon {
	width: 13px;
	height: 13px;
	opacity: 0.5;
	transition: opacity 0.2s ease;
	flex-shrink: 0;
}

.inline-tooltip:hover .help-icon {
	opacity: 0.8;
}

.inline-tooltip .tooltip-content {
	bottom: calc(100% + 6px);
}


@media (max-width: 768px) {
	.section-title {
		font-size: clamp(20px, 5vw, 26px);
	}

	.hero h1 {
		font-size: clamp(22px, 5vw, 32px);
	}

	.hero-checklist {
		max-width: 100%;
		padding: 0 16px;
	}

	.hero-checklist li {
		font-size: 14px;
	}

	.ai-packs-checklist {
		grid-template-columns: 1fr;
		padding: 0 16px;
	}

	.ai-packs-checklist li {
		font-size: 14px;
	}

	.control-section {
		padding: 60px 24px;
	}

	.ai-packs-section {
		padding: 60px 24px;
	}

	/* About page mobile */
	.about-narrative,
	.about-transition,
	.about-philosophy,
	.about-closing {
		padding: 20px 24px;
	}

	.about-features {
		padding: 60px 24px;
	}

	.narrative-content {
		max-width: 100%;
	}

	.narrative-lead {
		font-size: 18px;
	}

	.narrative-content p {
		font-size: 15px;
	}

	.info-grid {
		grid-template-columns: 1fr;
	}

	.tooltip-content {
		position: fixed;
		left: 16px;
		right: 16px;
		bottom: auto;
		top: 50%;
		transform: translateY(-50%);
		max-width: calc(100vw - 32px);
		width: auto;
	}
}

.tooltip {
	position: relative;
	cursor: help;
	border-bottom: 1px dashed var(--text-muted);
}

.tooltip::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #1e2635;
	color: var(--text-primary);
	font-size: 12px;
	padding: 8px 12px;
	border-radius: 8px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	z-index: 10;
	margin-bottom: 8px;
}

.tooltip:hover::after {
	opacity: 1;
	visibility: visible;
}

.help-icon {
	width: 14px;
	height: 14px;
	vertical-align: middle;
	margin-left: 4px;
	opacity: 0.6;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
	.two-col {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.tools-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.tools-grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.info-grid {
		grid-template-columns: 1fr;
	}

	.contact-methods,
	.contact-methods-2col {
		grid-template-columns: 1fr;
	}

	.pricing-cards {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 16px;
		max-width: 100%;
		padding-bottom: 16px;
		-webkit-overflow-scrolling: touch;
	}

	.pricing-cards .pricing-card {
		flex: 0 0 280px;
		scroll-snap-align: start;
	}

	.included-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.faq-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	section {
		padding: 80px 20px;
	}

	.nav {
		padding: 0 20px;
	}

	.nav-links {
		display: none;
	}

	.hero-card {
		padding: 40px 24px;
	}

	.tools-grid,
	.tools-grid-3 {
		grid-template-columns: 1fr;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}

	main.page-content {
		padding: 100px 20px 60px;
	}

	.page-header h1 {
		font-size: 28px;
	}

	.footer-content {
		flex-direction: column;
		text-align: center;
	}

	.footer-info {
		text-align: center;
	}

	.footer-links {
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px;
	}

	.notify-form {
		flex-direction: column;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.included-grid {
		grid-template-columns: 1fr;
	}

	.comparison-table {
		font-size: 13px;
	}

	.comparison-table th,
	.comparison-table td {
		padding: 12px 12px;
	}
}
