/* Custom styles for Tex8 Web Solutions */

/* Dark mode setup */
@media (prefers-color-scheme: dark) {
    /* Only apply if user hasn't manually selected a mode */
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Homepage background system */
body.home-page {
    --home-chrome-offset: 0px;
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse 120% 76% at 8% -6%, rgba(232, 116, 79, 0.10) 0%, transparent 52%),
        radial-gradient(ellipse 88% 62% at 100% 4%, rgba(232, 116, 79, 0.06) 0%, transparent 48%),
        linear-gradient(180deg, #fbfbfc 0%, #f1f3f6 100%);
}

body.service-page {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse 118% 74% at 8% -6%, rgba(232, 116, 79, 0.10) 0%, transparent 52%),
        radial-gradient(ellipse 84% 60% at 100% 4%, rgba(232, 116, 79, 0.06) 0%, transparent 46%),
        linear-gradient(180deg, #fbfbfc 0%, #f1f3f6 100%);
}

body.home-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image: url('/assets/images/ammann-beenker-lines-light.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: max(128vw, 128vh) auto;
    opacity: 0.78;
    transform-origin: center center;
    will-change: transform;
    transform: translateZ(0);
    animation: homePatternZoom 20s linear infinite alternate;
    -webkit-mask-image: radial-gradient(ellipse 126% 114% at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 62%, rgba(0,0,0,0.96) 76%, rgba(0,0,0,0.82) 86%, rgba(0,0,0,0.44) 94%, transparent 100%);
    mask-image: radial-gradient(ellipse 126% 114% at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 62%, rgba(0,0,0,0.96) 76%, rgba(0,0,0,0.82) 86%, rgba(0,0,0,0.44) 94%, transparent 100%);
}

body.service-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image: url('/assets/images/ammann-beenker-lines-light.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: max(132vw, 132vh) auto;
    opacity: 0.74;
    transform-origin: center center;
    will-change: transform;
    transform: translateZ(0);
    animation: homePatternZoom 24s linear infinite alternate;
    -webkit-mask-image: radial-gradient(ellipse 126% 114% at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 62%, rgba(0,0,0,0.96) 76%, rgba(0,0,0,0.82) 86%, rgba(0,0,0,0.44) 94%, transparent 100%);
    mask-image: radial-gradient(ellipse 126% 114% at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 62%, rgba(0,0,0,0.96) 76%, rgba(0,0,0,0.82) 86%, rgba(0,0,0,0.44) 94%, transparent 100%);
}

@keyframes homePatternZoom {
    0% {
        transform: scale(1) translate3d(0, 0, 0);
    }
    100% {
        transform: scale(1.2) translate3d(0, 0, 0);
    }
}

.hero-title-static {
    display: inline-block;
    animation: heroTitleReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title-static[data-stream-title] {
    animation: none;
}

.hero-rotator {
    display: inline-flex;
    align-items: baseline;
    min-height: 1.1em;
    white-space: nowrap;
    transition: opacity 180ms ease;
}

.hero-rotator.is-waiting-intro {
    opacity: 0;
}

.hero-rotator [data-hero-rotator-text] {
    display: inline-block;
}

.hero-rotator.is-animating [data-hero-rotator-text] {
    animation: heroRotatorSwap 0.42s ease;
}

.hero-rotator-cursor {
    display: inline-block;
    margin-left: 0.08em;
    color: currentColor;
    animation: aiPromptBlink 0.9s steps(1) infinite;
}

@keyframes heroTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 1024px) {
    .hero-title-static {
        white-space: nowrap;
    }
}

.stream-title {
    position: relative;
    text-wrap: balance;
}

.stream-title-text {
    display: inline;
}

.stream-title-cursor {
    display: inline-block;
    margin-left: 0.06em;
    color: #E8744F;
    animation: aiPromptBlink 0.9s steps(1) infinite;
}

.stream-title.is-streaming {
    text-shadow: 0 0 18px rgba(232, 116, 79, 0.08);
}

.stream-title.is-streamed {
    text-shadow: none;
}

body.home-page nav {
    position: sticky !important;
    top: 0;
    background-color: rgba(255, 255, 255, 0.88) !important;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

body.service-page nav {
    background-color: rgba(255, 255, 255, 0.88) !important;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

body.home-page #burger-menu {
    background-color: rgba(246, 247, 249, 0.94);
    border-top: 1px solid rgba(45, 49, 66, 0.10);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
    padding: 0.75rem 1rem 1.25rem;
}

body.home-page .burger-menu-panel {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(45, 49, 66, 0.08);
    border-radius: 28px;
    box-shadow: 0 22px 50px rgba(45, 49, 66, 0.10);
}

body.home-page .burger-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(45, 49, 66, 0.06);
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body.home-page .burger-menu-link:hover {
    background: rgba(45, 49, 66, 0.05);
    border-color: rgba(45, 49, 66, 0.10);
    transform: translateY(-1px);
}

body.home-page .burger-menu-card {
    background: rgba(248, 249, 251, 0.96);
    border: 1px solid rgba(45, 49, 66, 0.08);
    border-radius: 22px;
}

body.home-page .burger-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(45, 49, 66, 0.08);
    color: #757780;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body.home-page .burger-social-link:hover {
    background: rgba(45, 49, 66, 0.06);
    border-color: rgba(45, 49, 66, 0.14);
    transform: translateY(-1px);
}

body.home-page section.bg-white {
    background-color: rgba(255, 255, 255, 0.78) !important;
}

body.service-page section.bg-white {
    background-color: rgba(255, 255, 255, 0.78) !important;
}

body.home-page section.bg-gray-light {
    background-color: rgba(232, 233, 237, 0.68) !important;
}

body.service-page section.bg-slate-50 {
    background-color: rgba(241, 245, 249, 0.72) !important;
}

body.home-page section.bg-gradient-to-br.from-gray-light.to-white {
    background: linear-gradient(
        to bottom right,
        rgba(232, 233, 237, 0.74),
        rgba(255, 255, 255, 0.56)
    ) !important;
}

body.service-page section.bg-gradient-to-br.from-orange-50.to-white {
    background: linear-gradient(
        to bottom right,
        rgba(255, 245, 239, 0.82),
        rgba(255, 255, 255, 0.68)
    ) !important;
}

body.service-page section.bg-primary-orange {
    background-color: rgba(232, 116, 79, 0.94) !important;
}

body.service-page section.border-y.border-slate-100 {
    background-color: rgba(255, 255, 255, 0.72) !important;
    border-top-color: rgba(226, 232, 240, 0.72) !important;
    border-bottom-color: rgba(226, 232, 240, 0.72) !important;
}

body.service-page .site-footer {
    background: rgba(20, 24, 33, 0.84) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

body.service-page .site-footer > .site-footer__inner {
    background: rgba(20, 24, 33, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    box-shadow: 0 24px 60px rgba(8, 12, 20, 0.24);
}

body.home-page section.bg-gradient-to-br.from-white.to-gray-light {
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.60),
        rgba(232, 233, 237, 0.78)
    ) !important;
}

body.home-page .home-surface-panel,
body.home-page .home-surface-accent,
body.home-page .site-footer {
    background: transparent !important;
}

body.home-page .home-surface-panel > .home-surface-panel__inner {
    padding-top: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
    border-radius: 32px;
    border: 1px solid rgba(97, 104, 115, 0.18);
    background:
        linear-gradient(160deg, rgba(37, 42, 52, 0.86), rgba(58, 64, 78, 0.72));
    box-shadow: 0 28px 80px rgba(18, 24, 34, 0.18);
}

body.home-page .home-surface-accent > .home-surface-accent__inner {
    padding-top: clamp(2.25rem, 4vw, 3.25rem);
    padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
    border-radius: 32px;
    border: 1px solid rgba(232, 116, 79, 0.28);
    background:
        linear-gradient(135deg, rgba(232, 116, 79, 0.90), rgba(243, 156, 107, 0.82));
    box-shadow: 0 28px 80px rgba(232, 116, 79, 0.20);
}

body.home-page .site-footer > .site-footer__inner {
    padding-top: clamp(2rem, 4vw, 2.75rem);
    padding-bottom: clamp(2rem, 4vw, 2.75rem);
    border-radius: 32px 32px 0 0;
    border: 1px solid rgba(97, 104, 115, 0.18);
    background:
        linear-gradient(160deg, rgba(30, 35, 45, 0.88), rgba(50, 57, 70, 0.76));
    box-shadow: 0 -12px 60px rgba(18, 24, 34, 0.12);
}

body.home-page .site-footer {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.home-page .home-cool-panel {
    background:
        linear-gradient(135deg, rgba(45, 49, 66, 0.07), rgba(255, 255, 255, 0.58)) !important;
    border-top: 1px solid rgba(45, 49, 66, 0.10);
    border-bottom: 1px solid rgba(45, 49, 66, 0.08);
}

body.home-page .home-screen-section {
    position: relative;
    min-height: calc(100svh - var(--home-chrome-offset));
    scroll-margin-top: calc(var(--home-chrome-offset) + 12px);
    display: flex;
    align-items: center;
    overflow: visible;
}

body.home-page .home-screen-section > * {
    width: 100%;
}

body.home-page .home-cool-surface {
    background:
        linear-gradient(135deg, rgba(45, 49, 66, 0.06), rgba(255, 255, 255, 0.76)) !important;
    border: 1px solid rgba(45, 49, 66, 0.14) !important;
    box-shadow: 0 20px 60px rgba(45, 49, 66, 0.08);
}

body.home-page .home-cool-pill {
    background: rgba(45, 49, 66, 0.06) !important;
    color: #2D3142 !important;
    border: 1px solid rgba(45, 49, 66, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

body.home-page .home-cool-accent {
    color: #2D3142 !important;
}

body.home-page .home-brand-soft {
    color: rgba(45, 49, 66, 0.78) !important;
}

body.home-page .home-glow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(232, 116, 79, 0.22);
    background: linear-gradient(135deg, #f7c2a7 0%, #eb9069 45%, #e8744f 100%);
    color: #ffffff !important;
    box-shadow:
        0 16px 48px rgba(232, 116, 79, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.18) inset;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

body.home-page .home-glow-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #f8cbb4 0%, #ee9874 45%, #ea7d58 100%);
    box-shadow:
        0 22px 56px rgba(232, 116, 79, 0.30),
        0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

body.home-page .home-glow-button:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.58),
        0 0 0 6px rgba(232, 116, 79, 0.28),
        0 20px 54px rgba(232, 116, 79, 0.28);
}

body.home-page .home-glow-button--ghost {
    border-color: rgba(45, 49, 66, 0.14);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 251, 0.92));
    color: #2D3142 !important;
    box-shadow:
        0 16px 42px rgba(56, 189, 248, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.52) inset;
}

body.home-page .home-glow-button--ghost:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    box-shadow:
        0 20px 50px rgba(56, 189, 248, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.68) inset;
}

body.home-page .home-glow-button--dark {
    border-color: rgba(45, 49, 66, 0.12);
    background: linear-gradient(135deg, #3d4859 0%, #2d3142 70%, #232735 100%);
    color: #ffffff !important;
    box-shadow:
        0 16px 48px rgba(45, 49, 66, 0.24),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

body.home-page .home-glow-button--dark:hover {
    background: linear-gradient(135deg, #4a5669 0%, #34394d 70%, #272c3b 100%);
    box-shadow:
        0 22px 58px rgba(45, 49, 66, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

body.home-page .home-product-shop-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    margin-top: 0.9rem;
    color: rgba(45, 49, 66, 0.74);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(45, 49, 66, 0.16);
    transition: color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

body.home-page .home-product-shop-link::after {
    content: "↗";
    font-size: 0.9em;
}

body.home-page .home-product-shop-link:hover {
    color: #e8744f;
    border-color: rgba(232, 116, 79, 0.34);
    transform: translateX(1px);
}

body.home-page .product-demo-light-shell {
    color: #2D3142;
}

body.home-page .product-demo-light-shell .text-primary-dark {
    color: #2D3142 !important;
}

body.home-page .product-demo-light-shell .text-gray-medium {
    color: #757780 !important;
}

body.home-page .product-demo-light-shell .text-gray-500 {
    color: #6b7280 !important;
}

body.home-page .product-demo-light-shell .text-gray-400 {
    color: #9ca3af !important;
}

body.home-page .product-demo-light-shell .bg-white {
    background-color: #ffffff !important;
}

body.home-page .product-demo-light-shell .bg-gray-50,
body.home-page .product-demo-light-shell .bg-gray-50\/90 {
    background-color: #f8fafc !important;
}

body.home-page .product-demo-light-shell .bg-gray-100 {
    background-color: #f3f4f6 !important;
}

body.home-page .product-demo-light-shell .bg-gray-200 {
    background-color: #e5e7eb !important;
}

body.home-page .product-demo-light-shell .border-gray-200,
body.home-page .product-demo-light-shell .border-gray-200\/80 {
    border-color: #e5e7eb !important;
}

.ai-demo-shell {
    height: 360px;
}

@media (max-width: 767px) {
    .ai-demo-shell {
        height: 340px;
    }
}

.ai-demo-thread {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.3rem;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
    overscroll-behavior: contain;
}

.ai-demo-thread::-webkit-scrollbar {
    width: 4px;
}

.ai-demo-thread::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.ai-demo-message {
    max-width: min(86%, 20rem);
    padding: 0.78rem 1rem;
    border-radius: 1.2rem;
    font-size: 0.92rem;
    line-height: 1.55;
    word-break: break-word;
    animation: aiDemoPop 180ms ease;
}

.ai-demo-message--user {
    align-self: flex-end;
    background: #E8744F;
    color: #ffffff;
    border-top-right-radius: 0.45rem;
    box-shadow: 0 14px 32px rgba(232, 116, 79, 0.24);
}

.ai-demo-message--ai {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.94);
    border-top-left-radius: 0.45rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ai-demo-message p {
    margin: 0;
}

.ai-demo-message p + p,
.ai-demo-message ul,
.ai-demo-message ol {
    margin-top: 0.55rem;
}

.ai-demo-message ul,
.ai-demo-message ol {
    padding-left: 1.1rem;
}

.ai-demo-message a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.42);
}

.ai-demo-stream-cursor {
    display: inline-flex;
    align-items: flex-end;
    margin-left: 0.08rem;
    line-height: 1;
    vertical-align: -0.04em;
    animation: aiPromptBlink 0.7s steps(1) infinite;
}

.ai-demo-stream-cursor::before {
    content: '\258B';
    color: #E8744F;
    font-size: 1.12em;
    font-weight: 700;
    line-height: 0.86;
}

.ai-demo-input-wrap {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
    align-items: center;
}

.ai-demo-input {
    min-height: 3rem;
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    cursor: text;
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.ai-demo-input.is-inviting {
    animation: aiDemoInvitePulse 2.4s ease-in-out infinite;
}

.ai-demo-input:focus-within,
.ai-demo-input.is-focused {
    border-color: rgba(232, 116, 79, 0.42);
    background: rgba(255, 255, 255, 0.11);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 3px rgba(232, 116, 79, 0.12);
}

.ai-demo-prompt-label {
    color: rgba(255, 255, 255, 0.35);
    margin-right: 0.45rem;
    flex-shrink: 0;
}

.ai-demo-input-shell {
    position: relative;
    flex: 1;
    min-width: 0;
}

.ai-demo-field {
    width: 100%;
    border: 0;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.96) !important;
    font-size: 0.92rem;
    line-height: 1.4;
    padding: 0;
    outline: none;
    position: relative;
    z-index: 1;
}

.ai-demo-field::placeholder {
    color: transparent;
}

.ai-demo-field::-webkit-input-placeholder {
    color: transparent;
}

.ai-demo-field::-moz-placeholder {
    color: transparent;
    opacity: 1;
}

.ai-demo-field:-ms-input-placeholder {
    color: transparent;
}

.ai-demo-prompt-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 0.08rem;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 140ms ease, transform 140ms ease;
}

.ai-demo-input.is-focused .ai-demo-prompt-overlay,
.ai-demo-input.has-value .ai-demo-prompt-overlay,
.ai-demo-input.is-loading .ai-demo-prompt-overlay {
    opacity: 0;
    transform: translateY(2px);
}

.ai-demo-prompt-text {
    font-size: 0.92rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.60);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.ai-demo-prompt-text.is-typing {
    border-right: 1px solid transparent;
}

.ai-demo-prompt-cursor {
    display: inline-block;
    margin-left: 0.14rem;
    color: #E8744F;
    opacity: 0;
    animation: aiPromptBlink 0.85s steps(1) infinite;
}

.ai-demo-prompt-text.is-typing + .ai-demo-prompt-cursor {
    opacity: 1;
}

.ai-demo-send {
    min-width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    border: none;
    background: #E8744F;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(232, 116, 79, 0.25);
    transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.ai-demo-send:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(232, 116, 79, 0.30);
}

.ai-demo-send:disabled {
    opacity: 0.78;
    cursor: wait;
}

.ai-demo-status {
    min-height: 1.25rem;
    margin-top: 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.58);
}

.ai-demo-status-dot {
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.ai-demo-status.is-live .ai-demo-status-dot {
    background: #34d399;
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.14);
}

.ai-demo-status.is-loading .ai-demo-status-dot {
    background: #38bdf8;
    animation: aiDemoPulse 1.2s ease-in-out infinite;
}

.ai-demo-status.is-error .ai-demo-status-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.14);
}

@keyframes aiPromptBlink {
    0%, 48% { opacity: 1; }
    49%, 100% { opacity: 0; }
}

@keyframes heroTokenReveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroRotatorSwap {
    0% {
        opacity: 0.2;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aiDemoPop {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aiDemoPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.16);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(56, 189, 248, 0.02);
    }
}

@keyframes aiDemoInvitePulse {
    0%, 100% {
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.04),
            0 0 0 0 rgba(232, 116, 79, 0.00);
    }
    50% {
        border-color: rgba(232, 116, 79, 0.42);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.05),
            0 0 0 4px rgba(232, 116, 79, 0.10),
            0 14px 28px rgba(232, 116, 79, 0.12);
    }
}

@keyframes appDemoGuidePulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 0 0 0 rgba(232, 116, 79, 0);
    }
    50% {
        transform: translateY(-1px);
        box-shadow: 0 0 0 6px rgba(232, 116, 79, 0.10);
    }
}

@keyframes shopDemoPulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 10px 20px rgba(232, 116, 79, 0.10);
    }
    50% {
        transform: translateY(-2px);
        box-shadow: 0 18px 36px rgba(232, 116, 79, 0.18);
    }
}

.app-demo-shell {
    position: relative;
    align-items: center;
}

.app-demo-platform-switch {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.app-demo-platform-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 999px;
    padding: 0.62rem 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.app-demo-platform-btn svg {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}

.app-demo-platform-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.app-demo-platform-btn:focus-visible {
    outline: 2px solid rgba(232, 116, 79, 0.55);
    outline-offset: 2px;
}

.app-demo-platform-btn.is-active {
    background: #e8744f;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(232, 116, 79, 0.24);
}

.app-demo-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.app-demo-single {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
}

.app-demo-device-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.app-demo-device-kicker {
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.42);
}

.app-demo-device-title {
    margin-top: 0.22rem;
    font-size: 1rem;
    line-height: 1.18;
    font-weight: 800;
    color: #ffffff;
}

.app-demo-device-chip {
    padding: 0.42rem 0.68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.62rem;
    font-weight: 800;
    white-space: nowrap;
}

.app-demo-device-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-demo-device {
    position: relative;
    min-width: 0;
    width: min(100%, 20.35rem);
    aspect-ratio: 71.6 / 147.6;
    margin: 0 auto;
}

.app-demo-device-frame {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0.42rem;
    border-radius: 2.3rem;
    background: linear-gradient(180deg, rgba(12, 14, 18, 0.98), rgba(28, 31, 39, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 32px 60px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.app-demo-device-frame::before {
    content: "";
    position: absolute;
    inset: 0.38rem;
    border-radius: 1.96rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.app-demo-device-topbar {
    position: absolute;
    top: 0.78rem;
    left: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    pointer-events: none;
}

.app-demo-device-island {
    width: 4.7rem;
    height: 1.08rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 8px 18px rgba(0, 0, 0, 0.22);
}

.app-demo-device-camera {
    width: 0.82rem;
    height: 0.82rem;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.62), rgba(0, 0, 0, 0.84) 58%);
    box-shadow: 0 0 0 0.22rem rgba(0, 0, 0, 0.45);
    display: none;
}

.app-demo-device--pixel .app-demo-device-frame {
    border-radius: 2rem;
}

.app-demo-device--pixel {
    width: min(100%, 19.75rem);
    aspect-ratio: 72 / 152.8;
    transform: scaleX(0.9714);
    transform-origin: center top;
}

.app-demo-device--pixel .app-demo-device-frame::before {
    border-radius: 1.65rem;
}

.app-demo-device--pixel .app-demo-screen {
    border-radius: 1.7rem;
}

.app-demo-device--pixel .app-demo-device-island {
    display: none;
}

.app-demo-device--pixel .app-demo-device-camera {
    display: block;
}

.app-demo-screen {
    position: relative;
    min-height: 0;
    height: 100%;
    border-radius: 2rem;
    overflow: hidden;
    padding: 1.9rem 0.95rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.62rem;
}

.app-demo-screen--shared {
    background:
        radial-gradient(circle at top right, rgba(242, 139, 87, 0.15), transparent 32%),
        linear-gradient(180deg, #fffaf4 0%, #ffffff 62%, #f5f7fb 100%);
    color: #1f2937;
}

.app-demo-screen-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.app-demo-screen-head--pixel {
    align-items: center;
}

.app-demo-screen-label {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
    color: rgba(107, 114, 128, 0.84);
}

.app-demo-screen--pixel .app-demo-screen-label {
    color: rgba(255, 255, 255, 0.45);
}

.app-demo-screen-title {
    margin-top: 0.18rem;
    font-size: 1rem;
    line-height: 1.1;
    font-weight: 800;
}

.app-demo-store-badge,
.app-demo-live-pill {
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    font-size: 0.63rem;
    font-weight: 800;
    white-space: nowrap;
}

.app-demo-store-badge {
    background: rgba(255, 255, 255, 0.82);
    color: #e8744f;
    box-shadow: 0 10px 20px rgba(232, 116, 79, 0.16);
}

.app-demo-live-pill {
    background: rgba(232, 116, 79, 0.18);
    color: #ffd8cb;
    border: 1px solid rgba(232, 116, 79, 0.24);
}

.app-demo-tabs,
.app-demo-choices,
.app-demo-chip-row {
    display: flex;
    gap: 0.42rem;
}

.app-demo-tabs {
    flex-wrap: wrap;
}

.app-demo-choice,
.app-demo-chip {
    flex: 1;
}

.app-demo-tab,
.app-demo-choice,
.app-demo-chip,
.app-demo-primary,
.app-demo-secondary,
.app-demo-nav-btn {
    border: 0;
    cursor: pointer;
    transition:
        transform 140ms ease,
        background-color 140ms ease,
        color 140ms ease,
        box-shadow 140ms ease,
        border-color 140ms ease;
}

.app-demo-tab:focus-visible,
.app-demo-choice:focus-visible,
.app-demo-chip:focus-visible,
.app-demo-primary:focus-visible,
.app-demo-secondary:focus-visible,
.app-demo-nav-btn:focus-visible {
    outline: 2px solid rgba(232, 116, 79, 0.55);
    outline-offset: 2px;
}

.app-demo-tab {
    padding: 0.4rem 0.62rem;
    border-radius: 999px;
    background: rgba(45, 49, 66, 0.06);
    color: #6b7280;
    font-size: 0.64rem;
    font-weight: 800;
}

.app-demo-tab.is-active {
    background: #e8744f;
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(232, 116, 79, 0.2);
}

.app-demo-hero {
    display: flex;
    flex-direction: column;
    gap: 0.62rem;
    padding: 0.72rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(31, 41, 55, 0.08);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

.app-demo-art {
    --app-demo-accent: #f28b57;
    --app-demo-accent-soft: #ffe8dc;
    --app-demo-accent-dark: #7c2d12;
    position: relative;
    min-height: 6.8rem;
    border-radius: 1.2rem;
    overflow: hidden;
    background: linear-gradient(140deg, var(--app-demo-accent-soft) 0%, var(--app-demo-accent) 100%);
}

.app-demo-art::before,
.app-demo-art::after {
    content: "";
    position: absolute;
    border-radius: 999px;
}

.app-demo-art::before {
    width: 5.5rem;
    height: 5.5rem;
    right: -0.7rem;
    bottom: -1.4rem;
    background: rgba(255, 255, 255, 0.22);
}

.app-demo-art::after {
    width: 3.2rem;
    height: 3.2rem;
    left: 0.95rem;
    bottom: 0.9rem;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: 3rem -0.95rem 0 rgba(255, 255, 255, 0.18);
}

.app-demo-art-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    padding: 0.3rem 0.52rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--app-demo-accent-dark);
    font-size: 0.54rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.app-demo-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.app-demo-eyebrow {
    font-size: 0.57rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #8a8f9b;
}

.app-demo-product-name {
    font-size: 0.98rem;
    line-height: 1.12;
    font-weight: 800;
    color: #111827;
}

.app-demo-product-copy {
    font-size: 0.69rem;
    line-height: 1.4;
    color: #6b7280;
}

.app-demo-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.app-demo-price {
    font-size: 0.96rem;
    font-weight: 800;
    color: #111827;
}

.app-demo-stock {
    padding: 0.28rem 0.52rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    font-size: 0.6rem;
    font-weight: 800;
    text-align: right;
}

.app-demo-primary,
.app-demo-secondary {
    width: 100%;
    padding: 0.68rem 0.82rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 800;
}

.app-demo-primary {
    background: #e8744f;
    color: #ffffff;
    box-shadow: 0 16px 28px rgba(232, 116, 79, 0.24);
}

.app-demo-secondary {
    background: rgba(255, 255, 255, 0.98);
    color: #111827;
}

.app-demo-primary:hover,
.app-demo-secondary:hover,
.app-demo-nav-btn:hover,
.app-demo-choice:hover,
.app-demo-chip:hover,
.app-demo-tab:hover {
    transform: translateY(-1px);
}

.app-demo-choices {
    margin-top: 0.05rem;
}

.app-demo-choice {
    padding: 0.58rem 0.48rem;
    border-radius: 1rem;
    background: rgba(45, 49, 66, 0.04);
    border: 1px solid rgba(45, 49, 66, 0.08);
    color: #4b5563;
    font-size: 0.64rem;
    font-weight: 800;
    text-align: center;
}

.app-demo-choice.is-active {
    background: rgba(232, 116, 79, 0.12);
    border-color: rgba(232, 116, 79, 0.26);
    color: #c2410c;
}

.app-demo-note {
    min-height: 1.65rem;
    font-size: 0.62rem;
    line-height: 1.38;
    color: #6b7280;
}

.app-demo-bottom-nav {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.28rem;
    padding: 0.24rem;
    border-radius: 1rem;
    background: rgba(45, 49, 66, 0.05);
}

.app-demo-nav-btn {
    padding: 0.5rem 0.34rem;
    border-radius: 0.84rem;
    background: transparent;
    color: #6b7280;
    font-size: 0.61rem;
    font-weight: 800;
}

.app-demo-nav-btn.is-active {
    background: rgba(255, 255, 255, 0.92);
    color: #e8744f;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.07);
}

.app-demo-sync-card,
.app-demo-chat-card,
.app-demo-order-card {
    padding: 0.82rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-demo-sync-label,
.app-demo-card-label {
    font-size: 0.56rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.44);
    margin-bottom: 0.4rem;
}

.app-demo-sync-copy,
.app-demo-order-product,
.app-demo-progress-caption {
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.74);
}

.app-demo-chat-bubble {
    padding: 0.74rem;
    border-radius: 1rem 1rem 1rem 0.5rem;
    background: rgba(232, 116, 79, 0.14);
    border: 1px solid rgba(232, 116, 79, 0.22);
    color: #fff5f1;
    font-size: 0.72rem;
    line-height: 1.5;
}

.app-demo-order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.46rem;
}

.app-demo-order-state {
    font-size: 0.75rem;
    font-weight: 800;
    color: #ffffff;
}

.app-demo-order-total {
    font-size: 0.7rem;
    font-weight: 800;
    color: #ffd7ca;
}

.app-demo-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.34rem;
    margin-top: 0.72rem;
}

.app-demo-progress-step {
    height: 0.34rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.app-demo-progress-step.is-active {
    background: #e8744f;
    box-shadow: 0 0 0 0.28rem rgba(232, 116, 79, 0.1);
}

.app-demo-progress-caption {
    margin-top: 0.48rem;
    color: rgba(255, 255, 255, 0.52);
}

.app-demo-chip {
    padding: 0.56rem 0.45rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #ffffff;
    font-size: 0.64rem;
    font-weight: 800;
}

.app-demo-chip:hover,
.app-demo-secondary:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.app-demo-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
    line-height: 1.45;
    text-align: center;
}

.app-demo-hint-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #34d399;
    box-shadow: 0 0 0 0.34rem rgba(52, 211, 153, 0.14);
    flex-shrink: 0;
}

.app-demo-toast {
    align-self: center;
    width: 100%;
    max-width: 19rem;
}

.app-demo-shell {
    align-items: stretch;
}

.app-demo-stage,
.app-demo-device-wrap {
    width: 100%;
}

.app-demo-screen--app {
    --app-screen-bg: linear-gradient(180deg, #fffaf4 0%, #ffffff 60%, #f4f6fb 100%);
    --app-panel-bg: rgba(255, 255, 255, 0.92);
    --app-panel-muted: rgba(247, 248, 250, 0.94);
    --app-panel-strong: #ffffff;
    --app-border: rgba(31, 41, 55, 0.08);
    --app-text: #111827;
    --app-muted: #6b7280;
    --app-soft: rgba(45, 49, 66, 0.06);
    --app-soft-strong: rgba(255, 255, 255, 0.96);
    --app-accent: #e8744f;
    --app-accent-soft: rgba(232, 116, 79, 0.12);
    background: var(--app-screen-bg);
    color: var(--app-text);
    padding: 1.78rem 0.8rem 0.72rem;
    gap: 0.46rem;
}

.app-demo-screen--app.app-demo-screen--dark {
    --app-screen-bg:
        radial-gradient(circle at top right, rgba(232, 116, 79, 0.14), transparent 28%),
        linear-gradient(180deg, #141923 0%, #10151d 100%);
    --app-panel-bg: rgba(26, 33, 43, 0.96);
    --app-panel-muted: rgba(20, 26, 35, 0.98);
    --app-panel-strong: rgba(34, 43, 55, 0.98);
    --app-border: rgba(255, 255, 255, 0.08);
    --app-text: #f8fafc;
    --app-muted: rgba(226, 232, 240, 0.72);
    --app-soft: rgba(255, 255, 255, 0.06);
    --app-soft-strong: rgba(255, 255, 255, 0.1);
    --app-accent-soft: rgba(232, 116, 79, 0.18);
}

.app-demo-appbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.app-demo-brand-lockup {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.app-demo-brand-logo {
    width: 6.4rem;
    height: auto;
    display: block;
    flex-shrink: 0;
}

.app-demo-appbar-action {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0.85rem;
    background: var(--app-panel-bg);
    border: 1px solid var(--app-border);
    color: var(--app-text);
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08);
}

.app-demo-appbar-action svg,
.app-demo-store-pill svg,
.app-demo-nav-btn svg {
    width: 0.88rem;
    height: 0.88rem;
    flex-shrink: 0;
}

.app-demo-searchbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.8rem;
    border-radius: 1rem;
    background: var(--app-panel-bg);
    border: 1px solid var(--app-border);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
    color: var(--app-muted);
}

.app-demo-searchbar svg {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}

.app-demo-search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--app-text);
    font-size: 0.68rem;
    font-weight: 700;
    outline: none;
}

.app-demo-search-input::placeholder {
    color: var(--app-muted);
    opacity: 0.8;
}

.app-demo-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.app-demo-search-meta {
    display: flex;
    flex-direction: column;
    gap: 0.34rem;
}

.app-demo-search-results,
.app-demo-prompt-row {
    display: flex;
    gap: 0.38rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.app-demo-search-results::-webkit-scrollbar,
.app-demo-prompt-row::-webkit-scrollbar,
.app-demo-panel::-webkit-scrollbar,
.app-demo-chat-thread::-webkit-scrollbar {
    width: 4px;
    display: block;
}

.app-demo-panel::-webkit-scrollbar-thumb,
.app-demo-chat-thread::-webkit-scrollbar-thumb,
.app-demo-menu-drawer::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(107, 114, 128, 0.32);
}

.app-demo-search-chip {
    border: 0;
    border-radius: 999px;
    padding: 0.42rem 0.68rem;
    background: var(--app-soft);
    color: var(--app-text);
    font-size: 0.6rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px var(--app-border);
}

.app-demo-search-chip.is-active {
    background: var(--app-accent);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(232, 116, 79, 0.22);
}

.app-demo-search-status {
    font-size: 0.58rem;
    color: var(--app-muted);
    line-height: 1.35;
}

.app-demo-panels {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.app-demo-panel {
    display: none;
    flex-direction: column;
    gap: 0.52rem;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    padding-right: 0.16rem;
    padding-bottom: 0.18rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(107, 114, 128, 0.32) transparent;
}

.app-demo-panel.is-active {
    display: flex;
}

.app-demo-panel[data-app-demo-panel="agent"] {
    overflow: hidden;
}

.app-demo-panel[data-app-demo-panel="agent"] .app-demo-chat-thread {
    min-height: 12.5rem;
}

.app-demo-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding-bottom: 0.1rem;
}

.app-demo-product-card {
    text-align: left;
    border: 0;
    border-radius: 1.1rem;
    padding: 0.72rem;
    background: var(--app-panel-bg);
    border: 1px solid var(--app-border);
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
    color: inherit;
}

.app-demo-product-card.is-highlighted {
    border-color: rgba(232, 116, 79, 0.34);
    box-shadow: 0 16px 28px rgba(232, 116, 79, 0.16);
}

.app-demo-product-art {
    position: relative;
    height: 4.8rem;
    border-radius: 0.95rem;
    margin-bottom: 0.55rem;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(232, 116, 79, 0.18), rgba(255, 255, 255, 0.92));
}

.app-demo-product-art::before,
.app-demo-product-art::after {
    content: "";
    position: absolute;
    border-radius: 999px;
}

.app-demo-product-art::before {
    width: 3rem;
    height: 3rem;
    right: -0.3rem;
    top: -0.2rem;
    background: rgba(255, 255, 255, 0.45);
}

.app-demo-product-art::after {
    width: 2.4rem;
    height: 2.4rem;
    left: 0.55rem;
    bottom: 0.45rem;
    background: rgba(255, 255, 255, 0.32);
    box-shadow: 2.2rem -0.25rem 0 rgba(255, 255, 255, 0.18);
}

.app-demo-product-art--agent {
    background: linear-gradient(145deg, rgba(45, 49, 66, 0.94), rgba(64, 74, 92, 0.92));
}

.app-demo-product-art--app {
    background: linear-gradient(145deg, rgba(232, 116, 79, 0.22), rgba(255, 250, 244, 0.98));
}

.app-demo-product-art--shop {
    background: linear-gradient(145deg, rgba(91, 141, 239, 0.18), rgba(245, 248, 255, 0.98));
}

.app-demo-product-art--wallet {
    background: linear-gradient(145deg, rgba(34, 160, 107, 0.18), rgba(241, 253, 247, 0.98));
}

.app-demo-product-art--push {
    background: linear-gradient(145deg, rgba(250, 204, 21, 0.18), rgba(255, 252, 235, 0.98));
}

.app-demo-product-art--bundle {
    background: linear-gradient(145deg, rgba(45, 49, 66, 0.12), rgba(232, 116, 79, 0.18));
}

.app-demo-product-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.22rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #111827;
    font-size: 0.48rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.app-demo-product-brand {
    font-size: 0.54rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--app-muted);
}

.app-demo-product-title {
    margin-top: 0.16rem;
    font-size: 0.72rem;
    line-height: 1.2;
    font-weight: 900;
    color: var(--app-text);
}

.app-demo-product-copy {
    margin-top: 0.18rem;
    font-size: 0.6rem;
    line-height: 1.45;
    color: var(--app-muted);
}

.app-demo-product-meta {
    margin-top: 0.38rem;
    font-size: 0.58rem;
    font-weight: 800;
    color: var(--app-text);
}

.app-demo-home-hero,
.app-demo-wallet-card,
.app-demo-chat-thread,
.app-demo-chat-form,
.app-demo-menu-card,
.app-demo-menu-link,
.app-demo-menu-row,
.app-demo-bottom-nav {
    background: var(--app-panel-bg);
    border: 1px solid var(--app-border);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

.app-demo-home-hero {
    border-radius: 1.2rem;
    padding: 0.9rem;
}

.app-demo-home-kicker,
.app-demo-panel-kicker,
.app-demo-feature-card-label,
.app-demo-wallet-label {
    font-size: 0.54rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 900;
    color: var(--app-muted);
}

.app-demo-home-title,
.app-demo-panel-title {
    margin-top: 0.18rem;
    font-size: 0.9rem;
    line-height: 1.18;
    font-weight: 900;
    color: var(--app-text);
}

.app-demo-home-copy,
.app-demo-feature-card-copy,
.app-demo-wallet-caption,
.app-demo-menu-user-copy,
.app-demo-notification-copy {
    margin-top: 0.18rem;
    font-size: 0.62rem;
    line-height: 1.45;
    color: var(--app-muted);
}

.app-demo-store-row,
.app-demo-wallet-actions {
    display: flex;
    gap: 0.4rem;
}

.app-demo-store-row {
    flex-wrap: wrap;
}

.app-demo-store-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    padding: 0.42rem 0.62rem;
    border-radius: 999px;
    background: var(--app-soft-strong);
    border: 1px solid var(--app-border);
    color: var(--app-text);
    font-size: 0.58rem;
    font-weight: 800;
}

.app-demo-store-pill.is-live,
.app-demo-live-pill {
    background: var(--app-accent-soft);
    border-color: rgba(232, 116, 79, 0.24);
    color: var(--app-accent);
}

.app-demo-feature-grid,
.app-demo-wallet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.app-demo-feature-card {
    text-align: left;
    border: 0;
    border-radius: 1rem;
    padding: 0.72rem;
    background: var(--app-panel-bg);
    border: 1px solid var(--app-border);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.07);
    color: inherit;
}

.app-demo-feature-card-title {
    margin-top: 0.14rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--app-text);
}

.app-demo-feature-card.is-highlighted {
    border-color: rgba(232, 116, 79, 0.32);
    box-shadow: 0 16px 28px rgba(232, 116, 79, 0.14);
}

.app-demo-agent-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.55rem;
}

.app-demo-chat-thread {
    flex: 1 1 auto;
    min-height: 0;
    border-radius: 1.15rem;
    padding: 0.75rem;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    gap: 0.44rem;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(107, 114, 128, 0.32) transparent;
}

.app-demo-chat-message {
    max-width: 88%;
    padding: 0.6rem 0.7rem;
    border-radius: 0.95rem;
    font-size: 0.63rem;
    line-height: 1.45;
}

.app-demo-chat-message--user {
    margin-left: auto;
    background: var(--app-accent);
    color: #ffffff;
    border-bottom-right-radius: 0.35rem;
}

.app-demo-chat-message--ai {
    margin-right: auto;
    background: var(--app-panel-muted);
    color: var(--app-text);
    border: 1px solid var(--app-border);
    border-bottom-left-radius: 0.35rem;
}

.app-demo-idle-hint {
    align-self: flex-end;
    max-width: 10.5rem;
    margin: -0.08rem 0 0.12rem;
    padding: 0.42rem 0.68rem;
    border-radius: 999px;
    background: rgba(232, 116, 79, 0.12);
    border: 1px solid rgba(232, 116, 79, 0.18);
    color: var(--app-accent);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
}

.app-demo-idle-hint.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.app-demo-chat-form.is-guided {
    border-color: rgba(232, 116, 79, 0.28);
    box-shadow:
        0 16px 28px rgba(232, 116, 79, 0.14),
        0 0 0 3px rgba(232, 116, 79, 0.10);
    animation: appDemoGuidePulse 2s ease-in-out infinite;
}

.app-demo-stream-cursor {
    display: inline-flex;
    align-items: flex-end;
    margin-left: 0.08rem;
    line-height: 1;
    vertical-align: -0.04em;
    animation: aiPromptBlink 0.7s steps(1) infinite;
}

.app-demo-stream-cursor::before {
    content: '\258B';
    color: var(--app-accent);
    font-size: 1.12em;
    font-weight: 700;
    line-height: 0.86;
}

.app-demo-chat-form {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 1rem;
    padding: 0.38rem;
}

.app-demo-chat-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--app-text);
    font-size: 0.65rem;
    padding: 0.3rem 0.35rem;
    outline: none;
}

.app-demo-chat-send {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 0.9rem;
    background: var(--app-accent);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
    box-shadow: 0 14px 24px rgba(232, 116, 79, 0.22);
}

.app-demo-wallet-card {
    border-radius: 1.1rem;
    padding: 0.82rem;
}

.app-demo-wallet-card--primary {
    background: linear-gradient(140deg, rgba(232, 116, 79, 0.16), var(--app-panel-bg));
}

.app-demo-wallet-total {
    margin-top: 0.22rem;
    font-size: 1.02rem;
    font-weight: 900;
    color: var(--app-text);
}

.app-demo-wallet-value {
    margin-top: 0.14rem;
    font-size: 0.96rem;
    font-weight: 900;
    color: var(--app-text);
}

.app-demo-wallet-list {
    display: flex;
    flex-direction: column;
    gap: 0.36rem;
}

.app-demo-wallet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0.72rem;
    border-radius: 0.95rem;
    background: var(--app-panel-bg);
    border: 1px solid var(--app-border);
    color: var(--app-text);
    font-size: 0.65rem;
    font-weight: 800;
}

.app-demo-primary,
.app-demo-secondary {
    width: 100%;
}

.app-demo-primary {
    background: var(--app-accent);
}

.app-demo-secondary {
    background: var(--app-panel-bg);
    color: var(--app-text);
    border: 1px solid var(--app-border);
}

.app-demo-menu-drawer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.85rem 0.82rem 0.82rem;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.98);
    transition: opacity 160ms ease, transform 160ms ease;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(107, 114, 128, 0.32) transparent;
    z-index: 8;
}

.app-demo-screen--dark .app-demo-menu-drawer {
    background: rgba(11, 15, 22, 0.97);
}

.app-demo-menu-drawer.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.app-demo-menu-head,
.app-demo-menu-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
}

.app-demo-menu-close {
    width: 1.8rem;
    height: 1.8rem;
    border: 0;
    border-radius: 0.85rem;
    background: var(--app-panel-bg);
    border: 1px solid var(--app-border);
    color: var(--app-text);
    font-size: 1rem;
}

.app-demo-menu-card {
    border-radius: 1.1rem;
    padding: 0.82rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.app-demo-menu-avatar {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.95rem;
    background: var(--app-accent-soft);
    color: var(--app-accent);
    font-size: 0.72rem;
    font-weight: 900;
}

.app-demo-menu-user-title {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--app-text);
}

.app-demo-menu-row,
.app-demo-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-radius: 0.95rem;
    padding: 0.7rem 0.75rem;
    color: var(--app-text);
    font-size: 0.64rem;
    font-weight: 800;
}

.app-demo-menu-row {
    border: 0;
}

.app-demo-menu-row-value {
    color: var(--app-muted);
}

.app-demo-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.app-demo-notification {
    position: absolute;
    top: 0.12rem;
    left: 0.16rem;
    right: 0.16rem;
    display: flex;
    align-items: flex-start;
    gap: 0.48rem;
    padding: 0.72rem 0.78rem;
    border-radius: 1rem;
    background: rgba(17, 24, 39, 0.92);
    color: #ffffff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 3;
}

.app-demo-notification.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.app-demo-notification-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #4ade80;
    margin-top: 0.24rem;
    flex-shrink: 0;
}

.app-demo-notification-title {
    font-size: 0.62rem;
    font-weight: 900;
    color: #ffffff;
}

.app-demo-bottom-nav {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.3rem;
    padding: 0.34rem;
    border-radius: 1.08rem;
    background: #ffffff !important;
    border: 1px solid rgba(203, 213, 225, 0.96);
    box-shadow:
        0 18px 32px rgba(15, 23, 42, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.92);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.app-demo-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    padding: 0.52rem 0.2rem;
    border-radius: 0.82rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--app-muted);
    font-size: 0.56rem;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.7);
}

.app-demo-nav-btn.is-active {
    background: var(--app-panel-strong);
    color: var(--app-accent);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.app-demo-nav-btn.is-guided {
    color: var(--app-accent);
    box-shadow:
        0 12px 22px rgba(232, 116, 79, 0.18),
        inset 0 0 0 1px rgba(232, 116, 79, 0.18);
    animation: appDemoGuidePulse 1.6s ease-in-out infinite;
}

.shop-demo-card,
.shop-demo-pill,
.shop-demo-checkout,
[data-shop-demo-line="app"] {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.shop-demo-product-card {
    display: flex;
    flex-direction: column;
    min-height: 15.4rem;
}

.shop-demo-product-title {
    line-height: 1.22;
    min-height: 2.45em;
}

.shop-demo-product-subtitle {
    line-height: 1.3;
    min-height: 2.6em;
    max-height: 2.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.shop-demo-card.is-guided {
    transform: translateY(-2px);
    border-color: rgba(232, 116, 79, 0.26);
    box-shadow: 0 18px 34px rgba(232, 116, 79, 0.16);
}

.shop-demo-pill.is-guided {
    background: rgba(232, 116, 79, 0.16);
    color: #e8744f;
    box-shadow: 0 14px 28px rgba(232, 116, 79, 0.14);
    animation: shopDemoPulse 1.6s ease-in-out infinite;
}

.shop-demo-checkout.is-guided {
    border-color: rgba(232, 116, 79, 0.24);
    box-shadow: 0 20px 36px rgba(232, 116, 79, 0.12);
}

[data-shop-demo-line="app"].is-visible {
    animation: aiDemoPop 180ms ease;
}

.app-demo-screen--dark .app-demo-bottom-nav {
    background: #16202b !important;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        0 16px 28px rgba(0, 0, 0, 0.30),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.app-demo-screen--dark .app-demo-nav-btn {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

@media screen and (max-width: 900px) {
    .app-demo-platform-switch {
        gap: 0.45rem;
    }

    .app-demo-stage {
        display: flex;
    }

    .app-demo-device {
        width: min(100%, 18.1rem);
    }

    .app-demo-device--pixel {
        width: min(100%, 17.55rem);
    }

    .app-demo-screen {
        padding: 1.8rem 0.82rem 0.78rem;
    }

    .app-demo-screen--app {
        padding: 1.72rem 0.74rem 0.72rem;
    }

    .app-demo-menu-drawer {
        padding: 1.72rem 0.74rem 0.74rem;
    }

    .app-demo-product-grid {
        gap: 0.44rem;
    }

    .app-demo-toast {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home-page::before,
    .stream-title-cursor,
    .app-demo-chat-form.is-guided,
    .app-demo-nav-btn.is-guided,
    .shop-demo-pill.is-guided {
        animation: none !important;
    }
}

@media (max-width: 1023px) {
    body.home-page .home-screen-section {
        min-height: calc(100svh - var(--home-chrome-offset));
        overflow: visible;
    }

    body.home-page .home-screen-section > * {
        overflow: visible;
    }
}

/* Dark mode styles */
html.dark {
    background-color: #1a1a1a;
    color: #e5e5e5;
}

html.dark nav {
    background-color: rgba(26, 26, 26, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

html.dark #mobile-menu {
    background-color: #1a1a1a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

html.dark .bg-white {
    background-color: #2a2a2a !important;
}

html.dark .bg-gray-light {
    background-color: #1f1f1f !important;
}

html.dark .text-primary-dark {
    color: #e5e5e5 !important;
}

html.dark .text-gray-medium {
    color: #b0b0b0 !important;
}

html.dark .border-gray-300 {
    border-color: #404040 !important;
}

html.dark input,
html.dark textarea {
    background-color: #2a2a2a;
    border-color: #404040;
    color: #e5e5e5;
}

/* Override gradient backgrounds in dark mode */
html.dark .bg-gradient-to-br {
    background: linear-gradient(to bottom right, #1f1f1f, #2a2a2a) !important;
}

html.dark footer {
    background-color: #0a0a0a !important;
}

/* Fix specific sections */
html.dark section.bg-gradient-to-br.from-gray-light {
    background: linear-gradient(to bottom right, #1f1f1f, #2a2a2a) !important;
}

html.dark section.bg-gradient-to-br.from-white {
    background: linear-gradient(to bottom right, #2a2a2a, #1f1f1f) !important;
}

/* Pricing section should stay dark */
html.dark section.bg-gradient-to-br.from-primary-dark {
    background: linear-gradient(to bottom right, #1a1a1a, #2a2a2a) !important;
}

/* Fix white buttons in dark mode */
html.dark a.bg-white.text-primary-dark,
html.dark button.bg-white.text-primary-dark {
    background-color: #2a2a2a !important;
    color: #e5e5e5 !important;
    border-color: #404040 !important;
}

html.dark a.bg-white.text-primary-dark:hover,
html.dark button.bg-white.text-primary-dark:hover {
    background-color: #1f1f1f !important;
}

html.dark a.bg-white.text-primary-orange,
html.dark button.bg-white.text-primary-orange {
    background-color: #2a2a2a !important;
    color: #F39C6B !important;
    border-color: #404040 !important;
}

html.dark a.bg-white.text-primary-orange:hover,
html.dark button.bg-white.text-primary-orange:hover {
    background-color: #1f1f1f !important;
}

/* Apple login button - ensure text is visible */
.bg-black.text-white {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.bg-black.text-white span {
    color: #ffffff !important;
}

.bg-black.text-white:hover {
    background-color: #1f1f1f !important;
}

.bg-black.text-white:hover span {
    color: #ffffff !important;
}

/* Apple login button in dark mode */
html.dark .bg-black.text-white {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}

html.dark .bg-black.text-white span {
    color: #000000 !important;
}

html.dark .bg-black.text-white:hover {
    background-color: #e5e5e5 !important;
    border-color: #e5e5e5 !important;
}

html.dark .bg-black.text-white:hover span {
    color: #000000 !important;
}

/* Fix sections with plain white backgrounds */
html.dark section.bg-white {
    background-color: #1a1a1a !important;
}

/* Fix white/transparent backgrounds in pricing cards */
html.dark .bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Fix border colors in dark mode */
html.dark .border-white\/20 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Make hero video placeholder card more visible in dark mode */
html.dark .aspect-video.bg-gradient-to-br.from-primary-orange {
    background: linear-gradient(to bottom right, #E8744F, #F39C6B) !important;
    box-shadow: 0 0 20px rgba(232, 116, 79, 0.3);
}

/* Make the white card container around video placeholder lighter in dark mode */
html.dark .bg-white.rounded-2xl.shadow-2xl {
    background-color: #3a3a3a !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

html.dark body.home-page {
    background:
        radial-gradient(ellipse 112% 74% at 8% -6%, rgba(232, 116, 79, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 82% 54% at 100% 4%, rgba(232, 116, 79, 0.08) 0%, transparent 46%),
        linear-gradient(180deg, #111214 0%, #17191d 100%);
}

html.dark body.service-page {
    background:
        radial-gradient(ellipse 110% 72% at 8% -6%, rgba(232, 116, 79, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 80% 52% at 100% 4%, rgba(232, 116, 79, 0.08) 0%, transparent 46%),
        linear-gradient(180deg, #111214 0%, #17191d 100%);
}

html.dark body.home-page::before {
    background-image: url('/assets/images/ammann-beenker-lines-dark.svg');
    opacity: 0.54;
}

html.dark body.service-page::before {
    background-image: url('/assets/images/ammann-beenker-lines-dark.svg');
    opacity: 0.52;
}

html.dark body.home-page nav {
    background-color: rgba(20, 21, 22, 0.88) !important;
}

html.dark body.service-page nav {
    background-color: rgba(20, 21, 22, 0.88) !important;
}

html.dark body.home-page #burger-menu {
    background-color: rgba(16, 18, 22, 0.94) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.dark body.home-page .burger-menu-panel {
    background: rgba(24, 27, 35, 0.96);
    border-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.30);
}

html.dark body.home-page .burger-menu-link {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

html.dark body.home-page .burger-menu-link:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.10);
}

html.dark body.home-page .burger-menu-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

html.dark body.home-page .burger-social-link {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    color: #b0b0b0;
}

html.dark body.home-page .burger-social-link:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.12);
}

html.dark body.home-page .home-product-shop-link {
    color: rgba(233, 237, 244, 0.78);
    border-color: rgba(233, 237, 244, 0.18);
}

html.dark body.home-page .home-product-shop-link:hover {
    color: #f4a889;
    border-color: rgba(232, 116, 79, 0.34);
}

html.dark body.home-page .product-demo-light-shell {
    color: #2D3142 !important;
}

html.dark body.home-page .product-demo-light-shell .text-primary-dark {
    color: #2D3142 !important;
}

html.dark body.home-page .product-demo-light-shell .text-gray-medium {
    color: #757780 !important;
}

html.dark body.home-page .product-demo-light-shell .text-gray-500 {
    color: #6b7280 !important;
}

html.dark body.home-page .product-demo-light-shell .text-gray-400 {
    color: #9ca3af !important;
}

html.dark body.home-page .product-demo-light-shell .bg-white {
    background-color: #ffffff !important;
}

html.dark body.home-page .product-demo-light-shell .bg-gray-50,
html.dark body.home-page .product-demo-light-shell .bg-gray-50\/90 {
    background-color: #f8fafc !important;
}

html.dark body.home-page .product-demo-light-shell .bg-gray-100 {
    background-color: #f3f4f6 !important;
}

html.dark body.home-page .product-demo-light-shell .bg-gray-200 {
    background-color: #e5e7eb !important;
}

html.dark body.home-page .product-demo-light-shell .border-gray-200,
html.dark body.home-page .product-demo-light-shell .border-gray-200\/80 {
    border-color: #e5e7eb !important;
}

html.dark body.home-page section.bg-white {
    background-color: rgba(26, 26, 26, 0.78) !important;
}

html.dark body.service-page section.bg-white {
    background-color: rgba(26, 26, 26, 0.78) !important;
}

html.dark body.home-page section.bg-gray-light {
    background-color: rgba(31, 31, 31, 0.72) !important;
}

html.dark body.service-page section.bg-slate-50 {
    background-color: rgba(24, 28, 35, 0.76) !important;
}

html.dark body.home-page section.bg-gradient-to-br.from-gray-light.to-white {
    background: linear-gradient(
        to bottom right,
        rgba(31, 31, 31, 0.82),
        rgba(42, 42, 42, 0.66)
    ) !important;
}

html.dark body.home-page section.bg-gradient-to-br.from-white.to-gray-light {
    background: linear-gradient(
        to bottom right,
        rgba(42, 42, 42, 0.72),
        rgba(31, 31, 31, 0.84)
    ) !important;
}

html.dark body.service-page section.bg-gradient-to-br.from-orange-50.to-white {
    background: linear-gradient(
        to bottom right,
        rgba(40, 28, 24, 0.74),
        rgba(31, 31, 31, 0.84)
    ) !important;
}

html.dark body.service-page section.bg-primary-orange {
    background-color: rgba(160, 78, 48, 0.92) !important;
}

html.dark body.service-page section.border-y.border-slate-100 {
    background-color: rgba(21, 24, 31, 0.76) !important;
    border-top-color: rgba(255, 255, 255, 0.06) !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

html.dark body.service-page .site-footer {
    background: rgba(10, 12, 16, 0.88) !important;
    border-top-color: rgba(255, 255, 255, 0.08);
}

html.dark body.service-page .site-footer > .site-footer__inner {
    background: rgba(20, 24, 33, 0.58);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

@media (max-width: 940px) {
    body.home-page::before {
        background-size: max(148vw, 148vh) auto;
    }

    body.service-page::before {
        background-size: max(150vw, 150vh) auto;
    }
}

@media (max-width: 640px) {
    body.home-page::before {
        background-position: center top;
        background-size: max(168vw, 168vh) auto;
        -webkit-mask-image: radial-gradient(ellipse 132% 118% at 50% 48%, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 52%, rgba(0,0,0,0.9) 68%, rgba(0,0,0,0.56) 84%, transparent 100%);
        mask-image: radial-gradient(ellipse 132% 118% at 50% 48%, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 52%, rgba(0,0,0,0.9) 68%, rgba(0,0,0,0.56) 84%, transparent 100%);
    }

    body.service-page::before {
        background-position: center top;
        background-size: max(172vw, 172vh) auto;
        -webkit-mask-image: radial-gradient(ellipse 132% 118% at 50% 48%, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 52%, rgba(0,0,0,0.9) 68%, rgba(0,0,0,0.56) 84%, transparent 100%);
        mask-image: radial-gradient(ellipse 132% 118% at 50% 48%, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 52%, rgba(0,0,0,0.9) 68%, rgba(0,0,0,0.56) 84%, transparent 100%);
    }
}

/* ===== FLOATING ACTIONS STACK (WhatsApp + AI Assistant) ===== */

.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.3));
}

.whatsapp-float:hover {
    transform: scale(1.15);
    filter: drop-shadow(3px 3px 12px rgba(0, 0, 0, 0.4));
}

.whatsapp-float svg {
    width: 100%;
    height: 100%;
}

/* ===== AI ASSISTANT FLOATING BUTTON & CHAT ===== */

.ai-assistant-float {
    width: 70px;
    height: 70px;
    background: #1a1a2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    overflow: visible;
}

.ai-assistant-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.ai-assistant-float svg,
.ai-assistant-float img {
    width: 35px;
    height: 35px;
    color: white;
    position: relative;
    z-index: 2;
}

/* Pulse ring animation for AI button */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(26, 26, 46, 0.4);
    animation: pulse 2s ease-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* AI Chat Widget */
.ai-chat-widget {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    max-width: calc(100vw - 40px);
    height: 650px;
    max-height: calc(100vh - 80px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.ai-chat-widget.hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    pointer-events: none;
}

/* Backdrop/Overlay when chat is open */
.ai-chat-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: opacity 0.3s ease;
}

.ai-chat-backdrop.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Chat Header */
.ai-chat-header {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.ai-chat-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-chat-header-avatar {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-chat-header-avatar img {
    width: 80%;
    height: 80%;
    display: block;
    object-fit: contain;
}

.ai-chat-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: white;
}

.ai-chat-status {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-top: 2px;
}

.ai-chat-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.ai-chat-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ai-chat-close svg {
    width: 20px;
    height: 20px;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-avatar svg {
    width: 24px;
    height: 24px;
    color: #E8744F;
}

/* Chat Messages */
.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Message Styles */
.ai-message {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    animation: slideIn 0.3s ease-out;
}

.user-message {
    flex-direction: row-reverse;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ai-message-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2D3142 0%, #3A3D52 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.ai-message-avatar img {
    width: 80%;
    height: 80%;
    display: block;
    object-fit: contain;
}

.user-message-avatar {
    width: 32px;
    height: 32px;
    background: #6B7280;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-message-content,
.ai-message-bubble,
.user-message-content {
    background: white;
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 75%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    line-height: 1.5;
    font-size: 14px;
}

.ai-message-bubble {
    border-radius: 18px;
    border-bottom-left-radius: 6px;
}

.user-message-content {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    border-bottom-right-radius: 6px;
}

.ai-message-stream-cursor {
    display: inline-flex;
    align-items: flex-end;
    margin-left: 0.08rem;
    line-height: 1;
    vertical-align: -0.04em;
    animation: aiPromptBlink 0.7s steps(1) infinite;
}

.ai-message-stream-cursor::before {
    content: '\258B';
    color: #E8744F;
    font-size: 1.12em;
    font-weight: 700;
    line-height: 0.86;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #9CA3AF;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

/* Chat Input */
.ai-chat-input {
    display: flex;
    align-items: stretch;
    padding: 15px;
    background: white;
    border-radius: 0 0 20px 20px;
    border-top: 1px solid #E5E7EB;
    gap: 10px;
}

.ai-chat-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
}

.ai-chat-input-wrapper input {
    width: 100%;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.ai-chat-input-wrapper input:focus {
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Action buttons container - vertical stack */
.ai-chat-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 50px;
}

/* Send button (top of stack) */
#ai-chat-send {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

#ai-chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

#ai-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#ai-chat-send svg {
    width: 20px;
    height: 20px;
    color: white;
}

/* Icon buttons (Mic and +) */
.ai-chat-icon-btn {
    width: 50px;
    height: 50px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    color: #6B7280;
    font-size: 24px;
    font-weight: 300;
}

.ai-chat-icon-btn:hover {
    background: #E5E7EB;
    color: #FF6B35;
    border-color: #FF6B35;
}

.ai-chat-icon-btn svg {
    width: 20px;
    height: 20px;
}

.ai-chat-icon-btn.recording {
    background: #EF4444;
    color: white;
    border-color: #EF4444;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Disabled mic button (audio transcription not implemented) */
.ai-chat-icon-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.ai-chat-icon-btn.disabled:hover {
    background: #F3F4F6;
    color: #6B7280;
    border-color: #E5E7EB;
}

/* Legacy button classes for backwards compatibility */
.ai-chat-send-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ai-chat-send-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.ai-chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ai-chat-send-btn svg {
    width: 20px;
    height: 20px;
    color: white;
}

/* Action Buttons (Attach & Mic) */
.ai-chat-action-btn {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    color: #6B7280;
}

.ai-chat-action-btn:hover {
    background: #F3F4F6;
    color: #FF6B35;
}

.ai-chat-action-btn.recording {
    background: #EF4444;
    color: white;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Attachments Preview */
.ai-chat-attachments {
    padding: 10px 15px;
    background: #F9FAFB;
    border-top: 1px solid #E5E7EB;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-chat-attachments.hidden {
    display: none;
}

.attachment-preview {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
}

.attachment-preview img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.attachment-preview .file-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F4F6;
    border-radius: 4px;
    color: #6B7280;
}

.attachment-preview .remove-attachment {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: #EF4444;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 12px;
    transition: all 0.2s ease;
}

.attachment-preview .remove-attachment:hover {
    background: #DC2626;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .whatsapp-float,
    .ai-assistant-float {
        width: 60px;
        height: 60px;
    }

    .ai-assistant-float svg {
        width: 28px;
        height: 28px;
    }

    .ai-chat-widget {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile browsers */
        max-height: none;
        border-radius: 0;
    }

    .ai-chat-widget.hidden {
        transform: translateY(100%);
        opacity: 0;
    }

    .ai-chat-header {
        border-radius: 0;
        padding: 16px;
        flex-shrink: 0;
    }

    .ai-chat-header h3 {
        font-size: 15px;
    }

    .ai-chat-header-avatar {
        width: 36px;
        height: 36px;
    }

    .ai-chat-status {
        font-size: 11px;
    }

    .ai-chat-messages {
        flex: 1;
        overflow-y: auto;
        padding: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .ai-chat-input {
        border-radius: 0;
        padding: 12px;
        flex-shrink: 0;
        background: white;
    }

    .ai-chat-input-wrapper input {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .ai-chat-icon-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
    }

    #ai-chat-send {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
    }

    .ai-message-bubble,
    .ai-message-content,
    .user-message-content {
        max-width: 85%;
        font-size: 15px;
    }
}

/* Active language button */
.lang-btn.active {
    background-color: #E8744F;
    color: white;
    font-weight: 600;
}

/* Smooth transitions */
* {
    transition: all 0.2s ease-in-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #E8E9ED;
}

::-webkit-scrollbar-thumb {
    background: #E8744F;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #F39C6B;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 116, 79, 0.1);
}

/* Button hover effects */
button,
a {
    position: relative;
    overflow: hidden;
}

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #E8744F 0%, #F39C6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effect */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Form validation */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
    border-color: #EF4444;
}

input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
    border-color: #10B981;
}

/* Loading spinner */
.spinner {
    border: 3px solid #E8E9ED;
    border-top: 3px solid #E8744F;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success message */
.success-message {
    background-color: #10B981;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    animation: fadeIn 0.3s ease-out;
}

/* Error message */
.error-message {
    background-color: #EF4444;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    animation: fadeIn 0.3s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    .hero-section {
        padding-top: 5rem;
    }

    /* Increase hero section top padding on mobile to prevent banner overlap */
    section.pt-40 {
        padding-top: 10rem !important;
    }
}

/* Print styles */
@media print {
    nav,
    footer,
    .no-print {
        display: none;
    }
}

/* Privacy Preferences Card */
.user-notice {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: min(440px, calc(100vw - 2rem));
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.user-notice::before {
    display: none;
}

.user-notice.show {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.notice-content {
    width: 100%;
    max-height: min(76vh, 680px);
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(232, 116, 79, 0.14);
    border-radius: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    box-shadow: 0 24px 60px -18px rgba(15, 23, 42, 0.35);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.notice-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2D3142;
    margin-bottom: 0.5rem;
}

.notice-header p {
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.notice-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pref-option {
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    padding: 1rem;
    background: #F9FAFB;
}

.pref-option-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.pref-option-header label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #2D3142;
}

.pref-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: #E8744F;
}

.pref-checkbox:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.pref-label {
    font-size: 1rem;
}

.pref-option-desc {
    color: #6B7280;
    font-size: 0.875rem;
    margin-left: 2rem;
    line-height: 1.5;
}

.notice-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
}

.action-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 1rem;
}

.action-btn-primary {
    background-color: #E8744F;
    color: white;
}

.action-btn-primary:hover {
    background-color: #F39C6B;
}

.action-btn-secondary {
    background-color: #2D3142;
    color: white;
}

.action-btn-secondary:hover {
    background-color: #3a3d52;
}

.action-btn-text {
    background-color: transparent;
    color: #6B7280;
    text-decoration: underline;
}

.action-btn-text:hover {
    color: #2D3142;
}

.more-info-link {
    color: #E8744F;
    text-decoration: underline;
    font-size: 0.875rem;
    text-align: center;
    display: block;
    margin-top: 0.5rem;
}

.more-info-link:hover {
    color: #F39C6B;
}

/* Dark mode styles for privacy notice */
html.dark .notice-content {
    background-color: rgba(32, 33, 36, 0.94);
    border-color: rgba(255, 255, 255, 0.08);
}

html.dark .notice-header h3 {
    color: #e5e5e5;
}

html.dark .notice-header p {
    color: #b0b0b0;
}

html.dark .pref-option {
    background-color: #1f1f1f;
    border-color: #404040;
}

html.dark .pref-option-header label {
    color: #e5e5e5;
}

html.dark .pref-option-desc {
    color: #b0b0b0;
}

html.dark .action-btn-secondary {
    background-color: #3a3a3a;
    color: #e5e5e5;
}

html.dark .action-btn-secondary:hover {
    background-color: #4a4a4a;
}

html.dark .action-btn-text {
    color: #b0b0b0;
}

html.dark .action-btn-text:hover {
    color: #e5e5e5;
}

/* Launch Banner Mobile Styles */
@media (max-width: 768px) {
    .launch-banner {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    .launch-banner .flex {
        gap: 0.5rem !important;
    }

    .launch-banner .text-sm,
    .launch-banner .text-base {
        font-size: 0.75rem !important;
    }

    .launch-banner .px-3 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .launch-banner .px-4 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .launch-banner .px-6 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .launch-banner .py-1 {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }

    .launch-banner .py-2 {
        padding-top: 0.375rem !important;
        padding-bottom: 0.375rem !important;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .user-notice {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        width: auto;
    }

    .notice-content {
        padding: 1rem;
        max-height: min(70vh, 560px);
    }

    .notice-header h3 {
        font-size: 1.25rem;
    }
}

/* Fixed Bottom Bar for Product Detail Mobile */
.safe-area-bottom {
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
}

/* Dark mode for fixed bottom bar */
html.dark .md\:hidden.fixed.bottom-0.bg-white {
    background-color: #2a2a2a !important;
    border-top-color: #404040 !important;
}

/* Hide scrollbar for category tabs carousel */
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}
