/* ==========================================================================
   OOTE Landing - Motion, Section System & Interaction Polish
   Loaded after landing-figma.css so it can safely enhance the base design.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Scroll Progress Bar
   -------------------------------------------------------------------------- */
.oote-scroll-progress {
    position: fixed;
    top: 0;
    inset-inline: 0;
    height: 3px;
    z-index: 1060;
    pointer-events: none;
}

.oote-scroll-progress span {
    display: block;
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, #F5B921 0%, #F8CB4F 50%, #F5B921 100%);
    background-size: 200% 100%;
    box-shadow: 0 0 14px rgba(245, 185, 33, 0.65);
    will-change: transform;
}

html[dir="rtl"] .oote-scroll-progress span {
    transform-origin: right center;
}

/* --------------------------------------------------------------------------
   Navbar: clean segmented pill active system
   -------------------------------------------------------------------------- */
.oote-nav-indicator {
    display: none !important;
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
    .oote-nav-links {
        gap: 1px !important;
        padding: 3px 4px !important;
    }

    .oote-tab-link {
        font-size: 0.82rem !important;
        padding: 0.35rem 0.55rem !important;
    }

    .oote-header-actions .oote-btn-captain,
    .oote-header-actions .oote-btn-primary {
        padding: 0 12px !important;
        font-size: 0.82rem !important;
        height: 36px !important;
    }
}

/* --------------------------------------------------------------------------
   Refined reveal animation
   -------------------------------------------------------------------------- */
.oote-reveal {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    filter: blur(6px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.85s ease;
    will-change: opacity, transform, filter;
}

.oote-reveal.revealed {
    opacity: 1;
    transform: none;
    filter: none;
}

/* --------------------------------------------------------------------------
   Section eyebrow badge + animated accent bar
   -------------------------------------------------------------------------- */
.oote-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.38rem 1rem;
    border-radius: 999px;
    background: var(--oote-cyan-light);
    color: var(--oote-cyan-text);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 1.1rem;
    position: relative;
    overflow: hidden;
}

.oote-section-eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(245, 185, 33, 0.18);
    animation: ooteEyebrowPulse 2.4s ease-in-out infinite;
}

[data-theme="dark"] .oote-section-eyebrow,
.dark-style .oote-section-eyebrow {
    background: rgba(245, 185, 33, 0.14);
    color: #F5B921;
    border: 1px solid rgba(245, 185, 33, 0.35);
}

@keyframes ooteEyebrowPulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(245, 185, 33, 0.22);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(245, 185, 33, 0);
        transform: scale(1.15);
    }
}

.oote-section-header::after {
    content: "";
    display: block;
    width: 0;
    height: 4px;
    margin: 1.15rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #F5B921 0%, #D99B08 100%);
    transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.oote-section-header.revealed::after {
    width: 92px;
}

/* --------------------------------------------------------------------------
   About Section (من نحن)
   -------------------------------------------------------------------------- */
.oote-about-section {
    position: relative;
    padding: 6rem 0;
    background:
        radial-gradient(ellipse 70% 55% at 85% 10%, rgba(245, 185, 33, 0.08), transparent 65%),
        radial-gradient(ellipse 60% 50% at 10% 90%, rgba(217, 155, 8, 0.06), transparent 60%);
    overflow: hidden;
}

.oote-about-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
}

.oote-about-glow--one {
    width: 420px;
    height: 420px;
    top: -6%;
    inset-inline-end: -4%;
    background: radial-gradient(circle, rgba(245, 185, 33, 0.16), transparent 70%);
    animation: ooteAboutGlow 12s ease-in-out infinite alternate;
}

.oote-about-glow--two {
    width: 340px;
    height: 340px;
    bottom: -12%;
    inset-inline-start: -3%;
    background: radial-gradient(circle, rgba(217, 155, 8, 0.14), transparent 70%);
    animation: ooteAboutGlow 15s ease-in-out infinite alternate-reverse;
}

@keyframes ooteAboutGlow {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
        transform: translate3d(5%, -6%, 0) scale(1.18);
    }
}

.oote-about-visual {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oote-about-ring {
    position: absolute;
    width: min(420px, 92%);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px dashed rgba(245, 185, 33, 0.35);
    animation: ooteSpin 26s linear infinite;
}

.oote-about-ring::before {
    content: "";
    position: absolute;
    top: -6px;
    inset-inline-start: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #F5B921;
    box-shadow: 0 0 16px rgba(245, 185, 33, 0.8);
}

@keyframes ooteSpin {
    to {
        transform: rotate(360deg);
    }
}

.oote-about-device {
    position: absolute;
    border-radius: 26px;
    overflow: hidden;
    border: 6px solid var(--oote-card-bg);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    background: #0B111E;
}

[data-theme="dark"] .oote-about-device,
.dark-style .oote-about-device {
    border-color: #1E293B;
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.5);
}

.oote-about-device--front {
    width: 236px;
    top: 6%;
    inset-inline-start: 12%;
    z-index: 3;
    animation: ooteAboutFloat 7s ease-in-out infinite;
}

.oote-about-device--back {
    width: 198px;
    top: 34%;
    inset-inline-end: 10%;
    z-index: 2;
    transform: rotate(7deg);
    opacity: 0.92;
    animation: ooteAboutFloat 9s ease-in-out infinite reverse;
}

html[dir="rtl"] .oote-about-device--back {
    transform: rotate(-7deg);
}

.oote-about-img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes ooteAboutFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

.oote-about-chip {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
    border-radius: 14px;
    background: var(--oote-card-bg);
    border: 1px solid var(--oote-card-border);
    box-shadow: var(--oote-shadow-card-hover);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--oote-text-main);
    animation: ooteAboutFloat 6.5s ease-in-out infinite;
}

.oote-about-chip--live {
    bottom: 8%;
    inset-inline-start: 4%;
}

.oote-about-chip--secure {
    top: 4%;
    inset-inline-end: 6%;
    animation-delay: -3s;
}

.oote-about-chip-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: ooteEyebrowPulse 2s ease-out infinite;
}

.oote-about-chip i {
    color: #F5B921;
    font-size: 1rem;
}

.oote-about-title {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    margin-bottom: 0.9rem;
}

.oote-about-subtitle {
    font-size: 1.12rem;
    color: var(--oote-text-muted);
    line-height: 1.8;
    margin-bottom: 1.4rem;
}

.oote-about-body {
    color: var(--oote-text-muted);
    font-size: 1.03rem;
    line-height: 1.95;
    margin-bottom: 1.8rem;
}

.oote-about-body p {
    margin-bottom: 1rem;
}

.oote-about-points {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.4rem;
}

.oote-about-point {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--oote-text-main);
    line-height: 1.6;
}

.oote-about-point-icon {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 185, 33, 0.14);
    color: var(--oote-primary);
    font-size: 0.7rem;
    margin-top: 2px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
}

.oote-about-point:hover .oote-about-point-icon {
    background: var(--oote-primary);
    color: #060403;
    transform: scale(1.12);
}

.oote-about-cta {
    gap: 0.55rem;
}

/* --------------------------------------------------------------------------
   Partners strip (social proof)
   -------------------------------------------------------------------------- */
.oote-partners-section {
    padding: 2.5rem 0 3.5rem;
    border-top: 1px solid var(--oote-card-border);
    background: var(--oote-surface);
}

.oote-partners-head {
    text-align: center;
    margin-bottom: 1.75rem;
}

.oote-partners-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--oote-text-muted);
    letter-spacing: 0.02em;
}

.oote-partners-label i {
    color: var(--oote-primary);
}

.oote-partners-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.oote-partners-track {
    display: flex;
    width: max-content;
    animation: ootePartnersMarquee 28s linear infinite;
    will-change: transform;
}

.oote-partners-marquee:hover .oote-partners-track {
    animation-play-state: paused;
}

@keyframes ootePartnersMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

html[dir="rtl"] .oote-partners-track {
    animation-name: ootePartnersMarqueeRTL;
}

@keyframes ootePartnersMarqueeRTL {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(50%, 0, 0);
    }
}

.oote-partners-group {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-inline-end: 3rem;
    flex-shrink: 0;
}

.oote-partner-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 1.1rem;
    border-radius: 14px;
    background: var(--oote-card-bg);
    border: 1px solid var(--oote-card-border);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.oote-partner-logo img {
    max-height: 34px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.65;
    transition: filter 0.35s ease, opacity 0.35s ease;
}

.oote-partner-logo:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 185, 33, 0.45);
    box-shadow: var(--oote-shadow-card-hover);
}

.oote-partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Feature cards (premium bento grid + spotlight)
   -------------------------------------------------------------------------- */
.oote-features-section {
    position: relative;
    padding: 5.5rem 0;
    overflow: hidden;
}

.oote-features-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 45% at 12% 8%, rgba(245, 185, 33, 0.08), transparent 62%),
        radial-gradient(ellipse 55% 45% at 88% 92%, rgba(217, 155, 8, 0.08), transparent 62%);
}

.oote-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.oote-feature-item {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    padding: 2.1rem 1.8rem 1.8rem;
    border-radius: 24px;
    background: var(--oote-card-bg);
    border: 1px solid var(--oote-card-border);
    box-shadow: var(--oote-shadow-card);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.45s ease;
}

[data-theme="dark"] .oote-feature-item,
.dark-style .oote-feature-item {
    background: #26282D;
    border-color: #3A3C42;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
}

.oote-feature-item:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 185, 33, 0.45);
    box-shadow: var(--oote-shadow-card-hover);
}

[data-theme="dark"] .oote-feature-item:hover,
.dark-style .oote-feature-item:hover {
    border-color: #F5B921;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 28px rgba(245, 185, 33, 0.16);
}

/* Soft spotlight that follows the cursor */
.oote-feature-spotlight {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(245, 185, 33, 0.16), transparent 62%);
    transition: opacity 0.45s ease;
}

.oote-feature-item:hover .oote-feature-spotlight {
    opacity: 1;
}

/* Animated gradient border on hover */
.oote-feature-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(245, 185, 33, 0.85) 0%, rgba(217, 155, 8, 0.4) 45%, transparent 75%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.oote-feature-item:hover::after {
    opacity: 1;
}

.oote-feature-index {
    position: absolute;
    top: 1.1rem;
    inset-inline-end: 1.4rem;
    z-index: 2;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--oote-text-subtle);
    opacity: 0.16;
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), color 0.45s ease;
}

.oote-feature-item:hover .oote-feature-index {
    opacity: 0.3;
    color: var(--oote-primary);
    transform: translateY(-4px) scale(1.06);
}

/* Icon tile */
.oote-feature-icon {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 1.55rem;
    color: #060403;
    background: linear-gradient(135deg, #F5B921 0%, #D99B08 100%);
    box-shadow: 0 14px 30px rgba(245, 185, 33, 0.32);
    margin-bottom: 1.35rem;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.oote-feature-icon::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 55%;
    inset-inline-start: -75%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transition: inset-inline-start 0.7s ease;
}

.oote-feature-item:hover .oote-feature-icon {
    transform: translateY(-5px) rotate(-7deg) scale(1.05);
    box-shadow: 0 20px 38px rgba(245, 185, 33, 0.42);
}

.oote-feature-item:hover .oote-feature-icon::before {
    inset-inline-start: 120%;
}

.oote-feature-icon i {
    position: relative;
    z-index: 1;
}

.oote-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oote-feature-title {
    position: relative;
    z-index: 2;
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--oote-text-main);
    line-height: 1.45;
    margin-bottom: 0.75rem;
    transition: color 0.35s ease;
}

.oote-feature-desc {
    position: relative;
    z-index: 2;
    font-size: 0.97rem;
    line-height: 1.9;
    color: var(--oote-text-muted);
    margin-bottom: 1.5rem;
    flex: 1 1 auto;
}

.oote-feature-cta {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--oote-primary);
    text-decoration: none !important;
}

.oote-feature-cta i {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.oote-feature-item:hover .oote-feature-cta i {
    transform: translateX(6px);
}

html[dir="rtl"] .oote-feature-item:hover .oote-feature-cta i {
    transform: translateX(-6px);
}

.oote-feature-empty {
    grid-column: 1 / -1;
}

[data-tilt] {
    transform-style: preserve-3d;
    will-change: transform;
}

/* Balanced last row: 4 items -> full width card, 5 items -> 1 + 2 split */
.oote-feature-grid>.oote-feature-item:last-child:nth-child(3n+1) {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 1.4rem;
}

.oote-feature-grid>.oote-feature-item:last-child:nth-child(3n+1) .oote-feature-icon {
    margin-bottom: 0;
    flex: 0 0 auto;
}

.oote-feature-grid>.oote-feature-item:last-child:nth-child(3n+1) .oote-feature-desc {
    margin-bottom: 0;
}

.oote-feature-grid>.oote-feature-item:last-child:nth-child(3n+1) .oote-feature-cta {
    margin-inline-start: auto;
}

.oote-feature-grid>.oote-feature-item:last-child:nth-child(3n+2) {
    grid-column: span 2;
}

.oote-feature-grid>.oote-feature-item:nth-last-child(2):nth-child(3n+2) {
    grid-column: span 1;
}

/* --------------------------------------------------------------------------
   Steps section (premium stepper switcher)
   -------------------------------------------------------------------------- */
.oote-steps-section {
    position: relative;
    padding: 5.5rem 0;
    overflow: hidden;
}

.oote-steps-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 42% at 82% 12%, rgba(245, 185, 33, 0.08), transparent 62%),
        radial-gradient(ellipse 50% 40% at 14% 88%, rgba(217, 155, 8, 0.08), transparent 62%);
}

/* ---- Switcher ---- */
.oote-steps-switcher {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.6rem;
    margin-bottom: 2.5rem;
    border-radius: 999px;
    background: var(--oote-card-bg);
    border: 1px solid var(--oote-card-border);
    box-shadow: var(--oote-shadow-card);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.oote-steps-switcher::-webkit-scrollbar {
    display: none;
}

[data-theme="dark"] .oote-steps-switcher,
.dark-style .oote-steps-switcher {
    background: #26282D;
    border-color: #3A3C42;
}

.oote-steps-line {
    position: absolute;
    z-index: 0;
    top: 50%;
    inset-inline-start: 6%;
    inset-inline-end: 6%;
    height: 3px;
    border-radius: 999px;
    background: var(--oote-card-border);
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.7;
}

.oote-steps-line-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #F5B921 0%, #D99B08 100%);
    box-shadow: 0 0 14px rgba(245, 185, 33, 0.55);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.oote-step-tab {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-width: 132px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--oote-text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    transition: color 0.4s ease, background-color 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.oote-step-tab:hover {
    color: var(--oote-primary);
    background: rgba(245, 185, 33, 0.1);
}

.oote-step-tab:focus-visible {
    outline: 2px solid var(--oote-primary);
    outline-offset: 2px;
}

.oote-step-tab.is-active {
    color: #060403;
    font-weight: 700;
    background: linear-gradient(135deg, #F5B921 0%, #D99B08 100%);
    box-shadow: 0 12px 28px rgba(245, 185, 33, 0.38);
    transform: translateY(-2px);
}

.oote-step-tab-num {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    background: #FDF2D3;
    color: #936F13;
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.oote-step-tab.is-active .oote-step-tab-num {
    background: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
    transform: rotate(-8deg);
}

.oote-step-tab-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oote-step-tab-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0;
}

html[dir="rtl"] .oote-step-tab-progress {
    transform-origin: right center;
}

.oote-step-tab.is-active .oote-step-tab-progress {
    opacity: 1;
}

.oote-step-tab-progress.is-running {
    animation: ooteStepTabProgress var(--oote-steps-duration, 6500ms) linear forwards;
}

/* Freeze the tab timer while the section is off-screen */
.oote-steps.is-out .oote-step-tab-progress {
    animation-play-state: paused;
}

@keyframes ooteStepTabProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* ---- Panels ---- */
.oote-steps-panels {
    position: relative;
    display: grid;
}

.oote-step-panel {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 3rem;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(28px * var(--oote-steps-dir, 1)));
    transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
    pointer-events: none;
}

.oote-step-panel.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

/* Media */
.oote-step-panel-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.oote-step-halo {
    position: absolute;
    width: min(360px, 92%);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 185, 33, 0.22), transparent 68%);
    filter: blur(28px);
    animation: ooteStepHalo 6s ease-in-out infinite alternate;
}

@keyframes ooteStepHalo {
    from {
        transform: scale(0.92);
        opacity: 0.65;
    }

    to {
        transform: scale(1.08);
        opacity: 1;
    }
}

.oote-step-device {
    position: relative;
    z-index: 1;
    width: fit-content;
    max-width: 100%;
    border-radius: 30px;
    overflow: hidden;
    border: 7px solid var(--oote-card-bg);
    background: #0B111E;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.2);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

[data-theme="dark"] .oote-step-device,
.dark-style .oote-step-device {
    border-color: #1E293B;
    box-shadow: 0 28px 66px rgba(0, 0, 0, 0.55);
}

.oote-step-panel.is-active .oote-step-device {
    animation: ooteStepFloat 6.5s ease-in-out infinite;
}

@keyframes ooteStepFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.oote-step-img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 430px;
    height: auto;
    border-radius: 22px;
    position: relative;
    z-index: 1;
}

.oote-step-watermark {
    position: absolute;
    top: 50%;
    inset-inline-start: 50%;
    transform: translate(-50%, -50%);
    font-size: 11rem;
    font-weight: 800;
    line-height: 1;
    color: var(--oote-primary);
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.oote-step-chip {
    position: absolute;
    z-index: 3;
    bottom: 6%;
    inset-inline-start: -2%;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.95rem;
    border-radius: 14px;
    background: var(--oote-card-bg);
    border: 1px solid var(--oote-card-border);
    box-shadow: var(--oote-shadow-card-hover);
    max-width: 78%;
    animation: ooteStepFloat 7.5s ease-in-out infinite reverse;
}

[data-theme="dark"] .oote-step-chip,
.dark-style .oote-step-chip {
    background: #26282D;
    border-color: #3A3C42;
}

.oote-step-chip-num {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #060403;
    background: linear-gradient(135deg, #F5B921, #D99B08);
}

.oote-step-chip-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--oote-text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Body */
.oote-step-panel-body {
    position: relative;
}

.oote-step-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    background: var(--oote-cyan-light);
    color: var(--oote-cyan-text);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

[data-theme="dark"] .oote-step-counter,
.dark-style .oote-step-counter {
    background: rgba(245, 185, 33, 0.14);
    color: #F5B921;
    border: 1px solid rgba(245, 185, 33, 0.35);
}

.oote-step-title {
    font-size: clamp(1.7rem, 2.8vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--oote-text-main);
    margin-bottom: 1rem;
}

.oote-step-desc {
    font-size: 1.05rem;
    line-height: 1.95;
    color: var(--oote-text-muted);
    max-width: 560px;
    margin-bottom: 2rem;
}

.oote-step-next {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 185, 33, 0.35);
    background: #FDF2D3;
    color: #936F13 !important;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.oote-step-next:hover {
    background: #F5B921;
    border-color: #F5B921;
    color: #060403 !important;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(245, 185, 33, 0.38);
}

.oote-step-next i {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.oote-step-next:hover i {
    transform: translateX(-6px);
}

html[dir="rtl"] .oote-step-next:hover i {
    transform: translateX(6px);
}

.oote-step-next--cta {
    background: linear-gradient(135deg, #F5B921 0%, #D99B08 100%);
    color: #060403 !important;
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(245, 185, 33, 0.35);
}

/* Staggered entrance for the panel content */
.oote-step-el {
    opacity: 0;
    transform: translateY(20px);
}

.oote-step-panel.is-active .oote-step-el {
    animation: ooteStepEl 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.oote-step-panel.is-active .oote-step-el:nth-of-type(1) {
    animation-delay: 0.08s;
}

.oote-step-panel.is-active .oote-step-el:nth-of-type(2) {
    animation-delay: 0.18s;
}

.oote-step-panel.is-active .oote-step-el:nth-of-type(3) {
    animation-delay: 0.28s;
}

.oote-step-panel.is-active .oote-step-el:nth-of-type(4) {
    animation-delay: 0.38s;
}

@keyframes ooteStepEl {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   Statistics cards
   -------------------------------------------------------------------------- */
.oote-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--oote-primary);
    background: rgba(245, 185, 33, 0.14);
    margin-bottom: 1.1rem;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, color 0.35s ease;
}

[data-theme="dark"] .oote-stat-icon,
.dark-style .oote-stat-icon {
    background: rgba(245, 185, 33, 0.16);
    color: #F5B921;
}

.oote-stat-card:hover .oote-stat-icon {
    transform: translateY(-4px) rotate(-6deg) scale(1.06);
    background: var(--oote-primary);
    color: #060403;
}

/* --------------------------------------------------------------------------
   Download / Hero section extras
   -------------------------------------------------------------------------- */
.oote-hero-points {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.2rem;
    max-width: 620px;
}

.oote-hero-point {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.97rem;
    font-weight: 500;
    color: var(--oote-text-main);
    line-height: 1.5;
}

.oote-hero-point-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--oote-primary);
    background: rgba(245, 185, 33, 0.14);
    border: 1px solid rgba(245, 185, 33, 0.25);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
}

.oote-hero-point:hover .oote-hero-point-icon {
    transform: translateY(-3px) rotate(-6deg);
    background: var(--oote-primary);
    color: #060403;
}

.oote-hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.oote-hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--oote-text-muted);
}

.oote-hero-trust-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #FFB020;
    background: rgba(255, 176, 32, 0.12);
}

.oote-hero-trust-icon i.fa-users {
    color: var(--oote-primary);
}

.oote-hero-trust-divider {
    width: 1px;
    height: 22px;
    background: var(--oote-card-border);
}

.oote-hero-float-card {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.05rem;
    border-radius: 16px;
    background: var(--oote-card-bg);
    border: 1px solid var(--oote-card-border);
    box-shadow: var(--oote-shadow-card-hover);
    text-align: start;
    animation: ooteAboutFloat 7s ease-in-out infinite;
}

[data-theme="dark"] .oote-hero-float-card,
.dark-style .oote-hero-float-card {
    background: #26282D;
    border-color: #3A3C42;
}

.oote-hero-float-card--top {
    top: 12%;
    inset-inline-start: 0;
}

.oote-hero-float-card--bottom {
    bottom: 12%;
    inset-inline-end: 0;
    animation-delay: -3.5s;
}

.oote-hero-float-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #060403;
    background: linear-gradient(135deg, #F5B921 0%, #D99B08 100%);
    box-shadow: 0 8px 20px rgba(245, 185, 33, 0.35);
    font-size: 0.95rem;
}

.oote-hero-float-icon--green {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}

.oote-hero-float-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.oote-hero-float-text strong {
    font-size: 0.92rem;
    color: var(--oote-text-main);
}

.oote-hero-float-text span {
    font-size: 0.78rem;
    color: var(--oote-text-subtle);
}

/* --------------------------------------------------------------------------
   FAQ accordion polish
   -------------------------------------------------------------------------- */
.oote-accordion-item {
    position: relative;
}

.oote-accordion-item::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #F5B921 0%, #D99B08 100%);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.oote-accordion-item:has(.oote-accordion-header:not(.collapsed))::before {
    transform: scaleY(1);
}

.oote-accordion-icon {
    flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Back to top with progress ring
   -------------------------------------------------------------------------- */
.oote-back-to-top-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.oote-back-to-top-ring circle {
    fill: none;
    stroke-width: 2.5;
}

.oote-back-to-top-track {
    stroke: transparent;
}

.oote-back-to-top-progress {
    stroke: var(--oote-primary);
    stroke-linecap: round;
    stroke-dasharray: 125.6;
    stroke-dashoffset: 125.6;
    transition: stroke-dashoffset 0.15s linear;
}

.oote-back-to-top:hover .oote-back-to-top-progress {
    stroke: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Closing CTA band (inside the contact section)
   -------------------------------------------------------------------------- */
.oote-closing-cta {
    position: relative;
    overflow: hidden;
    margin-top: 3.5rem;
    padding: 2.6rem 3rem;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #F5B921 0%, #E5A812 50%, #D99B08 100%);
    box-shadow: 0 24px 60px rgba(245, 185, 33, 0.35);
}

.oote-closing-cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.55;
}

.oote-closing-cta-orb--one {
    width: 260px;
    height: 260px;
    top: -60%;
    inset-inline-end: -4%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 70%);
    animation: ooteAboutGlow 10s ease-in-out infinite alternate;
}

.oote-closing-cta-orb--two {
    width: 200px;
    height: 200px;
    bottom: -60%;
    inset-inline-start: 6%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 70%);
    animation: ooteAboutGlow 13s ease-in-out infinite alternate-reverse;
}

.oote-closing-cta-copy {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.oote-closing-cta-title {
    color: #060403;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.oote-closing-cta-text {
    color: rgba(6, 4, 3, 0.88);
    font-size: 1.03rem;
    line-height: 1.75;
    margin: 0;
}

.oote-closing-cta-actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.oote-closing-cta .oote-btn-store-apple {
    background: rgba(6, 4, 3, 0.08);
    border: 1px solid rgba(6, 4, 3, 0.2);
    color: #060403 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.oote-closing-cta .oote-btn-store-apple:hover {
    background: #060403;
    color: #FFFFFF !important;
}

.oote-closing-cta .oote-btn-store-google {
    background: #060403;
    color: #FFFFFF !important;
    border: none;
}

.oote-closing-cta .oote-btn-store-google:hover {
    background: #1E2024;
    color: #F5B921 !important;
}

[data-theme="dark"] .oote-closing-cta,
.dark-style .oote-closing-cta {
    background: linear-gradient(143deg, rgba(42, 36, 22, 1) 10%, rgba(22, 24, 28, 1) 54%, rgba(23, 34, 48, 1) 90%);
    border: 1px solid #3A3C42;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .oote-closing-cta-title,
.dark-style .oote-closing-cta-title {
    color: #FAFAFB;
}

[data-theme="dark"] .oote-closing-cta-text,
.dark-style .oote-closing-cta-text {
    color: #D4D5DA;
}

[data-theme="dark"] .oote-closing-cta .oote-btn-store-apple,
.dark-style .oote-closing-cta .oote-btn-store-apple {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF !important;
}

[data-theme="dark"] .oote-closing-cta .oote-btn-store-apple:hover,
.dark-style .oote-closing-cta .oote-btn-store-apple:hover {
    background: #FFFFFF;
    color: #060403 !important;
}

[data-theme="dark"] .oote-closing-cta .oote-btn-store-google,
.dark-style .oote-closing-cta .oote-btn-store-google {
    background: #F5B921;
    color: #060403 !important;
    font-weight: 700;
}

[data-theme="dark"] .oote-closing-cta .oote-btn-store-google:hover,
.dark-style .oote-closing-cta .oote-btn-store-google:hover {
    background: #D99B08;
    color: #060403 !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1399.98px) {
    .oote-about-points,
    .oote-hero-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1199.98px) {
    .oote-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oote-feature-grid>.oote-feature-item:last-child:nth-child(3n+1),
    .oote-feature-grid>.oote-feature-item:last-child:nth-child(3n+2),
    .oote-feature-grid>.oote-feature-item:nth-last-child(2):nth-child(3n+2) {
        grid-column: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .oote-feature-grid>.oote-feature-item:last-child:nth-child(3n+1) .oote-feature-icon {
        margin-bottom: 1.35rem;
    }

    .oote-feature-grid>.oote-feature-item:last-child:nth-child(3n+1) .oote-feature-desc {
        margin-bottom: 1.5rem;
    }

    .oote-feature-grid>.oote-feature-item:last-child:nth-child(3n+1) .oote-feature-cta {
        margin-inline-start: 0;
    }
}

@media (max-width: 1199.98px) {
    .oote-nav-indicator {
        display: none;
    }

    /* Restore comfortable tap targets inside the collapsed menu */
    .oote-nav-links {
        overflow: visible;
        flex-wrap: wrap;
    }

    .oote-tab-link {
        font-size: 1.05rem !important;
        padding: 0.35rem 0.5rem !important;
    }

    .oote-about-visual {
        min-height: 400px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 991.98px) {
    .oote-step-panel {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        text-align: center;
    }

    .oote-step-panel-media {
        min-height: 0;
        margin-bottom: 0.5rem;
    }

    .oote-step-panel-body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .oote-step-desc {
        max-width: 640px;
    }

    .oote-step-counter {
        margin-inline: auto;
    }

    .oote-step-chip {
        inset-inline: 0;
        margin-inline: auto;
        width: fit-content;
        bottom: -4%;
    }

    .oote-about-section {
        padding: 4rem 0;
    }

    .oote-closing-cta {
        padding: 2.1rem 1.6rem;
        margin-top: 2.5rem;
        text-align: center;
    }

    .oote-closing-cta-copy {
        max-width: 100%;
    }

    .oote-closing-cta-actions {
        justify-content: center;
    }

    .oote-hero-float-card {
        display: none;
    }

    .oote-about-device--front {
        inset-inline-start: 4%;
    }

    .oote-about-device--back {
        inset-inline-end: 2%;
    }
}

@media (max-width: 767.98px) {
    .oote-feature-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .oote-feature-item {
        padding: 1.7rem 1.4rem 1.5rem;
        border-radius: 20px;
    }

    .oote-feature-icon {
        width: 56px;
        height: 56px;
        font-size: 1.35rem;
        border-radius: 17px;
    }

    .oote-feature-index {
        font-size: 2.6rem;
    }

    .oote-about-visual {
        min-height: 340px;
    }

    .oote-about-device--front {
        width: 176px;
    }

    .oote-about-device--back {
        width: 150px;
        top: 32%;
    }

    .oote-about-chip {
        font-size: 0.76rem;
        padding: 0.5rem 0.75rem;
    }

    .oote-step-watermark {
        font-size: 7rem;
    }

    .oote-section-header::after {
        margin-top: 0.9rem;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {

    .oote-reveal,
    .oote-about-ring,
    .oote-about-device,
    .oote-about-chip,
    .oote-hero-float-card,
    .oote-section-eyebrow::before,
    .oote-about-chip-dot,
    .oote-about-glow {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    .oote-reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .oote-partners-track,
    .oote-screens-track {
        animation: none !important;
    }
}
