/*
Theme Name: Malbyt Landing
Theme URI: https://apifeldigi.com
Author: Apifel DIGI
Author URI: https://apifeldigi.com
Description: One-page marketing site for Malbyt, the WordPress antivirus, firewall and hardening plugin.
Version: 1.0.0
Text Domain: malbyt-landing
*/

/* ==========================================================================
   Malbyt Landing — Design System
   Indigo base + coral accent + acid-lime CTA pop
   ========================================================================== */

:root {
	--ink:        #151A4D;
	--ink-soft:   #3A4080;
	--paper:      #FAF9F6;
	--paper-dim:  #F0EEE8;
	--coral:      #FF4D6D;
	--coral-deep: #E23557;
	--lime:       #D4FF3F;
	--line:       rgba(21,26,77,0.12);
	--radius-sm:  8px;
	--radius-md:  16px;
	--radius-lg:  28px;
	--font-display: 'Space Grotesk', sans-serif;
	--font-body:    'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	background: var(--paper);
	color: var(--ink);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0;
}
p { margin: 0; }
.eyebrow { display: none; } /* deliberately not using tracked-out label chrome */

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 30px;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #c3ee2a; }
.btn-outline { border-color: rgba(250,249,246,0.35); color: var(--paper); }
.btn-outline:hover { border-color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #0e123a; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(250,249,246,0.88);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header .row {
	display: flex; align-items: center; justify-content: space-between;
	padding: 18px 32px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.brand-mark {
	width: 34px; height: 34px; border-radius: 10px;
	background: linear-gradient(135deg, var(--coral), var(--ink));
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 16px; font-weight: 800;
}
.site-nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; opacity: .75; }
.site-nav a:hover { opacity: 1; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
	.site-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
	background: var(--ink);
	color: var(--paper);
	padding: 96px 0 0;
	overflow: hidden;
	position: relative;
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 60px;
	align-items: center;
	padding-bottom: 80px;
}
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
	font-size: clamp(40px, 5.5vw, 68px);
	color: var(--paper);
}
.hero h1 .hl { color: var(--lime); }
.hero-sub {
	margin-top: 24px;
	font-size: 19px;
	color: rgba(250,249,246,0.78);
	max-width: 46ch;
}
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-proof {
	margin-top: 40px;
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
}
.hero-proof-item { }
.hero-proof-num { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--lime); }
.hero-proof-label { font-size: 13px; color: rgba(250,249,246,0.6); margin-top: 2px; }

/* Hero visual: stat panel instead of a generic screenshot */
.hero-panel {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 28px;
	color: var(--ink);
	box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5);
	transform: rotate(1.5deg);
}
.hero-panel-row {
	display: flex; justify-content: space-between; align-items: center;
	padding: 14px 0; border-bottom: 1px solid var(--line);
	font-size: 14.5px;
}
.hero-panel-row:last-child { border-bottom: none; }
.hero-panel-tag {
	font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.tag-blocked { background: #FDE2E7; color: var(--coral-deep); }
.tag-clean { background: #E3F7D9; color: #2E7D32; }
.tag-fixed { background: #E7EAFB; color: var(--ink-soft); }
.hero-panel-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.hero-panel-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.hero-panel-live { font-size: 12px; color: #2E7D32; display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #2E7D32; }

/* ---------- Threat bar ---------- */
.threatbar {
	background: var(--coral);
	color: #fff;
	padding: 20px 0;
}
.threatbar .container {
	display: flex; gap: 48px; flex-wrap: wrap; justify-content: center;
	font-family: var(--font-display); font-weight: 700; font-size: 15px;
}
.threatbar span { opacity: .9; font-weight: 500; font-family: var(--font-body); }

/* ---------- Section shell ---------- */
.section { padding: 100px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--ink-soft); }
.section-alt { background: var(--paper-dim); }

/* ---------- Feature bento grid ---------- */
.bento {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: minmax(160px, auto);
	gap: 20px;
}
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

.bento-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.bento-card h3 { font-size: 19px; margin-bottom: 8px; }
.bento-card p { font-size: 14.5px; color: var(--ink-soft); }
.bento-icon { font-size: 26px; margin-bottom: auto; }

.bento-card--big {
	grid-column: span 2;
	grid-row: span 2;
	background: var(--ink);
	color: var(--paper);
	justify-content: space-between;
}
.bento-card--big h3 { font-size: 26px; color: #fff; }
.bento-card--big p { color: rgba(250,249,246,0.72); font-size: 15.5px; }
.bento-card--big .bento-icon { color: var(--lime); }

.bento-card--coral { background: var(--coral); color: #fff; border-color: transparent; }
.bento-card--coral h3 { color: #fff; }
.bento-card--coral p { color: rgba(255,255,255,0.85); }

@media (max-width: 900px) {
	.bento-card--big { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
	.bento-card--big { grid-column: span 1; }
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step-num {
	font-family: var(--font-display); font-size: 44px; font-weight: 700;
	color: var(--coral); margin-bottom: 16px;
}
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Pricing ---------- */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	align-items: stretch;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 36px 32px;
	display: flex;
	flex-direction: column;
}
.price-card--featured {
	background: var(--ink);
	color: var(--paper);
	border-color: transparent;
	transform: translateY(-12px);
	box-shadow: 0 30px 60px -24px rgba(21,26,77,0.45);
}
.price-card--featured .price-desc,
.price-card--featured .price-features li { color: rgba(250,249,246,0.78); }
.price-badge {
	align-self: flex-start;
	background: var(--lime); color: var(--ink);
	font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
	margin-bottom: 18px;
}
.price-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.price-desc { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); min-height: 42px; }
.price-amount { margin-top: 24px; font-family: var(--font-display); font-size: 44px; font-weight: 700; }
.price-amount span { font-size: 16px; font-weight: 500; opacity: .6; }
.price-features { list-style: none; margin: 28px 0; padding: 0; flex: 1; }
.price-features li {
	padding: 10px 0; border-top: 1px solid var(--line);
	font-size: 14.5px; display: flex; gap: 10px;
}
.price-card--featured .price-features li { border-top-color: rgba(250,249,246,0.15); }
.price-features li:first-child { border-top: none; }
.price-check { color: var(--coral); flex-shrink: 0; }
.price-card--featured .price-check { color: var(--lime); }
.price-card .btn { justify-content: center; width: 100%; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
	padding: 22px 0; font-family: var(--font-display); font-weight: 700; font-size: 17px;
	cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--coral); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 24px; color: var(--ink-soft); font-size: 15.5px; max-width: 68ch; }

/* ---------- Final CTA ---------- */
.cta-band {
	background: var(--coral);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: 64px 48px;
	text-align: center;
	margin: 0 32px;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.cta-band p { margin-top: 14px; font-size: 17px; color: rgba(255,255,255,0.85); }
.cta-band .hero-actions { justify-content: center; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { padding: 60px 0 40px; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer-links { display: flex; gap: 24px; font-size: 14.5px; }
.footer-links a { text-decoration: none; color: var(--ink-soft); }
.footer-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 24px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn { transition: none; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible {
	outline: 3px solid var(--coral);
	outline-offset: 2px;
}
