/* SooyalTech UI: shared components, button feedback and entrance motion.
   Colors and fonts come from Elementor Site Settings; only interaction lives here. */

/* Cards */
.st-card { border: 1px solid #E2E8F0; border-radius: 16px; background-color: #FFFFFF; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .05); }
.st-card-link { position: relative; }
.st-card-link a.st-cover::after, .st-card-link .st-cover a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }

/* Product status label */
.st-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #DCFCE7; color: #166534; font-size: 13px; font-weight: 600; line-height: 1.5; }
.st-badge--soon { background: #E2E8F0; color: #0F172A; }

/* Button variants */
.st-btn-green .elementor-button.elementor-button { background-color: #15803D; color: #FFFFFF; }
.st-btn-outline .elementor-button.elementor-button { background-color: transparent; color: #0F172A; box-shadow: inset 0 0 0 2px #0F172A; }
.st-btn-light .elementor-button.elementor-button { background-color: #FFFFFF; color: #0F172A; }

/* Button feedback: 200ms */
.elementor-button { transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; touch-action: manipulation; }
.elementor-button .elementor-button-icon { transition: transform .2s ease; }
.elementor-button:active { transform: translateY(1px) scale(.985); }
a:focus-visible, button:focus-visible, .elementor-button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #2563EB; outline-offset: 3px; }
.st-on-dark a:focus-visible, .st-on-dark .elementor-button:focus-visible { outline-color: #FFFFFF; }

@media (hover: hover) {
  .st-card-link { transition: transform .2s ease, box-shadow .2s ease; }
  .st-card-link:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 14px 32px rgba(15, 23, 42, .10); }
  .st-arrow .elementor-button:hover .elementor-button-icon { transform: translateX(4px); }
  .st-btn-green .elementor-button.elementor-button:hover { background-color: #166534; }
  .st-btn-outline .elementor-button.elementor-button:hover { background-color: #0F172A; color: #FFFFFF; }
  .st-btn-light .elementor-button.elementor-button:hover { background-color: #F1F5F9; color: #0F172A; }
}

/* Entrance motion. The hidden state needs .st-js, so content shows without JavaScript. */
@keyframes st-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes st-hero { from { opacity: .55; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .st-js body:not(.elementor-editor-active) .st-reveal:not(.is-in) { opacity: 0; }
  .st-js .st-reveal.is-in { animation: st-rise .45s ease-out backwards; animation-delay: var(--st-delay, 0ms); }
  .st-hero-title, .st-hero-art { animation: st-hero .5s ease-out backwards; }
  .st-hero-art { animation-delay: .08s; }
}

@media (prefers-reduced-motion: reduce) {
  .st-reveal, .st-hero-title, .st-hero-art { animation: none !important; opacity: 1 !important; }
  .st-card-link, .elementor-button, .elementor-button .elementor-button-icon { transition: none !important; }
  .st-card-link:hover, .elementor-button:active, .st-arrow .elementor-button:hover .elementor-button-icon { transform: none !important; }
}

/* Button icons always follow the button's text color */
.elementor-button.elementor-button .elementor-button-icon svg { fill: currentColor; }
.elementor-button.elementor-button .elementor-button-icon i { color: inherit; }

/* Let the card link cover the whole card, not just its text block */
.st-card-link .elementor-element.elementor-widget.st-cover,
.st-card-link .elementor-widget.st-cover .elementor-widget-container { position: static; }

/* Header */
.st-header { border-bottom: 1px solid #E2E8F0; }
.st-wordmark a { color: #0F172A; text-decoration: none; }
.st-header .hfe-nav-menu .elementor-button.elementor-button { background-color: #15803D; color: #FFFFFF; padding: 12px 22px; }
.st-header .hfe-nav-menu .elementor-button.elementor-button:hover { background-color: #166534; }

/* Footer */
.st-footer a { color: #F1F5F9; text-decoration: none; }
.st-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.st-footer ul { list-style: none; margin: 0; padding: 0; }
.st-footer li { margin: 0; padding: 5px 0; }

/* Header fixes: readable Get Started, dropdown inside the screen, menu button on the right */
.st-header li a.hfe-menu-item.elementor-button { background-color: #15803D !important; color: #FFFFFF !important; }
.st-header li a.hfe-menu-item.elementor-button:hover { background-color: #166534 !important; }
.st-header .st-wordmark { flex: 0 0 auto; width: auto; }
.st-header .elementor-widget-navigation-menu { flex: 1 1 auto; min-width: 0; }
.st-header .hfe-nav-menu__toggle { margin-left: auto !important; margin-right: 0 !important; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
@media (min-width: 1025px) {
  .st-header .hfe-nav-menu__toggle { display: none; }
  .st-header .hfe-nav-menu > li:nth-last-child(2) > .sub-menu { left: auto !important; right: 0 !important; }
}
@media (max-width: 1024px) {
  .st-header li a.hfe-menu-item.elementor-button { margin: 12px 15px; border-radius: 10px; justify-content: center; }
}

/* Phone and tablet menu: Get Started stays a green button */
@media (max-width: 1024px) {
  .st-header nav.hfe-dropdown > ul > li:last-child { padding: 12px 15px; background-color: #FFFFFF; }
  .st-header nav.hfe-dropdown > ul > li:last-child > a.hfe-menu-item { margin: 0; padding: 12px 20px !important; border-radius: 10px; background-color: #15803D !important; color: #FFFFFF !important; justify-content: center; text-align: center; font-weight: 600; }
}

/* Phone menu: full-size touch target for Get Started */
@media (max-width: 1024px) {
  .st-header nav.hfe-dropdown > ul > li:last-child > a.hfe-menu-item { min-height: 44px; display: flex; align-items: center; }
}

/* Forms */
.fluentform .ff-el-form-control.ff-el-form-control { border: 1px solid #64748B; border-radius: 10px; padding: 12px 14px; color: #0F172A; background-color: #FFFFFF; min-height: 48px; }
.fluentform .ff-el-form-control.ff-el-form-control:focus { border-color: #2563EB; }
.fluentform .ff-el-input--label label { font-weight: 600; color: #0F172A; }
.fluentform .ff-btn-submit.ff-btn-submit { background-color: #2563EB; color: #FFFFFF; border: 0; border-radius: 10px; padding: 14px 28px; font-weight: 600; min-height: 48px; transition: background-color .2s ease, transform .2s ease; }
.fluentform .ff-btn-submit.ff-btn-submit:hover { background-color: #0F172A; opacity: 1; }
.fluentform .ff-btn-submit.ff-btn-submit:active { transform: translateY(1px); }
.fluentform .error.text-danger { color: #B91C1C; }

/* Inner pages */
.st-prose { max-width: 720px; }
.st-prose h2 { margin-top: 1.4em; font-size: 24px; }
.st-notice { padding: 16px 20px; border-left: 4px solid #B45309; background: #FFFBEB; color: #0F172A; }

/* Readable text and form width (overrides Elementor's 100% rule) */
.e-con .elementor-widget.st-prose.st-prose { max-width: 720px; }

/* Consent text: readable in normal and error states */
.fluentform .ff-el-form-check label, .fluentform .ff_t_c { line-height: 1.5; color: #0F172A; }
.fluentform .ff-el-is-error .ff-el-form-check label, .fluentform .ff-el-is-error .ff_t_c, .fluentform .ff-el-is-error .ff_t_c a { color: #B91C1C !important; }
.fluentform .ff_t_c a { color: #2563EB; text-decoration: underline; }
