/* ==========================================================================
   SKA POS — Design System
   Sections: 1 Tokens  2 Reset  3 Typography  4 Layout  5 Buttons  6 Badges
   7 Header/Nav  8 Hero  9 Features 10 Screenshots/Gallery 11 Pricing
   12 Testimonials 13 FAQ 14 Comparison Table 15 CTA 16 Forms 17 Footer
   18 Breadcrumbs 19 Floating UI 20 Video Modal 21 Dark Mode 22 Utilities
   23 Animations 24 Responsive
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
	--navy-900: #0b1636;
	--navy-800: #0f1e4d;
	--navy-700: #16296b;
	--blue-600: #1d4ed8;
	--blue-500: #2563eb;
	--blue-400: #3b82f6;
	--amber-500: #f5a623;
	--amber-600: #d98c0f;
	--green-600: #16a34a;
	--green-700: #15803d;
	--white: #ffffff;
	--gray-50: #f8fafc;
	--gray-100: #f1f5f9;
	--gray-200: #e2e8f0;
	--gray-300: #cbd5e1;
	--gray-400: #94a3b8;
	--gray-600: #475569;
	--gray-700: #334155;
	--gray-800: #1e293b;
	--gray-900: #0f172a;

	--bg: var(--white);
	--bg-alt: var(--gray-50);
	--surface: var(--white);
	--text: var(--gray-900);
	--text-muted: var(--gray-600);
	--border: var(--gray-200);
	--header-bg: var(--navy-800);
	--header-text: var(--white);

	--radius-sm: 0.5rem;
	--radius-md: 1rem;
	--radius-lg: 1.5rem;
	--radius-full: 999px;

	--shadow-soft: 0 2px 8px rgba(15, 30, 77, 0.06), 0 1px 2px rgba(15, 30, 77, 0.04);
	--shadow-lg: 0 20px 40px -12px rgba(15, 30, 77, 0.18);

	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
	--container: 1280px;
	--container-narrow: 860px;
	--header-h: 76px;
}

/* 2. RESET ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	transition: background-color .2s ease, color .2s ease;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25em; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 2px; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.screen-reader-text:focus {
	position: fixed; top: 1rem; left: 1rem; width: auto; height: auto; z-index: 10000;
	background: var(--white); color: var(--navy-900); padding: .75rem 1rem; clip: auto; border-radius: var(--radius-sm);
}

/* 3. TYPOGRAPHY -------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.15; margin: 0 0 .6em; color: var(--text); }
h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 2.5vw + 1rem, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; color: var(--text-muted); }
.lede { font-size: 1.2rem; color: var(--text-muted); }
.text-center { text-align: center; }
.eyebrow {
	display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .08em;
	text-transform: uppercase; color: var(--blue-600); margin-bottom: .75rem;
}
.accent { color: var(--amber-500); }

/* 4. LAYOUT ------------------------------------------------------------------ */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.container-narrow { max-width: var(--container-narrow); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: clamp(3rem, 6vw, 6rem); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
main { display: block; }

.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) {
	.grid-2 { grid-template-columns: repeat(2, 1fr); }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
	.grid-3 { grid-template-columns: repeat(3, 1fr); }
	.grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: .6rem; } .gap-md { gap: 1.25rem; } .gap-lg { gap: 2rem; }
.wrap { flex-wrap: wrap; }

/* 5. BUTTONS ------------------------------------------------------------------ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	font-weight: 700; font-size: 1rem; padding: .9rem 1.6rem; border-radius: var(--radius-full);
	border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
	text-decoration: none; line-height: 1.2; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--amber-500); color: var(--navy-900); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--amber-600); color: var(--navy-900); }

.btn-secondary { background: var(--blue-600); color: var(--white); }
.btn-secondary:hover { background: var(--blue-500); color: var(--white); }

.btn-outline { background: transparent; color: var(--header-text); border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: var(--header-text); }

.btn-ghost { background: transparent; color: var(--blue-600); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-alt); }

.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; }

/* 6. BADGES -------------------------------------------------------------------- */
.badge {
	display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 700;
	padding: .4rem .8rem; border-radius: var(--radius-full); background: var(--bg-alt); color: var(--text-muted);
	border: 1px solid var(--border);
}
.trust-badges { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.trust-badges .badge svg { width: 16px; height: 16px; flex-shrink: 0; }

/* 7. HEADER / NAV --------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: var(--header-bg); color: var(--header-text);
	height: var(--header-h); display: flex; align-items: center; box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-logo { display: flex; align-items: center; gap: .6rem; }
.site-logo .site-name { color: var(--white); font-weight: 800; font-size: 1.05rem; }

/* Pre-cropped, all-white version of the logo — reads cleanly straight on navy, no chip needed. */
.site-logo-img { height: 26px; width: auto; display: block; }
.footer-logo-img { margin-bottom: 1rem; }

.primary-nav { display: none; }
.primary-nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: rgba(255,255,255,.85); font-weight: 600; font-size: .95rem; }
.primary-nav a:hover, .primary-nav a:focus { color: var(--white); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: .75rem; }

.menu-toggle {
	display: inline-flex; background: transparent; border: 1px solid rgba(255,255,255,.25); color: var(--white);
	width: 42px; height: 42px; border-radius: var(--radius-sm); align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
	position: fixed; inset: 0; z-index: 200; background: var(--navy-900); color: var(--white);
	transform: translateX(100%); transition: transform .25s ease; overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-inner { padding: 1.25rem; }
.mobile-menu-close {
	background: transparent; border: 1px solid rgba(255,255,255,.25); color: var(--white);
	width: 42px; height: 42px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-left: auto; cursor: pointer;
}
.mobile-menu ul { list-style: none; padding: 0; margin: 2rem 0 0; }
.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu a { display: block; padding: 1rem .25rem; color: var(--white); font-weight: 700; font-size: 1.1rem; }
.mobile-menu .btn { margin-top: 1.5rem; }

/* 8. HERO ------------------------------------------------------------------------ */
.hero {
	background: radial-gradient(1200px 600px at 15% -10%, var(--navy-700), var(--navy-900) 60%);
	color: var(--white); padding-block: clamp(3rem, 8vw, 6rem); overflow: hidden;
}
.hero .container { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy h1 { color: var(--white); }
.hero-copy .lede { color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-video {
	position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow-lg); background: #000 center / cover no-repeat;
}
.hero-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 3rem; }
.hero-stat strong { display: block; font-size: 1.8rem; color: var(--white); }
.hero-stat span { color: rgba(255,255,255,.7); font-size: .9rem; }
.hero-trust { margin-top: 2rem; }
.hero-trust .trust-badges .badge { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.85); }

/* 9. FEATURES ---------------------------------------------------------------------- */
.feature-card {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
	padding: 1.75rem; box-shadow: var(--shadow-soft); height: 100%;
}
.feature-icon {
	width: 52px; height: 52px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
	color: var(--white); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: .4rem; font-size: 1.1rem; }
.feature-card p { margin-bottom: 0; font-size: .95rem; }

/* 10. SCREENSHOTS / GALLERY ----------------------------------------------------------- */
.device-frame { position: relative; margin: 0 auto; }
.device-frame.laptop { max-width: 900px; }
.device-frame.laptop img { border-radius: 12px 12px 0 0; border: 10px solid var(--gray-900); border-bottom: 0; }
.device-frame.laptop .laptop-base { height: 18px; background: var(--gray-800); border-radius: 0 0 10px 10px; margin: 0 -10px; position: relative; }
.device-frame.laptop .laptop-base::after { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 90px; height: 6px; background: var(--gray-700); border-radius: 0 0 6px 6px; }

.device-frame.tablet img { border-radius: 22px; border: 10px solid var(--gray-900); }
.device-frame.phone { max-width: 260px; }
.device-frame.phone img { border-radius: 30px; border: 10px solid var(--gray-900); }

.gallery-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
	box-shadow: var(--shadow-soft); cursor: zoom-in; border: 0; padding: 0; text-align: left; width: 100%;
}
.gallery-item img { transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-caption { padding: 1rem 1.25rem; }
.gallery-caption h3 { font-size: 1rem; margin-bottom: .2rem; }
.gallery-caption p { font-size: .88rem; margin-bottom: 0; }

.lightbox {
	position: fixed; inset: 0; z-index: 300; background: rgba(8,12,28,.92); display: none;
	align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 88vh; border-radius: var(--radius-md); }
.lightbox-close {
	position: absolute; top: 1.25rem; right: 1.25rem; width: 44px; height: 44px; border-radius: 50%;
	background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}

/* 11. PRICING ---------------------------------------------------------------------------- */
.pricing-card {
	max-width: 480px; margin: 0 auto; background: var(--surface); border: 2px solid var(--blue-500);
	border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem); box-shadow: var(--shadow-lg); text-align: center; position: relative;
}
.pricing-card .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--amber-500); color: var(--navy-900); border: 0; }
.pricing-price { font-size: clamp(3rem, 6vw, 4rem); font-weight: 800; color: var(--navy-800); margin: 1rem 0 .25rem; }
.pricing-price sup { font-size: 1.4rem; top: -1.6rem; }
.pricing-price .period { font-size: 1rem; color: var(--text-muted); font-weight: 600; }
.pricing-list { list-style: none; padding: 0; margin: 1.75rem 0; text-align: left; }
.pricing-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem 0; border-bottom: 1px dashed var(--border); }
.pricing-list li:last-child { border-bottom: 0; }
.pricing-list svg { width: 20px; height: 20px; color: var(--green-600); flex-shrink: 0; margin-top: 2px; }

/* 12. TESTIMONIALS ----------------------------------------------------------------------- */
.testimonial-card {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
	padding: 1.75rem; box-shadow: var(--shadow-soft); height: 100%; display: flex; flex-direction: column;
}
.ska-stars { color: var(--amber-500); letter-spacing: 2px; font-size: 1.1rem; }
.testimonial-quote { margin: .9rem 0; font-style: italic; color: var(--text); flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
	width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
	color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .95rem; }
.testimonial-author span { font-size: .82rem; color: var(--text-muted); }

/* 13. FAQ --------------------------------------------------------------------------------- */
.faq-category { margin-bottom: 2.5rem; }
.faq-category h2 { margin-bottom: 1.25rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: .75rem; background: var(--surface); overflow: hidden; }
.faq-question {
	width: 100%; text-align: left; background: transparent; border: 0; padding: 1.1rem 1.3rem; font-weight: 700; font-size: 1rem;
	display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; color: var(--text);
}
.faq-question .icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.faq-item.is-open .faq-question .icon { transform: rotate(45deg); background: var(--amber-500); color: var(--navy-900); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer-inner { padding: 0 1.3rem 1.2rem; color: var(--text-muted); }
.faq-search { margin-bottom: 2rem; }
.faq-search input {
	width: 100%; padding: 1rem 1.25rem; border-radius: var(--radius-full); border: 1px solid var(--border); background: var(--surface); color: var(--text);
}

/* 14. COMPARISON TABLE -------------------------------------------------------------------- */
.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--surface); }
.compare-table th, .compare-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table th { background: var(--bg-alt); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.compare-table td.yes { color: var(--green-600); font-weight: 700; }
.compare-table td.no { color: var(--gray-400); }
.compare-table tr:last-child td { border-bottom: 0; }

/* 15. CTA -------------------------------------------------------------------------------- */
.cta-band {
	background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: #fff; border-radius: var(--radius-lg);
	padding: clamp(2rem, 5vw, 3.5rem); text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); }
.cta-band .btn-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.5rem; }

/* 16. FORMS ------------------------------------------------------------------------------ */
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-weight: 700; margin-bottom: .4rem; font-size: .92rem; }
.form-field input, .form-field textarea {
	width: 100%; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
	background: var(--surface); color: var(--text);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--blue-500); }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; }
.form-notice { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-weight: 600; }
.form-notice.success { background: #ecfdf5; color: var(--green-700); border: 1px solid #a7f3d0; }
.form-notice.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* 17. FOOTER ----------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding-block: 4rem 2rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-col h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .65rem; }
.footer-col a { color: rgba(255,255,255,.7); font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .9rem; max-width: 320px; }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem;
	display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .85rem;
}
.footer-bottom a { color: rgba(255,255,255,.6); }

/* 18. BREADCRUMBS ------------------------------------------------------------------------ */
.ska-breadcrumbs { padding: 1rem 0; font-size: .88rem; }
.ska-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.ska-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; color: var(--gray-400); }
.ska-breadcrumbs a { color: var(--text-muted); }
.ska-breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* 19. FLOATING UI ------------------------------------------------------------------------- */
.floating-whatsapp {
	position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 150; width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
}
.floating-whatsapp svg { width: 28px; height: 28px; }

.sticky-buy {
	position: fixed; bottom: 0; left: 0; right: 0; z-index: 150; background: var(--surface); border-top: 1px solid var(--border);
	padding: .85rem 1.25rem; box-shadow: 0 -8px 24px rgba(0,0,0,.08); transform: translateY(100%); transition: transform .25s ease;
}
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-buy .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sticky-buy-price { font-weight: 800; }
.sticky-buy-price small { display: block; font-weight: 500; color: var(--text-muted); font-size: .75rem; }

/* 22. UTILITIES ---------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 2.5rem; } .mb-lg { margin-bottom: 2.5rem; }
.hidden { display: none !important; }
@media (min-width: 960px) { .lg\:hidden { display: none !important; } }
.no-scroll { overflow: hidden; }

/* 23. ANIMATIONS --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
	.reveal.is-visible { opacity: 1; transform: translateY(0); }
}

/* 24. RESPONSIVE ----------------------------------------------------------------------------- */
@media (min-width: 720px) {
	.hero .container { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
	.primary-nav { display: block; }
	.menu-toggle { display: none; }
	.hero-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 959px) {
	.sticky-buy { padding-bottom: max(.85rem, env(safe-area-inset-bottom)); }
}
