/* ==========================================================================
   TechPigeon Device Inventory — Marketing Site
   Design tokens: warm paper background, deep indigo-navy for authority,
   a punchy coral for calls-to-action and the price. Space Grotesk carries
   the headlines, Inter carries body copy, IBM Plex Mono carries numbers
   (price, stats, the visitor counter) — a small nod to the fact this is
   inventory software: it counts things precisely.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
	/* Sampled directly from the TechPigeon Solutions logo: --ink-soft is
	   the exact "TECH" text color, --lavender is the exact tagline color,
	   --primary/--accent come from the pigeon mascot's own gradient
	   (deeper indigo body → lighter violet highlight). */
	--ink:        #1a1625;
	--ink-soft:   #5e5088;
	--ink-faint:  #8a8399;
	--paper:      #faf9fc;
	--paper-alt:  #f1eef9;
	--paper-line: #e2ddf0;
	--primary:       #4b3fab;
	--primary-deep:  #312a71;
	--primary-line:  rgba(255,255,255,.12);
	--accent:      #7748de;
	--accent-deep: #5a37a9;
	--accent-bg:   #f5f2fd;
	--lavender:   #b888e8;
	--green:      #0f9b6e;
	--radius:     14px;
	--shadow:     0 20px 50px -20px rgba(75,63,171,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font-family: 'Inter', -apple-system, sans-serif; font-size: 16px; line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.1; margin: 0; color: var(--primary); }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.mono { font-family: 'IBM Plex Mono', monospace; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.eyebrow {
	font-family: 'IBM Plex Mono', monospace; font-size: .74rem; font-weight: 600;
	letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
	display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); display: inline-block; }

/* Skip link for keyboard users */
.skip-link {
	position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff;
	padding: 10px 18px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ─── HEADER ───────────────────────────────────────────────────── */
.site-header {
	position: sticky; top: 0; z-index: 40; background: rgba(251,249,245,.92);
	backdrop-filter: blur(10px); border-bottom: 1px solid var(--paper-line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-logo { height: 40px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
	text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .89rem;
	transition: color .15s;
}
.site-nav a:hover { color: var(--primary); }
.nav-cta {
	background: var(--primary); color: #fff !important; padding: 10px 20px; border-radius: 9px;
	font-size: .85rem !important;
}
.nav-cta:hover { background: var(--primary-deep) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content:''; display: block; width: 22px; height: 2px; background: var(--primary); margin: 5px 0; }

/* ─── BUTTONS ──────────────────────────────────────────────────── */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 15px 26px; border-radius: 10px; font-weight: 700; font-size: .92rem;
	text-decoration: none; border: none; cursor: pointer; transition: transform .15s, box-shadow .15s;
	font-family: 'Inter', sans-serif;
}
.btn-coral { background: var(--accent); color: #fff; box-shadow: 0 10px 26px -8px rgba(228,87,46,.55); }
.btn-coral:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-navy { background: var(--primary); color: #fff; }
.btn-navy:hover { background: var(--primary-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--paper-line); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid var(--primary-line); }
.btn-outline-light:hover { background: var(--primary-line); }
.btn-lg { padding: 17px 32px; font-size: .98rem; }
.btn-block { width: 100%; }

/* ─── HERO ─────────────────────────────────────────────────────── */
.hero { padding: 76px 0 90px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.15rem); letter-spacing: -.02em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 1.08rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--ink-faint); font-weight: 600; }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* Hero visual: a framed peek at the dashboard, tilted card style */
.hero-visual { position: relative; }
.hero-frame {
	background: var(--primary-deep); border-radius: 18px; padding: 14px;
	box-shadow: var(--shadow); transform: rotate(1.2deg);
}
.hero-frame-bar { display: flex; gap: 6px; padding: 4px 6px 12px; }
.hero-frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.hero-frame img, .hero-frame .frame-inner { border-radius: 10px; overflow: hidden; display: block; }
.hero-badge {
	position: absolute; bottom: -18px; left: -18px; background: #fff; border-radius: 12px;
	box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
	transform: rotate(-2deg);
}
.hero-badge-icon {
	width: 38px; height: 38px; border-radius: 9px; background: var(--accent-bg); color: var(--accent);
	display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.hero-badge strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; color: var(--primary); }
.hero-badge span { font-size: .74rem; color: var(--ink-faint); font-weight: 600; }

/* ─── VISITOR COUNTER (signature element) ─────────────────────── */
.visit-counter {
	display: inline-flex; align-items: center; gap: 12px; background: #fff;
	border: 1px solid var(--paper-line); border-radius: 999px; padding: 8px 8px 8px 18px;
	box-shadow: 0 8px 20px -12px rgba(75,63,171,.3); margin-bottom: 26px;
}
.visit-counter-label { font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.visit-counter-num {
	background: var(--primary); color: #fff; font-family: 'IBM Plex Mono', monospace;
	font-weight: 600; font-size: .85rem; padding: 6px 14px; border-radius: 999px;
	min-width: 46px; text-align: center;
}
.visit-counter-num.is-loading { opacity: .5; }

/* ─── LOGO STRIP / SOCIAL PROOF ─────────────────────────────────── */
.proof-strip { padding: 30px 0; border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); }
.proof-strip .wrap { display: flex; align-items: center; gap: 38px; flex-wrap: wrap; justify-content: space-between; }
.proof-item { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-weight: 600; font-size: .87rem; }
.proof-item .dashicons, .proof-item svg { color: var(--green); flex-shrink: 0; }

/* ─── SECTIONS ─────────────────────────────────────────────────── */
section { padding: 96px 0; }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.02em; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.03rem; }

/* ─── FEATURES ─────────────────────────────────────────────────── */
.features-alt { background: var(--paper-alt); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
	background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius);
	padding: 30px 26px; transition: transform .18s, box-shadow .18s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
	width: 46px; height: 46px; border-radius: 11px; background: var(--primary); color: #fff;
	display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 1.2rem;
}
.feature-card h3 { font-size: 1.08rem; margin-bottom: 9px; }
.feature-card p { color: var(--ink-soft); font-size: .92rem; }

/* ─── DEMO CTA BAND ────────────────────────────────────────────── */
.demo-band {
	background: var(--primary); color: #fff; border-radius: 22px; padding: 56px;
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.demo-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.demo-band p { color: rgba(255,255,255,.72); font-size: 1rem; max-width: 46ch; }
.demo-band-ctas { display: flex; flex-direction: column; gap: 12px; }
.demo-band-note { font-size: .8rem; color: rgba(255,255,255,.55); text-align: center; }

/* ─── PRICING ──────────────────────────────────────────────────── */
.pricing-card {
	max-width: 560px; margin: 0 auto; background: #fff; border: 1.5px solid var(--paper-line);
	border-radius: 22px; padding: 48px; text-align: center; box-shadow: var(--shadow); position: relative;
}
.pricing-tag {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
	background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase; padding: 7px 18px; border-radius: 999px;
}
.price-value { font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 3.2rem; color: var(--primary); margin: 18px 0 4px; }
.price-value sup { font-size: 1.4rem; vertical-align: super; margin-right: 4px; color: var(--ink-faint); }
.price-note { color: var(--ink-faint); font-size: .86rem; margin-bottom: 30px; }
.price-list { list-style: none; margin: 0 0 32px; padding: 0; text-align: left; display: grid; gap: 13px; }
.price-list li { display: flex; align-items: flex-start; gap: 11px; font-size: .93rem; color: var(--ink-soft); }
.price-list li .check {
	width: 19px; height: 19px; border-radius: 50%; background: var(--green); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: .68rem; flex-shrink: 0; margin-top: 2px;
}
.price-fineprint { font-size: .78rem; color: var(--ink-faint); margin-top: 18px; }

/* ─── CONTACT ──────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
	background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius);
	padding: 30px 26px; text-decoration: none; display: block; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.contact-icon {
	width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center;
	justify-content: center; margin-bottom: 16px; font-size: 1.25rem; color: #fff;
}
.contact-icon.call { background: var(--primary); }
.contact-icon.whatsapp { background: #25d366; }
.contact-icon.web { background: var(--accent); }
.contact-card h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-card p { color: var(--ink-soft); font-size: .88rem; }
.contact-card .contact-value { color: var(--primary); font-weight: 700; margin-top: 10px; font-size: .95rem; }

/* ─── FOOTER ───────────────────────────────────────────────────── */
.site-footer { background: var(--primary-deep); color: rgba(255,255,255,.65); padding: 56px 0 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand { max-width: 320px; }
.footer-logo-chip {
	display: inline-flex; align-items: center; background: #fff; border-radius: 10px;
	padding: 10px 16px;
}
.footer-logo-chip img { height: 34px; width: auto; display: block; }
.footer-brand p { margin-top: 14px; font-size: .87rem; line-height: 1.6; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-col a { display: block; text-decoration: none; color: rgba(255,255,255,.65); font-size: .88rem; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
	border-top: 1px solid var(--primary-line); padding-top: 24px; display: flex;
	justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: rgba(255,255,255,.45);
}

/* ─── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 900px) {
	.hero .wrap { grid-template-columns: 1fr; }
	.hero-visual { order: -1; margin-bottom: 32px; }
	.hero-badge { left: 8px; bottom: -16px; padding: 11px 14px; }
	.feature-grid { grid-template-columns: 1fr 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.demo-band { grid-template-columns: 1fr; padding: 36px 26px; }
	.site-nav { position: fixed; inset: 76px 0 0 0; background: var(--paper); flex-direction: column;
		align-items: flex-start; padding: 28px; gap: 20px; transform: translateX(100%); transition: transform .25s; }
	.site-nav.is-open { transform: translateX(0); }
	.nav-toggle { display: block; }
}
@media (max-width: 640px) {
	.feature-grid { grid-template-columns: 1fr; }
	.pricing-card { padding: 34px 24px; }
	.price-value { font-size: 2.5rem; }
	section { padding: 64px 0; }
	.hero { padding: 48px 0 60px; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
