/* Nisaab marketing site — small extras on top of theme.json. Class names are added in the editor under Block > Advanced > Additional CSS class. */
body { background: radial-gradient(1200px 600px at 100% -10%, rgba(5,150,105,.07), transparent 60%), var(--wp--preset--color--paper); }
:focus-visible { outline: 2px solid var(--wp--preset--color--brand); outline-offset: 3px; }
.wp-site-blocks { overflow-x: clip; }

/* Header */
.sc-header { position: relative; z-index: 50; padding-top: 12px; padding-bottom: 0; background: transparent !important; pointer-events: none; }
.sc-nav { pointer-events: auto; padding: .55rem .6rem .55rem 1.1rem; border-radius: 999px; background: rgba(255,255,255,.78); border: 1px solid rgba(214,233,222,.9);
  backdrop-filter: saturate(170%) blur(14px); -webkit-backdrop-filter: saturate(170%) blur(14px); box-shadow: 0 10px 30px -18px rgba(6,43,43,.45); }
.sc-btn-sm .wp-block-button__link { padding: .6rem 1.15rem; font-size: .9rem; }
.sc-nav .wp-block-navigation a:hover { color: var(--wp--preset--color--emerald); }
.wp-site-blocks > .wp-block-template-part:first-child { position: sticky; top: 0; z-index: 50; height: 0; overflow: visible; }
body:not(.home):not(.page-template-page-landing) .wp-site-blocks > main { margin-top: 76px; }
.wp-block-post-content > .alignfull:first-child { padding-top: calc(var(--wp--preset--spacing--60) + 76px) !important; }
.admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: 32px; }
.sc-logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--wp--preset--font-family--display); font-weight: 750; font-size: 1.3rem; color: var(--wp--preset--color--deep); text-decoration: none; letter-spacing: -.02em; }
.sc-logo img, .sc-logo svg { width: 44px; height: 47px; object-fit: contain; }


/* Hero */
.sc-hero { position: relative; isolation: isolate; overflow: hidden; }
.sc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M32 6 38 26 58 32 38 38 32 58 26 38 6 32 26 26Z' fill='none' stroke='%23fff' stroke-width='1.2'/%3E%3Ccircle cx='32' cy='32' r='2.6' fill='%23fff'/%3E%3C/svg%3E"); }
.sc-hero h1, .sc-hero h2, .sc-hero p { color: #fff; }
.sc-hero .sc-lead { color: rgba(255,255,255,.82); }
.sc-hero .wp-block-image img { border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
.sc-gold { color: var(--wp--preset--color--highlight) !important; }

/* Eyebrow pill */
.sc-eyebrow { display: inline-block; width: fit-content; padding: .3rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--wp--preset--color--brand-soft); color: var(--wp--preset--color--brand); }
.sc-hero .sc-eyebrow { background: rgba(167,243,208,.16); color: var(--wp--preset--color--highlight); }

/* Buttons */
.is-style-outline .wp-block-button__link, .wp-block-button.is-style-outline > .wp-block-button__link { border: 1.5px solid currentColor; background: transparent; }
.sc-hero .is-style-outline .wp-block-button__link { color: #fff; }
.sc-btn-gold .wp-block-button__link { background: var(--wp--preset--color--highlight); color: var(--wp--preset--color--ink); }
.sc-btn-gold .wp-block-button__link:hover { background: #6EE7B7; color: var(--wp--preset--color--ink); }

/* Cards */
.sc-card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius--card); box-shadow: var(--wp--custom--shadow--card); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; height: 100%; }
.sc-card:hover { transform: translateY(-3px); border-color: #BFE5D1; box-shadow: 0 18px 40px -20px rgba(6,43,43,.35); }
.wp-block-columns > .wp-block-column > .sc-card { height: 100%; }
.sc-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.35rem; line-height: 1; background: var(--wp--preset--color--brand-soft); margin: 0 0 .25rem !important; }
.sc-card h3 { margin-top: .6rem; }
.sc-card p { color: var(--wp--preset--color--muted); }

/* Lists with ticks */
.sc-ticks { list-style: none; padding-left: 0 !important; }
.sc-ticks li { position: relative; padding-left: 1.7rem; margin: .45rem 0; }
.sc-ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--wp--preset--color--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.4 2.6 2.5L12 5.4' fill='none' stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.sc-dark .sc-ticks li::before { background-color: rgba(255,255,255,.12); }

/* Demo video frame */
.sc-video { position: relative; border-radius: 22px; padding: 10px; background: linear-gradient(140deg, rgba(167,243,208,.65), rgba(5,150,105,.55) 45%, rgba(6,43,43,.9)); box-shadow: 0 40px 90px -40px rgba(6,43,43,.6); }
.sc-video video, .sc-video iframe, .sc-video img { display: block; width: 100%; border-radius: 14px; aspect-ratio: 16/9; height: auto; object-fit: cover; background: var(--wp--preset--color--deep); }
.sc-video figure { margin: 0; }
.sc-video .wp-block-embed__wrapper { border-radius: 14px; overflow: hidden; }

/* Stats strip */
.sc-stat strong { display: block; font-family: var(--wp--preset--font-family--display); font-size: clamp(1.8rem,3.5vw,2.6rem); color: var(--wp--preset--color--deep); line-height: 1.1; }
.sc-stat { color: var(--wp--preset--color--muted); }

/* Steps */
.sc-step-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--wp--preset--color--deep); color: var(--wp--preset--color--highlight); margin: 0 !important; }

/* Pricing */
.sc-price { font-family: var(--wp--preset--font-family--display); font-size: 2.4rem; font-weight: 750; color: var(--wp--preset--color--deep); line-height: 1; margin: .2rem 0 !important; }
.sc-price small { font-size: .95rem; font-weight: 500; color: var(--wp--preset--color--muted); font-family: var(--wp--preset--font-family--body); }
.sc-plan-featured { border: 2px solid var(--wp--preset--color--brand) !important; position: relative; }
.sc-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; margin: 0 !important; padding: .2rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--wp--preset--color--highlight); color: var(--wp--preset--color--ink); }

/* FAQ */
.wp-block-details summary { cursor: pointer; font-weight: 650; list-style: none; position: relative; padding-right: 2rem; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 0; top: -.1em; font-size: 1.4rem; color: var(--wp--preset--color--brand); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details[open] summary { margin-bottom: .6rem; }

/* Dark sections */
.sc-dark h2, .sc-dark h3, .sc-dark p, .sc-dark li { color: #fff; }
.sc-dark .sc-muted { color: rgba(255,255,255,.75) !important; }
.sc-dark .sc-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; }
.sc-dark .sc-card p { color: rgba(255,255,255,.78); }

/* Blog */
.sc-post-card { overflow: hidden; }
.sc-post-card .wp-block-post-featured-image { margin: 0; }
.sc-post-card .wp-block-post-featured-image img { aspect-ratio: 16/9; object-fit: cover; }
.sc-post-card .wp-block-post-title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.sc-post-card .wp-block-post-title a:hover { color: var(--wp--preset--color--brand); }
.single .wp-block-post-content { font-size: 1.1rem; }
.single .wp-block-post-content h2 { font-size: var(--wp--preset--font-size--x-large); margin-top: 2.4rem; }
.single .wp-block-post-content h3 { margin-top: 1.8rem; }
.sc-toc-note { font-size: .9rem; }

/* Footer */
.sc-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.sc-footer a:hover { color: #fff; text-decoration: underline; }
.sc-footer p, .sc-footer li { color: rgba(255,255,255,.72); }
.sc-footer h2, .sc-footer h3 { color: #fff; }

/* WhatsApp floating button */
.sc-wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 10px 28px -8px rgba(0,0,0,.4); transition: transform .18s; }
.sc-wa:hover { transform: scale(1.06); }
.sc-wa svg { width: 30px; height: 30px; fill: #fff; }

/* Rise-in animation (only above the fold elements already visible use none) */
@media (prefers-reduced-motion: no-preference) {
  .sc-rise { animation: sc-rise .6s cubic-bezier(.2,.7,.2,1) both; }
  .sc-rise-2 { animation: sc-rise .6s .12s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes sc-rise { from { opacity: 0; transform: translateY(14px); } }
}
@media (max-width: 781px) {
  .sc-hide-mobile { display: none !important; }
  .sc-hero { text-align: left; }
}

/* Polish (v1.0.1) */
.sc-hero h1 { font-size: clamp(2.2rem, 4.1vw, 3.45rem); }
.sc-dark .sc-eyebrow { background: rgba(167,243,208,.16); color: var(--wp--preset--color--highlight); }
.sc-dark .sc-ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.4 2.6 2.5L12 5.4' fill='none' stroke='%23A7F3D0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sc-video figcaption { color: rgba(255,255,255,.85); margin: .6rem 0 .1rem; font-size: .85rem; text-align: center; }
.sc-card.sc-plan-featured, .wp-block-column > .sc-card { display: flex; flex-direction: column; }
.wp-block-column > .sc-card > .wp-block-buttons { margin-top: auto; }
.sc-card > .sc-ticks { margin-bottom: .5rem; }
.sc-media img { width: 100%; height: auto; }
.sc-hero .sc-media img { aspect-ratio: 960/620; }
.sc-video > .sc-media { margin: 0; }
.sc-video > .sc-media img { aspect-ratio: 16/9; }
.sc-plain { list-style: none; padding-left: 0 !important; line-height: 2; }
.sc-media, .sc-video .wp-block-image { display: block; width: 100%; }
.sc-media a { display: block; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* ===== Motion & graphics (v1.1) — all switched off for people who prefer reduced motion ===== */
.sc-header { transition: box-shadow .25s ease, background-color .25s ease; }
.sc-header.is-scrolled .sc-nav { box-shadow: 0 14px 34px -16px rgba(6,43,43,.5); background: rgba(255,255,255,.92); }

/* Reveal on scroll (only when JS is running) */
.sc-io .sc-r { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--sc-d,0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--sc-d,0ms); }
.sc-io .sc-r.is-in { opacity: 1; transform: none; }
.sc-io .sc-card.sc-r.is-in:hover { transform: translateY(-4px); }

/* Hero: drifting glow orbs + moving star pattern */
.sc-hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -12vw; top: -20vw;
  background: radial-gradient(circle, rgba(167,243,208,.22), transparent 62%); filter: blur(10px); }
.sc-hero .wp-block-columns { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .sc-hero::before { animation: sc-drift 80s linear infinite; }
  .sc-hero::after { animation: sc-orb 14s ease-in-out infinite alternate; }
  .sc-hero .sc-media img { animation: sc-float 7s ease-in-out infinite; }
  @keyframes sc-drift { to { background-position: 64px 64px; } }
  @keyframes sc-orb { to { transform: translate(-8vw, 10vw) scale(1.15); } }
  @keyframes sc-float { 50% { transform: translateY(-10px); } }
}

/* Floating notification chips around the hero dashboard */
.sc-chips { position: absolute; inset: 0; pointer-events: none; }
.sc-chip { position: absolute; display: flex; align-items: center; gap: .55rem; padding: .55rem .8rem; border-radius: 14px; background: #fff; color: var(--wp--preset--color--ink);
  font-size: .82rem; font-weight: 650; line-height: 1.25; box-shadow: 0 18px 40px -14px rgba(0,0,0,.45); white-space: nowrap; }
.sc-chip small { display: block; font-weight: 500; color: var(--wp--preset--color--muted); font-size: .74rem; }
.sc-chip i { font-style: normal; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 1rem; }
.sc-chip--1 { left: -6%; top: 8%; } .sc-chip--1 i { background: #dcfce7; }
.sc-chip--2 { right: -4%; bottom: 12%; } .sc-chip--2 i { background: var(--wp--preset--color--highlight-soft); }
.sc-chip--3 { left: 4%; bottom: -4%; } .sc-chip--3 i { background: var(--wp--preset--color--brand-soft); }
@media (prefers-reduced-motion: no-preference) {
  .sc-chip { animation: sc-pop .6s cubic-bezier(.2,.9,.3,1.3) both, sc-bob 6s ease-in-out infinite; }
  .sc-chip--1 { animation-delay: 1.9s, 2.5s; } .sc-chip--2 { animation-delay: 2.3s, 3.4s; } .sc-chip--3 { animation-delay: 2.7s, 4.2s; }
  @keyframes sc-pop { from { opacity: 0; transform: translateY(14px) scale(.85); } }
  @keyframes sc-bob { 50% { transform: translateY(-7px); } }
}
@media (max-width: 781px) { .sc-chip--1 { left: 0; top: -6%; } .sc-chip--2 { right: 0; } .sc-chip--3 { display: none; } .sc-chip { font-size: .75rem; } }

/* Gold button shine + arrow nudge */
.sc-btn-gold .wp-block-button__link { position: relative; overflow: hidden; }
.sc-btn-gold .wp-block-button__link::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .sc-btn-gold .wp-block-button__link::after { animation: sc-shine 4.5s ease-in-out 2.5s infinite; }
  @keyframes sc-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
}
.wp-block-button__link { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(6,43,43,.5); }

/* Moving "built for" ticker */
.sc-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sc-marquee__track { display: flex; gap: 2.5rem; width: max-content; }
.sc-marquee__track span { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--wp--preset--font-family--display); font-weight: 650; font-size: 1.05rem; color: var(--wp--preset--color--muted); white-space: nowrap; }
.sc-marquee__track span::before { content: "✦"; color: var(--wp--preset--color--highlight); }
@media (prefers-reduced-motion: no-preference) { .sc-marquee__track { animation: sc-marq 38s linear infinite; } .sc-marquee:hover .sc-marquee__track { animation-play-state: paused; } @keyframes sc-marq { to { transform: translateX(-50%); } } }

/* Card hover: gradient top edge + icon bounce */
.sc-card { position: relative; }
.sc-card::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--wp--preset--color--brand), var(--wp--preset--color--highlight)); opacity: 0; transition: opacity .25s; }
.sc-card:hover::before { opacity: 1; }
.sc-plan-featured::before { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .sc-card:hover .sc-icon { animation: sc-bounce .5s cubic-bezier(.3,1.6,.5,1); } @keyframes sc-bounce { 40% { transform: translateY(-5px) rotate(-6deg); } } }

/* Steps: dotted connector between numbers */
.sc-steps .wp-block-column { position: relative; }
@media (min-width: 782px) { .sc-steps .wp-block-column:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 56px; right: -8px; border-top: 2px dashed var(--wp--preset--color--line); } }

/* Notice card: progress bar of acknowledgments */
.sc-ack { height: 8px; border-radius: 99px; background: rgba(255,255,255,.14); overflow: hidden; margin: .2rem 0 0 !important; }
.sc-ack::after { content: ""; display: block; height: 100%; width: 91%; border-radius: inherit; background: linear-gradient(90deg, var(--wp--preset--color--highlight), #6EE7B7); transform-origin: left; }
.sc-io .sc-r .sc-ack::after { transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2,.7,.2,1) .3s; }
.sc-io .sc-r.is-in .sc-ack::after { transform: scaleX(1); }
.sc-new { display: inline-block; padding: .1rem .5rem; border-radius: 99px; background: #ef4444; color: #fff !important; font-size: .7rem; font-weight: 800; letter-spacing: .05em; vertical-align: middle; margin-left: .4rem; }
@media (prefers-reduced-motion: no-preference) { .sc-new { animation: sc-pulse 1.8s ease-in-out infinite; } @keyframes sc-pulse { 50% { box-shadow: 0 0 0 6px rgba(239,68,68,0); } 0% { box-shadow: 0 0 0 0 rgba(239,68,68,.5); } } }

/* Decorative wave under the hero */
.sc-wave { display: block; width: 100%; height: 40px; margin-top: -1px !important; }
.sc-hero .wp-block-column { position: relative; }
