/* ===========================================================
   Shared design system — Vosss template library
   Override --accent / --accent-2 / --font per template in a
   small <style> block in each page's <head>.
=========================================================== */
:root{
  --bg: #fafaf9;
  --bg-alt: #f2f1ee;
  --surface: #ffffff;
  --ink: #14140f;
  --ink-soft: #55564d;
  --ink-faint: #8a8b80;
  --line: #e6e4dd;
  --accent: #3d3aff;
  --accent-2: #ff6a3d;
  --accent-soft: #eeeeff;
  --dark: #0d0d0b;
  --dark-surface: #171713;
  --dark-line: #2a2a25;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1160px;
  --shadow-soft: 0 1px 2px rgba(20,20,15,0.04), 0 12px 32px -16px rgba(20,20,15,0.14);
  --ease: cubic-bezier(.22,.7,.2,1);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
button{ font:inherit; cursor:pointer; }
input,textarea,select{ font:inherit; }

.container{ width:100%; max-width: var(--container); margin-inline:auto; padding-inline: 24px; }
@media (min-width:900px){ .container{ padding-inline: 40px; } }
section{ padding: 96px 0; }
@media (max-width:720px){ section{ padding: 60px 0; } }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color: var(--accent); background: var(--accent-soft);
  padding:7px 14px; border-radius: 999px;
}
.eyebrow::before{ content:""; width:6px; height:6px; border-radius:50%; background: var(--accent); }

.section-head{ max-width: 640px; margin-bottom: 52px; }
.section-head h2{ font-size: clamp(28px, 3.6vw, 42px); font-weight: 650; letter-spacing:-0.02em; margin-top:16px; line-height:1.15; }
.section-head p{ margin-top:14px; font-size:17px; color: var(--ink-soft); }
.section-head.center{ margin-inline:auto; text-align:center; }

/* buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 14px 26px; border-radius: 999px; font-weight:600; font-size:15px;
  border:1px solid transparent; cursor:pointer;
  transition: transform .35s var(--ease), background .25s, border-color .25s, color .25s;
  white-space:nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--ink); color:#fff; }
.btn-primary:hover{ background: var(--accent); }
.btn-accent{ background: var(--accent); color:#fff; }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--ink); }
.btn-light{ background:#fff; color: var(--ink); }
.btn-light:hover{ background: var(--accent-soft); color: var(--accent); }
.btn-sm{ padding:10px 18px; font-size:14px; }
.btn-block{ width:100%; }
.btn svg{ width:16px; height:16px; }
.btn:disabled{ opacity:.5; cursor:not-allowed; transform:none; }

/* header */
.site-header{
  position: sticky; top:0; z-index:50;
  background: rgba(250,250,249,0.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom:1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled{ border-bottom-color: var(--line); }
.site-header .container{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.logo{ font-size:20px; font-weight:800; letter-spacing:-0.02em; display:flex; align-items:center; gap:9px; }
.logo .dot{ width:9px; height:9px; border-radius:3px; background: var(--accent); transform: rotate(45deg); }
.nav-links{ display:none; align-items:center; gap:34px; font-size:14.5px; font-weight:550; color: var(--ink-soft); }
.nav-links a:hover{ color: var(--ink); }
@media (min-width:880px){ .nav-links{ display:flex; } }
.header-actions{ display:flex; align-items:center; gap:12px; }
.nav-toggle{ display:flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:50%; border:1px solid var(--line); background:#fff; }
@media (min-width:880px){ .nav-toggle{ display:none; } }
.nav-toggle svg{ width:18px; height:18px; }
.mobile-menu{ display:none; border-top:1px solid var(--line); background: var(--surface); }
.mobile-menu.open{ display:block; }
.mobile-menu ul{ padding: 8px 24px 20px; display:flex; flex-direction:column; }
.mobile-menu a{ padding: 14px 0; border-bottom:1px solid var(--line); font-weight:600; font-size:15px; display:block; }
.mobile-menu li:last-child a{ border-bottom:none; }

/* hero */
.hero{ padding-top: 76px; padding-bottom: 40px; position:relative; overflow:hidden; }
.hero-glow{
  position:absolute; inset:-20% -10% auto -10%; height:640px;
  background: radial-gradient(60% 60% at 30% 20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
              radial-gradient(45% 45% at 85% 10%, color-mix(in srgb, var(--accent-2) 13%, transparent), transparent 70%);
  pointer-events:none; z-index:0;
}
.hero .container{ position:relative; z-index:1; }
.hero-top{ padding-top:56px; max-width: 760px; }
.hero h1{ font-size: clamp(36px, 5.6vw, 62px); font-weight:700; letter-spacing:-0.03em; line-height:1.08; margin-top:20px; }
.hero h1 em{
  font-style:normal;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p.lead{ margin-top:22px; font-size:18px; color: var(--ink-soft); max-width: 560px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.hero-meta{ display:flex; flex-wrap:wrap; gap:28px; margin-top:52px; padding-top:26px; border-top:1px solid var(--line); }
.hero-meta div{ font-size:13.5px; color: var(--ink-faint); }
.hero-meta strong{ display:block; color:var(--ink); font-size:15px; font-weight:650; margin-bottom:2px; }
.hero-visual{ margin-top:52px; border-radius: var(--radius-lg); border:1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-soft); overflow:hidden; }
.hero-visual img{ width:100%; height:100%; object-fit:cover; display:block; }

/* full-width photo banner (hero / about accent images) */
.photo-banner{ position:relative; border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow-soft); }
.photo-banner img{ width:100%; height:100%; object-fit:cover; display:block; }
.photo-banner::after{ content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(0,0,0,.45), transparent 55%); pointer-events:none; }
.photo-banner .banner-caption{ position:absolute; left:24px; right:24px; bottom:20px; z-index:1; color:#fff; font-weight:650; font-size:15px; display:flex; gap:10px; flex-wrap:wrap; }
.photo-banner .banner-caption span{ background:rgba(255,255,255,.16); backdrop-filter:blur(6px); border:1px solid rgba(255,255,255,.25); padding:7px 14px; border-radius:999px; font-size:13px; }

/* browser-chrome product/app mockup (landing page hero) */
.browser-mock{ border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--line); background:var(--surface); box-shadow: var(--shadow-soft); }
.browser-mock .bar{ display:flex; align-items:center; gap:6px; padding:14px 18px; background: var(--bg-alt); border-bottom:1px solid var(--line); }
.browser-mock .bar span{ width:11px; height:11px; border-radius:50%; background: var(--line); }
.browser-mock .bar .url{ margin-left:10px; font-size:12px; color:var(--ink-faint); background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:4px 14px; }
.browser-mock .shot{ position:relative; overflow:hidden; aspect-ratio:16/10; }
.browser-mock .shot img{ width:100%; height:100%; object-fit:cover; display:block; }

/* avatars (testimonials / profile photos) */
.avatar{ width:52px; height:52px; border-radius:50%; object-fit:cover; flex:none; box-shadow:0 0 0 3px var(--surface), 0 0 0 4px var(--line); }
.avatar-row{ display:flex; align-items:center; gap:13px; margin-top:20px; }
.avatar-row .who{ font-weight:650; font-size:14.5px; }
.avatar-row .role{ font-size:12.5px; color: var(--ink-faint); display:block; margin-top:1px; }
.avatar-lg{ width:100%; height:100%; object-fit:cover; display:block; }

/* generic content grids / cards */
.grid-3{ display:grid; gap:22px; grid-template-columns: repeat(3, 1fr); }
.grid-4{ display:grid; gap:22px; grid-template-columns: repeat(4, 1fr); }
.grid-2{ display:grid; gap:22px; grid-template-columns: repeat(2, 1fr); }
@media (max-width:900px){ .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:600px){ .grid-3, .grid-4, .grid-2{ grid-template-columns: 1fr; } }

.card{ background: var(--surface); border:1px solid var(--line); border-radius: var(--radius-md); padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color:#d8d6cd; }
.icon-badge{ width:48px; height:48px; border-radius:13px; display:flex; align-items:center; justify-content:center; background: var(--accent-soft); color: var(--accent); margin-bottom:20px; }
.icon-badge svg{ width:24px; height:24px; }
.card h3{ font-size:19px; font-weight:650; letter-spacing:-0.01em; }
.card p{ margin-top:10px; color: var(--ink-soft); font-size:15px; }

/* trust strip */
.trust-strip{ padding: 36px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.trust-strip .container{ display:flex; align-items:center; gap:28px; flex-wrap:wrap; justify-content:space-between; }
.trust-strip p{ font-size:13px; color: var(--ink-faint); font-weight:600; letter-spacing:.03em; text-transform:uppercase; }
.trust-logos{ display:flex; gap:32px; flex-wrap:wrap; align-items:center; }
.trust-logos span{ font-weight:700; font-size:16px; color: var(--ink-faint); letter-spacing:-0.01em; }

/* pricing */
.pricing-card{ background: var(--surface); border:1px solid var(--line); border-radius: var(--radius-md); padding:34px; display:flex; flex-direction:column; gap:18px; }
.pricing-card.featured{ border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-soft); position:relative; }
.pricing-card .badge{ position:absolute; top:-13px; left:34px; background: var(--accent); color:#fff; font-size:12px; font-weight:700; padding:5px 12px; border-radius:999px; }
.pricing-name{ font-size:15px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color: var(--ink-faint); }
.pricing-price{ font-size:38px; font-weight:750; letter-spacing:-0.02em; }
.pricing-price span{ font-size:15px; font-weight:600; color: var(--ink-faint); }
.pricing-feats{ display:flex; flex-direction:column; gap:11px; flex:1; }
.pricing-feats li{ display:flex; gap:10px; align-items:flex-start; font-size:14.5px; color: var(--ink-soft); }
.pricing-feats svg{ width:17px; height:17px; flex:none; margin-top:2px; color: var(--accent); }

/* faq */
.faq-list{ max-width: 760px; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-item button{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 0; background:none; border:none; text-align:left; font-size:16.5px; font-weight:600; color: var(--ink); }
.faq-item .icon{ width:28px; height:28px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; flex:none; transition: transform .3s var(--ease), background .3s; }
.faq-item .icon svg{ width:13px; height:13px; transition: transform .3s var(--ease); }
.faq-item[data-open="true"] .icon{ background: var(--ink); border-color: var(--ink); color:#fff; }
.faq-item[data-open="true"] .icon svg{ transform: rotate(45deg); }
.faq-answer{ max-height:0; overflow:hidden; transition: max-height .35s var(--ease), padding .35s var(--ease); }
.faq-item[data-open="true"] .faq-answer{ max-height:240px; padding-bottom:22px; }
.faq-answer p{ color: var(--ink-soft); font-size:15px; max-width:620px; }

/* CTA band */
.cta-band{ background: var(--dark); color:#fff; border-radius: var(--radius-lg); margin-inline: 24px; padding: 68px 46px; text-align:center; position:relative; overflow:hidden; }
@media (min-width:900px){ .cta-band{ margin-inline:auto; max-width: var(--container); } }
@media (max-width:600px){ .cta-band{ padding:50px 24px; } }
.cta-band::before{
  content:""; position:absolute; inset:0;
  background: radial-gradient(55% 70% at 20% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%),
              radial-gradient(45% 60% at 90% 100%, color-mix(in srgb, var(--accent-2) 25%, transparent), transparent 60%);
}
.cta-band > *{ position:relative; z-index:1; }
.cta-band h2{ font-size: clamp(27px,4vw,40px); font-weight:700; letter-spacing:-0.02em; max-width:620px; margin-inline:auto; }
.cta-band p{ margin-top:14px; color: #b9b9b3; font-size:16.5px; }
.cta-actions{ display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin-top:32px; }

/* footer */
.site-footer{ background: var(--dark); color:#c9c9c2; padding-top: 52px; }
.footer-top{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom: 44px; border-bottom:1px solid var(--dark-line); }
@media (max-width:800px){ .footer-top{ grid-template-columns: 1fr 1fr; } }
@media (max-width:520px){ .footer-top{ grid-template-columns: 1fr; } }
.footer-brand .logo{ color:#fff; }
.footer-brand p{ margin-top:14px; font-size:14.5px; max-width:280px; color:#9a9a92; }
.footer-col h4{ font-size:13px; text-transform:uppercase; letter-spacing:.05em; color:#787870; margin-bottom:16px; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding: 22px 0 30px; font-size:13px; color:#787870; }
.vosss-credit{ display:flex; align-items:center; gap:7px; color:#9a9a92; text-decoration:none; font-size:13px; }
.vosss-credit:hover{ color:#fff; }
.vosss-credit img{ height:15px; width:auto; display:block; }

/* reveal */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ===================== work / portfolio ===================== */
.work-grid{ display:grid; gap:22px; grid-template-columns: repeat(2,1fr); }
@media (max-width:700px){ .work-grid{ grid-template-columns: 1fr; } }
.work-card{ border-radius: var(--radius-md); overflow:hidden; border:1px solid var(--line); background: var(--surface); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.work-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.work-thumb{ aspect-ratio: 4/3; background: linear-gradient(135deg, var(--accent-soft), var(--bg-alt)); position:relative; overflow:hidden; }
.work-thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition: transform .6s var(--ease); }
.work-card:hover .work-thumb img{ transform: scale(1.08); }
.work-thumb .shape{ width:60%; height:60%; border-radius:24px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); opacity:.85; }
.work-thumb .work-cat-badge{ position:absolute; top:12px; left:12px; background:rgba(255,255,255,.92); color:var(--ink); font-size:11.5px; font-weight:700; padding:5px 12px; border-radius:999px; backdrop-filter:blur(4px); z-index:1; }
.work-info{ padding:22px 24px; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.work-info h3{ font-size:17px; font-weight:650; }
.work-info span{ font-size:13px; color: var(--ink-faint); }

/* skills */
.skill-row{ display:flex; flex-wrap:wrap; gap:10px; }
.skill-row span{ font-size:14px; font-weight:600; background: var(--bg-alt); border:1px solid var(--line); padding:9px 16px; border-radius:999px; }

/* ===================== e-commerce ===================== */
.breadcrumb{ font-size:13.5px; color: var(--ink-faint); display:flex; gap:8px; align-items:center; margin-bottom:28px; }
.breadcrumb a:hover{ color: var(--ink); }
.cat-pill-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; }
.cat-pill{ font-size:14px; font-weight:600; padding:9px 18px; border-radius:999px; border:1px solid var(--line); background:#fff; }
.cat-pill.active{ background: var(--ink); color:#fff; border-color: var(--ink); }
.product-grid{ display:grid; gap:22px; grid-template-columns: repeat(4,1fr); }
@media (max-width:960px){ .product-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:520px){ .product-grid{ grid-template-columns: 1fr 1fr; gap:14px; } }
.product-card{ background: var(--surface); border:1px solid var(--line); border-radius: var(--radius-md); overflow:hidden; display:flex; flex-direction:column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.product-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.product-thumb{ aspect-ratio:1; background: var(--bg-alt); position:relative; overflow:hidden; }
.product-thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition: transform .5s var(--ease); }
.product-card:hover .product-thumb img{ transform: scale(1.07); }
.product-thumb .ph{ width:46%; height:46%; border-radius:16px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); opacity:.28; }
.product-badge{ position:absolute; top:12px; left:12px; background: var(--accent); color:#fff; font-size:11.5px; font-weight:700; padding:4px 10px; border-radius:999px; }
.product-info{ padding:18px; display:flex; flex-direction:column; gap:6px; flex:1; }
.product-info .cat{ font-size:12px; color: var(--ink-faint); font-weight:600; text-transform:uppercase; letter-spacing:.03em; }
.product-info h3{ font-size:15.5px; font-weight:650; }
.product-price{ display:flex; align-items:center; gap:8px; margin-top:4px; }
.product-price b{ font-size:16px; }
.product-price s{ color: var(--ink-faint); font-size:13px; }
.product-info .btn{ margin-top:10px; }

.product-detail{ display:grid; grid-template-columns: 1fr 1fr; gap:52px; }
@media (max-width:820px){ .product-detail{ grid-template-columns: 1fr; gap:32px; } }
.product-gallery-main{ aspect-ratio:1; border-radius: var(--radius-lg); background: var(--bg-alt); overflow:hidden; }
.product-gallery-main img{ width:100%; height:100%; object-fit:cover; display:block; }
.product-gallery-main .ph{ width:40%; height:40%; border-radius:20px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); opacity:.3; }
.gallery-thumbs{ display:flex; gap:10px; margin-top:12px; }
.gallery-thumbs div{ width:64px; height:64px; border-radius:10px; background: var(--bg-alt); border:1px solid var(--line); cursor:pointer; overflow:hidden; }
.gallery-thumbs div img{ width:100%; height:100%; object-fit:cover; display:block; }
.gallery-thumbs div.active{ border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.product-title{ font-size: clamp(24px,3vw,32px); font-weight:700; letter-spacing:-0.01em; }
.product-detail-price{ font-size:28px; font-weight:750; margin-top:10px; }
.product-detail-price s{ font-size:16px; color: var(--ink-faint); margin-left:8px; }
.rating-row{ display:flex; align-items:center; gap:8px; margin-top:8px; color: var(--ink-faint); font-size:13.5px; }
.rating-row svg{ width:15px; height:15px; color:#f5b400; }
.qty-stepper{ display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:999px; overflow:hidden; }
.qty-stepper button{ width:40px; height:40px; background:#fff; border:none; font-size:18px; }
.qty-stepper span{ width:40px; text-align:center; font-weight:600; }
.product-actions{ display:flex; gap:12px; margin-top:24px; flex-wrap:wrap; align-items:center; }
.product-desc{ margin-top:26px; color: var(--ink-soft); font-size:15px; line-height:1.7; }
.spec-table{ margin-top:18px; width:100%; border-collapse:collapse; font-size:14.5px; }
.spec-table td{ padding:10px 0; border-bottom:1px solid var(--line); color: var(--ink-soft); }
.spec-table td:first-child{ color: var(--ink-faint); width:140px; }

.cart-table{ width:100%; border-collapse:collapse; }
.cart-row{ border-bottom:1px solid var(--line); }
.cart-row td{ padding:20px 0; vertical-align:middle; }
.cart-product{ display:flex; align-items:center; gap:16px; }
.cart-thumb{ width:76px; height:76px; border-radius:12px; background: var(--bg-alt); flex:none; overflow:hidden; }
.cart-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.cart-thumb .ph{ width:44%; height:44%; border-radius:8px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); opacity:.3; }
.cart-remove{ background:none; border:none; color: var(--ink-faint); font-size:13px; text-decoration:underline; padding:0; margin-top:6px; }
.cart-summary{ background: var(--bg-alt); border-radius: var(--radius-md); padding:28px; position:sticky; top:96px; }
.summary-row{ display:flex; justify-content:space-between; font-size:14.5px; color: var(--ink-soft); padding:9px 0; }
.summary-row.total{ font-size:18px; font-weight:700; color: var(--ink); border-top:1px solid var(--line); margin-top:8px; padding-top:16px; }
.toast{
  position:fixed; bottom:24px; left:50%; transform: translateX(-50%) translateY(120%);
  background: var(--ink); color:#fff; padding:14px 24px; border-radius:999px; font-size:14.5px; font-weight:600;
  box-shadow: var(--shadow-soft); transition: transform .4s var(--ease); z-index:80; display:flex; align-items:center; gap:10px;
}
.toast.show{ transform: translateX(-50%) translateY(0); }
.toast svg{ width:18px; height:18px; color:#4ade80; }

/* forms */
.form-grid{ display:grid; gap:16px; grid-template-columns: 1fr 1fr; }
@media (max-width:600px){ .form-grid{ grid-template-columns: 1fr; } }
.form-field{ display:flex; flex-direction:column; gap:7px; }
.form-field.full{ grid-column: 1 / -1; }
.form-field label{ font-size:13.5px; font-weight:600; color: var(--ink-soft); }
.form-field input, .form-field textarea, .form-field select{
  padding:13px 15px; border-radius:10px; border:1px solid var(--line); background:#fff; font-size:14.5px; color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus{ outline:2px solid var(--accent); outline-offset:1px; }
