/* Stream Mask - new home (index-nuevo.html). Motion system: reveal on scroll, hero entrance, hover/press states.
   Everything animated is transform/opacity only, and switched off with prefers-reduced-motion. */

:root {
  --sm-ink: #1C1121;
  --sm-ink-2: #0f0a14;
  --sm-orange: #FF7E02;
  --sm-gold: #FFC010;
  --sm-line: rgba(255, 255, 255, .10);
}

/* ---------- Hero ---------- */
.sm-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 78% 30%, rgba(255, 126, 2, .22), transparent 62%),
    radial-gradient(760px 520px at 8% 90%, rgba(120, 70, 255, .22), transparent 60%),
    var(--sm-ink-2);
  padding: 96px 0 110px;
}
.sm-hero:before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.sm-hero .container { position: relative; z-index: 2; }
.sm-hero_chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 192, 16, .45); background: rgba(255, 192, 16, .08); color: var(--sm-gold);
  font-family: 'Rajdhani', sans-serif; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 14px;
}
.sm-hero_chip:before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sm-gold); box-shadow: 0 0 0 4px rgba(255, 192, 16, .2); }
.sm-hero_title { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04; margin: 22px 0 20px; color: #fff; text-transform: none; }
.sm-hero_title em { font-style: normal; color: var(--sm-orange); }
.sm-hero_text { font-size: 19px; line-height: 1.6; color: #cfcbe0; max-width: 560px; margin: 0 0 32px; }
.sm-hero_cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.sm-btn-ghost {
  display: inline-flex; align-items: center; gap: 10px; padding: 17px 30px; border-radius: 6px; color: #fff;
  border: 1px solid rgba(255, 255, 255, .35); font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.sm-btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; transform: translateY(-2px); }
.sm-btn-ghost:active, .sm-hero .vs-btn:active { transform: scale(.97); }
.sm-hero .vs-btn { transition: transform .2s ease, box-shadow .2s ease; }
.sm-hero .vs-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 126, 2, .35); }
.sm-hero_trust { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; color: #aaa5c0; font-size: 14px; }
.sm-hero_trust li:before { content: '\2713'; color: var(--sm-gold); margin-right: 8px; font-weight: 700; }

/* collage of real screens */
.sm-collage { position: relative; height: 470px; max-width: 640px; margin-left: auto; }
.sm-shot {
  position: absolute; width: 74%; border-radius: 12px; overflow: hidden; border: 1px solid var(--sm-line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55); background: #000; transition: transform .35s ease, box-shadow .35s ease;
}
.sm-shot img { display: block; width: 100%; height: auto; }
.sm-shot_tag {
  position: absolute; left: 10px; bottom: 10px; background: rgba(15, 10, 20, .85); color: #fff; font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; border-left: 3px solid var(--sm-orange);
}
.sm-shot.s1 { top: 0; right: 0; transform: rotate(3deg); z-index: 1; }
.sm-shot.s2 { top: 125px; left: 0; transform: rotate(-3.5deg); z-index: 2; }
.sm-shot.s3 { top: 262px; right: 4%; transform: rotate(2deg); z-index: 3; }
.sm-collage:hover .sm-shot { animation-play-state: paused; }
.sm-shot:hover { transform: rotate(0) scale(1.03) !important; z-index: 5; box-shadow: 0 36px 70px rgba(0, 0, 0, .6); }
@keyframes smFloatA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes smFloatB { 0%, 100% { translate: 0 0; } 50% { translate: 0 10px; } }

/* hero entrance, staggered */
.sm-hero .sm-in { opacity: 0; transform: translateY(22px); animation: smIn .7s cubic-bezier(.2, .8, .2, 1) forwards; }
.sm-hero .sm-in.d1 { animation-delay: .05s; } .sm-hero .sm-in.d2 { animation-delay: .15s; } .sm-hero .sm-in.d3 { animation-delay: .27s; }
.sm-hero .sm-in.d4 { animation-delay: .38s; } .sm-hero .sm-in.d5 { animation-delay: .5s; }
@keyframes smIn { to { opacity: 1; transform: none; } }
/* the screens enter with the independent "translate" property, so their tilt (transform) is never overwritten */
.sm-shot { opacity: 0; }
.sm-shot.s1 { animation: smShotIn .8s .30s cubic-bezier(.2, .8, .2, 1) forwards, smFloatA 9s 1.2s ease-in-out infinite; }
.sm-shot.s2 { animation: smShotIn .8s .45s cubic-bezier(.2, .8, .2, 1) forwards, smFloatB 10s 1.3s ease-in-out infinite; }
.sm-shot.s3 { animation: smShotIn .8s .60s cubic-bezier(.2, .8, .2, 1) forwards, smFloatA 11s 1.4s ease-in-out infinite reverse; }
@keyframes smShotIn { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Free tools ---------- */
.sm-tools { background: #f6f7f9; padding: 100px 0; }
.sm-tools .title-area { margin-bottom: 44px; }
.sm-tool {
  position: relative; display: block; height: 100%; background: #fff; border: 1px solid #ececf1; border-radius: 14px; padding: 28px 24px 26px; color: inherit;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.sm-tool:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(28, 17, 33, .13); border-color: rgba(255, 126, 2, .55); color: inherit; }
.sm-tool:active { transform: translateY(-2px) scale(.99); }
.sm-tool_icon {
  width: 52px; height: 52px; border-radius: 14px 4px 14px 4px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--sm-orange), var(--sm-gold)); color: #fff; font-size: 22px; transition: transform .25s ease;
}
.sm-tool:hover .sm-tool_icon { transform: rotate(-6deg) scale(1.06); }
.sm-tool_title { font-size: 21px; margin: 0 0 8px; }
.sm-tool_text { margin: 0 0 16px; color: #5c5766; font-size: 15px; line-height: 1.55; }
.sm-tool_go { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--sm-orange); letter-spacing: .05em; text-transform: uppercase; font-size: 14px; }
.sm-tool_go i { margin-left: 6px; display: inline-block; transition: transform .2s ease; }
.sm-tool:hover .sm-tool_go i { transform: translateX(5px); }
.sm-tool.is-custom { background: var(--sm-ink); border-color: var(--sm-ink); }
.sm-tool.is-custom .sm-tool_title { color: #fff; }
.sm-tool.is-custom .sm-tool_text { color: #cfcbe0; }
.sm-tool.is-custom .sm-tool_icon { background: #fff; color: var(--sm-ink); }

/* ---------- Packs ---------- */
.sm-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3; background: var(--sm-orange); color: #fff; font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 4px; box-shadow: 0 6px 16px rgba(255, 126, 2, .4);
}
.sm-packs .video-card { transition: transform .22s ease, box-shadow .22s ease; }
.sm-packs .video-card:hover { transform: translateY(-6px); }
.sm-packs .video-card_img { position: relative; overflow: hidden; }
.sm-packs .video-card_img img { transition: transform .5s ease; }
.sm-packs .video-card:hover .video-card_img img { transform: scale(1.05); }

/* ---------- Reveal on scroll ---------- */
.sm-js .sm-reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.sm-js .sm-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .sm-hero { padding: 64px 0 70px; }
  .sm-collage { height: auto; max-width: 520px; margin: 44px auto 0; }
  .sm-shot { position: relative; width: 100%; top: auto !important; left: auto !important; right: auto !important; margin-bottom: 18px; animation: none !important; transform: none !important; opacity: 1; }
  .sm-shot.s2, .sm-shot.s3 { display: none; }
  .sm-tools { padding: 70px 0; }
}
@media (max-width: 575px) {
  .sm-hero_text { font-size: 17px; }
  .sm-hero_cta .vs-btn, .sm-hero_cta .sm-btn-ghost { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .sm-hero .sm-in, .sm-js .sm-reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .sm-shot { animation: none !important; opacity: 1 !important; }
  .sm-tool, .sm-tool:hover, .sm-packs .video-card:hover { transform: none; }
}

/* ---------- Live demo ---------- */
.sm-demo { background: var(--sm-ink-2); padding: 100px 0; position: relative; overflow: hidden; }
.sm-demo:before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 420px at 85% 50%, rgba(255, 126, 2, .14), transparent 65%); }
.sm-demo .container { position: relative; z-index: 1; }
.sm-demo_text { color: #cfcbe0; margin: 18px 0 26px; max-width: 460px; }
.sm-demo_label { color: #fff; font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; margin: 0 0 10px; }
.sm-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.sm-picker .design-tile {
  background: #0b0713; border: 2px solid #33304a; border-radius: 10px; padding: 5px; cursor: pointer; color: #fff; text-align: center; transition: border-color .15s, transform .15s;
}
.sm-picker .design-tile:hover { transform: translateY(-2px); }
.sm-picker .design-tile img { width: 100%; display: block; border-radius: 6px; margin-bottom: 5px; }
.sm-picker .design-tile span { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .08em; }
.sm-picker .design-tile.active { border-color: var(--sm-orange); }
.sm-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sm-swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; padding: 0; cursor: pointer; transition: transform .15s; }
.sm-swatch:hover { transform: scale(1.15); }
.sm-swatch.active { border-color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.sm-swatch-input { width: 44px; height: 32px; padding: 2px; border-radius: 8px; border: 1px solid #33304a; background: #0b0713; cursor: pointer; }
.sm-demo_frame { border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--sm-line); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
.sm-demo_frame canvas { display: block; width: 100%; height: auto; }

/* ---------- Guides ---------- */
.sm-guide { transition: transform .22s ease, box-shadow .22s ease; }
.sm-guide:hover { transform: translateY(-6px); }
.sm-guide .blog-img { overflow: hidden; }
.sm-guide .blog-img img { transition: transform .5s ease; }
.sm-guide:hover .blog-img img { transform: scale(1.05); }
.sm-learn .blog-title { font-size: 20px; line-height: 1.3; }

/* ---------- FAQ ---------- */
.sm-faq { background: #f6f7f9; }
.sm-q { background: #fff; border: 1px solid #ececf1; border-radius: 12px; margin-bottom: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.sm-q[open] { border-color: rgba(255, 126, 2, .55); box-shadow: 0 10px 26px rgba(28, 17, 33, .08); }
.sm-q summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 20px; color: var(--sm-ink); position: relative; }
.sm-q summary::-webkit-details-marker { display: none; }
.sm-q summary:after { content: '+'; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font-size: 26px; color: var(--sm-orange); transition: transform .25s ease; }
.sm-q[open] summary:after { transform: rotate(45deg); }
.sm-q summary:focus-visible { outline: 3px solid var(--sm-gold); outline-offset: 2px; border-radius: 12px; }
.sm-q p { margin: 0; padding: 0 24px 22px; color: #5c5766; line-height: 1.65; }

@media (max-width: 991px) { .sm-demo { padding: 70px 0; } }

/* Overlay Creator showcase */
.sm-showcase { padding:110px 0; background:radial-gradient(1000px 500px at 85% 30%, rgba(255,126,2,.10), transparent 60%), #120b18; position:relative; overflow:hidden; }
.sm-showcase .sec-title { color:#fff; }
.sm-showcase .sec-text { color:#cfcbe0; }
.sm-sc-list { list-style:none; padding:0; margin:22px 0 30px; }
.sm-sc-list li { display:flex; gap:12px; align-items:flex-start; color:#e9e6f3; margin-bottom:12px; font-size:16px; }
.sm-sc-list i { color:#FF7E02; margin-top:5px; }
.sm-sc-cta { display:flex; flex-wrap:wrap; gap:18px 26px; align-items:center; }
.sm-sc-cta .link-btn { color:#fff; }
.sm-sc-grid { display:grid; grid-template-columns:1.7fr 1fr 1fr; gap:14px; align-items:stretch; }
.sm-sc-grid img { width:100%; height:100%; object-fit:cover; border-radius:12px; display:block; box-shadow:0 18px 40px rgba(0,0,0,.45); transition:transform .3s ease; }
.sm-sc-grid:hover img { transform:translateY(-3px); }
.sm-sc-grid .g1 { grid-column:1; grid-row:1; aspect-ratio:16/9; }
.sm-sc-grid .g3 { grid-column:1; grid-row:2; aspect-ratio:16/9; }
.sm-sc-grid .g2 { grid-column:2; grid-row:1 / span 2; }
.sm-sc-grid .g4 { grid-column:3; grid-row:1; }
.sm-sc-grid .g5 { grid-column:3; grid-row:2; }
@media (max-width:767px) {
  .sm-showcase { padding:70px 0; }
  .sm-sc-grid { grid-template-columns:1fr 1fr; }
  .sm-sc-grid .g1 { grid-column:1 / span 2; grid-row:auto; }
  .sm-sc-grid .g2, .sm-sc-grid .g3 { display:none; }
  .sm-sc-grid .g4, .sm-sc-grid .g5 { grid-column:auto; grid-row:auto; aspect-ratio:1; }
}
.sm-showcase .sub-title { color:#FF7E02 !important; }
.sm-showcase .sec-title-style2 { color:#d6d1e8 !important; }
/* showcase: its own colour band so it never merges with the dark demo below */
.sm-showcase { background:linear-gradient(135deg, #2b1347 0%, #1d1036 48%, #3a1a0c 100%); border-top:4px solid #FF7E02; border-bottom:4px solid #FF7E02; }
.sm-showcase:before { content:''; position:absolute; inset:0; pointer-events:none; opacity:.35;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size:48px 48px; }
.sm-showcase .container { position:relative; z-index:1; }
.sm-showcase .sm-sc-cta .link-btn { text-transform:none; }
