/* ============================================================
   PIXEL PLUGINS — "Prism" design system
   Modern SaaS · tinted-light canvas · vibrant deliberate color
   ============================================================ */

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

:root {
    /* canvas — warm cream, not lavender */
    --paper:    #FFFCF6;
    --paper-2:  #F8F3EC;
    --card:     #FFFFFC;
    --ink:      #211B12;
    --ink-soft: #4A4232;
    --muted:    #7D7460;
    --faint:    #B3A98F;
    --line:     #ECE1CB;
    --line-2:   #F3EADA;

    /* vibrant, deliberate palette — used as accents, not gradients */
    --indigo:      #95DDAC;
    --indigo-d:    #5FBE85;
    --indigo-deep: #1C5E4F;
    --coral:    #FF6B57;
    --coral-d:  #E5503C;
    --emerald:  #14B88A;
    --emerald-d:#0E9670;
    --amber:    #FFB020;
    --amber-d:  #DB8F0C;
    --nexa:     #EC4767;

    --accent: var(--indigo);

    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body:    'Plus Jakarta Sans', sans-serif;
    --font-logo:    'Space Grotesk', sans-serif;
    --font-mono:    'Space Mono', monospace;

    --radius:    10px;
    --radius-lg: 16px;
    --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
    --shadow:    0 20px 44px -22px rgba(27,23,48,0.22);

    /* legacy aliases — kept so the policy / shopify-showcase pages
       (which predate the Prism system) inherit the new palette
       without needing every selector rewritten */
    --bg:           var(--paper);
    --surface:      var(--card);
    --surface-2:    var(--paper-2);
    --border:       var(--line);
    --primary:      var(--indigo);
    --secondary:    var(--coral);
    --text:         var(--ink);
    --text-muted:   var(--muted);
    --glow:         rgba(95,190,133,0.22);
    --glow-lg:      rgba(95,190,133,0.1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--indigo); color: var(--indigo-deep); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }

/* reCAPTCHA hidden badge */
.grecaptcha-badge { opacity: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,252,246,0.85);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: 1140px; margin: 0 auto; height: 80px; padding: 0 2.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
/* header/nav used by the standalone policy & showcase pages */
header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,252,246,0.85);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 0 2.5rem;
}
header nav {
    max-width: 1140px; margin: 0 auto; height: 80px;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}

.logo-lockup { display: inline-flex; align-items: baseline; gap: 0.16em; font-family: var(--font-logo); font-weight: 700; line-height: 1; color: var(--ink); font-size: 24px; }
.logo-lockup .word { letter-spacing: -0.045em; }
.logo-lockup.on-dark .word { color: var(--paper); }
.logo-lockup .mk { width: calc(0.62em * 85 / 65); height: 0.62em; margin-bottom: 0.02em; flex: none; }
.logo-lockup .mk svg { display: block; width: 100%; height: 100%; }
.logo-stack { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.logo-stack .sub { font-family: var(--font-body); font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin-top: 0.35em; padding-left: 0.12em; font-size: 0.42em; }
.logo-stack.on-dark .sub { color: rgba(255,255,255,0.62); }

/* legacy logo markup (policy / showcase pages) */
.logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-row { display: flex; align-items: center; gap: 5px; font-family: var(--font-logo); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.logo-icon { height: 14px; width: auto; margin-top: 1px; }
.logo-sub { font-family: var(--font-logo); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); padding-left: 1px; }

.nav-links { display: flex; align-items: center; align-self: stretch; gap: 2.2rem; list-style: none; white-space: nowrap; }
.nav-links a { font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); transition: color 0.25s var(--ease); }
.nav-links a:hover { color: var(--indigo); }
.nav-cta { border: 1.5px solid var(--ink); border-radius: 30px; padding: 0.6rem 1.3rem !important; color: var(--ink) !important; transition: all 0.3s var(--ease) !important; white-space: nowrap; }
.nav-cta:hover { background: var(--ink); color: #fff !important; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- nav dropdowns ---- */
.nav-item { position: relative; display: flex; align-items: center; align-self: stretch; }
.nav-drop-toggle { font-family: var(--font-body); font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0; transition: color 0.25s var(--ease); }
.nav-drop-toggle::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform 0.25s var(--ease); }
.nav-item:hover .nav-drop-toggle, .nav-item.open .nav-drop-toggle, .nav-item:focus-within .nav-drop-toggle { color: var(--indigo-deep); }
.nav-item.open .nav-drop-toggle::after { transform: rotate(-135deg); margin-top: 3px; }
.nav-dropdown { list-style: none; }
@media (min-width: 1081px) {
    .nav-dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px); min-width: 230px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0.6rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s; z-index: 50; }
    .nav-item:hover .nav-dropdown, .nav-item.open .nav-dropdown, .nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
    .nav-dropdown li { white-space: nowrap; }
    .nav-dropdown a { display: block; padding: 0.55rem 0.7rem; border-radius: 8px; font-size: 0.84rem; }
    .nav-dropdown a:hover { background: var(--paper-2); color: var(--indigo-deep); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.95rem 2rem; background: var(--indigo); color: var(--indigo-deep); font-weight: 700; font-size: 0.86rem; border: none; border-radius: 30px; cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease); font-family: var(--font-body); }
.btn-primary:hover { background: var(--indigo-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.95rem 2rem; color: var(--ink); font-weight: 700; font-size: 0.86rem; border: 1.5px solid var(--ink); border-radius: 30px; cursor: pointer; background: transparent; transition: all 0.3s var(--ease); font-family: var(--font-body); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-primary i, .btn-ghost i { font-size: 1.05rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero-field { position: absolute; top: -100px; right: -140px; width: 720px; height: 720px; z-index: 0; pointer-events: none; overflow: hidden; }
@keyframes pbFloat { 0%,100% { transform: translateY(0); opacity: var(--o,0.6); } 50% { transform: translateY(-10px); opacity: calc(var(--o,0.6) * 0.5); } }
.hero-inner { position: relative; z-index: 2; max-width: 1140px; margin: 0 auto; padding: 7rem 2.5rem 6rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.8rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--indigo-d); text-transform: uppercase; margin-bottom: 2rem; }
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 2px; background: var(--coral); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 7vw, 5rem); line-height: 1.06; letter-spacing: -0.03em; color: var(--ink); max-width: 15ch; }
.hero h1 .hl { color: var(--indigo); }
.hero-sub { color: var(--ink-soft); font-size: 1.16rem; line-height: 1.7; max-width: 520px; margin-top: 1.8rem; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }

/* ============================================================
   SECTIONS / CARDS
   ============================================================ */
.section { position: relative; z-index: 2; padding: 6rem 0; border-top: 1px solid var(--line); }
.sec-head { max-width: 680px; margin-bottom: 3.5rem; }
.sec-label { display: inline-flex; align-items: baseline; gap: 0.6rem; white-space: nowrap; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; color: var(--indigo-d); text-transform: uppercase; margin-bottom: 1.2rem; }
.sec-label .n { font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0; color: var(--faint); font-weight: 700; }
.sec-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 4.5vw, 3.1rem); letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.sec-head h2 .hl { color: var(--indigo); }
.sec-head p { color: var(--muted); font-size: 1.06rem; line-height: 1.75; margin-top: 1rem; }

.cards { display: grid; gap: 1.5rem; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 2.1rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
a.card { display: block; text-decoration: none; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.industry-tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-d); background: rgba(255,107,87,.08); border: 1px solid var(--line); padding: .32rem .75rem; border-radius: 30px; margin-bottom: 1rem; }
.core-tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); border: 1px solid var(--line); padding: .32rem .75rem; border-radius: 30px; margin-bottom: 1rem; }
.card .ic { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--indigo); border: 1px solid var(--line); border-radius: 50%; margin-bottom: 1.3rem; transition: all 0.4s var(--ease); }
.card:hover .ic { background: var(--indigo-deep); color: #fff; border-color: var(--indigo-deep); }
.card h3 { font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; color: var(--ink); margin-bottom: 0.55rem; line-height: 1.25; letter-spacing: -0.01em; }
.card p { font-size: 0.94rem; color: var(--muted); line-height: 1.7; }

/* ---- about split ---- */
.about-cb { position: absolute; left: -160px; bottom: -140px; width: 520px; height: 400px; z-index: 0; pointer-events: none; opacity: 0.7; }
.about-cb svg { width: 100%; height: 100%; }

/* ---- clients ---- */
.clients { text-align: center; }
.clients-row { display: flex; align-items: center; justify-content: center; gap: 4.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.client-logo { transition: transform 0.4s var(--ease), filter 0.4s var(--ease); }
img.client-logo { height: 30px; width: auto; display: block; }
.client-logo:hover { transform: translateY(-3px); filter: brightness(0.85); }
.client-logo.fw { display: inline-flex; align-items: center; gap: 0.7rem; }
.client-logo.fw img { height: 44px; width: auto; display: block; }
.client-logo.fw span { font-family: var(--font-logo); font-weight: 700; font-size: 1.5rem; color: var(--ink); letter-spacing: -0.025em; }
.dot-div { width: 100%; height: 32px; margin: 0 auto 3rem; max-width: 520px; }
.dot-div svg { width: 100%; height: 100%; }

/* ---- contact ---- */
.contact { position: relative; }
.contact-field { position: absolute; right: -140px; top: 20px; width: 480px; height: 480px; z-index: 0; pointer-events: none; overflow: hidden; }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 2.5rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.6rem; }
.form-group label { font-size: 0.72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group textarea, .form-group select { background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 0.8rem 1rem; color: var(--ink); font-family: var(--font-body); font-size: 1rem; width: 100%; transition: border-color 0.3s var(--ease); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--indigo); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--faint); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-row.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

/* ---- products / DM Nexa ---- */
.product-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: 1.05fr 0.95fr; }
.product-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--nexa), var(--coral)); z-index: 3; }
.product-main { padding: 3rem 3rem 3rem; }
.product-side { padding: 3rem; background: var(--paper-2); border-left: 1px solid var(--line); position: relative; }
.dmnexa-logo { height: 46px; width: auto; margin-bottom: 1.4rem; }
.product-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--nexa); margin-bottom: 1.1rem; }
.product-main p.desc { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.7; max-width: 42ch; margin-bottom: 1.8rem; }
.feat-list { list-style: none; display: grid; gap: 0.85rem; margin-bottom: 2rem; }
.feat-list li { display: flex; align-items: center; gap: 0.85rem; font-size: 0.96rem; color: var(--ink-soft); }
.feat-list li i { font-size: 1.25rem; color: var(--indigo); flex: none; }
.btn-nexa { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.95rem 2rem; background: var(--nexa); color: #fff; font-weight: 700; font-size: 0.86rem; border: none; border-radius: 30px; cursor: pointer; transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.btn-nexa:hover { background: #d23456; transform: translateY(-2px); }
.live-badge { display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--emerald-d); border: 1px solid var(--line); background: var(--card); padding: 0.45rem 1.1rem; border-radius: 30px; margin-bottom: 1.6rem; }
.live-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nexa); box-shadow: 0 0 0 0 rgba(236,71,103,0.5); animation: livepulse 2s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(236,71,103,0.45); } 70% { box-shadow: 0 0 0 8px rgba(236,71,103,0); } 100% { box-shadow: 0 0 0 0 rgba(236,71,103,0); } }
.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.flow-step { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1rem; text-align: center; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.flow-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.flow-step .si { width: 46px; height: 46px; margin: 0 auto 0.8rem; border-radius: 50%; border: 1px solid var(--nexa); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--nexa); }
.flow-step .sl { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); }
.flow-step .sn { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 3rem 2.5rem; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.footer-brand p { color: var(--muted); font-size: 0.94rem; margin-top: 0.8rem; font-weight: 500; }
.footer-brand p a { color: inherit; text-decoration: none; }
.footer-brand p a:hover { color: var(--indigo-deep); text-decoration: underline; }
.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.86rem; color: var(--ink-soft); font-weight: 600; transition: color 0.25s; }
.footer-links a:hover { color: var(--indigo); }
.footer-bottom { max-width: 1140px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; }

/* ============================================================
   SCROLL REVEAL — JS adds .reveal then .visible via IntersectionObserver
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .pixel-dot { animation: none !important; }
}

/* ============================================================
   INNER PAGE HERO  (privacy / terms / return / articles)
   ============================================================ */
main { display: block; }
.page-hero { padding: 4rem 0 2.25rem; border-bottom: 1px solid var(--line); }
.page-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 4.5vw, 2.9rem); letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); text-wrap: balance; }
.page-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin-top: 1rem; max-width: 640px; }

/* ============================================================
   PROSE  (long-form text content — policy pages, articles, guides)
   ============================================================ */
.prose { max-width: 720px; margin: 0; padding: 2.5rem 0 5rem; background: transparent; border: none; }
.prose h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 2rem; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
.prose h2, .prose h3 { font-size: 1.25rem; margin: 2.25rem 0 1rem; text-align: left; color: var(--ink); font-family: var(--font-display); font-weight: 700; border-left: 3px solid var(--indigo-deep); padding-left: 0.85rem; display: flex; align-items: center; gap: 0.6rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h2 i, .prose h3 i, .prose h1 i { color: var(--indigo-deep); font-size: 0.92em; flex: none; }
.prose p { margin-bottom: 1.5rem; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.prose ul, .prose ol { margin: 0 0 1.5rem 0; padding-left: 1.2rem; color: var(--muted); }
.prose ul ul, .prose ol ul, .prose ul ol, .prose ol ol { margin: 0.5rem 0 0; }
.prose ul li, .prose ol li { margin-bottom: 0.5rem; line-height: 1.8; }
.prose a { color: var(--indigo-d); text-decoration: underline; }
.prose a.btn-primary, .prose a.btn-ghost { text-decoration: none; }
.prose a.btn-primary { color: var(--indigo-deep); }
.prose a.btn-primary:hover { color: #fff; }
.prose a.btn-ghost { color: var(--ink); }
.prose a.btn-ghost:hover { color: #fff; }
.map-embed { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 1.5rem; }
.map-embed iframe { display: block; }

/* ============================================================
   SHOPIFY SHOWCASE  (shopify-showcase/index.html)
   ============================================================ */
.showcase-main { min-height: calc(100vh - 80px); display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
.showcase-inner { width: 100%; max-width: 1000px; margin: 0 auto; }
.slide-container { width: 100%; max-width: 1000px; height: 535px; background-color: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; margin: 3rem auto; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 35px 40px; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; text-align: left; opacity: 0; visibility: hidden; transform: translateX(100%); transition: all 0.5s ease-in-out; }
.slide h2 { font-size: 1.8rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.slide.active { opacity: 1; visibility: visible; transform: translateX(0); z-index: 1; }
.slide.prev-slide { transform: translateX(-100%); }
.slide-title { font-size: 2.8rem; font-weight: 700; color: var(--text-muted); margin-bottom: 15px; text-align: center; width: 100%; }
.slide-subtitle { font-size: 1.5rem; color: var(--primary); margin-bottom: 30px; text-align: center; }
.slide-content { font-size: 1rem; line-height: 1.7; width: 100%; }
.slide-content p { margin-bottom: 1.5rem; }
.slide-content ul { list-style: none; margin: 0; padding: 0; }
.slide-content ul li { padding-left: 1.5rem; position: relative; margin-bottom: 1rem; }
.slide-content ul li::before { content: '•'; color: var(--primary); font-size: 1.5em; position: absolute; left: 0; top: -0.2em; }
.slide-content ol { list-style-position: inside; padding: 0; counter-reset: item; }
.slide-content ol li { margin-bottom: 1rem; padding-left: 0.5rem; }
.slide-content ol li strong { margin-left: 0.5rem; }
.slide-footer { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); font-size: 0.9rem; color: var(--text-muted); }
.nav-buttons { display: flex; justify-content: center; gap: 15px; margin-top: 20px; }
.nav-button { background-color: var(--primary); color: var(--indigo-deep); border: none; padding: 10px 20px; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; }
.nav-button:hover { background-color: var(--indigo-deep); color: #fff; }
.nav-button:disabled { background-color: var(--faint); color: #fff; cursor: not-allowed; }
.screens-flow-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; width: 100%; max-width: 850px; margin: 0 auto; }
.screen-image-item { background-color: var(--ink); border-radius: 8px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding-bottom: 5px; min-height: 180px; }
.screen-image-item img { width: 100%; height: auto; max-height: 150px; object-fit: cover; display: block; cursor: pointer; transition: transform 0.3s ease; }
.screen-image-item img:hover { transform: scale(1.05); }
.screen-image-item .caption { font-size: 0.8rem; color: var(--faint); margin-top: 5px; text-align: center; padding: 0 5px; }
.tech-stack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; width: 100%; max-width: 600px; margin: 25px auto 0; text-align: center; }
.tech-item { background-color: var(--paper); padding: 15px; border-radius: 8px; border: 1px solid var(--primary); font-size: 1.1rem; color: var(--text); }
.contact-info { margin-top: 20px; font-size: 1.2rem; color: var(--primary); }
.modal { display: none; position: fixed; z-index: 1000; padding-top: 50px; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); overflow: auto; }
.modal-content { margin: auto; display: block; max-width: 90%; max-height: 80vh; object-fit: contain; }
.close-modal { position: absolute; right: 35px; top: 15px; color: #f1f1f1; font-size: 40px; font-weight: bold; cursor: pointer; }
.close-modal:hover { color: var(--primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
    .nav-links { display: none; position: absolute; top: 80px; left: 0; right: 0; max-height: calc(100vh - 80px); overflow-y: auto; background: rgba(255,252,246,0.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 1.5rem 2.5rem 2rem; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
    .nav-links.open { display: flex; }
    .menu-toggle { display: flex; }
    .nav-item { flex-direction: column; align-items: flex-start; width: 100%; }
    .nav-drop-toggle { width: 100%; justify-content: space-between; padding: 0.2rem 0; }
    .nav-dropdown { display: none; flex-direction: column; gap: 0.75rem; padding: 0.75rem 0 0.15rem 0.9rem; width: 100%; }
    .nav-item.open .nav-dropdown { display: flex; }
}
@media (max-width: 880px) {
    .cards.c3 { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .product-card { grid-template-columns: 1fr; }
    .product-side { border-left: none; border-top: 1px solid var(--line); }
    .form-row.form-row-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    header nav { height: 72px; }
}
@media (max-width: 600px) {
    .container, .nav-inner, .hero-inner, .footer-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
    .cards.c3, .cards.c2 { grid-template-columns: 1fr; }
    .form-row, .form-row.form-row-3 { grid-template-columns: 1fr; }
    .hero-field { width: 460px; height: 460px; right: -160px; }
    .clients-row { gap: 2rem; }
    .product-side { display: none; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-links { flex-direction: column; gap: 1rem; }

    /* Shopify showcase mobile */
    .slide-container { height: auto; min-height: 500px; }
    .slide { position: static; transform: none !important; opacity: 1 !important; visibility: visible !important; padding: 20px; display: none; flex-direction: column; align-items: flex-start; }
    .slide.active { display: flex; }
    .slide-title { font-size: 1.6rem; margin-top: 0; }
    .slide-subtitle { font-size: 1rem; margin-bottom: 20px; }
    .screens-flow-container { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
    .screen-image-item img { max-height: none; height: auto; object-fit: contain; }
    .modal-content { max-width: 95%; }
    .tech-stack-grid { grid-template-columns: 1fr; gap: 15px; }
    .slide-content, .tech-stack-grid { margin-bottom: 10px; }
    .prose { padding: 2rem 0 3rem; }
    .prose h1 { font-size: 1.6rem; }
    .prose h2 { font-size: 1.2rem; }
}
