/* Explain: Styles for UI components like buttons, chips, icons, and animations. */
.brand-chip {
    align-items: center;
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.07) 46%, rgba(77, 177, 168, 0.12) 100%);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 999px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.48), inset 0 -1px 0 rgba(255, 255, 255, 0.09);
    color: var(--warm-white);
    display: inline-flex;
    font-family: var(--font-heading);
    font-weight: 700;
    gap: 0.65rem;
    overflow: hidden;
    right: 1rem;
    min-height: 48px;
    padding: 0.45rem 0.45rem 0.45rem 0.85rem;
    position: fixed;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
    top: 1rem;
    transition: background 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
    z-index: 40;
}

.brand-chip::after {
    background: linear-gradient(118deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 44%, rgba(255, 255, 255, 0) 100%);
    border-radius: inherit;
    content: "";
    inset: 0;
    opacity: 0.6;
    pointer-events: none;
    position: absolute;
}

.brand-chip > * {
    position: relative;
    z-index: 1;
}

.brand-chip:hover,
.brand-chip:focus-visible {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.11) 46%, rgba(77, 177, 168, 0.18) 100%);
    border-color: rgba(255, 255, 255, 0.46);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.58), inset 0 -1px 0 rgba(255, 255, 255, 0.11);
    outline: none;
}

.brand-mark {
    align-items: center;
    background: linear-gradient(135deg, var(--electric-blue), var(--signal-green));
    border-radius: 999px;
    color: var(--warm-white);
    display: inline-flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.growth-shell {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.menu-toggle {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(23, 70, 100, 0.75);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
    color: var(--warm-white);
    display: inline-flex;
    height: 48px;
    justify-content: center;
    position: fixed;
    left: 1rem;
    top: 1rem;
    transition: all 220ms ease;
    width: 48px;
    z-index: 60;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    background: rgba(37, 99, 235, 0.28);
    outline: none;
}

.dashboard-nav {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 999px;
    bottom: 0.85rem;
    box-shadow: none !important;
    display: none;
    gap: 0.25rem;
    left: 50%;
    max-width: calc(100vw - 1rem);
    overflow-x: auto;
    padding: 0.35rem;
    position: fixed;
    transform: translateX(-50%);
    z-index: 50;
}

.dashboard-nav.is-open {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 28px;
    bottom: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    right: auto;
    max-width: min(18rem, calc(100vw - 2rem));
    padding: 1.25rem;
    left: 1rem;
    top: 4.75rem;
    transform: none;
    width: calc(100vw - 2rem);
}

.dashboard-nav__link {
    align-items: center;
    border-radius: 999px;
    color: var(--soft-blue);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 800;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0 0.78rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 0, 0, 0.85);
    text-transform: uppercase;
    transition: all 260ms ease;
}

.dashboard-nav__link span {
    display: inline;
}

.dashboard-nav__link.is-active,
.dashboard-nav__link:hover {
    background: transparent;
    color: #D4AF37;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 12px rgba(212, 175, 55, 0.6), 0 0 24px rgba(212, 175, 55, 0.4);
}

.dashboard-nav__link.is-active {
    background: rgba(212, 175, 55, 0.14);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.42);
}

.dashboard-nav__link i {
    transition: transform 260ms ease, filter 260ms ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 12px rgba(0, 0, 0, 0.8));
}

.dashboard-nav__link:hover i,
.dashboard-nav__link.is-active i {
    transform: scale(1.3);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 10px rgba(212, 175, 55, 0.8));
}

.eyebrow,
.section-kicker {
    align-items: center;
    color: var(--electric-blue);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 900;
    gap: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-kicker-dark {
    color: var(--signal-green);
}

.pulse-dot {
    animation: pulseSignal 1.8s ease-in-out infinite;
    background: var(--signal-green);
    border-radius: 999px;
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.14);
    height: 10px;
    width: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.8vw, 3.9rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1.02;
    margin-top: 1rem;
}

.section-copy {
    color: var(--soft-blue);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 1.4rem;
}

.performance-panel,
.story-card,
.growth-form {
    border-radius: var(--radius-xl);
}

.performance-panel {
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.1), rgba(37, 99, 235, 0.11));
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-signal);
    padding: 1rem;
}

.panel-header {
    align-items: center;
    color: var(--soft-blue);
    display: flex;
    font-size: 0.8rem;
    justify-content: space-between;
    letter-spacing: 0.14em;
    padding: 0.55rem 0.65rem 1rem;
    text-transform: uppercase;
}

.panel-header strong {
    color: var(--signal-green);
}

.graph-stage {
    aspect-ratio: 1.35;
    background: rgba(7, 17, 31, 0.7);
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.graph-grid {
    background-image: linear-gradient(rgba(248, 250, 252, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(248, 250, 252, 0.08) 1px, transparent 1px);
    background-size: 44px 44px;
    inset: 0;
    position: absolute;
}

.growth-svg {
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

.growth-area {
    fill: rgba(37, 99, 235, 0.17);
}

.growth-line {
    animation: drawGrowth 2.5s ease forwards;
    fill: none;
    stroke: var(--signal-green);
    stroke-dasharray: 760;
    stroke-dashoffset: 760;
    stroke-linecap: round;
    stroke-width: 9;
}

.signal-node {
    animation: nodePulse 2s ease-in-out infinite;
    fill: var(--warm-white);
    stroke: var(--signal-green);
    stroke-width: 5;
}

.node-two {
    animation-delay: 0.4s;
}

.node-three {
    animation-delay: 0.8s;
}

.graph-kpi {
    backdrop-filter: blur(14px);
    background: rgba(248, 250, 252, 0.1);
    border: 1px solid rgba(248, 250, 252, 0.16);
    border-radius: 16px;
    color: var(--warm-white);
    min-width: 120px;
    padding: 0.8rem;
    position: absolute;
}

.graph-kpi span,
.metric-label,
.case-metric,
.case-note,
.insight-card p {
    color: var(--muted-color);
}

.graph-kpi strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.55rem;
}

.graph-kpi-a {
    left: 1rem;
    top: 1rem;
}

.graph-kpi-b {
    bottom: 1rem;
    right: 1rem;
}

.metric-tile,
.service-card,
.case-card,
.testimonial-card,
.insight-card {
    border-radius: var(--radius-lg);
    transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.metric-tile {
    background: rgba(248, 250, 252, 0.07);
    border: 1px solid var(--border-color);
    padding: 1.4rem;
}

.metric-number {
    color: var(--warm-white);
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.9rem);
    font-weight: 700;
    letter-spacing: -0.07em;
    line-height: 0.9;
}

.story-card {
    background: rgba(7, 17, 31, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.3);
    color: var(--warm-white);
    font-size: 1.08rem;
    line-height: 1.85;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.mini-stat {
    background: rgba(248, 250, 252, 0.05);
    border-radius: 16px;
    padding: 1rem;
}

.mini-stat strong {
    color: var(--electric-blue);
    display: block;
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.mini-stat span {
    color: var(--soft-blue);
    font-size: 0.85rem;
}

.service-bento {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.service-card {
    background: rgba(248, 250, 252, 0.07);
    border: 1px solid var(--border-color);
    color: var(--warm-white);
    padding: 1.45rem;
}

.service-card:hover,
.case-card:hover,
.insight-card:hover {
    border-color: rgba(34, 197, 94, 0.55);
    transform: translateY(-6px);
}

.service-icon {
    align-items: center;
    background: rgba(37, 99, 235, 0.18);
    border-radius: 16px;
    color: var(--signal-green);
    display: inline-flex;
    height: 46px;
    justify-content: center;
    margin-bottom: 1.4rem;
    width: 46px;
}

.service-card h3,
.insight-card h3 {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.service-card p {
    color: var(--soft-blue);
    line-height: 1.7;
    margin-top: 0.75rem;
}

.funnel-stack {
    display: grid;
    gap: 0.85rem;
}

.funnel-step {
    align-items: center;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.15), rgba(34, 197, 94, 0.08));
    border: 1px solid var(--border-color);
    border-radius: 22px;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto 1fr;
    margin-inline: auto;
    padding: 1rem;
}

.funnel-step:nth-child(1) {
    width: 100%;
}

.funnel-step:nth-child(2) {
    width: 92%;
}

.funnel-step:nth-child(3) {
    width: 84%;
}

.funnel-step:nth-child(4) {
    width: 76%;
}

.funnel-step span {
    align-items: center;
    background: var(--midnight-color);
    border-radius: 999px;
    color: var(--signal-green);
    display: inline-flex;
    font-family: var(--font-heading);
    height: 48px;
    justify-content: center;
    width: 48px;
}

.funnel-step strong {
    color: var(--warm-white);
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.funnel-step p {
    color: var(--soft-blue);
}

.case-card,
.insight-card {
    background: rgba(248, 250, 252, 0.06);
    border: 1px solid var(--border-color);
    padding: 1.35rem;
}

.case-index,
.case-name,
.insight-card span {
    color: var(--signal-green);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.case-card h3 {
    color: var(--warm-white);
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.07em;
    line-height: 0.9;
    margin-top: 2rem;
}

.testimonial-card {
    background: rgba(7, 17, 31, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
    color: var(--warm-white);
    padding: 1.45rem;
}

.testimonial-card p {
    font-size: 1.02rem;
    line-height: 1.75;
    margin-top: 1.4rem;
}

.testimonial-card footer {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
}

.testimonial-card strong {
    color: var(--warm-white);
}

.testimonial-card span {
    color: var(--soft-blue);
    font-size: 0.9rem;
}

.insight-card h3 {
    color: var(--warm-white);
    margin-top: 1.5rem;
}

.insight-card p {
    margin-top: 2rem;
}

.contact-ledger {
    color: var(--soft-blue);
    display: grid;
    gap: 0.9rem;
    margin-top: 2rem;
}

.contact-ledger span {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.contact-ledger i {
    color: var(--signal-green);
}

.growth-form {
    padding: clamp(1rem, 3vw, 1.5rem);
}

.form-label {
    color: var(--soft-blue);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.growth-form .input,
.growth-form .textarea,
.growth-form .select {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--warm-white);
    border-radius: 14px;
    min-height: 48px;
}

.growth-form .select option {
    background-color: var(--surface-strong);
    color: var(--warm-white);
}

.form-status {
    color: var(--soft-blue);
    font-weight: 700;
    margin-top: 1rem;
    min-height: 1.5rem;
}

.form-status.is-success {
    color: var(--signal-green-dark);
}

.form-status.is-error {
    color: #DC2626;
}

.footer-link {
    color: var(--muted-color);
    transition: color 200ms ease;
}

.footer-link:hover {
    color: var(--signal-green);
}

@media (min-width: 640px) {
    .dashboard-nav__link span {
        display: inline;
    }
}

@media (min-width: 900px) {
    .service-bento {
        grid-template-columns: repeat(6, 1fr);
    }

    .service-card:nth-child(1),
    .service-card:nth-child(2) {
        grid-column: span 3;
    }

    .service-card:nth-child(3),
    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        grid-column: span 2;
    }
}

@media (min-width: 1280px) {
    .menu-toggle {
        display: none;
    }

    .dashboard-nav {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 28px;
        bottom: auto;
        display: flex;
        flex-direction: column;
        right: 1rem;
        left: auto;
        max-width: 210px;
        top: 50%;
        transform: translateY(-50%);
    }

    .dashboard-nav__link {
        justify-content: flex-start;
        width: 100%;
    }
}

@keyframes drawGrowth {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pulseSignal {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.24);
    }
}

@keyframes nodePulse {
    0%, 100% {
        opacity: 0.75;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

html[dir="ltr"] .brand-chip {
    right: auto;
    left: 1rem;
}

html[dir="ltr"] .menu-toggle {
    left: auto;
    right: 1rem;
}

@media (min-width: 1280px) {
    html[dir="ltr"] .dashboard-nav {
        right: auto;
        left: 1rem;
    }
}

/* Luxurious Buttons */
.btn-lux {
    position: relative;
    overflow: hidden;
    border-radius: 999px !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    z-index: 1;
    border: none !important;
}
.btn-lux::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: all 0.7s ease;
    z-index: -1;
}
.btn-lux:hover::after {
    left: 150%;
}
.btn-lux-primary {
    background: linear-gradient(135deg, var(--primary-color), #2c7a73) !important;
    color: var(--midnight-color) !important;
    box-shadow: 0 8px 25px -8px var(--primary-color), inset 0 1px 1px rgba(255,255,255,0.4) !important;
}
.btn-lux-primary:hover {
    box-shadow: 0 12px 35px -5px var(--primary-color), inset 0 1px 1px rgba(255,255,255,0.5) !important;
    transform: translateY(-2px);
}
.btn-lux-outline {
    background: rgba(23, 70, 100, 0.55) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(77, 177, 168, 0.4) !important;
    color: var(--warm-white) !important;
    box-shadow: 0 8px 25px -8px rgba(0,0,0,0.3) !important;
}
.btn-lux-outline:hover {
    background: rgba(77, 177, 168, 0.15) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 12px 35px -5px rgba(77, 177, 168, 0.3) !important;
    transform: translateY(-2px);
}

/* Secure payment logo chips */
.pay-row {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pay-chip {
    align-items: center;
    background: rgba(248, 250, 252, 0.035);
    border: 1px solid rgba(77, 177, 168, 0.35);
    border-radius: 24px;
    box-shadow: 0 0 36px -4px rgba(77, 177, 168, 0.6), 0 16px 34px -18px rgba(0, 0, 0, 0.75);
    display: flex;
    height: clamp(52px, 6.5vw, 68px);
    isolation: isolate;
    justify-content: center;
    overflow: hidden;
    padding: 0.5rem;
    position: relative;
    transition: transform 420ms cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 420ms ease, border-color 420ms ease, background 420ms ease;
    width: 100%;
}

.pay-chip::before,
.pay-chip::after {
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.pay-chip::before {
    background: radial-gradient(circle at 50% 55%, rgba(77, 177, 168, 0.55), rgba(77, 177, 168, 0.16) 45%, transparent 72%);
    opacity: 0;
    transform: scale(0.3);
    transition: opacity 460ms ease, transform 820ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pay-chip::after {
    background: linear-gradient(115deg, transparent 35%, rgba(186, 244, 238, 0.5) 50%, transparent 65%);
    transform: translateX(-130%);
    transition: transform 820ms ease;
}

.pay-chip:hover,
.pay-chip:focus-within {
    background: rgba(77, 177, 168, 0.1);
    border-color: rgba(77, 177, 168, 0.85);
    box-shadow: 0 0 30px -4px rgba(77, 177, 168, 0.6), 0 18px 40px -18px rgba(0, 0, 0, 0.8);
    transform: translateY(-5px) scale(1.04);
}

.pay-chip:hover::before,
.pay-chip:focus-within::before {
    opacity: 1;
    transform: scale(1.9);
}

.pay-chip:hover::after,
.pay-chip:focus-within::after {
    transform: translateX(130%);
}

.pay-logo-img {
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
    height: 60%;
    max-width: 100%;
    object-fit: contain;
    transition: filter 420ms ease, transform 420ms ease;
    width: auto;
}

.pay-chip:hover .pay-logo-img,
.pay-chip:focus-within .pay-logo-img {
    filter: drop-shadow(0 0 12px rgba(77, 177, 168, 0.65));
    transform: scale(1.04);
}

.pay-logo-svg {
    height: 60%;
    max-width: 100%;
    transition: filter 420ms ease, transform 420ms ease;
    width: auto;
}

.pay-chip:hover .pay-logo-svg,
.pay-chip:focus-within .pay-logo-svg {
    filter: drop-shadow(0 0 12px rgba(77, 177, 168, 0.65));
    transform: scale(1.04);
}

.pay-logo-icon {
    color: var(--warm-white);
    font-size: clamp(2.6rem, 4.4vw, 3.6rem);
    line-height: 1;
    transition: color 420ms ease, transform 420ms ease, filter 420ms ease;
}

.pay-chip:hover .pay-logo-icon,
.pay-chip:focus-within .pay-logo-icon {
    color: #BAF4EE;
    filter: drop-shadow(0 0 12px rgba(77, 177, 168, 0.65));
    transform: scale(1.08);
}

@media (min-width: 480px) {
    .pay-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .pay-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ==========================================================
   OTP Sliding Puzzle Animation
   ========================================================== */

.otp-puzzle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 0.5rem;
}

.otp-tile {
    aspect-ratio: 1;
    position: relative;
    border-radius: 12px;
    background-color: rgba(14, 66, 88, 0.6);
    background-image: linear-gradient(135deg, rgba(77, 177, 168, 0.25) 0%, rgba(139, 92, 246, 0.15) 50%, rgba(212, 175, 55, 0.2) 100%);
    background-size: 300% 200%;
    border: 1px solid rgba(77, 177, 168, 0.35);
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.05), 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.34, 1.12, 0.4, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
    z-index: 1;
    overflow: hidden;
}

.otp-tile[data-pos="0"] { background-position: 0% 0%; }
.otp-tile[data-pos="1"] { background-position: 50% 0%; }
.otp-tile[data-pos="2"] { background-position: 100% 0%; }
.otp-tile[data-pos="3"] { background-position: 0% 100%; }
.otp-tile[data-pos="4"] { background-position: 50% 100%; }
.otp-tile[data-pos="5"] { background-position: 100% 100%; }

.otp-tile:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 16px rgba(77, 177, 168, 0.5), inset 0 2px 10px rgba(255, 255, 255, 0.1);
    z-index: 5;
}

.otp-input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    text-align: center;
    color: var(--warm-white);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    outline: none;
    position: relative;
    z-index: 2;
    padding: 0;
}

.otp-puzzle-success {
    position: absolute;
    inset: 0;
    background: rgba(7, 17, 31, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.12, 0.4, 1);
    border-radius: 16px;
    color: var(--signal-green);
    border: 1px solid var(--signal-green);
    transform: scale(0.95);
    box-shadow: 0 0 30px rgba(77, 177, 168, 0.25);
}

.otp-puzzle-grid.is-solved .otp-puzzle-success {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* ---- Sidebar navigation: no background panel whatsoever ---- */

#growthDashboardNav,
#growthDashboardNav.is-open,
header.growth-shell #growthDashboardNav,
.dashboard-nav,
.dashboard-nav.is-open {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    filter: none !important;
    isolation: auto !important;
}

#growthDashboardNav::before,
#growthDashboardNav::after,
.dashboard-nav::before,
.dashboard-nav::after,
header.growth-shell::before,
header.growth-shell::after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* ==========================================================
   Hero: sunset Riyadh skyline dissolved into the page so the
   animated 3D geometry stays visible around and behind it.
   No rectangle, no opaque panel behind the image.
   ========================================================== */

.hero-city {
    position: relative;
    width: 100%;
    aspect-ratio: 11 / 10;
    overflow: visible;
    border-radius: var(--radius-xl);
    box-shadow: none;
    -webkit-mask-image: none;
    mask-image: none;
}

.hero-city__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: saturate(1.06) contrast(1.05) drop-shadow(0 18px 34px rgba(0, 0, 0, 0.38));
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.hero-city-glow {
    position: absolute;
    inset: 6% -4% 4% -4%;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 58% 56%, rgba(53, 184, 176, 0.26), rgba(53, 184, 176, 0) 66%),
        radial-gradient(ellipse at 72% 22%, rgba(255, 174, 92, 0.18), rgba(255, 174, 92, 0) 62%);
    filter: blur(28px);
}

/* ---- Folded curve at the base of the skyline, merged with the logo ---- */

.hero-city__fold {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(72px, 21%, 190px);
    z-index: 2;
    pointer-events: none;
    filter: none;
}

.hero-city__fold-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hero-city__logo {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(4.25rem, 12%, 6.5rem);
    aspect-ratio: 11 / 10;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    pointer-events: none;
}

.hero-city__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(53, 184, 176, 0.45));
}

html[data-theme="light"] .hero-city__logo img {
    filter: drop-shadow(0 0 16px rgba(23, 150, 143, 0.35));
}

.hero-city__milestone {
    position: absolute;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 999px;
    background: var(--signal-green);
    box-shadow: 0 0 0 3px rgba(53, 184, 176, 0.16), 0 0 12px rgba(53, 184, 176, 0.75);
    pointer-events: none;
    z-index: 3;
}

html[data-theme="light"] .hero-city__milestone {
    box-shadow: 0 0 0 3px rgba(14, 139, 128, 0.14), 0 0 10px rgba(14, 139, 128, 0.55);
}

html[data-theme="light"] .hero-city__fold {
    filter: none;
}

html[data-theme="light"] .hero-city__logo {
    border: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 1023px) {
    .hero-city {
        max-width: 900px;
        margin-inline: auto;
    }
}

/* ---- Footer: collapsible policy links ---- */

.footer-policies > summary {
    list-style: none;
}

.footer-policies > summary::-webkit-details-marker {
    display: none;
}

.footer-policies > summary::marker {
    content: "";
}

.footer-policies__chevron {
    transition: transform 300ms ease;
}

.footer-policies[open] .footer-policies__chevron {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .footer-policies__chevron {
        transition: none;
    }
}
